Using Electron with Bluz Gateway (not shield)


#1

Hello,

I am trying to integrate the Bluz Gateway with an Electron. I am designing a custom PCB with various sensors and I cannot use the gateway shield since 12/36 pins (which are hanging out of the shield) are going to be harder to integrate on my PCB.

- Custom printing a Gateway -
a. From the looks of the schematic, can I just buy a Bluz Module and recreate the circuit. That way, I won’t have any “hanging” pins, which will make integration so much easier. Is there something more than just putting the hardware together?

- Trying to make Gateway Shield work -
b. Can the Electron on the Gateway Shield still use SPI, UART etc to communicate with other sensors??? Or does using the gateway shield completely eliminate all prospects of the Electron communicating with other sensors over SPI, UART, Serial1 etc?

Thank you!


#3

For the first part, yes, you can easily recreate the gateway shield in any footprint you would like. The schematics and Eagle files are available and all the parts (except the module) can be purchased on digikey. So you should pretty easily be able to make your own gateway.

As for the Electron, you can certainly hook up other sensors, you just need to be aware of the pins/peripherals we already use. So we do use SPI to talk from the Electron to the bluz module, and we use up 7 pins (including the standard SPI and UART pins). You can view the schematic for the exact details, but as long as you can live with these limitations, you can hook up the Electron to any other sensor.

As for processing, you wouldn’t want to hook up any sensor that would block other code for a long period of time. The gateway needs to forward all bluz traffic to the cloud, and if that gets blocked, it could interrupt the bluz communication. You can get around that by using local communication (which is recommended with an Electron anyway) as it doesn’t have to process the data for the cloud.