Re:Show HN: Raspberry Pi garage door opener
by jononor on Friday May 15, 2020 @02:41PM
(#23195729)
Yes, though you will need to determine whether it should be pull up or pull down, and to what voltage level. And make sure not to provide it with too high a load (too low resistance), or too high a voltage, which may damage the circuit. Since the voltage levels might be different from your microcontroller, so I would probably recommend an optocoupler to simplify the interfacing. Gives the isolation of a relay but without the mechanical operation and size of one.
[ Parent
| on HN ]
There are no comments on this comment yet.