After uploading the OpenBeken software to the dimmer module, configuring the ports, the dimming control does not work. The LED, the button on the board and the external one work normally. I think there might be a communication problem, with the MCU (HK HK32F030MF4P6 MCU model). I was able to get the MOSFET on by setting the P7 port to dInput channel 2 (doesn't always work). Maybe someone knows how to solve this problem?
I am using the script:
Pictures of the module:
.
Photo source: https://github.com/arendst/Tasmota/discussions/14506
List of ports:
P6(PWM0) - external switch (S1)
P7(PWM1) - ?
P8(PWM2) - LED diode on board
P9(PWM3) - button on board
List of Tuya DPID:
1 - switch
2 - dimmer
I am using the script:
startDriver TuyaMCU
setChannelType 1 toggle
setChannelType 2 dimmer
tuyaMcu_setDimmerRange 0 1000
linkTuyaMCUOutputToChannel 1 1 1
linkTuyaMCUOutputToChannel 2 2 2
Pictures of the module:
![[BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem [BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem](https://obrazki.elektroda.pl/4629039500_1675284365_thumb.jpg)
![[BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem [BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem](https://obrazki.elektroda.pl/4813133500_1675283486_thumb.jpg)
![[BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem [BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem](https://obrazki.elektroda.pl/4568179900_1675283224_thumb.jpg)
![[BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem [BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem](https://obrazki.elektroda.pl/3049513400_1675283405_thumb.jpg)
![[BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem [BK7231T] OXT 1ch WiFi Tuya dimmer - OpenBeken dimming / MCU problem](https://obrazki.elektroda.pl/8858747800_1675282833_thumb.jpg)
Photo source: https://github.com/arendst/Tasmota/discussions/14506
List of ports:
P6(PWM0) - external switch (S1)
P7(PWM1) - ?
P8(PWM2) - LED diode on board
P9(PWM3) - button on board
List of Tuya DPID:
1 - switch
2 - dimmer