如何与串行UART上的光学指纹扫描仪进行通信 [英] How to communicate with an optical fingerprint scanner on Serial UART

查看:59
本文介绍了如何与串行UART上的光学指纹扫描仪进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开展一个项目,我需要读取从光学指纹识别器扫描的指纹数据。这是我想读的读者:

I'm working on a project where I need to read fingerprint data scanned from an optical fingerprint reader. This is the reader I'm trying to read:

https://www.amazon.com/Adafruit-751-Fingerprint-sensor/dp/B00QSIZSOG

https://www.amazon.com/Adafruit-751-Fingerprint-sensor/dp/B00QSIZSOG

我使用Rx和Tx引脚将其连接到Raspberry Pi 3。指纹识别器在为Pi供电时呈绿色亮起(指纹扫描仪通过5V引脚供电)。 

I'm connecting this to a Raspberry Pi 3 using the Rx and Tx pins. The fingerprint reader glows green when powering the Pi (the fingerprint scanner is powered on the 5V pin). 

我还在运行Windows 10物联网串行UART示例项目,以及指纹扫描仪显示为我可以连接的设备。当我单击列表中的设备并按下连接时,它会成功连接到它。

I'm also running the Windows 10 IoT Serial UART sample project, and the fingerprint scanner shows up as a device I can connect to. When I click the device in the list and press Connect, it connects to it successfully.

然而,当我将手指放在扫描仪上时,没有任何反应。我猜我需要做更多的事情来与设备通信(特定的电话来阅读手指?)。

However, when I place my finger on the scanner, nothing happens. I'm guessing I need to do more to communicate with the device (specific calls to read the finger?).

我尝试过的事情:

- 样本波特率很低,根据文档记录,该设备的波特率应为57600。我已经尝试在示例项目中更改该设置,但仍然没有给出指纹读取的任何指示。

- The sample baud rate is low, and according to the documentation the baud rate for this device should be 57600. I've tried changing that setting in the sample project, but still doesn't give any indication of a fingerprint read.

- 我查看了Windows指纹生物识别API ...连接到示例项目中的设备,我添加了一个调用来检查API是否可以使用&UserConsentVerifier.CheckAvailabilityAsync()查找设备,但是这看不到设备。
我猜是因为该设备不是生物识别设备,或者,该方法调用不会查看串行UART。

- I've looked into Windows Fingerprint Biometrics API ... upon connecting with the device in the sample project, I added a call to check if the APIs can find the device using UserConsentVerifier.CheckAvailabilityAsync(), but this doesn't see the device. I'm guessing because the device isn't a biometric device, or, that method call doesn't look at Serial UART.

无论哪种方式,这都是我的头脑。我是物联网和设备通信世界的新手。我有很多编程C#的经验,所以我希望能够使用C#开发这个项目,使用Windows 10物联网核心,并让Raspberry
Pi与我购买的指纹识别器进行对话。 

Either way, all this is kind of over my head. I'm new to this world of IoT and device communication. I have a lot of experience with programming C#, so I was hoping to be able to develop this project using Windows 10 IoT core using C#, and having the Raspberry Pi talk to the fingerprint reader I purchased. 

任何帮助将不胜感激。谢谢。

Any help would be greatly appreciated. Thank you.

- Dan -

- Dan -

推荐答案

Hello DMX ,

Hello DMX,

您已完成硬件配线。还需要在Raspberry Pi上创建和运行软件,以便与指纹设备进行通信,例如发送命令(通过串行UART)到

读取指纹模板
等。

You have completed hardware wiring. And software also need be created and running on Raspberry Pi to communicate with Fingerprint device like sending a command(via serial UART) to read fingerprint templates etc.

似乎没有有效的C#库可供使用。你可以参考这个
Arduino库

datasheet
,然后用C#重写。对于Windows IoT Core,您可以从 UWP
app 。

There seems no valid C# library to use. You can reference this Arduino library and the datasheet, then rewrite in C#. For Windows IoT Core, you can start with UWP app.

祝你好运,

Rita


这篇关于如何与串行UART上的光学指纹扫描仪进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