Arilux AL-LC01 Wi-Fi RGB LED Controller with MQTT (ESP8266)

Arilux AL-LC01

The Arilux AL-LC01 is much smaller than the H801 RGB strip controller I covered in my last post but does much the same job. I picked this one up from Banggood for only £5.69

According to the specs it will run on anything from 5 to 28V and can drive up to 144W in total, 4A per channel. At the heart is an ESP8266 with 1Mbit flash, actually an ESP-12S module.

Red is on GPIO14
Green is on GPIO12
Blue is on GPIO5
White is on GPIO13

Hang on, white?  Yes, despite being sold and labelled as RGB and only having four pins visible from the outside there is in fact a FET and a pad for a white output if you need it.

Also worth noting that at least on mine the silkscreen labels for the green and blue outputs were reversed compared to the ones printed on the plastic case! Just waiting to catch you out! The above is for the markings on the case.

Unlike the H801 there aren’t any nice holes for adding a programming header on this one but there are some test points on the bottom of the board we can use which is easier than tagging on to the ESP-12S itself. The RX and TX pads are both labelled, GPIO0 is the one next to the R14 label and the other one next to it is a handy ground point.  I just tacked some temporary wires on as below for programming.

Test pads
Wires attached

I had some difficulty with this at first as it would only boot up when I was holding it, once I realised it was actually a particular part of the board that needed to be touched I got it under the microscope and managed to trace it to a chipped 0603 100k resistor in the buck converter circuit powering the ESP8266. There was a good chunk of it completely missing! Never seen that before.  Anyway, I swapped the resistor and we were back in business.

Broken resistor
Fixed!

The firmware I have used on this is the same one I initially used for the H801, just changing the pins used for the outputs.  I’ve not yet updated this one to TASMOTA like have for the H801 but it would just be a case of changing the pin definitions specified for the H801 in sonoff_template.h

Controlling the CurlyWurly firmware via MQTT is just a case of sending a hex colour value, eg. de9f21 to the MQTT topic you configured for your device.

Using Node-RED it is easy to create a flow to make a colour picker (the split is just removing the # from the output of the colour picker):

Node-RED Flow

 

Node-RED Colour Picker

Here is the flow to copy and paste into Node-RED:

[{"id":"1d168b74.6128a5","type":"ui_colour_picker","z":"b667b1f1.bf821","name":"","label":"","group":"aaa8c1b3.fed3","format":"hex","outformat":"string","showSwatch":false,"showPicker":true,"showValue":false,"showAlpha":false,"order":0,"width":"4","height":"2","passthru":true,"topic":"","x":390,"y":3000,"wires":[["e242775c.53b808"]]},{"id":"8b8cc8ee.ab8e38","type":"mqtt out","z":"b667b1f1.bf821","name":"","topic":"ESP_RGB_3","qos":"","retain":"","broker":"32a2fac0.cd5d06","x":710,"y":3000,"wires":[]},{"id":"e242775c.53b808","type":"split","z":"b667b1f1.bf821","name":"","splt":"#","x":550,"y":3000,"wires":[["8b8cc8ee.ab8e38"]]},{"id":"aaa8c1b3.fed3","type":"ui_group","z":"","name":"Arilux","tab":"978d3f00.2ffa4","order":2,"disp":true,"width":"6"},{"id":"32a2fac0.cd5d06","type":"mqtt-broker","z":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"15","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"978d3f00.2ffa4","type":"ui_tab","z":"","name":"Test","icon":"dashboard","order":4}]

 

2 thoughts on “Arilux AL-LC01 Wi-Fi RGB LED Controller with MQTT (ESP8266)

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.