top of page

Hardware

Public·107 members

Frustration with Bittle and Raspberry Pi

Successfully built the Bittle and was able to control it via the USB serial port.

Purchased a Raspberry Pi 3 and installed it per the instructions.


Unfortunately, that's as far as I can get as the documentation regarding using the raspberry pi has been a bunch of broken links. The Petroi Instructions reference this document https://www.raspberrypi.org/documentation/configuration/uart.md , but I cannot seem to get it to communicate.


I've downloaded the OpenCat package and modified the ardSerial.py script to address /dev/ttyS0


I get the error:


Traceback (most recent call last):

File "./ardSerial.py", line 14, in <module>

timeout=1

File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__

self.open()

File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 272, in open

self._reconfigure_port(force_update=True)

File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 326, in _reconfigure_port

raise SerialException("Could not configure port: {}".format(msg))

serial.serialutil.SerialException: Could not configure port: (5, 'Input/output error')


Any help would be greatly appreciated. A step by step document would be helpful as all I can find are articles that give vague references to other articles (most which have broken links).


I have the Raspberry Pi installed.

Enabled the UARTS and disabled the serial console as per the instructions.


DId I miss something really important in the documents?


What now?


239 Views
David Lemmink
Jun 13, 2021

Yes, unplugged per the instructions.

Members

bottom of page