The ESP-ARGB is a general purpose RGB+W LED light controller based on the popular Expressive ESP8266 wireless microcontroller. It combines an ESP8266 ESP-07 wireless module with four MOSFET transistors. These transistors are connected to the ESPs PWM output pins making it easy to perform independent power control of up to 4 connected devices. Each transistor can switch up to a maximum current of 2A and a maximum voltage of 12V DC.
If used with the Arduino IDE the transistors can be controlled just using the standard Arduino digitalWrite() and analogWrite() commands.
Although the module is designed primarily for driving standard RGB or RGBW LED lighting strips it can be used to drive any other device that can be switched via a transistor (-Ve switched). For example the module can be used as a DC motor speed controller for up to 4 motors.
Programming can be achieved via the modules serial interface. Please note: To program the module via a PC an additional USB to serial / FTDI adapter will be required. To simplify the programming process the module comes fitted with program and reset buttons allowing it to be manually put in and out of programming mode. For instructions on how to program via the Arduino IDE please see forum post.
Product code: HCMODU0234 Supply Voltage (Via +/- screw terminals): 5 to 12V DC Module current consumption (Sleep): 10mA Module current consumption (connected to WiFi network): 215mA ARGB driver: 2A per channel / 6A combined, -Ve switching (0.9V Vf) PWM resolution: 8bits (256 levels) Interfaces: 4x MOSFET drivers + power via screw terminals, serial programming interface, program and reset buttons. ESP8266 type: ESP-07 ESP8266 clock: 80MHz ESP8266 Flash: 8Mbit ESP8266 Transmit power: 802.11b: 16±2 dBm (11Mbps) 802.11g: 14±2 dBm (54Mbps) 802.11n: 13±2 dBm (HT20, MCS7) Dimensions (LxWxH): 62.5mm x 23mm x 14mm
Example 12V RGBW light strip connection:
The module can drive 12V RGB light strips at up to 2A per channel. If your light strip has an additional white input this can be connected to the driver A (aux) terminal.
A single power supply for both the module and light strip can be connected to the modules + and - screw terminal inputs (!12V max).
Arduino IDE setup guide:
The module is compatible with the Arduino IDE via the board manager feature. The latest version of the Arduino IDE can be downloaded from the official Arduino website here:
Once installed you will need to add board support for ESP8266 devices. To do this just follow steps 1 & 2 in our blog post here:
Arduino IDE board settings:
Board: Generic ESP8266 Module Port: The COM port of your USB interface module. Crystal Frequency: 26MHz Flash Frequency: 40MHz Flash mode: DIO Reset Method: dtr Upload Speed: 115200 Flash Size: 1MB (FS64KB OTA:~470KB) CPU Frequency: 80MHz
You can leave any additional settings to their defaults.
Programming the ESP-ARGB
To interface this module to your PC you will need an additional USB to serial interface adapter. The serial interface is compatible with both 3.3V and 5V TTL adapters:
https://hobbycomponents.com/usb-interfa ... al-adaptor
https://hobbycomponents.com/usb-interfa ... rt-adapter
https://hobbycomponents.com/usb-interfa ... le-adaptor
Connect the USB to serial adapter to the module's serial interface as shown above.
Note, if the module is powered from the + & - screw terminals the 3V pin (labelled 3) on the modules serial header becomes a 3.3V output. Therefore in this configuration do not connect the serial interfaces 3.3V supply pin to the module.
To upload a sketch from the Arduino IDE the module must first be manually put into programming mode. To do this, locate the modules PROGRAM and RESET buttons (see diagram above), then hold down the PROGRAM button whilst pressing and then releasing the RESET button.
The module will now be in programming mode and will stay in this mode until the module is reset or power is removed.
After uploading your sketch the module can be put back into run mode by pressing the RESET button.
3D Printer Case:
For customers with a 3D printer we have uploaded a custom case to thingyverse which can be printed out on a standard 3D printer. You can find the STL files here:
Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.
Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.