- Description
- Requirements
- Software Requirements
- Installation
- Connections
- Android/iOS App
- Mentions
- Authors
The objective was the creation of a maze solver using an Arduino Leonardo and some additional sensors. Moreover, once the robot has find the exit, it has to go back to the initial box using the minimal number of steps.
- 1 Arduino Leonardo
- 1 Ultrasonic Sensor
- 2 Sharp Infrared Sensor
- 1 Bluetooth Module
- 2 Wheel
- 1 Motor driver
- 2 DC Motors
- 3 CNY70
- 3 LED RGB
- Arduino IDE
- React-Native
First,
git clone https://github.com/sixcfj/SIXCFJ.git
Once you have the repo, create a new Arduino project with the codes that are in Arduino Codes/main. Then, you just need to upload it to your Arduino Leonardo and that's all.
Pin | Conection |
---|---|
A0 | CNY70 (Left) |
A1 | CNY70 (Right) |
A3 | Ultrasonic Sensor |
A4 | Sharp Sensor (Right) |
A5 | CNY70 (Back) |
A6 | % of remaining Battery |
A8 | Sharp Sensor (Left) |
11 | LED3 |
12 | LED1 |
13 | LED2 |
RX,TX | Bluetooth |
In the slides directory you can run:
npm start
This will runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
First of all, download the dependencies with
npm start
Then, you need to edit /node_modules/react-native-bluetooth-serial/android/src/main/java/com/rusel/RCTBluetoothSerial/RCTBluetoothSerialPackage and delete those override.
Finally, just run one of these commands
react-native run-android
react-native run-ios
About the songs, we can't share them due to copyright issues, but we encourage you to test it with your own music.
We would like to thanks maniacbug for creating this library, it was really helpful for our project. https://github.com/maniacbug/StandardCplusplus .
- Juan Francisco Cabrera Sánchez (juanfrancs)
- Carlos Gallardo Polanco (gpcarlos)
- Fernando Manuel Quintana Velazquez (ferqui)