Arduino Remote Control Car (w/ Nrf24l01 and L298n)

Introduction: Arduino Remote Control Car (w/ Nrf24l01 and L298n)

Hey! Do you want make own your remote control car?

We will use this parts;

1- 2 pcs Arduino

2- 2 pcs Nrf24l01+with antenna

3- l298n motor driver

4- Some batteries

5- 2 axis joystick

and of course a car..:)

Step 1: COMMAND PINS

First of all we will connect true pins;

For command;

CE=7

CSN=8

SCK=13

MOSI=11

MISO=12

GND= GND

VCC= 3.3V

(JOYSTICK)

VRX=A0

VRY=A1

GND=GND

VCC(+5V)=5V

see next step..

Step 2: CAR PINS

PINS ON THE CAR;

CE=7

CSN=8

SCK=13

MOSI=11

MISO=12

GND= GND

VCC= 3.3V

(L298N)

PIN1:D5

PIN2:D6

PIN3:D7

PIN4:D8

(You know; you must connect l298n's gnd to arduino's gnd)

Step 3: Code for Controller;

YOU MUST HAVE RF24 LİBRARY

Step 4: CODE for Car

You should upload this code to your second arduino..

Attachments

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    9 Discussions

    1
    BOY MECHANIC
    BOY MECHANIC

    1 year ago

    hey bro you need to change your PIN numbers i.e modify the code

    1
    pavanR21
    pavanR21

    3 years ago

    sir i'm unable to drive it forward and backward.the motor is not going forward and backward

    0
    PietroR4
    PietroR4

    Reply 2 years ago

    Me neither. The final code provided is not working. Can you check it again?

    THX

    1
    chrispbacon72
    chrispbacon72

    3 years ago

    not sure i understand... those car pins are overlapping (7,8). is that correct?

    0
    Swansong
    Swansong

    3 years ago

    Looks fun :)

    0
    ensarlevent
    ensarlevent

    Reply 3 years ago

    Thank you

    0
    Handy_Bear
    Handy_Bear

    3 years ago

    Super!

    0
    ensarlevent
    ensarlevent

    Reply 3 years ago

    Thanks..