Arduino Car With L293D and Remote Control

by GeniusKevins in Circuits > Arduino

3464 Views, 1 Favorites, 0 Comments

Arduino Car With L293D and Remote Control

889573933.jpg

I happens to have L293D chip and IR remote control and receiver. I want to build an Arduino car without buying much things, so I brought only Arduino four wheel car chassis.

Since Tinkercad have L293D and IR receiver and Arduino, So I created sketch on it

Supplies

Arduino four wheel car chassis

L293D chip

IR remote control and receiver

Two 18650 battery

Assemble the Car Chassis

1954445890.jpg
1827621503.jpg

First step is to solder the motors and assemble the car chassis according to the instruction manual

Design the Circuit

circuit.jpg

Since L293D chip have two separate parts we can control, so we connect the left motors to the left side of L293D, the right motors to the right side of L293D (when go forward, both parts spin, when turn one side, only one part spin)

(The two battery are two 18650)

And I made a circuit using the Tinkercad.

More information about L293D see:

Control DC Motors with L293D Motor Driver IC & Arduino
https://lastminuteengineers.com/l293d-dc-motor-ar...

Code

(you need get IRremote.h first)

Explanation:

First we define which slot the chip pin is connecting, then we create a function that react to different remote control button, if the button is forward/backward/left/right, then the specific motors will move

About the Code

remote.JPG

After the Arduino and motors are connected to the power supply, press the forward button of the remote control (the red circle in the picture ), and the four wheels of the car will move forward (move forward)

Press the back button of the remote control (blue circle in the picture), and the four wheels of the car will move backward (move backward)

Press the rewind button of the remote control (yellow circle in the picture), and the two wheels on the left side of the car will move forward (move towards right)

Press the fast forward button of the remote control (red circle in the picture), and the two wheels on the right side of the car will move forward (move towards left)

Connect Everything and Try

Arduino car.jpg
Arduino car with l293d