Now you can control your robot using your smart phone just say commands like move forward, move back, etc..
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Essentials:
You will require the following items, or equivalent.
1) 1sheeld board and android smart phone/ Tablet.
2) Any Arduino board (in this broject i used Arduino UNO).
3) Rover 5 or any RC car.
4) Rover 5 motor driver board.
Step 2: Motor Driver Explained:
This motor driver can be controlled by simply applying a logic 0 or 1 to the direction pin for that motor and a PWM signal to the speed pin. In this way, the speed and direction of four separate motors can be controlled independently from only 8 GPIO pins. For more details you can check User manual.
Step 3: 1Sheeld Explained:
1Sheeld Android Smartphone Multi-Purpose Shield is an easily configured shield for Arduino. It is connected to a mobile app that allows the use of all of Android smartphones' capabilities such as LCD Screen, Gyroscope, Switches, LEDs, Accelerometer, Magnetometer, GSM, Wi-Fi, GPS …etc. into your Arduino sketch.
How to use 1sheeld?
1- Stack 1Sheeld on top of your Arduino board, and write the code using 1Sheeld library.
2- Pair 1Sheeld board with 1Sheeld app over bluetooth.
3- Select the shields from a list of over 40 shields.
For more information and how to get started with 1sheeld, visit 1Sheeld Tutorials Archive
Step 4: How to Connect the Circuit??
As shown in the previous photo connect motor 1 and motor 2.
for channel 1 connect pin 4 in Arduino to Direction pin and pin 5 in Arduino to PWM pin. Then for channel 2 connect direction pin to pin 7 in Arduino and pwm pin to pin 6 in Arduino.
Note that we connect pwm pins in motor drivers to pins 5,6 pins in arduino as these pins in Arduino are PWM pins.
Step 5: How It Works??
Open 1sheeld app, connect it with 1sheeld then choose voice recognizer shield.
when you say move forward then the robot move forward.
when you say move back it moves back.
when you say left it turn left.
when you say right it turn right.
when you say stop then it will stop.
you can change voice commands as you like just change them in the code.