I connected the scanner to arduino UNO pins 4 and 5.
but, when I tested the enrol sketch, I am not getting any information on the serial monitor.
Also, when I tested the blink sketch, the LED of the scanner did not blink. The scanner is ON with a blue light only, but it does not blink.
I tried this with two scanners, and got the same thing,
I connected the black wire - wire 1 - to pin 4 on arduino
white wire next to the black wire - wire 2- to pin 5 on arduino
white wire - wire 3- to gnd
white wire - wire 4- to VCC
I don't have one of these but the documentation seems a bit suspect. From the example sketches on Github...
// Hardware setup - FPS connected to:
// digital pin 4(arduino rx, fps tx)
// digital pin 5(arduino tx - 560ohm resistor fps tx - 1000ohm resistor - ground)
// this brings the 5v tx line down to about 3.2v so we dont fry our fps
that seems to say the device is only 3.3V compatible but the datasheet says 3.3V-6V operating voltage.
Try swapping over the RX/TX wires just in case you have then the wrong way round.
There is no response at all with the Enrol sketch, below is the sketch. I added one serialprint("testing"); in the setup and it appeared at the monitor, but nothing from the scanner. I reviewed the connection several times. Attached is the connection.
FutureEngineer:
There is no response at all with the Enrol sketch, below is the sketch. I added one serialprint("testing"); in the setup and it appeared at the monitor, but nothing from the scanner. I reviewed the connection several times. Attached is the connection.
when posting source code files. It makes it easier to read, and can be copied with a single mouse click. Also, if you don't do it, some of the character sequences in the code can be misinterpred by the forum code as italics or funny emoticons.
While you're at it, please auto-format the code with a ctrl-T. You should know this all by now, you've been told before.
I tried the windows demo software that comes with the sensor.
First, I uploaded a 'blank sketch'
After uploading the blank sketch, I connected the sensor directly to the USB/Serial converter in the Arduino;
TX wire of the sensor to pin 0 on arduino and RX wire of the sensor to pin 1 on arduino
I followed the steps on the tutorial linked below:
But the COM port of arduino in the demo software did not open. There is no serial communication between the two devices.
// this sketch will allow you to bypass the Atmega chip
// and connect the fingerprint sensor directly to the USB/Serial
// chip converter.
// Red connects to +5V
// Black connects to Ground
// White goes to Digital 0
// Green goes to Digital 1
void setup() {}
void loop() {}
Try connecting the yellow & green patch wires to pins 0 & 1 of the arduino instead of pins 4/5 and use another patch wire to to connect RST to GND on the arduino. Then try the PC demo software, if it still does not work then try swapping the yellow/green wires on pins 0/1.
EDIT:
What value are the resistors? One looks like 1K but the colours on the other are undetermined.