Skip to main content

ARDUINO INFRARED RC CAR

ARDUINO INFRARED RC CAR

11,155
143
8

Intro: Arduino Infrared RC Car

Hello. Despite numerous other RC Car Instructables, I wanted to add my own because I believe it is built in a decent way and can help others in builidng their own. So lets start with the parts you need in My version.

Step 1: Step 1: Parts

Step 2: Step 2: Assembling the Body

For assembling the body, you can watch this video

Step 3: Step 3: Mounting the Parts

Picture of Step 3: Mounting the Parts
You may have to drill some new holes in the board to fit the H-bridge or the battery holder that comes with the body. The screws might be a bit too short too, but then just go to your local store and buy some longer M3 screws.
In the beginning I ducktaped the entire construction until I saw it was working properly, then I for example, removed the sheet from the back of the breadboard and attached the breadboard to the body. I also drilled some 2.5mm holes for the infra red sensor so it all fits nicely. You can get a better look of how I did it all in the picture attached here.
WARNING!!
If you order the infrared sensor from the same link I ordered, be wary because someone who made the little PCB the sensor is on, crisscrossed some of the connections and if you follow this datasheet
and connect the sensor to the Nano like that, you'll short the sensor and burn it. So when you get the sensor, turn it around and take a closer look to the connections on the back of the board. Look at the datasheet above and follow the lines to the output pins so you get the VCC, GND and signal properly connected.

Step 4: Step 4: the Connection Scheme and How It All Works

Picture of Step 4: the Connection Scheme and How It All Works
As you can see on the Fritzing scheme, the connection is not very hard. I connected the infrared to pin 11 and the 6 connections from the H-bridge can be connected whatever you like, just be sure that the leftmost pin and the rightmost pin are connected to PWM outputs on Nano. I used 5 and 10. Nice tutorial on controlling the DC motors with this module can be found here
I will provide the code later. For now be sure to connect the GND and the 5V from Nano to the proper longitudinal lines on the board, and to connect the ground from Nano and the H-bridge, like shown on the schematic.
So how it all works. After you upload your program to Nano(while you are doing that, I prefer that the power supply is not connected to the board), put your power supply on the board and check that the jumpers are on 5V. When you push that little white button, the power supply should light up and if your Nano connection from 5V to + on the board remained, the Nano will flash once signaling he is now getting powered from the Power Supply. You also now power the infrared with your power supply. Connect the wires from the 4AA battery holder (be wary they DONT touch) to the 12V and ground of the H-bridge. The H-bridge should light up and is now getting the 6V from the batteries. If you are using the rechargeable batteries, atleast in my country, they provide only 1.2V each, so when the voltage drops in the H-bridge due to its internal connections, you wont get enough voltage to power the motors. So I suggest the regular ones, 1.5V each.

Step 5: Step 5: the Code

The code is here just for the suggestion of how to do it, you can also use different remote codes for controlling your car. You will have to download and install the IR library.

Step 6: Step 6: Finish

Picture of Step 6: Finish
So thats it, hope you all liked it. Here is the picture of my beast again!
If you want to, you can upgrade your little RC car in many ways, like autonomous driving, obstacle avoiding and so much more. Cheers!

Comments

Popular posts from this blog

S4A (Scratch for Arduino) Project - A Keyboard Controlled Robot Car A fun project to create a keyboard controlled robot car... based on the   "Robotics: keyboard driven car" project on the   S4A site . This to me, is a perfect example of an interdisciplinary project: there is quite a bit of mechanical, electrical and computer engineering involved. This project is being used by the Grade 5 kids in my child's school this year; the kids have been working with the Pro-Bot for quite a bit of time and I felt that letting them create their own robot car that behaves similar to the Pro-Bot is a great finale. So far, it's my favorite Arduino project. Below is a formal lesson plan for the robot car. Note:   This is a simplified version of the car from the S4A site - it just involves creating the keyboard driven car, minus the remote controller. This means the car stays connected to the laptop via the USB cable.   Aim Design your own robot car, whose movements can be c...

TOUCH SWITCH CIRCUIT WITH MOSFET

TOUCH SWITCH CIRCUIT WITH MOSFET By  leeselectronic  in  Technology Electronics 1,326 13 Featured Download Favorite By  leeselectronic Lee's Electronic Follow More by the author: About: Electronic Hobby Store  More About leeselectronic » Intro: Touch Switch Circuit With MOSFET Created by: Jonsen Li Overview: The simple touch switch LED circuit utilizes biasing characteristics of the MOSFET. MOSFET stands for Metal-oxide-semiconductor field effect transistors. It is a voltage controlled device meaning that the current passing through the device is controlled by the voltage between two terminals. Parts you will need: A power MOSFET (IRFZ-44 NPN)  (Lee's ID: 71211) 9V battery  (Lee's ID: 83741) 12V LED bulb  (Lee's ID: 5504) Jumper wires  (Lee's ID: 21802) Breadboard  (Lee's ID: 10686) 9V battery clip  (Lee's ID: 653) Add Tip Ask Question Comm...