Introduction: A "comfortable" Smart Lamp
First of all, consider this link for more details: http://www.mdpi.com/1424-8220/16/3/338
The smart lamp is a desk lamp apparently not different from the others that are located in the offices, near the PC monitor. However, it allows you to do one more thing: adjust the indoor thermal comfort by interacting directly with the air conditioner optimizing power consumption. For its construction we have used some pieces taken from a broken lamp. The remaining parts are appropriately designed to accommodate the various components and realized through the aid of a 3D printer.
The talk proposal "How a maker can optimize energy consumption and thermo-hygrometric comfort in a office" that describes the functioning of the Smart Lamp in real working condition was selected for Maker Faire Rome 2015.
Step 1: Decode the Signals
Before you proceed to the realization of your personal smart lamp you must first acquire the remote control codes of your air conditioner. To do this it is necessary to have:
• Arduino UNO or equivalent
• TSOP 31238 IR Receiver
• 10 μF capacitor
For decoding you can use the examples files IRrecord inside the folder examples of IRremote library. Alternatively you can use the program AnalysIR and its sketch. You can download it only as a result of a donation on the site http://www.analysir.com/blog/
The fundamental signals to be recorded and updated in the sketch cover the following settings:
• Heating on, 24°C
• Heating on, 22°C
• Dehumidification on, 22°C
• Dehumidification on, 25°C
• Cooling on, 23°C
• Cooling on, 25°C
• PdC OFF
Step 2: Construction Phase
Once you obtained the signals relating to the settings listed above you can switch to construction of the smart lamp. Basic you need the following components:
• Arduino MEGA 2560
• DHT22 sensor
• RTC module based on DS1307 chip
• LED IR 333A
• Wireless shield
• Micro SD
The libraries that must be included in the libraries folder of your IDE 1.6.4 are:
• EEPROM.h (verify if your EEPROM library support EEPROM.update. Otherwise download new library from: https://github.com/arduino/Arduino/tree/master/hardware/arduino/avr/libraries/EEPROM
Step 3: How the Smart Lamp Interact With a Heat Pump
At the current state the smart lamp puts into practice the algorithm shown in the flow chart. You can download the code from the following link: https://github.com/frank984/Smartlamp
We have a be nice policy.
Please be positive and constructive.