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

using wiith Rasberry PI 3 no response #25

Open
ColeBracew opened this issue Oct 12, 2016 · 6 comments
Open

using wiith Rasberry PI 3 no response #25

ColeBracew opened this issue Oct 12, 2016 · 6 comments

Comments

@ColeBracew
Copy link

Hi i have hooked up the scanner correctly to my GPIO board and when i try run raspberry_pi_GPIO_test.py all i get is Command:open then

Traceback (most recent call last): File "/home/pi/Desktop/pyGT511C3-master/raspberry_pi_GPIO_test.py", line 32, in
fps = FPS.FPS_GT511C3(device_name='/dev/ttyAMA0',baud=9600,timeout=5,is_com=False)
File "/home/pi/Desktop/pyGT511C3-master/FPS.py", line 319, in init
self.Open()
File "/home/pi/Desktop/pyGT511C3-master/FPS.py", line 333, in Open
self.SendCommand(packetbytes, 12)
File "/home/pi/Desktop/pyGT511C3-master/FPS.py", line 756, in SendCommand
self._serial.write(bytes(cmd))
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 475, in write
n = os.write(self.fd, d)
KeyboardInterrupt when i inturupt to quit out

if i try to run baud_to_115200.py i get the following:

Traceback (most recent call last):
File "/home/pi/Desktop/pyGT511C3-master/baud_to_115200.py", line 16, in
fps = FPS.FPS_GT511C3()
File "/home/pi/Desktop/pyGT511C3-master/FPS.py", line 316, in init
self._serial = connect(device_name,baud,timeout,is_com=is_com)
File "/home/pi/Desktop/pyGT511C3-master/FPS.py", line 277, in connect
device_name = DEVICE_NAME
UnboundLocalError: local variable 'DEVICE_NAME' referenced before assignment

Can anyone advise? I'm just getting into PI's and i don't have a firm understanding. Thanks

@sandeep123patel
Copy link

I have the same problem! any solution?

@himanshu-hearthacker
Copy link

replace FPS.py in your code with file named FPS2.py. https://github.com/Jucker/SIPIntercom-with-FPS .This is guy modified the file to work with code. if you face any problem try to change the baud rate 2-3 time

@jeanmachuca
Copy link
Member

Hi folks,
This driver has a paid support via Skype. You just need to donate USD 100 on the link bellow once, and you will get all the online support needed to make your implementation works fine:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q4L8KWJTYL5NY

Cheers,

@Abhiramianbu
Copy link

Anyone found the solution ? I have the same problem

@Abhiramianbu
Copy link

For me the problem is solved. The serial port should be enabled for connecting devices .By default it is used for bluetooth.

@Druffl3
Copy link

Druffl3 commented Apr 21, 2018

@himanshu-hearthacker Man, even after changing baud rates, I'm getting
"incomplete response in buffer".
Please, Help.

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

6 participants