Make it mech
  • Home
  • How & Why
    • Arduino
    • Leapmotion with arduino
    • Sensors/Modules
    • Basic Electronics
    • NodeMcu
    • LabView
    • MATLAB
    • Industrial Automation
  • Projects
    • arduino projects
    • Brain Wave Decoder
    • Circuit Diagrams
    • Electrical
    • IEE Projects
  • Ideas
  • Videos
  • Arduino
  • Robotics
  • Circuits
  • Electrical
  • LeapMotion
  • EEG
  • IOT
  • LabView
  • MATLAB
  • NodeMcu
  • Mechatronics
  • Sensors
  • Motivation
  • Soft skills
  • Success
Make it mech
Home arduino projects

Easy Steps to make Wireless remote control robot using nrf and arduino

Kane Dan by Kane Dan
September 3, 2021
in arduino projects, Projects, Robotics
How to design a Robot | Omnidirectional robot | Robot design

Nrf and Arduino based robot project is based upon nrf wireless module. The project is about how to make a robot at home with remote control wireless. Nrf is a wireless module used for two way wireless communication. It is used for engineering robot projects and for many other nrf applications. We will discuss robotics projects using Arduino and nrf in this post.


Arduino Wireless Remote control Robot


A wireless controlled Omani directional robot. A wireless controlled robot can be used in many ways. I made this for playing a soccer because there was an event of soccer playing robots in my Institute. It’s quite easy to communicate between two Arduino’s using nRF 24L01+ module.

Related posts

220v ac to 12v dc power supply

220v AC to 12v DC Power Supply Step by Step Project

May 9, 2021
Top 10 Arduino Based Projects For Final Year Students | Arduino project ideas

10-Cool Arduino projects of all time | Arduino based Projects List

May 9, 2021

There are few simple steps to make Omani directional wireless controlled the robot. First thing is to make it wireless controlled then turn it to soccer, pick and place, cleaning or any other purpose whatever you want.


01: Components Required


Mechanical:

  • An acrylic or aluminum chassis
  • 4x DC Geared motors
  • 4x Omni wheels

Electronics:

  • 2x Arduino Uno
  • 2x nRF 24L01+ module
  • 2x L298 H-bridge module
  • jumper wires
  • battery

There are three components in mechanical section. First thing is to make a base I used four aluminum sheets (28cm diameter) and these were much costly. We can also use two acrylic sheets. We can use already made robotics kits but for making soccer robot we need a little much bigger size so I will prefer you to make it your own. Make a sketch design in solids works or sketch up. These are the best software in 3D designing.

The four DC Geared motors needed I used around 350 RPM, and 4 Omani wheels these were I bought from online store. I used 12 volt 5A battery. Two Arduino Uno boards will be used for wireless communication with each other.

nRF24lo1+ is the best choice for wireless communication and it has a very good range. But remember it works on 3-volt.i will not explain much about the components here but you can read about it on google or Wikipedia etc.


02: Pin out Configuration making transmitter(TX) and receiver(RX)


See the figure about Pinout configuration of Nrf with Arduino and the H-Bridge pin configuration.

nrf with arduino

 

The second step is the pin out configuration of nRF24L01+ with Arduino. we have to make one one nRF module TX and other Rx.

Here is the pinout of nRF24l01+ as you can see in the figure.
1-GND
2-VCC
3-CE
4-CSN
5-SCK
6-MOSI
7-MISO
8-IRQ

First, make the Transmitter part (TX):

Before connecting with Arduino don’t forget to add a capacitor at both the ends of TX and RX of nRF between the pin VCC and GND. Connect a 50 Uf or higher Capacitors with both modules because sometimes they will not work properly. The TX will send but RX will not receive. Connect CE and CSN in 7 and 8 SCK and MOSI in 11 and 12 MOSI in 13 GND and VCC in 3V

See the photos for the pinout of RX and H-bridge:
Connect the h-bridge with motors and enable pins in PWM pins on Arduino and others with any digital pin of Arduino.


03: Assembling and Coding


Once you complete assembling of parts there comes the main part that is programming. Start with initializing as according to your pin out Arduino board with nRF and h-bridge. Don’t forget to add the library for nRF. The library file is attached.

04: Arduino Code


#include
#include "nRF24L01.h"
#include "RF24.h"
const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0D2LL };
// 13 is SCK on nRF
// 12 is MISO on nRF
// 11 is MOSI on nRF
// 10 is CSN on nRF
RF24 radio(9,10); // 9 is CE on nRF

 


