Here is a fun project: hook my wireless doorbell to the Internet and get SMS when someone rings it. Useful when I am not at home or am in the backyard and can’t hear it, but I carry my mobile phone with me.
My wireless doorbell is some cheap model that Google doesn’t even find, but it is powered by two 1.5V AA batteries. It is also quite bulky and I could easily fit a Funky sensor in it. It has a green LED that flashes when the doorbell is ringing, so I decided to use it to pull a digital pin high when someone is ringing. I also did setup that digital pin for pin-change interrupts, so that the Funky sleeps constantly and is only wakened when necessary i.e. that pin is pulled high:
pinMode(1,INPUT); sbi(GIMSK,PCIE0); // Turn on Pin Change interrupt sbi(PCMSK0,PCINT1); // Which pins are affected by the interrupt
Here are some pictures of the setup
So the sketch just sleeps and awaits until a pin-change interrupt kicks in, then reads the state of pin 1 and sends it. Another power-down follows for this to repeat forever..
[Edit] See my update on getting this to work here
Emoncms will then pick up the transmission and register it. I tried to set up email notifications when I get value “1”, but I couldn’t. I will follow up once this is ready. The idea is that I forward these to a email2sms service that my mobile operator has and therefore receive a SMS message. Until then I can view the event in Emoncms’s logs.
This same approach may be used in many other scenarios, for example in interfacing wireless PIR sensors, flood sensors, door magnetic sensors. The benefit is that the system sleeps all the time and only wakes to do work.
I have been following your progress with ‘funky’ and you mentioned you might be building some for sale on Jeelabs forum. How are you plans on that front progressing ?
Tobias didn’t reply to my email, but I got his permission to “copy&clone” here http://tobiscorner.floery.net/funky/funky-power-optimization/#Comment2EDIT: I now have Tobias’s permission.
I guess that is good enough.
I do have some extra Funky PCBs, you can contact me (in the About page) and I can send you either a bare PCB or a built Funky. The current version has the step-up inductor way too close to the RFM12B module and requires some hacking to solder, but if you need just a “normal” Funky, powered by CR2032 or two AA(A) batteries, you can omit the step-up circuit.
I have ordered a fixed PCBs today, but it will take at least couple weeks before they reach me.
If you have a smartphone then I advice to use a push service instead. Free, easy to setup very fast and reliable.
I use PingAndroid for my android phone.
Pingback: Wireless Doorbell sends SMS Message when Activated - Hacked Gadgets – DIY Tech Blog
I had similar thoughts about putting a jeenode inside my burglar alarm control panel to monitor the triggers and if It’s possible to hack the remote keypad protocol I could even arm/disarm remotely.
That I want to do some day, have been thinking about it for a while. It will be a challenge though. Easiest way will be just to simulate button presses on the keypad, not elegant but will probably work.
Pingback: Wireless Doorbell sends SMS Message when Activated | Price Gadget Reviews
Pingback: Updating my SMS doorbell | Martin's corner on the web
Pingback: Doorbell to Internet bridge also useful for other home automation - Hack a Day
Pingback: » Hooking a doorbell to the internet Fuzzy Hypothesis Online
Pingback: Whenever the doorbell rings you’ll get a SMS text to keep informed of any visitor | Damn Geeky - The geek's guide to awesomeness
Pingback: Doorbell to Internet bridge also useful for other home automation | Cool Internet Projects
How does Emoncms receive the signal? Is thru your computer or a external device?
I use a Nanode for my permanent setup, but I have done it with Raspberry Pi + TinySensor as well. There are many options, any RFM12B to Internet type of solution will do and there is tons already available
I built a similar project but my doorbell is not wireless and runs on AC. I’m planning on adding a web cam of sorts so the doorbell will trigger an image capture and send me a picture along with the alert. http://www.freakent.co.uk/2012/02/10/idoorbell-v2-using-prowl-arduino-xbee-and-acs712-current-sensor/
Pingback: Raspberry Pi email/SMS doorbell notifier + picture of the person ringing it | Martin's corner on the web
Pingback: Forget Chimes—Make Your Doorbell Send You Text Alerts Whenever Someone Rings It - Science & Tech | Tech wikiHow