A React Native mobile application for controlling Arduino-based RC cars via HC-06 Bluetooth module. Features an intuitive car remote control interface with real-time command sending and response handling.
- 🔍 Device Scanning - Automatically scan and list paired Bluetooth devices
- 🎮 Car Remote Interface - Intuitive directional controls (Forward, Backward, Left, Right)
- ⚡ Speed Control - Adjustable speed from 0-100% with preset options
- 🔊 Action Buttons - Horn, Light toggle, and Turbo mode
- 🔄 Real-time Communication - Send and receive data from Arduino in real-time
- 🎨 Modern UI - Clean, colorful, and responsive interface
- Scan for paired HC-06 devices
- Connect with a single tap
- Directional controls with visual feedback
- Speed adjustment slider
- Quick action buttons
- React Native - Cross-platform mobile development
- react-native-bluetooth-classic - Bluetooth communication
- Node.js (v14 or higher)
- React Native CLI
- Android Studio (for Android development)
- Xcode (for iOS development, macOS only)
- Arduino IDE
- HC-06 Bluetooth Module
-
Clone the repository
git clone https://github.com/devshojol/HC-06-Controller.git cd HC-06-Controller -
Install dependencies
npm install
-
Run the app
# Android npx expo run:android --device # iOS npx expo run:ios --device
-
Install Arduino IDE from arduino.cc
-
Install SoftwareSerial Library (usually pre-installed)
Movement Controls:
FORWARD- Move forwardBACKWARD- Move backwardLEFT- Turn leftRIGHT- Turn rightSTOP- Stop all motors
Speed Control:
SPEED:XX- Set speed (0-100%)
Action Buttons:
HORN- Activate hornLIGHT- Toggle lightsTURBO- Activate turbo mode (3 seconds max speed)
hc06-car-controller/
├── App.js # Main app component
├── components/
│ └── BluetoothCarController.js # Car controller component
├── arduino/
│ └── hc06_car_controller.ino # Arduino sketch
├── android/ # Android native files
├── ios/ # iOS native files
├── package.json
├── README.md
└── LICENSE
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
SHOJOL ISLAM
- GitHub: @devshojol
- react-native-bluetooth-classic
- Arduino Community
- React Native Community
If you have any questions or need help, please open an issue on GitHub.
⭐ Star this repo if you find it helpful!