hi, i’m trying to connecto over uart my beaglebone black(bbb) and the pixy cam, but i don’t know how can i do it.
I have been tryig this, but i can’t get the output from pixy cam
- setup bbb angstrom linux
- setup pixy CMUcam5
- connect pixy GND to BBB’s GND
- connect pixy’s TX uart to BBB’s RX uart
- use the adafruit_BBIO to setup the BBB’s uart4 with python
import Adafruit_BBIO.UART as UART
import serial
UART.setup(“UART4”)
ser = serial.Serial(port = “/dev/ttyO4”, baudrate=57600)
ser.close()
ser.open()
while ser.isOpen():
buff = ser.read(ser.inWaiting())
print buff
ser.close()
whe i try to read the buff there is nothing. So i don’t know what i have to do to get the pixy’s uart infomation in my bbb.
i hope you can help me
thx