Create project Need help?
Show more (2)
lavrukhin_oe

System of Lights Control for home “SLC”

Status: Proposal
1583
3
March 30, 2018
sdc15923.JPG
I did this project for my house, which have 4 rooms: bedroom, lounge, salon and kitchen. Every rooms have a ceiling lamp, a few wall lamps and few AC sockets (outlets), all connected to AC via wire. All devices control via standard mechanical wall switches.
And I want to control all of a lamps in my house via smartphone and new wall switches (with touch sensor buttons).
With my SLC I can control up to 24 devices, based on ESP8266, connected to local Wi-Fi network. Software provides a control up to 3 channels for each of connected client, this may be use for devices with 3 outputs where used only one ESP module.
SLC can make a pair “Master-Slave” between “Smart wall switch” and “Smart outlet”, for manual control of outlet, which is placed far from switch.
Android Application provide to set all of need of parameters, such as Network name and password, names of room and devices and other (full description in the file “Install and Setup”). Application have a function of auto disconnect a smartphone Wi-Fi module when exit, and display a devices status: “offline”, “on”, “off”.
SLC components:
  • MAIN Board (Wi-Fi Server), include:
    • ESP32-PICO-KIT 4 + ULN2003 + 6 relay(output AC 22 v 10 A)
    • AC/DC power module (5 v 1 A)
    • 8–buttons touch sensor panel (based on SX9511 from Semtech)
 
  • SMART SWITCH (Wi-Fi Client), include:
    • ESP8266 + relay(output AC 22 v 10 A)
    • AC/DC power module (5 v 0.6 A)
    • 2–buttons touch sensor panel (based on SX9511 from Semtech)
 
  • SMART OUTLET (Wi-Fi Client), include:
    • ESP8266 + relay(output AC 22 v 10 A)
    • AC/DC power module (5 v 0.6 A)
 
  • Android Application.
 
 
Software for MAIN Board, SMART SWITCH and SMART OUTLET is written in Arduino 1.8.5,
Android Application is written in MIT APP Inventor 2.
All of sketches have a detailed comment.

Video on Youtube:
  • - smart switch
  • - Main module at work
  • - smart switch in the night
 
List of files in archive:
  1. INSTALL_and_setup.pdf
  2. FULL_description.pdf
  3. ESP_smart_AC_OUTLET.ino
  4. ESP_smart_switch.ino
  5. ESP32_search_I2C.ino
  6. write_NVM_ESP32_server.ino
  7. ESP32_smart_server.ino
  8. ESP32APP.apk
  9. ESP32APP.aia
Read the full post
Show less
Other
  • soft (1.69 MB )
    software of project
  • full description (3.47 MB )
    full description of project
  • install (1.57 MB )
    how to install and setup a parts of project
Images & Videos

Loading comments...