LowPowerLab Forum

Software support => Pi Gateway => Topic started by: syrinxtech on November 06, 2015, 03:50:28 PM

Title: Pi gateway using Moteino and Pi 2 in one case
Post by: syrinxtech on November 06, 2015, 03:50:28 PM
My partner and I decided to upgrade our Pi gateway from the original Pi to the Pi 2 with the nice raspberry case.  My partner designed the hardware and mounted the Moteino inside the Pi case.  The Moteino draws 5v from the Pi so there are no extra cables required.  I loaded Felix's gateway code and everything works great.  I also loaded the Blynk server code on the Pi and since the two apps use different ports we can run both apps simultaneously.

We are currently using the Blynk app on our mobile phones to control an ESP8266 which in turns controls outlets on a plug box with a relay.

Attached are a couple of pictures showing how nicely the Moteino fits inside the Pi case.
Title: Re: Pi gateway using Moteino and Pi 2 in one case
Post by: LaneF on November 06, 2015, 09:46:17 PM
Syrinxtec,

What kind of shield or daughter board is that you mounted the Moteino R4 to?

If you connected a Moteino Powershield (http://lowpowerlab.com/shop/powershield) on some dead pins with a LiPo battery you'd be set.

Very cool, very compact.

LaneF
Title: Re: Pi gateway using Moteino and Pi 2 in one case
Post by: BBF on November 07, 2015, 10:10:34 AM
LaneF,

We used a 2 x 1.34" double sided pc board and mounted a dual female header to the edge.  The Moteino was soldered directly to the pc board to minimize height.  We only soldered the pins we needed which were ground, vin(5 volts from Pi),tx and rx.  A slide switch was added between Moteino rx and Pi tx for Moteino programming.

Title: Re: Pi gateway using Moteino and Pi 2 in one case
Post by: Felix on November 08, 2015, 08:08:04 PM
syrinxtech - nice work  8)
Title: Re: Pi gateway using Moteino and Pi 2 in one case
Post by: syrinxtech on November 09, 2015, 03:57:15 AM
Thanks Felix.  My partner, BBF, did all the h/w and I usually handle the s/w.

He made a really cool ESP8266 programmer as well.  Picture attached.