Physical Computing101: Part 3: Control of Mobile Robots: Hardware Lecture #7
Physical Computing101: Part 3: Control of Mobile Robots: Hardware Lecture #7
Serial Communications
Serial (via UART)
2 wires:
Receive (Rx)
Transmit (Tx)
I2C
2 wires:
data (SDA)
clock (SCL)
SPI Bus
4 wires:
clock (SCLK)
master out slave in (MOSI)
master in slave out (MISO)
slave select (SS)
BBB Serial
Caution:
GPIO Pins operate at 3.3V
Overview
SSH into BBB
Install Python libraries
>>
>>
>>
>>
opkg update
opkg install python-pip python-setuptools python-smbus
pip install Adafruit_BBIO
pip install pyserial
Demo
Final Words
Lets keeping the discussions going on
Open roBotics (a.k.a OBotics)
New organization on GitHub:
https://github.com/o-botics
New website:
http://o-botics.org