Skip to content

IoT Smart Light. Device that emits RGB light and can be controlled via moblie app using cloud service.

Notifications You must be signed in to change notification settings

wybieracz/IoT-Smart-Light-Firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Smart Light

The aim of the project was to design remotely controlled device which emits RGB light. The device is connected to Azure cloud and can be controlled via mobile app from anywhere in the world. RGB LED strip allows to emits light in 16.8 million colours. Thanks to light detection module brightness of the light can be set automatically.

General information

  • RGB LED Device
  • Connection with cloud
  • Control via mobile app
  • Automatic brightness adjustment

Technologies used

  • C++
  • Microsoft Azure
  • IoT Hub
  • Autodesk EAGLE
  • ESP-32

Schematic

circuit board

Components description

  • ESP-32 - microcontroller
  • X1(JP1) - Power module with DC 2.1/5.5mm socket
  • LED_STRIP - LED RGB WS2812 5050
  • R1 - 10k resistor
  • PH1 - GL5539 50k-100k photoresistor

Breadboard version

breadboard_1 breadboard_2

PCB version

pcb_1 pcb_2 pcb_3

Instruction

  1. Create your device using Circuit_diagram.pdf.
  2. Create account on Microsoft Azure.
  3. Create IoT Hub.
  4. In IoT Hub add new device via Devices > Add Device.
  5. Clone repository.
  6. Open AzIoTConfig.h file.
  • Enter Wi-Fi credentials, network name IOT_CONFIG_WIFI_SSID and password IOT_CONFIG_WIFI_PASSWORD.
  • In IoT Hub open Overview to show hostname.
  • Enter cloud hostname IOT_CONFIG_IOTHUB_FQDN.
  • In IoT Hub open Devices > Your Device Name to show cloud device credentials.
  • Enter cloud device credentials, Device ID IOT_CONFIG_DEVICE_ID and Primary Key IOT_CONFIG_DEVICE_KEY.
  1. Build and upload programme to ESP-32.
  2. Use Smart Ligth app to controll your device.

About

IoT Smart Light. Device that emits RGB light and can be controlled via moblie app using cloud service.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published