What sup guys!!! Today we will make an Arduino controlled robot. It is somewhat similar to my previous project. The only difference is that instead of using a gyroscope sensor I used a Joystick module. The robot is controlled wirelessly using the Rf (ASK) transmitter and receiver module. Both the circuits consist of two Arduino Boards and both are powered using 9 V batteries.
The working of this project is quite straight forward. The Joystick module gives analog values for the X and Y axis movement. This values are then compared with the set values by the help of various if else statements. And according to that a character is sent to the receiver. Like in this case a character 'a' is sent for forward movement of the robot.
These characters are then received by the Rf receiver at the other end. The receiver's job is to just receive the character and send it to the Arduino. The Arduino then moves the robot according to the sent character. The movement is controlled by the L293d Motor driver module. This is the basic working of the project. Now let's head on to build this robot.
Buying supplies is a crucial part for any project. And most importantly at right prices. And for that I recommend you to buy them from UTSource.net website. They provide good quality components at low cost and fast shipping. They also provide high quality PCB's for manufacturers and prototypers. Do check them out now and avail their free one month Plus membership trial which gives a lot of benefits to customers.
The circuit diagram for this project is quite simple. And it takes about only 10 minutes to build this project. The connections are shown in the circuit diagram above. The joystick module is connected to two analog inputs and the transmitter is connected to a digital pin. Here I used pin 12. You can use the serial port but that will cause problems while uploading the sketch. So instead use the Virtual wire library and make some other pin a tx pin.
The receiver part consists of the motor driver module and the RF receiver. Again here we used the Virtual wire library. A led is connected to get the status if a charater is received or not. Both of the boards are powered using 9 V batteries. And one separate battery is used to power the motor driver module.
Upload the Sketch
Now let's upload the sketches to the Arduino Boards. You can get the sketch from below.