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

Arduino NANO 3X3X3 LED CUBE

DIY | 3X3X3 LED CUBE FOR ARDUINO NANO+ By   RGBFreak   in   Technology Arduino 17,143 146 22 Featured Download Favorite By   RGBFreak RGBFreak's YouTube Channel Follow More by the author: About: Hi there visitor! First of all thank you for checking out my profile! My name is Youri. I study Technical Computer Science in the Netherlands. I especially love the electronical part of my study. Since I l...   More About RGBFreak » Intro: DIY | 3x3x3 LED Cube for Arduino Nano+ Hi everyone! My name is RGBFreak and I created a YouTube channel quite recently. I love DIY and I especially love LED's, so that's why I decided to make my own 3x3x3 LED Cube! You will need the following items to make this LED Cube: • 27 single colored LED's. • Arduino Nano or one of his bigger brothers. • 3 NPN Transistors. I used the BC547. • 3 pin headers with 3 pins. • 1 pin header with 4 pins. • A piece of perfboard. • A few small cables. Ad

Ultrasonic Distance Sensor in Arduino With Tinkercad

  Ultrasonic Distance Sensor in Arduino With Tinkercad Let's measure distances with an ultrasonic rangefinder (distance sensor) and Arduino's digital input. We'll connect up a circuit using a breadboard and use some simple Arduino code to control a single LED. You may have already learned to   read a pushbutton   and   PIR motion sensor   with Arduino's digital input, and we'll build on those skills in this lesson. Ultrasonic rangefinders use sound waves to bounce off objects in front of them, much like bats using echolocation to sense their environment. The proximity sensor sends out a signal and measures how long it takes to return. The Arduino program receives this information and calculates the distance between the sensor and object. Find this circuit on Tinkercad Explore the sample circuit embedded here by starting the simulation and clicking on the proximity sensor. This will activate a highlighted area in front of the sensor with a circle "

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 Comment Download Step 2: Dev