Imagen Proyecto Smart City Illumination

Smart City Illumination

Prototype of Public Lighting System using the Internet of Things

Development

The project consisted of the implementation of a prototype public lighting system that can be monitored and managed from a web platform.

The physical circuit of the street lighting was developed using the ESP32 board, programmed in Arduino. This board is ideal for IoT projects due to its Wi-Fi and Bluetooth connectivity capabilities, as well as its powerful processor. In our case, we use the ESP32 to control the proximity sensors, the photoresistors and the LEDs that simulate lighting.

Proximity sensors allow the presence of people or vehicles in the vicinity of the lamps to be detected. These sensors are essential to optimize energy consumption, as they allow the lights to be turned on or off as necessary. On the other hand, photoresistors measure the intensity of ambient light, which allows us to adjust the brightness of the lights based on external conditions.

Once the data has been collected with the sensors, the ESP32 board sends it using the HTTP protocol to a web address where a server is hosted. This server has a database that stores information about the power consumed by each LED in the circuit, as well as the percentage of brightness at which they turn on in real time.

The web platform is the interface through which we can monitor and manage the street lighting system. From this platform, we can consult the database and view graphs that show the power consumed over time. In addition, we can also see in real time the percentage of brightness at which the lights are on.

An important feature of our project is the emergency ignition option. From the web platform, we can send an instruction to the ESP32 configured as a server to turn on all lamps at 100% brightness. This feature is especially useful in emergency situations or when increased lighting is required in certain areas. In addition to emergency ignition, we can also deactivate the operation of each lamp separately from the web platform. This gives us greater control over the system and allows us to adjust the lighting according to the specific needs of each area.

It is important to mention that this project was developed as a team and both the physical circuit and the web platform were created completely by us. This allowed us to acquire knowledge in the field of IoT and apply it in a real project.

In summary, our IoT project consisted of the implementation of a public lighting system controlled from a web platform. We used the ESP32 board to control the sensors and LEDs of the physical circuit, while the server and database allowed us to store and visualize the collected data.