From 50dadf6225040e22d648975052be88f447ee75ab Mon Sep 17 00:00:00 2001 From: Anson Mansfield Date: Sat, 11 Nov 2023 12:57:13 -0500 Subject: [PATCH] Added information on another dimmer library. (#22) * another specialized dimmer control library * extra pipe * fixes --------- Co-authored-by: Fabiano Riccardi --- readme.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/readme.md b/readme.md index 168e2a1..54ab4c2 100644 --- a/readme.md +++ b/readme.md @@ -23,21 +23,21 @@ This brief overview gives a glimpse of the variety of properties to consider whi 4. Control the load by 2 measurement unit: gate activation time or linearized relative power 5. Documented parameters to finely tune the library on your hardware and requirements -Here the comparison against 2 similar and popular libraries: - -| | Dimmable Light for Arduino | [RobotDynOfficial/RDBDimmer](https://github.com/RobotDynOfficial/RBDDimmer) | [circuitar/Dimmer](https://github.com/circuitar/Dimmer) | -|------------------------------------------|---------------------------------------------|-----------------------------------------------------------------------------|---------------------------------------------------------| -| Multiple dimmers | yes | yes | yes | -| Supported Frequencies | 50/60Hz | 50Hz | 50/60Hz | -| Supported architectures | AVR, SAMD, ESP8266, ESP32 | AVR, SAMD, ESP8266, ESP32, STM32F1, STM32F4, SAM | AVR | -| Control *effective* delivered power | yes, dynamic calculation | no | yes, static lookup table | -| Predefined effects | no | yes, automatic fade to new value | yes, swipe effect | -| Optional zero-crossing mode | no | no | yes | -| Time resolution | 1us (2) | 1/100 of semi-period energy | 1/100 of semi-period length | -| Smart Interrupt Management | yes, automatically activated only if needed | no | no | -| Number of interrupts per semi-period (1) | number of instantiated dimmers + 1 | 100 | 100 | | - -(1) In the worst case, with default settings +Here the comparison against 3 similar and popular libraries: + +| | Dimmable Light for Arduino | [RobotDynOfficial/
RDBDimmer](https://github.com/RobotDynOfficial/RBDDimmer) | [circuitar/Dimmer](https://github.com/circuitar/Dimmer) | [AJMansfield/
TriacDimmer](https://github.com/AJMansfield/TriacDimmer) | +|----------------------------------- |--------------------------------------------- |----------------------------------------------------- |---------------------------------- |---------------------------------- | +| Multiple dimmers | yes | yes | yes | 2 | +| Supported frequencies | 50/60Hz | 50Hz | 50/60Hz | 50/60Hz | +| Supported architectures | AVR, SAMD, ESP8266, ESP32 | AVR, SAMD, ESP8266, ESP32, STM32F1, STM32F4, SAM | AVR | AVR | +| Control *effective* delivered power | yes, dynamic calculation | no | yes, static lookup table | no | +| Predefined effects | no | yes, automatic fade to new value | yes, swipe effect | no | +| Optional zero-crossing mode | no | no | yes | no | +| Time resolution | 1us (2) | 1/100 of semi-period energy | 1/100 of semi-period length | 0.5us | +| Smart interrupt management | yes, automatically activated only if needed | no | no | no | +| Number of interrupts per semi-period (1) | number of instantiated dimmers + 1 | 100 | 100 | 3 | + +(1) In the worst case, with default settings\ (2) If the hardware timer allows it, otherwise it will be lower ## Installation