This thesis describes the realisation of a wireless light control unit for LED strips with low cost components. The heart of this light control unit which is called “ESP32 Light Controller” is the ESP32 microcontroller from the manufacturer Espressif. This microcontroller is equipped with the wireless functionalities WLAN and Bluetooth. In addition, this prototype should be easy to use. As a result, a web interface was implemented so that any user can control the attached LED strips easily with the internet browser of a mobile device. Moreover, the light control standard Art-Net is also implemented. Consequently, the LED strips can be controlled as well with the help of Art-Net capable applications. The opportunity for the integration of the “ESP32 Light Controller” in smart home applications, the software supports UPD control commands. In addition to the software design, the electric circuit and a PCB were designed. The outputs are designed to support all the available LED strips. Common anode and common cathode types with a supply voltage of 12V and 24V of direct current are supported. With the help of a 3D construction software and a 3D printer, the housing of this prototype was designed and realized.
Table of Contents
1 Introduction
2 Light Systems
2.1 LED
2.1.1 LED stripes
2.2 Light control protocols
2.2.1 DALI
2.2.2 KNX
2.2.3 DMX512
2.2.4 Art-Net
3 ESP32 Light Controller
3.1 Espressif ESP32 Microcontroller
3.2 Hardware design
3.3 Software design
3.3.1 PWM output
3.3.2 Network configuration
3.3.3 UDP Implementation
3.3.4 Art-Net
3.3.5 HTTP Implementation
3.3.6 Web-Interface
4 Housing
5 Conclusion
5.1 Outlook
Project Goals and Scope
This thesis focuses on the development of a cost-effective, wireless light control unit named "ESP32 Light Controller." The primary objective is to create a versatile system capable of driving common anode and common cathode LED strips while offering multiple control interfaces, including a web-based GUI, UDP commands, and the professional Art-Net lighting protocol.
- Integration of the ESP32 microcontroller for wireless connectivity via WLAN and Bluetooth.
- Development of a custom PCB with half-bridge output stages and integrated current sensing.
- Implementation of software-based light control protocols (Art-Net and UDP).
- Design of a 3D-printed housing for the final prototype.
Excerpt from the Book
3.2 Hardware design
The hardware was designed to support “common cathode” and “common anode” LED strips. Therefore, every output is equipped with a high side and a low side switch. This transistor configuration forms a half bridge which is able to sink and source current. “Common cathode” LED stripes are switched by p-channel field-effect transistors, whereas the “common anode” LED stripes are switched by n-channel field-effect transistors. As a result, the software has to ensure that only one transistor from the output stage is switched on. In the case of both transistors are switched on, the supply voltage is short-circuited against ground. A current sensing component is attached on every output stage. With this integrated circuit, it is possible to monitor the output current of every output stage separately and in case of overcurrent or short-circuit, the software is able to shut of the respective transistor to avoid component damages.
The schematic and the PCB layout were designed with the open source software “KiCad”. This chapter describes the key functions of the hardware design. The whole schematic and PCB layout is attached in appendix A.
Summary of Chapters
1 Introduction: Outlines the project scope, requirements for the ESP32-based light controller, and the inclusion of network capabilities and hardware protection features.
2 Light Systems: Provides a theoretical foundation regarding LED functionality, their physical construction, and an overview of standardized light control protocols such as DALI, KNX, DMX512, and Art-Net.
3 ESP32 Light Controller: Details the core development phase, covering the microcontroller specifications, circuit hardware design, and the implementation of software functions for PWM, networking, and control protocols.
4 Housing: Describes the design process and final fabrication of the device housing using 3D construction software and a 3D printer.
5 Conclusion: Summarizes the successful realization of the prototype and provides an outlook on potential future enhancements, such as Bluetooth-based control and sensor integration.
Keywords
Light Control Unit, LED Strips, ESP32 Microcontroller, WLAN, Art-Net, PWM, Hardware Design, PCB, UDP, Smart Home, 3D Printing, Electronics, Automation, Lighting Protocols, Firmware.
Frequently Asked Questions
What is the core purpose of this paper?
The paper documents the design and development of the "ESP32 Light Controller," a wireless device for controlling LED lighting strips using a range of protocols.
What are the primary themes addressed in the work?
Key areas include semiconductor LED theory, hardware circuit design (half-bridge circuits), software implementation (PWM, UDP, HTTP), and the industrial light protocol Art-Net.
What is the central research objective?
The goal was to create a flexible, low-cost light control prototype that integrates with modern smart home systems and allows control via common web browsers and professional lighting consoles.
Which scientific methods or tools were applied?
The author utilized circuit design software (KiCad), 3D construction tools (Autodesk Inventor), and the Arduino development environment to implement the control logic on the Espressif ESP32 hardware.
What is covered in the main body of the text?
The main body focuses on the hardware design, including the output power stages and current sensing, and the software architecture, including PWM generation and various communication protocols.
Which keywords best characterize this project?
The work is defined by terms like ESP32, Art-Net, LED control, PCB design, PWM, and smart home integration.
How does the system protect against electrical damage?
Each output stage features integrated current sensing that monitors the LEDs, allowing the software to disable the respective transistors in the event of an overcurrent or short-circuit.
Why was the Art-Net protocol implemented?
Art-Net was integrated to allow the ESP32-based hardware to be controlled by professional lighting consoles and software applications over an Ethernet-based network.
What makes this controller compatible with different LED types?
The hardware is designed with a half-bridge configuration, enabling it to drive both "common anode" and "common cathode" LED strips at 12V or 24V.
- Arbeit zitieren
- Patrick Marchhart (Autor:in), 2017, ESP32 Light Controller, München, GRIN Verlag, https://www.grin.com/document/461290