What is MPDMv4: Universal (110/240VAC) MAINS Triac driven Dimmer board with integrated Phase detection and ZCD functions.
Main advantage : keeping your real-time processing functions away from your Application MCU/Processor. To do that , moved the Phase detection / ZCD processing function from the ESP8266/whatever MCU you want to the MPDM Driver itself. No more CPU/interrupt intensive overhaed on your MCU!!
As been a Voltage controled AC MAINS Dimmer you can control it with:
- - PWM signal
- DAC output Voltage
- or if you don't want any kind of MCU involved, just user a 10k Potentiometer in a voltage divider as part of a simple VCNT input circuit!
If you use a DAC for example, You can use the "set-and-forget" technique using DAC internal nonvolatile memory (EEPROM) and also have the same level on the next power-off/on cycle.
WIth a 12 bit DAC you have 4096 levels of dimming!!
MPDMv4 Driver example 1: using a 12 Bit DAC and NodeMCU LUA
MPDMv4 - Voltage Control explained:
MPDMv4 - VCNT Conenctor explained:
MPDMv4 Driver example 2: Arduino IDE
MPDMv4 Driver example 3: using the beautiful ESPBasic
MPDMv4 Driver example 4: ESP8266 + Arduino IDE + Blynk (some sound encoding problems, sorry about that )
Available on Tindie: https://www.tindie.com/products/nEXT_EVO1/universal-ac-mains-dimmer-mpdmv41/