Hi all,
I need to alter one of these Tuya door/window sensors. They used to use a reed relay, but all current models seems to use a Hall effect sensor. For my project, I need to replace the reed relay with a real switch (that's easy), but for the door/windows sensor with a Hall sensor, I need to find a solution.
Used is a VCS2373S Hall sensor. It has a Vcc connection and a ground connection and the 3rd pin, I guess, will be some voltage between Vcc (5V? 3V3?) and ground, which will be fed to some integrated microcontroller (unknown type) as a measure of the strength of the magnetic field.
Cheers,
George
I need to alter one of these Tuya door/window sensors. They used to use a reed relay, but all current models seems to use a Hall effect sensor. For my project, I need to replace the reed relay with a real switch (that's easy), but for the door/windows sensor with a Hall sensor, I need to find a solution.
Used is a VCS2373S Hall sensor. It has a Vcc connection and a ground connection and the 3rd pin, I guess, will be some voltage between Vcc (5V? 3V3?) and ground, which will be fed to some integrated microcontroller (unknown type) as a measure of the strength of the magnetic field.
- Would the above solution work?
- And what would be the difference, other then default high versus default low (things will be solved in the software anyway), when I would swap Vcc and GND in the above?
- No resistor needed in the Vcc to uC connection, or maybe only there and not where I currently drew it?
- And how to determine the value for the resistor?
Cheers,
George
Last edited: