Supla Arilux LC03 - LC01 + IR Remote

Post Reply
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Warning: the current version of this device is not based on ESP8285 and is not compatible, if you decide to purchase make sure it is the version based on ESP8285, ask your provider!

LC03
GPIO0 Button functions/WiFiConfig
GPIO4 IRRecv IR Remote
GPIO5 PWM1 RED
GPIO12 PWM2 GREEN
GPIO13 PWM3 BLUE
GPIORX LED State Led

connect a button between GND and IO0.
connect a led with a 470 ohm resistance in series between +3.3v and RX

For LC01
aux_board_esquemático.png
aux_board_esquemático.png (37.81 KiB) Viewed 3401 times

the button functions are:
1 click = toggle on / off
2 click = MEM 1
3 click = MEM 2
4 click = MEM 3
5 click = TURN ON DIMMED "20% brightness"
hold for at least 10 seconds = WiFiConfig

Status led:
lights when IR code is received.
blinks 0.5 seconds in WiFiConfig.

Embedded web server for IR setup:

Access through browser using the IP of the module "the IP is shown by clicking on (i) in the Supla App"
or using mDNS "http:/XXXX.local" (being XXXX the name defined for the module WiFiConfig)
main page:
a.png
a.png (46.1 KiB) Viewed 3401 times
1 - link to main page / reload page
2 - link to Stored IR codes page
3 - shows the connection status with Supla server / link to "cloud.supla.org/login"
4 - shows the last 5 received IR codes, the most recent at the top.
5 - to save the corresponding IR code "see below"
6 - presets, shows the levels saved for the 3 presets that can be recalled with the push button or with the corresponding IR code.
7 - save current RGB level to the corresponding presets.


IR save page: "pressing "5" on the main page"
b.png
b.png (25.46 KiB) Viewed 3401 times
8 - corresponding IR code
9 - dropdown list to select a function for the IR code "see below"
10 - name "to be able to easily identify, for example if it is the volume up key on the remote control, you could define V+ as name"
11 - save the IRcode, function and name


IR functions list "9"
c.png
c.png (9.06 KiB) Viewed 3401 times
toogle_rgb = togle on/off
brighten_rgb = increases brightness 5%
din_rgb = decreases brightness 5%
din_on = set brightness to 20%
red = set output color to red
green = set output color to green
blue = set output color to blue
white = set output color to white
mem_1 = recall preset 1
mem_2 = recall preset 2
mem_3 = recall preset 3

Stored Codes page: "2"
Code Stored.png
Code Stored.png (55.41 KiB) Viewed 3401 times

upload the firmware with the parameters shown in the screenshot that accompanies the attached file.

LC03_LC01_DOUT_8Mbit.rar
(423.53 KiB) Downloaded 182 times
Budek
Posts: 172
Joined: Sun Apr 08, 2018 2:53 pm

Confirm, LC01 works fine :)

Great job elmaya :)

/Budek
Antonio
Posts: 129
Joined: Sat Dec 18, 2021 4:15 pm

Hello @elemaya
Thank you for the file. I programmed MagicHome RGBW LED Controller (ESP-IR-B-v2.3)
Post Reply

Return to “Ideas and concepts”