Is my Wemos D1 mini working correctly ?
Posted: Fri Nov 29, 2024 3:08 pm
I'm developing a project to automate the flushing of some gent's urinals at a venue.
i'm using an AM312 PIR module as a "footfall" detector, the output is connected to D2 of the Wemos D1 mini, but the input never goes low, I've measured the voltage on pin D2 at 2.8V with the PIR unplugged. The PIR gives a HIGH output when it senses body movement, but I don't think it has output capability to pull the input LOW when it relaxes.
So, I thought about using an NPN transistor to pull the input LOW when the AM312 output goes HIGH, however, I measured the current from pin D2 to GND and was surprised it was a hefty 84mA. Is this normal for an ESP8266 input ?
i'm using an AM312 PIR module as a "footfall" detector, the output is connected to D2 of the Wemos D1 mini, but the input never goes low, I've measured the voltage on pin D2 at 2.8V with the PIR unplugged. The PIR gives a HIGH output when it senses body movement, but I don't think it has output capability to pull the input LOW when it relaxes.
So, I thought about using an NPN transistor to pull the input LOW when the AM312 output goes HIGH, however, I measured the current from pin D2 to GND and was surprised it was a hefty 84mA. Is this normal for an ESP8266 input ?