This shows you the differences between two versions of the page.
|
iothings:proiecte:2022sric:remote_control_of_a_light_bulb [2023/06/02 00:09] samuel.tanase |
iothings:proiecte:2022sric:remote_control_of_a_light_bulb [2023/06/02 00:50] (current) samuel.tanase |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| === Introduction === | === Introduction === | ||
| - | The purpose of this project is to control a classic 230v light bulb from the internet. | + | The purpose of this project is to control a classic 230v light bulb remotely. |
| It is intended to to force the light bulb to emit more light than the nominal value if the user wants this (with the risk to damage the light bulb). | It is intended to to force the light bulb to emit more light than the nominal value if the user wants this (with the risk to damage the light bulb). | ||
| - | {{:iothings:proiecte:2022sric:remote_light_bulb_setup.png?direct&100 |}} | ||
| + | {{:iothings:proiecte:2022sric:remote_light_bulb_setup.png?direct&600 |}} | ||
| === Hardware Description === | === Hardware Description === | ||
| Line 18: | Line 18: | ||
| * 5VDC power supply | * 5VDC power supply | ||
| * Wires and connectors | * Wires and connectors | ||
| - | |||
| - | [img with device here] | ||
| The electronic schema: | The electronic schema: | ||
| - | [some img] | + | {{:iothings:proiecte:2022sric:remote_light_bulb_block_diagram.png?direct&400 |}} |
| + | {{:iothings:proiecte:2022sric:pwm_driver_internal.png?direct&600 |}} | ||
| === Software Description === | === Software Description === | ||
| + | This software part of this project consists of 3 software components: | ||
| + | * ESP32 software: connects to the internet using wifi, downloads a PWM value from the server periodically and sends the PWM signal to the PWM driver | ||
| + | * Android app: user interface for controlling the light bulb intensity, written using Qt C++ | ||
| + | * Web server: used as a glue between the ESP32 board and the remote control app, written in PHP | ||
| + | |||
| + | === Download === | ||
| + | |||
| + | * [[https://github.com/porxyz/light_bulb_remote_control|Source code (GitHub)]] | ||
| === Demo === | === Demo === | ||
| - | [android capture images] | + | {{:iothings:proiecte:2022sric:remote_control_bulb_app1.jpg?direct&200|}} {{:iothings:proiecte:2022sric:remote_control_bulb_app2.jpg?direct&200|}} |
| + | {{:iothings:proiecte:2022sric:remote_control_bulb_app3.jpg?direct&200|}} | ||
| - | [link to the demo video] | + | <html><iframe width="712" height="400" src="https://www.youtube.com/embed/011t0khc5EY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></html> |
| === References === | === References === | ||
| + | * [[https://docs.espressif.com/projects/arduino-esp32/en/latest/|ESP32 Arduino Core’s documentation]] | ||
| + | * [[https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/api/wifi.html|Arduino ESP-32 Wi-Fi API]] | ||
| + | * [[https://doc.qt.io/qt-6/|Qt6 documentation]] | ||
| + | * [[https://www.php.net/docs.php|PHP documentation]] | ||
| - | tbd | ||