I hate dredging up old topics but this is the “BEST” information I have been able to find on this dimmer, I dont have it working perfectly (and not at all in tasmota) but this is the information I have been able to findout about this device.
I have all the lights (including the RGB) working, all the buttons working, and the main relay working, the only part I have left is the main dimmer, which I have working, jankaly… this dimmer has (atleast im 90% sure) a Zero crossover detector and I have been unable to get to dim nicely…
- ESP-01f
- 1mb of flash
- BUTTONS (the power button is “pressed” when the UP and DOWN pins are low)
- DIM UP - 1 INVERTED, INPUT_PULLUP
- DIM DOWN - 3 INVERTED, INPUT_PULLUP
- POWER - 1 & 3 INVERTED, INPUT_PULLUP
- LEDs
- LED ^ - 74hc595d position 7 NON INVERTED
- LED 1 - 74hc595d position 2 NON INVERTED
- LED 2 - 74hc595d position 3 NON INVERTED
- LED 3 - 74hc595d position 4 NON INVERTED
- LED 4 - 74hc595d position 5 NON INVERTED
- LED 5 - 74hc595d position 6 NON INVERTED
- LED v - 74hc595d position 7 NON INVERTED
- POWER LED - 74hc595d position 7 NON INVERTED
- WIFI LED - 74hc595d position 0 NON INVERTED
- RGB LEDs
- R - 14 analog
- G - 12 analog
- B - 4 analog
- RELAY - 5 NON INVERTED
- TRIAC - 15
- Zero Cross Detector - 13
- Shift Register (74hc595d)
- I use https://github.com/Simsso/ShiftRegister74HC595
ShiftRegister74HC595<1> sr(16, 0, 2);
- DS 16
- ST_SP 2
- SH_CP 0
- I use https://github.com/Simsso/ShiftRegister74HC595