Skip to content

Personal project aiming to build a remote controlled car with Arduinos and RF Modules

Notifications You must be signed in to change notification settings

karmsingh691/Arduino-Radio-Controlled-Car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Radio-Controlled Car

Personal project aiming to build a remote controlled car with Arduinos and RF modules.

Objectives and Motivation

The goal for this project is to use RF technology to control an Arduino powered car wirelessly. Ideally, this system could be placed into any hobby RC car and be able to control the vehicle with the same components.

Table of Contents

Parts List

The following is the up-to-date parts list for the project. Links are provided when applicable.

  1. PiCar-V Chassis, Motors, and Wheels --> https://www.sunfounder.com/products/smart-video-car
  2. 2 Lithium Polymer batteries rated at 3.7V 2000 mAh --> https://www.sparkfun.com/products/13855
  3. L293D Motor Shield for Arduino --> https://www.sunfounder.com/products/l293d-motor-drive-shield?_pos=1&_sid=4cbf1d2a0&_ss=r
  4. Half-Size Breadboard
  5. 2 NRF24L01 Transceiver Modules
  6. Arduino Mega 2560
  7. Arduino Nano
  8. PS2 Joystick
  9. 1 Servo Motor
  10. Soldering Equipment (Necessary for 1 pin)

Current Build

The images below are the first iteration of the arduino car, including the joystick that is connected to the transmitting Arduino Nano. Future plans include converting the transmitter into a PCB board so the controller can be more handheld.

There are currently two parts of the project that controls the arduino car wirelessly: the transmitting and receiving end.

NOTE: The NRF24L01 connects to different ports for various types of Arduinos. Research port connections based on the Arduino you want to use.

IMG_20210507_172120 IMG_20210507_173336

Transmitting End

The transmitting Arduino Nano is responsible for sending the joystick data concerning X and Y axis positions to the Arduino Mega. This data is being sent and received by a pair of NRF24L01 radio modules that are connected to the Nano and Mega.

The X and Y axis data is based on the coordinate system that the joystick is designed with. The image below shows the coordinate system I am referencing. I used this data to set the directions of the RC car based on the transmitted data.

The joystick's X and Y pins are connected to 2 Analog In ports on the Nano which are converted into digital data via the internal A/D converter. I used an array to store the data which can be transmitted to the RF receiver on the Arduino Mega on top of the car.

Receiving End

The Arduino Mega that is receiving the X and Y axis data is programmed to interpret the data and use conditional statements to mobilize the car based on the joystick's current position. The L293D shield is used to connect the 2 DC motors and a servo motor that came with the PiCar-V chassis.

Youtube Playlist

I will be making videos to explain my process in more depth and include live demos

Future Plans

  1. Design a PCB board for the joystick controller for better handheld control
  2. 18650 Battery integration
  3. Simple camera attached to servos that can be controlled with a 2nd joystick

About

Personal project aiming to build a remote controlled car with Arduinos and RF Modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published