Italyfabianoriccardi/dimmable-light
Arduino library to manage dimmers compatible with AVR, ESP8266, ESP32, SAMD, and RP2040 platforms.
🔌 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.
📟 JSON library for Arduino and embedded C++. Simple and efficient.
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi!
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.
An IoT Solution,Blinker library for embedded hardware. Works with Arduino R4, ESP32.
Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, etc.
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF