Trouble Sensor Finger R503 "Did not find fingerprint sensor"

i'tired to connect r503 fingerprint sensor to arduino but i always receive"did not find fingerprint sensor" I have reversed the rx and tx pins but the problem is still there. and this is code i use:

#include

#if (defined(AVR) || defined(ESP8266)) && !defined(AVR_ATmega2560)
// For UNO and others without hardware serial, we must use software serial...
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
// Set up the serial port to use softwareserial..
SoftwareSerial mySerial(3, 8);
#else
// On Leonardo/M0/etc, others with hardware serial, use hardware serial!
// #0 is green wire, #1 is white
#define mySerial Serial1
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);

in here i use the pin 3 and 8 to rx tx ,is this the problem because i don't use pin 2 and 3? because i see in library and i found syntax "include softwareserial32.h" in library fingerprint.

kindly need your help sir, regards iqbal

Wrong, that's part of the code you use. Post the complete code you're using and use code tags to make it readable!

Also post a wiring diagram of your setup so we can check if the hardware connections are correct.

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