5. 硬體架構
Remote Control Vehicle
DC Motor x2
( L298N )
Wi-Fi
Bluetooth
joystick
USB MIC
pwm
Bluetooth
IR controller
IR
OLED
HC-SR04
6. 車子 Pi
Wi-Fi
Control System
Input command queue
Xbox driver
UDP Server
Thread
LIRC
pthread
Motor Control
{start, stop, right, left}
轉速: PWMx2
Socket
IR
軟體架構
IR Thread
Main Thread