9. Hardware Platform
Bluetooth dongle
USB
OMAP3530 Beagleboard
I2C
I2C BB Mouse -I2C Level Translator
1V8 ↔ 5V
SS-14+ Servo
10. Libcatcan, User mode I2C driver
Libcatcan is an user space
driver for device catcan ss14+
Catcan SS14+
I2C interface
Power: 6v2~7v5
Dynamic PID setting
Plug and play
Group call
Asynchonous
Synchonous
11. Libcatcan (cont)
No kernel driver needed,
libcatcan-360 libcatcan but enabling I2C bus 2 is
requisite
Easy and convenient to
i2c-dev integrate with application
Features:
i2c-core
Seek/get position
Group action
I2C I2C host
I2C host
Change I2C address
slave controller
controller
I2C Bus
19. JSON (JavaScript Object Notation)
User Interface We need a simple
protocol for remote
Command Manager
controlling
Robjson extends JSONObject {
enum ReqType{
STANDBY,
Lightweight data
interahcnage:
FORWARD,
BACKWARD,
RIGHT,
LEFT,
TICKLE, serialize/de-serialize
UNDIFINED} → {“CMD”: “STANDBY”}
} → {“CMD”: “STANDBY”}
Natively support in
Rfcomm
Android
Bluetooth Easy to have extension
0xSpiderClient