ESP32 pin question

Hi guys i am building a security alarm system with ESP32 and HT12E/HT12D ICs and I need to detect when VT (valid transmission) pin on decoder goes LOW. It outputs GND current as i have tested with led. Can i connect this directly to esp32 digital pin or do i have to convert to signal through transistor?

According to the datasheet https://www.farnell.com/datasheets/57850.pdf

Provided you power with 3.3v (same as the ESP32) I think you will be able to read the pins directly without a problem.

even though they're gnd?

Sure why not... ?

Set your ESP pin to INPUT_PULLUP, then detect when it goes LOW.

ok thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.