First approach

Version 2.0

After the Applications and implications week I started working on a posibible final design for my final project.

I am keeping the idea of designing a lamp that reacts to the presence of the user but I also would like the lamp could interact/read the ambient light level. So, in this second versiĆ³n, the idea is that when a phototransistor reads that the ambient light is not enough, the bulb (through a relay) light up illuminating the room with a "soft light" enough for not being in darkness, and then, if the user wants to study or read or solder PCBs or do any other kind of activity, he/she can activate the ultrasonic sensor by putting a small flat "card" in front of the sensor that is placed on the base of the lamp. Then, through a servo motor, the exterior foldable layer of the lamp hides and the light can come out, but only through that section of the lamp, keeping the rest on them closed.

Note: for the proper working of the ultrasonic sensor, in order to get good reads, the pulse must bounce on a perpendicular surface. That's why I need to add that "card". I explained deeper this issue in the Input devices week.

So due to the group of elements which need to be integrated into the lamp (servo motor, ultrasonic sensor, relay module, batteries, bridge PCB and node PCB with phototransistor sensor...), I decided to divided the lamp into 3 parts (instead of four that was the first idea) in order to have more space for components and cables.

But when I presented my work to my instructor this question came up: which is the de difference between using the ultrasonic sensor in the way that I was using it instead of using a button? And the answer is that there is no difference. The fact is that with this system the machine is not reacting, is not reading the presence of the user, the user has to activate the machine directly through inserting the "card", and that is not what I want. So I decided that in the following weeks I would try with another type of sensors (such as a PIR Sensor o an infrared one) to solve this problem.