Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to Fingerprint Scanner from FTDI Device #7

Open
mikemanosky opened this issue Feb 19, 2015 · 3 comments
Open

Connection to Fingerprint Scanner from FTDI Device #7

mikemanosky opened this issue Feb 19, 2015 · 3 comments

Comments

@mikemanosky
Copy link

Hi there,
Sorry to be a pest but it seems like the variable DEVICE_NAME is not found through the class (FPS_GT511C3) because it is not set unless you pass it in as COM3. Could you check for me that this code still works for a COM3 device please? It doesn't seem to change to a 115200 Baudrate for me.

Thanks Michael

@jeanmachuca
Copy link
Member

Hi Michael,

DEVICE_NAME variable is COM3 for nt (Windows) systems, and /dev/cu.usbserial-A601EQ14 for other (linux, mac, etc with usb serial cable)

For to change the baud rate to 115200 use the sample code in:

https://github.com/QuickGroup/pyGT511C3/blob/master/baud_to_115200.py

Yo can get a connected device list with the devices() method in FPS, just type in shell:

import FPS
print FPS.devices()

In your code, for to connect another custom device, set DEVICE_NAME adding the following two line code first:

import FPS
FPS.DEVICE_NAME = 'CustomDEVICE' # your custom device in devices() list

good luck

@mikemanosky
Copy link
Author

Thank You
However I still cant get the code to work with a Baudrate of 115200. The device refuses to respond after running the baud_to_115200.py file. Is this an error in the code?
Thanks Michael

@jeanmachuca
Copy link
Member

Just try connecting FTDI to another usb port, I have been testes this device in both cases and no troubles for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants