Project was built as a gift for Mothers day. But it seems so practical that can find many places to be used. Lamp is based on Atmega328p which is loaded with Arduino bootloader and operates at 1MHz. For sensing motion sensor there is a TLC1079 op amp used which chews as little as 150 microwats per channel. The whole effort was put to prolong battery life otherwise lamp will find a peaceful dusty place to rest.
Lamp is also equipped with CDS light sensor which ensures that lamp works at night time. Lamp light source consists of pair of RGB LEDs that are switched using p-channel FETs. Lamp takes about 0.08mA of current in a sleep mode what ensures it to work for about 3 years when running from 3 AA batteries.