A remote control car using Raspberry Pi to host the server was designed and an iOS app which serves as the remote was written to control it. The app connects to the pi, the pi communicates with arduino over serial to control car.
- Arduino Uno
- Raspberry Pi 3
- iOS Device (Running iOS 7.0+)
- L298n Motor Driver
- 12V Li-Po
- 12V DC Motors
- 5V Regulator
- 5V Servo
- USB Camera
- Chassis, Wheels and Turning Mechanism
- Set up USB camera on Raspberry Pi as IP Camera using this tutorial .
- Set up Raspberry Pi as a WiFi hotspot using this tutorial .
- Start the iphoneserver.py script in Raspberry Pi:
sudo nice -10 python iphoneserver
- End the script when needed using:
ctrl-c
- Sideload the iOS app using xcode onto an iOS device.
- Once the app is loaded onto the device, it usually connects to the server instantly when its opened. If it doesn't, double tap anywhere on the screen to reconnect.
- Swipe down with two fingers in the center region of the screen to initiate camera stream.
- Swipe up with two fingers in the center region of the screen to cancel stream.