vinz486 / fingerprint-r503-mqtt

This is a fingerprint scanner software driver that maps recognition events to MQTT messages for IoT or home automation integration.
26 stars 6 forks source link

Wemos D1 mini/PRO - Not detecting R503 v1.2 sensor #9

Closed bad-gargoyle closed 2 years ago

bad-gargoyle commented 2 years ago

Will this project run o D1 mini PRO?

Upload was succesfull, but I have some kind of boot loop (led blinks with 3-4s delays) and Wifi hotspot doesn't appear.

bad-gargoyle commented 2 years ago

I have R503 v1.2 (with cables: red, black, yellow, brown, blue, white). I've contacted GROW and they said that is basicly the same sensor as with cables yellow and green (I guass it differs with waterproff ability only).

I tested this sensor with USB to TTL converter and GROW "TestDemo_V3.012" program and it works all fine but when I run monitor (pio device monitor) I have: "Looking for sensor...KO. Sensor not found: check serial connection on green/yellow cables."

Any clue what is wrong? Please help...

PS I even ordered and run same tests on Wemos mini NOT-PRO to be 100% sure that is not the board problem. ;-)

bad-gargoyle commented 2 years ago

Ok, I've managed to solve this by myself. ;-) The problem Was that project suggested to use D4 and D5 GPIO ports. Those ports on WEMOS are partly used for serial port interface communication (D5 is for SPI SCK, D6 is for SPI MISO). When I've changed (phisicly and in skech) ports to D3 and D4 everything started to work.

vinz486 commented 2 years ago

Thank you for your suggestion: strange that my wemos is working perfectly.