Pages: [1]   Go Down
Author Topic: Proximity Sensor Lightbox  (Read 10344 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to create a lightbox that only turns on when you are around 80cm away from it. It will stay on as long as you are in front of it, but as soon as you move further than 80cm away, it turns off. I was considering using this sensor http://www.adafruit.com/products/1031#Description . I'd like to attach this an arduino board that then would interpret feedback from the sensor and toggle the lights accordingly.

Any ideas or suggestions on what arduino boards to use? And general or specific advice? Anyone attempt something like this before (of course you did, please share!)?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's nothing hard, you can use any board you want for this sensor, all you need is analog input, so I'd suggest you find one with the least power consumption.
I have one distance sensor like this, and it is very precise. They give you analog output so you hook it up to A0..X pin (any of them). You can also get around with this: http://www.ebay.com/itm/1pcs-HC-SR04-Ultrasonic-Module-Distance-Measuring-Transducer-Sensor-/151142052993?pt=LH_DefaultDomain_0&hash=item2330c4b481 . It is cheaper and still precise enough. You'll have to use library for it though http://code.google.com/p/arduino-new-ping/ .
Hope it helps smiley
Logged

Pages: [1]   Go Up
Jump to: