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.
- RGB LED Device
- Connection with cloud
- Control via mobile app
- Automatic brightness adjustment
- C++
- Microsoft Azure
- IoT Hub
- Autodesk EAGLE
- ESP-32
- 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
- Create your device using
Circuit_diagram.pdf
. - Create account on Microsoft Azure.
- Create IoT Hub.
- In IoT Hub add new device via
Devices > Add Device
. - Clone repository.
- Open
AzIoTConfig.h
file.
- Enter Wi-Fi credentials, network name
IOT_CONFIG_WIFI_SSID
and passwordIOT_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 KeyIOT_CONFIG_DEVICE_KEY
.
- Build and upload programme to ESP-32.
- Use Smart Ligth app to controll your device.