-->
Page 1 of 1

GPIO5 interferes with softserial?

PostPosted: Sun Mar 22, 2020 5:17 am
by paai
Hello,
on a WEMOS D1 R2 I have a fingerprint scanner on SoftwareSerial mySerial(D3,D4). Also, I have a switch on D1 which is of course GPIO5 on the esp8266. The switch, or button, detects if a door is open or closed.

The problem is that the fingerprint scanner (Adafruit_fingerprint.h) will not initialize when the circuit on D1 is closed. If I open the switch during the initialization and afterwards close it, everything works fine.

Should I expect this behaviour?

Paai

Re: GPIO5 interferes with softserial?

PostPosted: Sun Apr 12, 2020 6:45 am
by eriksl
Do you tie a GPIO to either Vcc or GND? Then that will explain the behaviour. You can't do that.