GT-521F52 not functional out of box

Hi, I got the GT-521F52 fingerprint scanner a few days ago, and I’ve tried to get it to work by connecting it to a MKR1000 Arduino. I’ve connected like so:

https://i.imgur.com/NPuMDax.png

I’ve tried getting the LED backlight to blink, but the Arduino stalls on ```
while(!Serial.available());

This tells me that the fingerprint scanner is completely unresponsive. I've also tried hardware hookup method #3 in this link: [https://learn.sparkfun.com/tutorials/fi ... okup-guide](https://learn.sparkfun.com/tutorials/fingerprint-scanner-gt-521fxx-hookup-guide). None of these efforts were fruitful. Do you think my device is faulty?

Thanks

Try swapping TX and RX. TX on the sensor needs to connect to RX on the Arduino and vice versa.

/mike

In the picture that I provided, TX on the sensor is already connected to RX on the Arduino, and vice versa. The connections go like this:

Black (TX sensor) → RX Arduino

Red (RX sensor) → TX Arduino

Blue (GND) → GND

Yellow (Vin) → Vcc

Sorry about that; it was a little hard seeing the black wire next to the black board. A little googling on the MKR1000 shows that Serial connects to the USB port and Serial1 to the RX and TX pins. Try replacing Serial with Serial1 in the code.

/mike

You are a wizard. Thank you!