I added a ZG-003-RF controller to the gate drive. Sold in bulk on Chinese electronics portals. It works via Zigbee with the Tuya network (but not only).
Worked perfectly for a year. Without any intervention / programming, instead of a 1s relay pulse the controller generates a sequence of pulses. This is illustrated in the video below. The actuation on it is via the local keypad, but control from the app has the same effect. The effect is analogous on the other channels.
.
The other modes of the controller - permanent ON/OFF and "roller shutter control" work correctly. Zigbee re-pairing does not change anything. Only the "pulse" mode is faulty. But it is the only one suitable for controlling the "open", "close" and "gate" inputs.
Inside the housing, of the relevant components we have:
XL1509 - 40/5V inverter
ULN2003 - driver for relays
STC15W204S - 8051 microcontroller with FLASH, RAM, EEPROM
LDO3,3V stabiliser
ZT3L - Zigbee / Tuya module
I powered the controller from the 24VDC output of the gate - just like the photocells.
I replaced the controller with a new one, because when you get used to the convenience, you will spend 100PLN to have the gate open by itself from the car again.
But I am very puzzled by this fault. Because there is no indication of a typical failure, just some kind of software error.
Does anyone have any ideas what else to check or reset?
Added after 6 [hours] 25 [minutes]: .
I would also add that the "sequence" generated by the controller on its outputs is normally broadcast via Zigbee, gateway, Tuya ecosystem to the application. That is, even though I excite the output with a microswitch I get a series of "blinks" of the on-screen button in the application.
Worked perfectly for a year. Without any intervention / programming, instead of a 1s relay pulse the controller generates a sequence of pulses. This is illustrated in the video below. The actuation on it is via the local keypad, but control from the app has the same effect. The effect is analogous on the other channels.
The other modes of the controller - permanent ON/OFF and "roller shutter control" work correctly. Zigbee re-pairing does not change anything. Only the "pulse" mode is faulty. But it is the only one suitable for controlling the "open", "close" and "gate" inputs.
Inside the housing, of the relevant components we have:
XL1509 - 40/5V inverter
ULN2003 - driver for relays
STC15W204S - 8051 microcontroller with FLASH, RAM, EEPROM
LDO3,3V stabiliser
ZT3L - Zigbee / Tuya module
I powered the controller from the 24VDC output of the gate - just like the photocells.
I replaced the controller with a new one, because when you get used to the convenience, you will spend 100PLN to have the gate open by itself from the car again.
But I am very puzzled by this fault. Because there is no indication of a typical failure, just some kind of software error.
Does anyone have any ideas what else to check or reset?
Added after 6 [hours] 25 [minutes]: .
I would also add that the "sequence" generated by the controller on its outputs is normally broadcast via Zigbee, gateway, Tuya ecosystem to the application. That is, even though I excite the output with a microswitch I get a series of "blinks" of the on-screen button in the application.