527Views9Replies

Author Options:

need help : How to extract fingerprint image from Waveshare uart fingerprint using arduino ? Answered

Discussions

Is the received data valid ? Sometimes wrong baudrates will do that

The data is not sense, it should return 9800 byte but it return about 1207 bytes, but the fingerprint returns successfull acknowledgement .
i tried different baud rates nothing works
I tried waveshare chinese pc software by using cp2102 it showed me the fingerprint image but i want to understand how to write the code.
Thanks in advance

I know I ask the same style of question, but how do you know you only have 1200 bytes ? Can you confirm your count is correct somehow ?

i built a counter inside the method every time it reads a byte it increment the counter by one

Get a serial sniffer program like HHDsoftware's "Device monitoring studio", get the thing working on Windows when you can watch every single bit arrive, then go to the arduino armed with your knowledge.

"Notice: If the module can not acquire any image or the image acquired is imperfect, you should reduce the baud rate to make sure the quality of the image. It is recommended to use the baud rate of 9600 for fingerprint image acquirement."

I tried to reduce the baud rate to 9600 but the fingerprint did'nt work on baud rate less than 19200

Dont' know about you, but I read the manual.