Now-a-days everyone like to have home decorative with wide range of ceiling lights, flush mount lights, semi flush mounts, spot lights, wall mirrors, clocks, wall art and more. The home lighting system enhances the beauty of our home like never before. These systems are coming with LED's because they are Eco-friendly and power saving. The interesting thing is that many of the users are interested to have IoT kind of home lighting systems because they help-a-lot. The IoT my home lighting device designed with ESP8266 and Arduino with remote mobile app designed using Cayenne my devices will be helpful in various purposes. This device can fit and serve in any kind of place like for homes, shops, offices, schools, colleges, hospitals, function halls, meeting halls, etc. Cayenne app designing and controlling some actuators and reading data from sensors using arduino boards it is easy to access the IoT my home lighting devices remotely and it can be more helpful to every household and office purposes.
Step 1: Printed Circuit Board (PCB) Selection
I am using Dot Printed Circuit Board (PCB) because it is inexpensive and to beginners it is easy to design for their home lighting device. I will cut a small portion on it marked with pencil at Right hand side corner shown in Fig 1.
Step 2: Male and Female Header Connector Pins
I have chosen the Male and Female Header connector pins to insert Sensors, Actuators and ESP8266 MCU for plug and replace which ever components are necessary in future. Fig. 2 show the male and female header connector pins use to interface relays, motors, solenoids, etc to read/write, enable/disable throught port pins of MCU.
Step 3: Schematic Circuit Diagram
PCB, bread board and schematic connection are shown in the following figure for IOT home lighting device.
Step 4: Shield for the MCU, Sensor and Actuators Connection.
The header pins are inserted on the dot PCB and soldered firmly as our application circuit diagram to add sensors and actuators to ESP8266 Thing dev board. This header pins used to power the ESP8266, and read/write data for sensor, to actuators. According to our possible interface we can divide the port on ESP8266 for specific home appliances.
Step 5: Header Pins Soldered to Fit for Shield Connector
Header pins are soldered to ESP8266 port pins to make ease in the application and for re-program convenience. Insert the ESP8266 board on the PCB shield to use in application it can be removed to re-program. This ESP8266 is more convenient for use because it has on-board power switch to turn ON/OFF the board during power the device externally. More details on ESP8266 module and libraries is available in https://www.sparkfun.com/products/13711 ensure to add/update libraries to your library manger in Ardunio IDE https://github.com/myDevicesIoT/Cayenne-MQTT-ESP8266 in the above link we have step-by-step procedure to add libraries you are beginners.
Step 6: ESP8266 Thing Dev Inserted on the PCB Shield
Insert the ESP8266 board on the PCB shield to use in application it can be removed to re-program. This ESP8266 is more convenient for use because it has on-board power switch to turn ON/OFF the board during power the device externally.
Step 7: Connecting Wires and Relays
Connecting wires are taken to interface grove relays to ESP8266 board
Step 8: Components and Modules Are Glued in Box
Apply hot glue to fix the modules and component in the box so that will not disturb with our carry and the box will be safety from air exposer. The process of fixing the module with glue is shown in the video IoT my home lighting device.IoT home lighting device installation
Step 9: Programming the ESP8266 Through Arduino IDE
The program can be done through Arduino IDE software and is available to download latest version https://www.arduino.cc/en/main/software. After uploading the program is ready we can insert the ESP8266 board in the application circuit to turn ON/OFF home appliances remotely. Fig. 11 shows the screen short image of uploading the program onto ESP8266 module. Program can be downloaded or reuse from the code attachments the program is done in arduino IDE video: Programming the ESP8266 through Arduino IDE The program can be done through Arduino IDE and uploaded once the program is ready we can insert the ESP8266 board in the application circuit to turn ON/OFF home appliances remotely. Above figure shows the screen short image of uploading the program onto ESP8266 module. Once the program is ready and switch on the ESP8266 module the cayenne my devices mobile app will appear as shown in screenshot image figure. the cayenne login link
and mobile app is available in Google play store
document on using cayenne is found in the URL
Step 10: Mobile App Dashboard Detecting the Programmed ESP8266 Kit
Once the program is ready and switch on the ESP8266 module the cayenne my devices mobile app will appear as shown in screenshot image figure.
Step 11: Connection of Street Light to ESP8266
To turn ON/OFF street light and schedule the light to turn ON and OFF automatically to the specified time schedule to repeat it for a day, week, month or year as our requirement. Figure shows the street connecting wire to control it remotely from anywhere.
Step 12: IoT My Home Lighting Device on Electric Pole
The set-up is fitted on the electric pole to turn ON/OFF street light and we can schedule it from night to morning this can be seen in the next video.
Step 13: Screen Shot Image of Street Light Operation
Screen shot image of street light controlling from cayenne my devices dash board is shown in figure. Street light ON/OFF by mobile app and schedule Video shows the setting and using the cayenne dashboard to turn ON/OFF the street light remotely using ESP8266 thing dev kit.
Step 14: Screen Shot Image of Mobile App to Enable the Street Light
Street light when turn ON, the screen shot image of mobile app shows the light is turn ON.
Finally we can use this ESP8266 Thing Dev kit to interface home appliances like Living room, kitchen, bedroom, bathrooms, corridor street lights. ESP8266 is capable to control up to ten of appliances with this available channels. The appliances can be fans, motors, rice cookers, coffee makers, mosquito liquid vaporizers, geezers, plug, cooler, Air conditioner, music system, etc. IoT my home lighting device can be ease to install and can use in offices, colleges, restaurants, schools, industries, factories, shops, etc. This device is more useful to everyone and easy to operate in high secure to access by the unique or multiple user when the login ID is shared. I can operate my home appliances in India from New York city.