ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

NRF24L01 Arduino Tutorial - Wireless Communication

Arduino

wireless

nrf24l01

transmitter

receiver

communication

antenna

radio

2.4g

tutorial

diy

how to

NRF24L01 Arduino Tutorial - Wireless Communication

superb tech

Автор: Superb Tech

Загружено: 2020-04-11

Просмотров: 37003

Описание: NRF24L01 Arduino Tutorial - Wireless Communication


in this video we will see how to use the nrf24l01 to communicate wirelessly with 2 arduino boards

first we will have an overview of the features of the nrf24l01
then we will test the module with an example code
in example 1, we will send a Hello World Message over 1 board to another

in the second example, we will control a led bulb on the uno using button on the nano,
and simultaneously control a servo motor on the nano using a joystick on the uno.

Code and Schematic Link:
https://bit.ly/34qNUqA

the nrf24l01 is a rf transciever module, which means a single module works as both transmitter and receiver

it operates at a frequency of 2.4 ghz, which is one of the ISM band,
meaning it is open to use in most countries

the operating voltage is 1.9-3.6v, but the logic pins are 5v tolerant, so it can work with arduino

it has a baud rate or transfer rate of 250kbps to 2mbps

it has a maximum range of 100 metres, but works upto 60 metres in real conditions

it has 125 channels, meaning it can have a network of 125 transcievers at the same time

the power consumption during transmission is around 13mA

it uses SPI communication protocol

now lets see the connection

you have to connect the MOSI, MISO, SCK pins to the SPI pins of the arduino.
different arduinos have different pins for SPI. you can check the wiring diagram.

the SCN and CE pins can be connected to any digital pins of the arduino

we are using this IC socket base for the module, which has a power regulator and parallel capacitor
for safety.
you can have any input voltage in this socket base.

the last pin is an interrupt pin which is not used.

once we have connected the modules to the arduino, we can proceed to upload the code.

first we need to download the rf24 library. you can find the download link below.

we need to include the spi, nrf24l01 and rf24 libraries

we then define the ce and csn pins connected to the rf module.

and we define a 6 character address to the module, which is same of the receiver

with the radio.begin command, we initiate communication between the modules.
with the radio.openwritingpipe/reading pipe, we enable the module to transmit or receive data.
with the radio.start/stoplistening command, we begin reading any incoming data on the module.

you can find the codes in the description below.

now lets check the serial monitor to see the incoming message.

in our second example, we control a servo motor on the nano using a joystick on the uno,
and we control an led bulb on the uno with a button on the nano.

you can find the code for it in the descriotion below.

i have used my portable power supply to power the circuit as the servo consumes high current

as you can see i am able to control the servo and led.

hope you enjoyed the video. do let me know your views in the comment below.


Solder Iron i Use: http://bit.ly/2GSArih

Helping Hand Magnifier: http://bit.ly/2Uh11oe

arduino uno Micro USB: http://bit.ly/aRdUiNo


also do check out these cool 3d Printers:

Creality Ender 3 pro : http://bit.ly/36m1POI
Creality CR-10s pro: http://bit.ly/2QmqU6z

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
NRF24L01 Arduino Tutorial - Wireless Communication

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Подключение и настройка nRF24L01 к Arduino (модуль беспроводной связи)

Подключение и настройка nRF24L01 к Arduino (модуль беспроводной связи)

Wireless Communication via nRF24L01 Modules

Wireless Communication via nRF24L01 Modules

NRF24 Frustration - Radio module doesn't work?

NRF24 Frustration - Radio module doesn't work?

All About nRF24L01 Modules

All About nRF24L01 Modules

NRF24L01 Tips and Tricks - Cheap and Easy Wirless

NRF24L01 Tips and Tricks - Cheap and Easy Wirless

Юрий Швец: Удар США по Ирану | Тегеран: ждите ответа | Путин в бункере оттягивает свой конец /№966/

Юрий Швец: Удар США по Ирану | Тегеран: ждите ответа | Путин в бункере оттягивает свой конец /№966/

How To Use nRF24L01 with Arduino | Wireless Transmitter and Receiver using nRF24L01

How To Use nRF24L01 with Arduino | Wireless Transmitter and Receiver using nRF24L01

Arduino Wireless Communication – NRF24L01 Tutorial

Arduino Wireless Communication – NRF24L01 Tutorial

Which radio module? NRF24, LoRa, CC1101, HC12, 433MHz, HC05

Which radio module? NRF24, LoRa, CC1101, HC12, 433MHz, HC05

Control Servo Motor with Joystick - Arduino Tutorial

Control Servo Motor with Joystick - Arduino Tutorial

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]