I trayed adafruit library but it doesn't work ,it says
"Adafruit finger detect test
Did not find fingerprint sensor :("
I am using arduino uno
I connected red + and black -
and White wire to pin 3
and Green wire to pin 2
What for are blue end yelow ?
Like it says
#include <Adafruit_Fingerprint.h>
// On Leonardo/Micro or others with hardware serial, use those! #0 is green wire, #1 is white
// uncomment this line:
// #define mySerial Serial1
// 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)
// comment these two lines if using hardware serial
SoftwareSerial mySerial(2, 3);
I looked at the PDF on the Wiki page. If it is accurate then it is better than a lot of documentation I have seen. The wiring, commands, and responses are decently documented. There is a PC app you can download to test the sensor.
The user manual from the Wiki User Manual has the connection details, but to give you an idea of the complications it says
if the working
level of your board is 3.3V, you can directly connect it to UART and GPIO pins of your board. If it is 5V,
please add level convert module/circuity.
If you have no idea what that means then I suggest that you give up with this sensor until you have more experience.