This is a software-hardware project for controlling a small farm track bot via bluetooth through Android. The bot has two wheel controls for left wheel segment and right wheel segment as well as two other controls for arm level and gripper.
- Android
- Arduino
- Bluetooth
- First the Android device connects to the Bluetooth device interfaced with the Arduino Atmega328 MCU on the bot circuit
- Then the control buttons appear on the device screen which when pressed forms a mask on an 8 bit data
- As any of the button is pressed or released the mask of data updates and the data is sent to the Bluetooth device
- This data is directly provided to the PortD of MCU with minimum delay and thus speeding up the reaction time for control
| Control | 8 bit mask | |
| OR Mask | AND Mask | |
| Left Up | 00000001 | 11111101 |
| Left Down | 00000010 | 11111110 |
| Left Stop | 00000000 | 11111100 |
| Right Up | 00000100 | 11110111 |
| Right Down | 00001000 | 11111011 |
| Right Stop | 00000000 | 11110011 |
| Arm Up | 00010000 | 11011111 |
| Arm Down | 00100000 | 11101111 |
| Arm Stop | 00000000 | 11001111 |
| Gripper Open | 01000000 | 01111111 |
| Gripper Close | 10000000 | 10111111 |
| Gripper Stop | 00000000 | 00111111 |
