![Waveshare UART Fingerprint Sensor Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/waveshare/uart-fingerprint-sensor/uart-fingerprint-sensor_user-manual_3859819018.webp)
UART Fingerprint Sensor (C)
V1.0
18
/
18
CONNECT TO XNUCLEO-F103RB
We provide a demo codes for XNCULEO-F103RB, you can download from wiki
UART Fingerprint Sensor (C)
XNUCLEO-F103RB
Vcc
3.3V
GND
GND
RX
PA9
TX
PA10
RST
PB5
WAKE
PB3
Note: About the pins, please refer to
above
1.
Connect UART Fingerprint Sensor (C) to XNUCLEO_F103RB, and connect programmer
2.
Open project (demo code) by keil5 software
3.
Check if programmer and device are recognized normally
4.
Compile and download
5.
Connect XNUCELO-F103RB to PC by USB cable, open Serial assistance software, set COM port:
115200, 8N1
Type commands to test module according to information returned.
CONNECT TO RASPBERRY PI
We provide python example for Raspberry Pi, you can download it from wiki
Before you use the example, you should enable serial port of Raspberry Pi first:
Input command on Terminal: sudo raspi-config
Choose: Interfacing Options -> Serial -> No -> Yes
Then reboot.
UART Fingerprint Sensor (C)
Raspberry Pi
Vcc
3.3V
GND
GND
RX
14 (BCM)
–
PIN 8 (Board)
TX
15 (BCM)
–
PIN 10 (Board)
RST
24 (BCM)
–
PIN 18 (Board)
WAKE
23 (BCM)
–
PIN 16 (Board)
1.
Connect fingerprint module to Raspberry Pi
2.
Download demo code to Raspberry Pi:
wget https://www.waveshare.com/w/upload/9/9d/UART-Fignerprint-RaspberryPi.tar.gz
3.
unzip it
tar zxvf UART-Fignerprint-RaspberryPi.tar.gz
4.
Run the example
cd UART-Fignerprint-RaspberryPi/
sudo python main.py
5.
Following guides to test the module.