After initialization there is a pipeline between two Arduino’s it should be the same on both transmitter and receiver. now initialize the radio and it will begin the conversation between two pipelines.


void setup(void)
{Serial.begin(9600);
radio_initialize();
Serial.println("RADIO STARTED");}
Now in loop function it checks if receiving serial available then it will start sending data.
char data[] = "1";
void loop()
{ if(millis()%1000==0)
{ data[0]++;
Serial.print("Sending: ");
Serial.print(data[0],DEC);
bool ok = radio.write( data, 2 );
if (ok) Serial.println("oknr");
else Serial.println("failednr");
if(data[0]=='6') data[0]='1'; } }
void radio_initialize(void)
{ radio.begin();
radio.openWritingPipe(pipes[1]);
radio.openReadingPipe(1,pipes[0]);
radio.startListening(); }

 


Don’t just copy and past .it will only work according to your connections. I hope you will understand the code easily if you are aware about the Arduino’s coding. Here is the sample code for both Tx and Rx. Now open the serial monitor in both Tx and Rx side and send 1 from Tx and it will receive on Rx serial monitor window.as it is for other number we initialize 1 in the code for forward function now initialize 2 for back and so on.

I hope you understand how to communicate between two Arduino’s. the main purpose is to make the wireless controlled once it’s done add whatever you want. Now we can use it in many ways…have fun…!!!

I have covered this topic in another post of making soccer robot so you can get the additional information from it. See the similar posts on how to make a robot for RoboCup and how to control it from keyboard or joystick. If you have any query then comment below and subscribe to our YouTube channel for Video Tutorials.

Tags: soccer robot projectwireless remote control robot project
Previous Post

How to design a Robot | Omnidirectional robot | Robot design

Next Post

PID algorithm implementation (PID Controlled Line Following Robot)

Related Posts

220v ac to 12v dc power supply
Basic Electronics

220v AC to 12v DC Power Supply Step by Step Project

May 9, 2021
Top 10 Arduino Based Projects For Final Year Students | Arduino project ideas
arduino projects

10-Cool Arduino projects of all time | Arduino based Projects List

May 9, 2021
Top 10 Robotic Competitions in the World | Tech Event Ideas
Ideas

Robotic Projects for Useful Applications | Final Year Robot Project ideas

May 9, 2021
robotic event ideas
Ideas

Top 10 Robotic Competitions in the World | Tech Event Ideas

May 10, 2021
Top 10 Arduino Based Projects For Final Year Students | Arduino project ideas
Arduino

Top 10 Arduino Based Projects For Final Year Students | Arduino project ideas

May 10, 2021
Mechatronics Projects for Final Year students with Industrial Aspect
Ideas

How Robots are Used in daily life | Robotic applications in human life

May 10, 2021
Next Post
pid

PID algorithm implementation (PID Controlled Line Following Robot)

BROWSE BY CATEGORIES

  • Arduino (9)
  • arduino projects (7)
  • Basic Electronics (2)
  • Brain Wave Decoder (11)
  • Breadboard Circuits (1)
  • Circuit Diagrams (5)
  • Circuits (3)
  • EEG (11)
  • Electrical (2)
  • How & Why (1)
  • Ideas (9)
  • IEE Projects (2)
  • Industrial Automation (1)
  • Inspiration & Motivation (3)
  • IOT (3)
  • LabView (3)
  • Leapmotion with arduino (5)
  • MATLAB (1)
  • Mechatronics (7)
  • NodeMcu (1)
  • Projects (11)
  • Robotics (9)
  • Self Learning (3)
  • Sensors/Modules (6)
  • Soft skills (2)
  • Success (2)

Contact us

Email: marketing[at]shantelllc.com

Recent News

  • How & Why to Use DC Motors | How DC Motor Works
  • 220v AC to 12v DC Power Supply Step by Step Project
  • Battery Level Indicator Circuit With Low Charge Alarm | Inverter Battery Circuit
  • Privacy Policy
  • About Us
  • Contact Us

© 2023 Make it mech - All Rights Reserved

No Result
View All Result
  • Home
  • Politics
  • News
  • Business
  • Culture
  • National
  • Sports
  • Lifestyle
  • Travel
  • Opinion

© 2023 Make it mech - All Rights Reserved

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Go to mobile version