Author Topic: Sump pump alert  (Read 3312 times)

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Sump pump alert
« on: August 19, 2015, 07:18:22 PM »
I am looking at felix's sump pump alert project. I looked at the sonarmote and the older version with the HC-SR04 sensor. Does the HC-sr04 require the lipo battery? I'd rather not have to use it. I'll have a usable 5v power supply. Also, correct me if I'm wrong but I believe I'll need the HC-sr04 sensor, two moteinos, the atxraspi, and a RaspberryPi. And my power supply. I want to make sure I order all I need at one time. Thanks for your help

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #1 on: August 19, 2015, 08:36:52 PM »
Hi Kilo95, thanks for posting this here.
Bear with me please, I will put together a SonarMote kit that has everything that's needed (including Moteino of your choise via product options), but not the battery which you will have to source elsewhere, any LiPo will work but 1000mAh+ is recommended. I have 6 SonarMotes PCBs assembled, and need to lasercut the cases still, then make the kits.

The code for SonarMote is posted here.
This allows very low power operation that will last a long time, and when the battery is low, the Gateway UI will show you that and you can recharge quickly like a phone, via USB cable, then put it back in the sump well.

I should be able to prepare the kit tomorrow, unless something critical comes up.

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #2 on: August 19, 2015, 10:13:52 PM »
I'll be patient. Thanks for your help

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #3 on: August 20, 2015, 02:40:54 PM »
So over 1000mah for the lipo. Which voltage? I'm seeing 7.4v and 11.1v on Amazon.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #4 on: August 21, 2015, 11:15:41 PM »
3.7V only!
This should fit the case I will make: https://www.adafruit.com/products/258
Sorry I haven't gotten to it yet, as usual things got crazy towards the end of the week. Bear with me..

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #5 on: August 22, 2015, 01:54:23 AM »
Ok. Thanks. I have dealt with electronics before just not anything using RaspberryPi and such. I want to make sure it doesn't sizzle when I hook it up, hence all the questions. Thanks for all the help

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #6 on: August 23, 2015, 10:24:16 PM »
How many did you need, just one?
I have one soldered up, you'd have to get a separate Moteino and solder the side headers.
I lasercut some cases today. I need to take photos and put up a product on the shop...

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #7 on: August 24, 2015, 09:56:31 AM »
Just one for now. I can solder the headers on. Are they included?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #8 on: August 24, 2015, 01:50:36 PM »
Sure .. I will throw in headers.

Just a bit more patience please till i get it setup.

Are you able to "figure out" most things on how to put it together? I can probably send you a pre-soldered one. Then get a LiPo battery from adafruit and a Moteino and you're ready to roll.

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #9 on: August 24, 2015, 03:29:00 PM »
I should be able to figure it out based on the forums. Thanks!

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #10 on: August 24, 2015, 08:26:55 PM »
I've taken more shots and put them up on the SonarMote page.



Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #11 on: August 24, 2015, 09:19:00 PM »
Awesome. Thanks. So I just need another moteino and a RaspberryPi for it to send text messages?

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #12 on: August 24, 2015, 09:45:19 PM »
Looks great by the way

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #13 on: August 24, 2015, 10:26:55 PM »
And drumroll ... it's in the store!
More photos in this album.
Does't look like much but I practically spent all my available time today to make this available ... and it's still not all done. I need to work on the sonar mote page to add assembly instructions and tabify that page since it looks terrible right now.

Yes you'd need a Moteino on the receiving end. Just pick the same type, I recommend RFM69HW-915 for USA, shorter antennas and they work great for all around your typical property (with the out of box library settings).

Any other questions let me know.

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #14 on: August 24, 2015, 10:58:22 PM »
Wonderful. Thanks for your time. I'll order in the morning

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #15 on: August 28, 2015, 09:50:42 AM »
Ok so I got my supplies. Am I correct in saying that I can program the moteinos without the raspberry pi? (It'll be almost a month before it arrives). Will they power through the usb when connected to my pc? Thanks for the help

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #16 on: August 28, 2015, 10:21:55 AM »
Looks like I missed ordering a fdti adapter for the moteino that's with my sonarmote. Won't I need it to program that moteino? I ordered the moteino usb for the receiving end so I know that's not necessary there.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #17 on: August 28, 2015, 10:35:34 AM »
Yes you'd need some serial adapter to program a USB/FTDI-less Moteino.
FTDI-Adapter is the easy plug and play method. There's other ways and other compatible serial adapters too.

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #18 on: August 29, 2015, 08:21:29 AM »
Ok I ordered the fdti adapter. I was looking at the sonarmote page and it says "The Moteino is programmable via the USB as well (enumerates as FTDI serial port)." it's in the First paragraph. I'm confused now

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6402
  • Country: us
    • LowPowerLab
Re: Sump pump alert
« Reply #19 on: August 30, 2015, 08:31:37 PM »
Ok sorry for any confusion.
The Moteinos have a 1x6 FTDI header that plugs directly into a FTDIAdapter. So you can program it that way.
However for kits like SonarMote and MotionMote there is an integrated FTDI chip onboard those PCBs and once you plug in the Moteino on them, the Moteinos can be programmed through the USB ports of those boards. So don't solder the 1x6 header otherwise they won't fit in the case any more. So ... you don't need the FTDIAdapter when the Moteinos are attached to the SonarMote/MotionMote.
However I would add that it's still useful to have a FTDIAdapter around.

Kilo95

  • Sr. Member
  • ****
  • Posts: 333
  • Country: us
Re: Sump pump alert
« Reply #20 on: August 31, 2015, 10:28:51 AM »
Ok. Thanks. Just waiting on my RaspberryPi to arrive and a friend who does programming to help me compile my sketch. 😁