Arduino Projects

How To Make A DIY Arduino Joystick Control Car

How To Make A DIY Arduino Joystick Control Car At Home

Introduction 

Hi Friend Welcome Back, In this Article, we designed an RF Small Robot car with the help of an Arduino microcontroller. We control the robot with the help of the PS2 Joystick Module.

Arduino Based RC Car1 1

We used The RF Transmitter And Receiver Module They Work On 433MHz Frequency.

This hybrid RF Transceiver Module provides a complete RF transmitter and receiver module solution which can be used to transmit data at up to 3KHz from any standard CMOS/TTL source.

why do we use a 433MHz RF Transmitter Receiver Module?

  • Low Power Consumption
  • Easy For RF-based Application
  • Transmitter Transmit Range Up To 50m
  • CMOS / TTL Input
  • Very Stable Operating Frequency
  • Low Current Consumption up to 11mA
  • Wide Operating Voltage
  • ASK Modulation

Check Out More Projects

Bill Of Material

S.N

Component's

Quantity

Link To Buy

1

Arduino Nano

2

2

RF Transmitter & Reciver Module

1

3

L298N Motor Driver

1

4

N20 Motor

4

5

N20 Motor Wheels

4

6

3.7V lithium ion Battery

1

7

Zero PCB

2

8

Soldring Wire

20

9

Power Supply

1

10

Conector

1

Components

Component’s

Here I used two Arduino one for the transmitter side and another one for the receiver side.

Smart Bike Helmet With Accident Alert System5

RF Transmitter is 4 Pin You just connect to VCC-5v, GND – GND and the DATA pin is conected to any digital pin in Arduino nano microcontroller.

Smart Bike Helmet With Accident Alert System2

In the RF Receiver module 4 pins on both sides right and left flow the circuit diagram and do the connection like VCC -5V, GND – GND and DATA Pin is conected to any digital pin Arduino Nano microcontroller.

Smart Bike Helmet With Accident Alert System11

L298N Motor is a Power full motor Driver working On a 9V-12V Power Supply.

IMG 2724

N20 Gear Motor is a small-sized motor and is very powerful also the gear mechanism is a relay good and works on low voltage. In this project we used the 150rpm Motor you also changed in your requirements.

N20 Motor2

Here we used the 2 Lithium ion batteries Conected in series, which are proved near 8V DC and directly connected to the L298N Motor Driver.

Components3 2

Note:- Please Use only rechargeable batteries in this project

Circuit Diagram

Transmitter Circuit

We used the PS2 Joystick Module and RF Transmitter Module in the transmitter circuit.

  • The PS2 Joystick Module is conected to the Analog Pin Vrx – A1, Vry – A2, VCC5V And GND To GND.
  • RF Transmitter is conected to the Pin Number D12, VCC5V And GND To GND.

transmitter

Receiver Circuit

In this Receiver Circuit Diagram, we used the L298N Motor Driver Module to control the Speed of the Motor.

  • The RF receiver module is conected to the Pin Number D3, VCC5V, And GND to GND.
  • L298N Motor Driver Module is conected to Pin Numbers D5, D8, D9, D10, D11 And D6.
  • Here we used the N20 Motor Which is connected to the L298N Motor Driver Output Pins just flow the circuit Diagram.

Reciver Circuit

Code

  • Transmitter Code

  • Receiver Code

GitHub e1697076839430

Project Working

Once everything is working, secure the components on the chassis to prevent disconnections. when you move the joystick to the upper side the robot goes in a Forward direction, if you move the joystick down the side the robot moves in a Backward Direction. if the joystick moves in the left or right robot goes in this direction is easy to move the robot anywhere.

13

14

The Robot takes minimal power source and if you do not move the joystick in any direction then the robot automatically goes into sleep Mode.

Video 

Conclusion

In this project, we used the joystick and controlled the robot car. if you are not interested in the joystick then you use the push button but in the code, a few line is changed.

If try to learn the ESP32 Microcontroller then plz go through the Article Started with the ESP32 Board.

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker