走马观花

[Training Camp] Smart Dimmer Based on ESP32 +657332A

 
Overview

A controller that can turn your LED strip lights, cool lights, etc. into smart lights with adjustable brightness. It supports access to HASS and supports 5~16V (depending on the DCDC chip withstand voltage) light strips. For the time being, it only Supports single color temperature.

Compared with my early engineering smart fan - Lichuang EDA open source hardware platform (oshwhub.com) , the main chip was modified to ESP32, with hardware PWM (Espressif called it LEDC), which has higher performance; the MOS driver was modified to a transistor driver ,cut costs. At the same time, the module pins are also compatible with Essence ESP32-C3-32S module and can be replaced with ESP32C3 (not tested).

For tutorials on connecting to HASS, please refer to my smart fan project. The installation of ESPHome will not be described in detail. The operation of the new version of ESPHome may be slightly different from the version I was using at the time, but it is generally similar. The download method can be using my ESP downloader (open source later), or you can manually connect the ground (module metal shell) with male and female DuPont wires according to the timing.

ESPHome reference configuration yaml (onboard button and LED control has not yet been implemented):

light:
  - platform: monochromatic
    name: "Main Lights"
    output: gpio_18

output:
  - platform: ledc
    pin: GPIO18
    id: gpio_18
    frequency: 19531Hz
    inverted: true

Shell: Just grab the one drawn by SW, SW version 2020. There is also an STL that can be sliced ​​directly in the accessories. It is a small matchbox without holes for buttons and LEDs. It can be used to prevent short circuits. It is recommended to use M2.5*30 screws in the picture

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-20 04:38:30

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号