Author Topic: The Sump Pump Project w/o RPi  (Read 2402 times)

Deb

  • Newbie
  • *
  • Posts: 1
The Sump Pump Project w/o RPi
« on: June 30, 2013, 11:58:23 AM »
I am trying to do the sump pump project by Felix http://lowpowerlab.com/blog/2013/04/25/sump-pump-alert-with-moteino-hc-sr04/, replacing the RPi with a CentOS machine near the pump. I wish to log my progress and ask questions here.

With that, my first question:
From Felix's post it is not clear to me what sketch is loaded on the gateway moteino, when it is connected to the serial port  of the computer, and receiving the signal from the sump pump node?
The gateway.py is running without any error on the CentOS, when I set the correct serial port.

Now the serial monitor is not registering anything, so I am wondering maybe I need to load the receive sketch there,  please confirm.
 

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6370
  • Country: us
    • LowPowerLab
Re: The Sump Pump Project w/o RPi
« Reply #1 on: July 01, 2013, 09:14:38 AM »
You can run a simple pass-through receiver sketch, like this one: https://github.com/LowPowerLab/RFM12B/blob/master/Examples/Receive/Receive.ino
What it does it just passes any wirelessly received packets to the serial port, where the gateway.py script will pick it up and do its work.