Go to advanced search

by keldos
Wed Nov 12, 2014 11:23 pm
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

Thank you all very much for your help. I was able to get it working using Firmata as Stewart suggested.
by keldos
Wed Nov 12, 2014 1:49 pm
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

Sorry DirkS forgot that part. /dev/tty /dev/tty19 /dev/tty3 /dev/tty40 /dev/tty51 /dev/tty62 /dev/tty0 /dev/tty2 /dev/tty30 /dev/tty41 /dev/tty52 /dev/tty63 /dev/tty1 /dev/tty20 /dev/tty31 /dev/tty42 /dev/tty53 /dev/tty7 /dev/tty10 /dev/tty21 /dev/tty32 /dev/tty43 /dev/tty54 /dev/tty8 /dev/tty11 /de...
by keldos
Wed Nov 12, 2014 12:45 am
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

lsusb outputs the following:

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 008: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
by keldos
Tue Nov 11, 2014 10:54 pm
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

Using connection = SerialManager() I get the same output as I do using dev = '/dev/ttyACM0' and connection = SerialManager(device=dev, baudrate=baud)
by keldos
Tue Nov 11, 2014 10:44 pm
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

With that I get the output: starting Traceback (most recent call last): File "nanpy_test.py", line 10, in <module> a = ArduinoApi(connection=connection) File "build/bdist.linux-armv6l/egg/nanpy/classinfo.py", line 22, in getinstance File "build/bdist.linux-armv6l/egg/nanpy/classinfo.py", line 59, in...
by keldos
Tue Nov 11, 2014 1:37 pm
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Re: Program stuck when using Nanpy

The Arduino is connected to the RPi by USB. When the program is run the 'L' LED will flash a bit and the RX light will blink once very briefly but the program will never display anything after the "starting" print statement.
by keldos
Tue Nov 11, 2014 1:10 am
Forum: Automation, sensing and robotics
Topic: Program stuck when using Nanpy
Replies: 13
Views: 2400

Program stuck when using Nanpy

I'm trying to interface with an Arduino using Nanpy and the program always gets stuck at this line: a = ArduinoApi(connection=connection) When I press control-C I get the following output: Traceback (most recent call last): File "nanpy_test.py", line 10, in <module> a = ArduinoApi(connection=connect...

Go to advanced search