Now we have holidays ( I love it ) and a lot of free time. During the school year I studied a lot but now I can play with my lego bricks
So a few days ago I thought about annoying problem with my phone and charging it.
All time I'd like to charge my phone I have to push away my bed, plug charger to the socket and then plug the phone to the USB cable. So I thought I could build a robot which would plug charger to the socket if I turned it ( my robot :P ) on.
I was building it for three days ( with long breaks for sleep, meals, etc. ) and I think it wasn't easy. I have built also a charging dock for (my) the best phone -> Samsung Galaxy SIII mini
I'm really satisfied with the resuls To build I have used NXT brick, one servo motor, one touch sensor and a light sensor. I used a lot of varous bricks from 9695 and 8547 sets.
How does it work?
If you want to charge your phone you have to only put your phone in the charging dock and turn on robot. When you turn program on, the lamp will also turn on. If it is green, your phone will charge. If it is red, you have to click "PLUG" and then your phone will charge. That's all
Let's see what I have done
Some photos(they are really big, I'm sorry)
Here is a program (I know it is easy to do it but I'd like to share it )