Live data from Hacker News

Turn a light bulb on with every new user or download

rigoneri.com

1–10 of 42 posts

Re: Turn a light bulb on with every new user or download

#4
This seems like a really great use for raspberry pi. I recently finished a project involving a pi + a relay to activate a door buzzer, written in javascript. It was surprisingly simple and straightforward.

Besides turning on lights, the cool thing about relays is that most things involving physical push-buttons can be taken apart and easily wired up to a relay.

Re: Turn a light bulb on with every new user or download

#6
post #4

This seems like a really great use for raspberry pi. I recently finished a project involving a pi + a relay to activate a door buzzer, written in javascript. It was surprisingly simple and straightforward. Besides turning on lights, the cool thing about relays is that most things involving physical push-buttons can be taken apart and easily wired up to a relay.

What protection do you use for the Pi's GPIOs?

Re: Turn a light bulb on with every new user or download

#7

I wonder why he didn't use something like IFTTT.

I built this for our company using IFTTT; we have a little blue siren that goes off when a user converts. It's powered by the production app sending an email to IFTTT which power cycles a Belkin WeMo. Very simple, and it works quite well (excepting for a 10 second or so delay between the conversion and the siren going off).

Re: Turn a light bulb on with every new user or download

#8
post #4

This seems like a really great use for raspberry pi. I recently finished a project involving a pi + a relay to activate a door buzzer, written in javascript. It was surprisingly simple and straightforward. Besides turning on lights, the cool thing about relays is that most things involving physical push-buttons can be taken apart and easily wired up to a relay.

Arduinos can (supposedly) host webpages, and pins can be powered or depowered by (properly parsed) HTML POST commands. Combining this with a relay means we can create WIFI website interfaces for anything that uses electricity.

The opportunities to improve current products are so endless that I become overwhelmed whenever I think about this. We all have the parts to do this today, but so few are assembling them.

---

Want to set an outlet to turn on or off at different times? No need to buy a timer, just goto that outlet's website on your WIFI LAN, and set it on a timer. Or you could depower the outlet to make it child-safe.

Are you going on a trip and you're afraid you left the toaster plugged in and your house might burn down? Just VPN to your home LAN, sign into your kitchen's website and have it power off all outlets.

Locked out of your car? Pull out your phone, securely sign into your car's website, and tell it to unlock the doors.

Power and depower garage door openers, sprinklers, RC cars, even industrial equipment from a simple web interface.

Re: Turn a light bulb on with every new user or download

#9

For a larger company with more signups/uploads, I'm envisioning a wall of LEDs, controlled by an Arduino board.

Or better yet, make it interactive with something like this:

http://shop.evilmadscientist.com/productsmenu/majors/150-pan...

Peggy's could be fun too:

http://shop.evilmadscientist.com/productsmenu/tinykitlist/75...

Re: Turn a light bulb on with every new user or download

#10
Cool project!

Maybe iterate it to use LEDs instead of incandescents.

For hardware hacking- you have 3 types of hardware that can make life easy- but there are tradeoffs:

1) Arduino 2) Raspberry PI 3) Beaglebone

Arduino is great when you want low power, but it isn't an awesome internet platform.

Raspberry Pi is great when you're going to leverage a full blown PC Monitor, but using it for hardware hacking requires a bit of elbow grease

The Beaglebone is great for when you are doing something internety & hardware hacky, but without a full blown pc monitor.

I would have done your project with a beaglebone, fwiw. I'd also have used LEDs instead of incandescents. But this is a great project! Nice work!

Post reply on HN