Fans of the bouncing lamp from the Pixar corporate logo will enjoy [Daniel]’s latest project. It’s a motion controlled desk lamp that uses ultrasonic sensors to control its physical position.
The core of the project is an Arduino and the three ultrasonic sensors. The sensors act as range finders, and when they are all working together under the direction of the microcontroller they can tell which direction a hand was moving when it passed by. This information is used to drive two servos, one in the base and one on the lamp’s arm.
The project requires an articulating desk lamp of some sort (others besides the specific one [Daniel] used shouldn’t be much of a problem as long as they bend in the same way). Most hackers will have the rest of the parts on hand, with the possible exception of the rangefinder. The code is up on the project site for a look-see or in case you want to build your own.
The only problem that [Daniel] had when putting this all together was that the base was a little wobbly. He was able to fix that with some thumbtacks, and we think the next step for the project should be switching the light on and off over the internet.
This article about a motion controlled lamp would be so much better with a video.
There is a video on their website but it’s rather disappointing.
I agree
do the sensors interfere with each other at that spacing?
I would imagine so; you can see from their video that they are getting pretty horrible results. I don’t really understand the logic of using three ultrasonic sensors anyway, it seems the only gestures they are registering is swiping left and right, they could get much better results with one sensor oriented tangentially with the gesture rather than perpendicular.
yeah they do. they are also not so suitable for very close objects. this thing would be better of with other kinds of sensors, like capacitive or optical.
https://hackaday.io/project/801-uMotio—Open-3D-tracking-and-gesture-controller
Must be the fail of the week?
Anyway – the idea is good. Mk2 will need some better placement for the sensors to make it possible for the lamp to register the movements the guy in the video tries to use. Mk3 will need some smoother “animation” and then it will rain kudos.
I like the lamp. Looks self-made. Does anybody know if there’s files available to cut it myself?