RepositoryC++ITItaly
fabianoriccardi

fabianoriccardi/dimmable-light

Arduino library to manage dimmers compatible with AVR, ESP8266, ESP32, SAMD, and RP2040 platforms.

103sao
32fork
21issue
0lượt xem

🔌 Dimmer triac đa nền tảng cho Arduino

Điều khiển nhiều thiết bị dimmer bằng một timer phần cứng duy nhất, tối ưu ngắt và hỗ trợ tính toán công suát thực tế.

Dimmable Light for Arduino là thư viện quản lý thyristors (dimmer/triac) và điều khiển pha (phase-fired control) trên môi trường Arduino. Ban đầu phát triển để thí nghiệm timer phần cứng trên ESP8266 và điều khiển đèn incandescent, sau đó mở rộng sang ESP32 và nhiều nền tảng khác.

✨ Điểm nổi bật

  • Điều khiển nhiều dimmer bằng một timer: Dùng một timer phần cứng để quản lý nhiều thiết bị.
  • Hỗ trợ đa nền tảng: AVR, ESP8266, ESP32, SAMD, RP2040.
  • Tối ưu ngắt phần cứng: Chỉ kích hoạt ngắt khi cần thiết, không ngắt định kỳ.
  • Điều chỉnh theo thời gian kích hoạt hoặc công suất tương đối: Hai đơn vị đo khác nhau tùy nhu cầu.
  • Tham số cấu hình linh hoạt: Dễ dàng tinh chỉnh cho từng phần cứng.
  • Giám sát tần số AC thời gian thực: Theo dõi tần số điện ngay trong quá trình hoạt động.

💡 Vì sao đáng chú ý

Khác với các thư viện khác chỉ hỗ trợ một vài nền tảng hoặc tính toán công suất tĩnh, Dimmable Light cung cấp giải pháp đa nền tảng với tính toán công suất động và quản lý ngắt thông minh. Thư viện giảm số lần ngắt xuống mức tối thiểu (số dimmer + 1) so với các giải pháp khác dùng tới 100 ngắt mỗi nửa chu kỳ. Phù hợp cho dự án điều khiển ánh sáng điện trở hoặc tải điện AC thông thường trên các bo mạch phát triển phổ biến.


#Arduino #ESP8266 #ESP32 #Triac #Dimmer #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
bblanchon/ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

7.3k
Nov 19, 2026
RepositoryC++
crankyoldgit/IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/

3.7k
Aug 23, 2026
RepositoryC
Bodmer/TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips

5.0k
Apr 3, 2026
RepositoryC++
wled/WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi!

19.2k
Dec 1, 2026
RepositoryC++
esphome/esphome

ESPHome is a system to control your ESP32, ESP8266, BK72xx, RP2040 by simple yet powerful configuration files and control them remotely through Home Automation systems.

12.2k
Nov 27, 2026
RepositoryC++
blinker-iot/blinker-library

An IoT Solution,Blinker library for embedded hardware. Works with Arduino R4, ESP32.

5.2k
Nov 11, 2026
RepositoryC++
Blynk-Technologies/blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, etc.

4.0k
Oct 6, 2026
RepositoryC++
T-vK/ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

3.2k
Aug 7, 2024
RepositoryC++
pschatzmann/ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF

2.8k
Nov 27, 2026