top of page

Hardware

Public·102 members

Josh Crowson
Josh Crowson

Bittle and bluetooth controller

After following these tutorial (https://docs.petoi.com/api/raspberry-pi-serial-port-as-an-interface and https://docs.petoi.com/api/python-serialmaster-user-guide), I can now run python program ardSerial.py, but I can no longer connect to my bluetooth controller. I want to control Bittle with the controller. Also, I am also still getting the "* Port ttyAMA0 cannot be opened!" error, but ardSerial.py runs.

Here are so outputs from terminal that may be relevant.

$ ls -1 /dev/ttyAMA0

crw-rw---- 1 root dialout 204, 64 Apr 6 20:08 /dev/ttyAMA0


$ ls -1 /dev/ttyS0

crw-rw-rw- 1 root dialout 4, 64 Apr 6 20:08 /dev/ttyS0


I also created a dev rule.

FileName: 50-myusb.rules

Contents: KERNEL=="ttys0", MODE= "0666", GROUP="dialout"


I am also wanting to be able to ssh into the pi from my MacBook. This is currently working. The only issue seems to be the bluetooth after following the above tutorials. Is it possible to ssh in to a pi4, and control Bittle using a bluetooth controller?


145 Views

Hi,

Was the 2x5 socket used in your previous setting?

About

Learn and extend Nybble's functionalities with customized de...

Members

bottom of page