Analog LED Controller
dlsHome aLED is an ESP32 based 6 channel WiFi LED controller created to integrate natively with Home Assistant and other applications using ESPHome. The controller allows running up to 3 CCT LED strips or a single RGBCCT strip with a high current and high PWM frequencies. The controller was designed to make DIY assembly as simple and straightforward as possible. It features widely available components which can be easily sourced from Ali, Mouser, Digikey, or any other supplier of your choice.
The controller works with 5-24v input. Positive output lines are protected by replaceable fuses.
Additionally, it provides support for:
- Up to 3 touch buttons to turn on/off your lights
- 2 standard sets of GPIOs to control digital sensors of your choice
- On-board temperature sensor
- On-board ambient light sensor
- On-board current sensor to measure power consumption
Updated to v0.2
Changes:
- Fixed routing error for the Current Sensor output line (was connected to the wrong ESP32 pin)
- Improved layout of the Current Sensor area (aligned with the manufacturer's recommendations)
- Added some additional decoupling capacitors to reduce noise
- Added voltage divider line for the Current Sensor output line to ensure high amps support for modules with VCC × 0.5 Zero-Current Output Voltage
- The ambient light sensor was replaced with a cheaper LDR module
- Increased the copper area of VIN line to improve temperature balance
substitutions:
name: aled-test
devicename: "aled-test"
friendly_name: "aled-test"
long_devicename: "aled-test Analog LED controller (ESP32) Device 1"
esphome:
name: ${name}
esp32:
board: wemos_d1_mini32
framework:
type: arduino
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
power_save_mode: none
ap:
ssid: "$devicename Fallback Hotspot"
password: !secret wifi_password
web_server:
port: 80
captive_portal:
logger:
api:
ota:
password: "some password"
dallas:
- pin: GPIO27
sensor:
- platform: wifi_signal
name: "WiFi Signal $devicename"
update_interval: 30s
- platform: adc
pin: GPIO32
name: "${name} LUX"
device_class: illuminance
unit_of_measurement: lx
update_interval: 10s
attenuation: 11db
filters:
- lambda: |-
auto temp = (x / 1000.0) * 2000000.0;;
return temp;
# Example source sensor
- platform: adc
pin: GPIO33
id: adc_sensor
attenuation: 11db
update_interval: 0.5s
accuracy_decimals: 4
name: "Voltage Delta"
unit_of_measurement: "V"
filters:
- exponential_moving_average:
alpha: 0.25
send_every: 30
- lambda: return ((x - 4.96 *0.5)) ;
- platform: adc
pin: GPIO33
attenuation: 11db
device_class: current
update_interval: 0.5s
accuracy_decimals: 4
name: "Current"
unit_of_measurement: "A"
filters:
- exponential_moving_average:
alpha: 0.25
send_every: 30
- lambda: return ((x - 4.96 *0.5)/0.2) ;
- platform: adc
pin: GPIO33
attenuation: 11db
device_class: energy
update_interval: 0.5s
accuracy_decimals: 4
name: "Power"
unit_of_measurement: "Wh"
filters:
- exponential_moving_average:
alpha: 0.25
send_every: 30
- lambda: return ((x - 4.96 *0.5)/0.2)*24 ;
- platform: dallas
address: 0xa10000003178f328
name: "${name} DS18B20 Temperature"
filters:
- lambda: return x;
output:
- platform: ledc
pin: 23
frequency: 20000Hz
id: ledc_cw
- platform: ledc
pin: 19
frequency: 20000Hz
id: ledc_ww
- platform: ledc
pin: 16
frequency: 20000Hz
id: ledc_r_cw2
- platform: ledc
pin: 17
frequency: 20000Hz
id: ledc_g_ww2
- platform: ledc
pin: 18
frequency: 20000Hz
id: ledc_b_cw3
- platform: ledc
pin: 26
frequency: 20000Hz
id: ledc_ww3
light:
- platform: cwww
name: "CCTLED_light_1"
warm_white: ledc_ww
cold_white: ledc_cw
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
#color_interlock: True
restore_mode: RESTORE_DEFAULT_OFF
gamma_correct: 1.4
- platform: cwww
name: "CCTLED_light_2"
cold_white: ledc_r_cw2
warm_white: ledc_g_ww2
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
#color_interlock: True
restore_mode: RESTORE_DEFAULT_OFF
gamma_correct: 1.4
effects:
- random:
name: "Slow Random Effect"
transition_length: 20s
update_interval: 20s
- random:
name: "Fast Random Effect"
transition_length: 4s
update_interval: 5s
Analog LED Controller
*PCBWay community is a shared platform and we are not responsible for any design issues.
- Comments(0)
- Likes(2)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by dls dlsNet
- aLed Controller v2 aLed Controller is an analog leds controller for the smart home. It was designed to run with Home As...
- ICS43434 Microphone Board ICS-43434 mic board. Created to use with audio-reactive WLED. Stencil is not needed but is recommend...
- Analog LED Controller dlsHome aLED is an ESP32 based 6 channel WiFi LED controller created to integrate natively with Home...
-
-
-
-
-
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
663 0 0 -
RF Control training board for students based on ESP32 C3
846 0 2