Moteino Gateway to Pi connection

Started by cordaxm, May 05, 2015, 09:13:19 PM

cordaxm

Hello,
First time poster.   

My understanding is I need a PI and a Moteino connected together to make a gateway.

I was wondering if there was any diagrams showing how to connect the Moteino and Raspberry Pi gateways together ( physical connections ) ?

Wanted to say I look forward to seeing your PI gateway image release if/when it might come available Felix. 

Thank You. 

thinkpeace

#1
To connect, you need to connect 4 lines.
GND-GND
5V-PWR
TXD-RX
RXD-TX


The pinout of the Moteino can be found at http://LowerPowerLab.com/moteino.    The pinout of the Raspberry Pi can be found here http://pi.gadgetoid.com/pinout

I designed a PCB to interface the Moteino to a Raspbery Pi B+.  It also includes a battery backed-up clock option.

The Eagle Files are here:
https://github.com/eric-einem/Moteino-Pi-Gateway-PCB

Eric

TomWS

Quote from: thinkpeace on May 05, 2015, 09:44:40 PM
To connect, you need to connect 4 lines.
GND-GND
5V-PWR
TXD-RX
RXD-TX


The pinout of the Moteino can be found at http://LowerPowerLabs.com.    The pinout of the Raspberry Pi can be found here http://pi.gadgetoid.com/pinout

I designed a PCB to interface the Moteino to a Raspbery Pi B+.  It also includes a battery backed-up clock option.

The Eagle Files are here:
https://github.com/eric-einem/Moteino-Pi-Gateway-PCB

Eric
Thanks for posting your board.  I'm curious why you put JP1 & JP2 in parallel.  Is this to provide an FTDI connection?  If so, how do you manage the conflict with the PI?

Tom

jarrods

FYI - you can also use the Moteino with the USB to serial and plug it into a USB port. I did it that way Cause I needed the pins on the Pi. Works great.

syrinxtech

Not to confuse the issue but you don't have to limit yourself to a PI gateway for the Moteino.  I'm using a Spark Core as my Internet gateway and it looks the same from a physical wiring perspective.  The code on the Core is very straightforward and if you're not comfortable with Python or Perl it runs the same Arduino-like syntax.  On the Core you use Serial1 for the UART-based traffic.

With the recent addition of the Photon and the soon-to-be-released Electron (CDMA) you have more options.