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...

Alcohol Sensor

POWER77 Tech Electronic Project    Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor   Introduction In this project we have designed Alcohol Level Meter using Arduino & MQ-135 Alcohol/Gas Sensor for measuring the level of alcohol in human breathe. Simply we have interfaced MQ-135 Gas Sensor module with Arduino and 16*2 LCD module for display. The alcohol/Gas sensor we used is the MQ-135 sensor. This is a sensor that is not only sensitive to alcohol, particularly ethanol, which is the type of alcohol which is found in wine, beer, and liquor. Instead of MQ-135, you can use MQ2, MQ3, MQ5 module as well. Basically they all have similar functions. This type of sensor circuit can be used as a breathalyzer to check a person’s blood alcohol level. Just as we exhale carbon dioxide when we breathe out, we also will breathe out some alcohol if we have alcohol in our blood. Any alcometer device can measure this alcohol content. The mo...

ARDUINO ULTRASONIC SENSOR TUTORIAL WITH CODE

ULTRASONIC SENSOR TUTORIAL This is Arduino based tutorial for ultrasonic sensor. in this video, I described how to connect ultrasonic sensor with Arduino also interface LCD with this. Component required for tutorial (1) Arduino microcontroller (2) Ultrasonic sensor (3) LCD ciruit diagram is given in video. Arduino Code for tutorial: Ultrasonic sensor tutorial by IGENTECH #include<LiquidCrystal.h> // include header file of lcd LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //assign pins of lcd const int trigPin = 8; // assign trig pin to 8 const int echoPin = 7; // assign echo pin to 7 // defines variables long duration; int distance; void setup() {   lcd.begin(16,2); // begin lcd   lcd.print("UltrasonicSensor"); // print ultrasonic sensor on lcd   lcd.setCursor(0,2);            // set cursor to second row of lcd   lcd.print("   IGENTECH      ")...