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

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question C...

Automatic Street Light Controller Circuit Using LDR And 555 Timer IC

Automatic Street Light Controller Circuit Using LDR And 555 Timer IC   We are living in the world where everything goes to be automatic from your washing machine to your ceiling fan. Street lights are one of those   examples   of the automatic world. Automatic street light are those light which needs no manual operation to gets turn ON and turn OFF. Did you ever try to make such kind of street lights that gets turn ON and turns OFF automatically? In this article, we are going to make automatic street light using LDR and 555 timer IC. List of Components   555 Timer IC LDR LED Potentiometer Resistor 1* 1k ohm  Resistor 1* 220 ohm 9V Battery Printed Circuit Board(PCB) Or BreadBoard  Circuit   Diagram A very simple circuit diagram of automatic street light is given below.  Automatic Street Light Controller Circuit Principle and Working of Automatic Street Light Controller 555 Timer IC is the main part of the circuit tha...

How To Interface PIR Sensor With Arduino And Coding

  How To Interface PIR Sensor With Arduino   Hello... Ever thought of detecting motion via your Arduino.... if yes, then this one's for you. In this tutorial, We're interfacing PIR sensor today with Arduino. Let's gets started! Block Diagram Block   Diagram Components Required For This Tutorials 1 * Arduino Board 1 * PIR Motion Sensor(you can buy from   here )   Breadboard Jumper wires Battery What is PIR motion sensor &   how it works ? Basically, a PIR stands for "Passive Infrared Sensor". The sensor works on the principle of infrared waves' detection those are being emitted by human bodies. They are undetectable to us but can be discovered by the devices designed for such special purposes. I'm going to go just a little deep, enough to make you understand the internal operation. When a body moves in front of a PIR sensor, the temperature of that place changes where the body has moved. If the body makes a further movement...