Welcome to the SM-1 project from ArduinoArts.com!
(A.K.A as the Annoying IKEA Lamp)

We are proud to introduce you to the SM-1 project (aka the Annoying IKEA lamp), as part of the Toy hacking contest from the SeeedStudio.com friends.
The project consists in modifying an IKEA 5€ lamp and adding it some sensors, lights, sound and movement to make it more fun. (even that we have made a few other hacks to this same lamp as the Iphone photostudio).
Here is a sample diagram of what we have in mind (and hope to be able to make it real!).

Part 1
So, the first thing that we need is the lamp:

and the Grove Toy Kit from our friends of SeeedStudio.com

The basic idea is to detect if there is movement or not (with the motion detector); if there is movement we start the servo no.2 and play a pre-recorded message. Otherwise, there is working the servo no.1 and a different pre recorded message.
Reading the state of the motion sensor is very simple: we assign and digital input and read the state. The result is a binary data 0 or 1 (quiet or movement). Doing a simple loop and based on this result we start one or another gadgets.
The sound recorder on it´s own, can only play 4 pre-recorded sounds via external signal. To record them there has to change a switch from play to record position and press the desired button (it has 4 buttons, one for each sound) and record it (should be less than 15sec each). Once recorded we change the switch to play position, and access them by the play() function declared on the code.
The servos work in a very simple logic, they have 3 cables: positive, negative and digital data. The first two give the servo the power to move (max 7v) and the third one goes to an digital output where it receives the information on which degree should it be, and the change begins. We are using the sweep tutorial code in this example.

Part 2
We continue the developing of our SM-1 Lamp Robot, this time we are doing hacks on the lamp to install one servo, the one that will move the lamp head to the sides (as if the lamp looks to each side).
Here is the detail of the lamp head:

Let´s dissarm all of it. Also we should remove all the electrical parts of the original lamp.
We are not going to use a 220v lamp, but instead we are going to need all this space to install some sensors.
This is how it shoul look without the lamp head. See in the background the lamp head allready without the electrical parts:

Now, we are using some spare parts (also from IKEA), from the EXPEDIT furniture. They come with some metal supports in case you are attaching the furniture to the wall (which i never do), and these parts fit perfectly in the lamp and hold perfectly also the servo.

Now, lets drill the lamp head to attach it to the servo arm.

And this is how it looks!!! Looks almost as terminator isn´t it? ;-)

We also added a second servo (later) and improved the installation on the lamp servo as seen on this pictures:
SkizMaroo3 years ago
Lol, that is pretty cool. Very clever the way you mounted the servos, but the accelerometer control is genius. I was thinking of a simpler variant to use on my bench that would just give me motorized control of the head. It would be nice to be able to get it in close while doing fine soldering without having to put my iron and other tools down.
....or maybe attaching the control to the iron so the light could follow it.... that would be very cool. Maybe have it stream music (no Bieber!) instead of talking!

Gotta go to Ikea and the hobby store! :-)

Awesome project!

truk SkizMaroo3 years ago
I actually bookmarked this ible with the same idea as you, having it follow a fluorescent spot, and then put that spot on the tip of my screwdriver or soldering pencil!
BartholomewH2 months ago

Omg, this is awesome!
If IKEA starts to sell these I'm totally buying at least two! :)

Give this thing a fire extinguisher and make it autonomous and it can be like the thing off Iron Man!
kikiorg3 years ago

No doubt your Youtube commenters are talking about the 1986 Pixar short film, Luxo Jr:


That was the first thing I thought when I saw your 'ible come across the newsletter: "someone made a robotic Luxo lamp!"

Kiki -- Pixar fan since Tin Toy (before Toy Story!)
MikB kikiorg3 years ago
Combine it with one of those "ball-balancing-robot" projects and you'll have nailed a real living Luxo Jr :)

Just try not to burst the ball!
That was the first thing it made me think of too :)
arduinoarts (author) 3 years ago
Thanks!!!! im glad you liked it!!!
Super_Nerd3 years ago
You stole my idea that I would never get to! D:
PeckLauros3 years ago
Well done!
jamwaffles3 years ago
Nice Instructable and an interesting idea. Instructables needs to come up with a way of better formatting code, doesn't it. ;-)
shmdesigns3 years ago
This is excellent...well done!
bertus52x113 years ago
I like it!