Arduino Project Ideas - Part 2
Use Arduino and Processing to control an inexpensive radio control car. Processing sends directional commands to the Arduino which then drives the car around a prescribed track.
'Record' mode - Processing drives the car based on the user's driver instructions and records the direction/duration of each stage in the route.
'Playback' mode - Processing plays back the route instructions and then drives the car without user intervention.
D3 - Forward MOSFET activate GND Pin
D4 - Reverse MOSFET activate
D5 - Left MOSFET activate
D6 - Right Mosfet activate
Read FROM Processing
'8' - Forward
'2' - Reverse
'7' - Forward Left
'9' - Forward Right
'1' - Reverse Left
'3' - Reverse Right
'5' - Stop
Arduino Joystick for Processing
Arduino 2-axis joystick Shield with button
Contains two 4K potentiometers and one SPST momentary contact switch.
Pins on joystick are GND, 5V,Vx,Vy,Btn
Based on work of Korneliusz Jarzebski
A0 - y-value 0-1023 GND Pin
A1 - x-value 0-1023
D2 - Button click (HIGH or LOW)
Send TO Processing
One comma-delimited string with line-feed (\n)
bVal of LOW = clicked (1)
bVal of HIGH = no-click (0)
TurtleBot with Bluetooth for Android app Control
TurtleBot using L293D H-bridge connected to Arduino UNO, to control 2 geared motors. Bluetooth HC-05 module communicates with Android RC Car control app for controlling the robot.