Программирование МК STM32. Урок 105. NRF24L01. Передаём данные. Часть 2

author narod stream   9 мес. назад

62 Like   1 Dislike

How To Build an Arduino Wireless Network with Multiple NRF24L01 Modules

$2 for 10 PCBs (100*100mm) https://jlcpcb.com Circuit diagrams, source codes and more details here ► https://howtomechatronics.com/tutorials/arduino/how-to-build-an-arduino-wireless-network-with-multiple-nrf24l01-modules/ In this tutorial we will learn how to build an Arduino wireless network, composed of multiple NR24L01 transceiver modules. Thanks to JLCPCB for sponsoring this video. Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos: ► http://howtomechatronics.com/ Like my page on Facebook: ► https://www.facebook.com/howtomechatronics Add me on Google+: ►https://plus.google.com/+Howtomechatronics Music: MÆSON - The Catch (https://soundcloud.com/maeson-1/tracks)

ESP32 WiFi Range Testing - 10km using Directional Antenna

How to send arbitrary data by exploiting a function in ESP32's WiFi Stack: https://github.com/Jeija/esp32free80211 Consumer grade WiFi hardware being able to decode down to "femtowatts" of signal strength might be a bit exaggerated, but e.g. the USB WiFi adaptor in this video has a receiver sensitivity of -99dBm @1Mbps which is approx. 100fW. If we count the directional antenna as part of the receiver and add the antenna gain to that figure (this part of the calculation is somewhat disputable), we get the less-than-femtowatts mentioned in the video. English subtitles for this videos are available, translations are always welcome! The camera recording code is based on igrr's esp32-cam-demo: https://github.com/igrr/esp32-cam-demo More speifically, I'm making use of the modified version by Oitzu with OV2640 JPEG support: https://github.com/Oitzu/esp32-cam-demo/commits/ov2640-jpeg-playground The animations in this video were created using 3blue1brown's amazing manim software (https://github.com/3b1b/manim). Check out some of his mathematical videos on his channel: https://www.youtube.com/3blue1brown If you like animated math videos, this video of mine might also be of interest to you: https://www.youtube.com/watch?v=joFWr3JzBOI

STM32 dev board first steps (linux)

Dev board: http://goo.gl/qa43Aa STLink flasher tool: http://goo.gl/QRV02P Useful connections info: https://goo.gl/uIBbdk stink source: https://github.com/texane/stlink Setting up ARM tools in Fedora: https://goo.gl/p7wenQ

#73 nRF24L01 Send (and receive) data with your Arduino!

New! https://ralphbacon.blog Use your Arduino to transmit (and receive) data reliably with this easy-to-use module. The nRF24L01 module achieves this beautifully - and with the excellent RF24 library from TMRh20 we can do just about anything you might think of. However, in this absolute beginners' guide, we just scratch the surface but still managed to produce a useful transmit and receive sketch (originally taken from the above library but simplified even further). The nRF24L01+ boards (but available in many places): https://www.amazon.co.uk/dp/B010N32X3U The breakout board that prevents power-related issues: https://www.amazon.co.uk/gp/product/B00NJCB7FS The library I use is very mature, s/he has several others too. See his/her homepage here, choose the RF24 library as I showed in the video. https://github.com/TMRh20 or a copy from here: https://github.com/RalphBacon/nRF24L01-transceiver or here https://github.com/nRF24/RF24 (thanks Ed19601) Note that there are several good nRF24L01 libraries available out there. If you use another one bear in mind that the pin connections will be different. I chose the one above as it seemed to give us Arduinites a decent interface to the nRF24L01 module without too much mucking around. My sketches (one for receive, one for transmit) even though both do actually transmit anyway (remember that each module will automatically acknowledge receipt of data unless you specifically switch off that capability - why would you do this?). IMPORTANT NOTE: thanks to the Eagle Eyes of Arduinite viewer whitefields5595 please remember that pin 10, although not connected to the nRF24L01+ in this demo must NOT be used as a general purpose IO pin - it remains the standard CS pin of the SPI bus - and if that doesn't mean much just remember to leave pin 10 on your Uno or Nano unconnected whilst running this sketch! ------------------------------ DOWNLOAD HERE ------------------------------ https://github.com/RalphBacon/nRF24L01-transceiver --- click the Download button and choose the zip file, unzip and place each sketch in its own folder (of the same name as the sketch) in your usual Arduino sketches folder. If you like this video please give it a thumbs up, share it and if you're not already subscribed please do so :) My channel is here: ------------------------------------------------------------------ https://www.youtube.com/c/RalphBacon ------------------------------------------------------------------ How can I remember this? Memory tip: "See" Ralph Bacon, geddit?

Arduino Wireless Communication – NRF24L01 Tutorial

https://howtomechatronics.com/tutorials/arduino/arduino-wireless-communication-nrf24l01-tutorial/ ► Find more details, circuit schematics and source codes on my official website. In this Arduino tutorial we will learn how to make a wireless communication between two Arduino boards using the NRF24L01 transceiver module. Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos: ► https://howtomechatronics.com/ Like my page on Facebook: ► https://www.facebook.com/howtomechatronics Add me on Google+: ►https://plus.google.com/+Howtomechatronics Music: Aduro by Jens Kiilstofte (machinimasound.com/music)

Продолжаем работать с модулем NRF24L01 (NRF24L01+), который предаёт данные беспроводным способом.
В этом уроке мы попробуем уже использовать данные модули по их прямому назначению, то есть мы попробуем передать с помощью них какие-то данные с передатчика на приёмник.
В качестве передатчика у нас будет использоваться та же схема, которая была в уроке 103, а в качестве приёмника мы соберём другую схему на плате NUCLEO STM32F401RE.
В данной части урока мы создадим и настроим проект для приёмника и проверим данных от передатчика приёмнику на практике.

Модуль NRF24L01+ с антенной можно купить здесь http://ali.pub/24yj84
Модуль NRF24L01+ без антенны можно купить здесь (целых 4 штуки) http://ali.pub/24yjfw
Отладочную плату STM32F103C8T6 можно купить здесь http://ali.pub/1jgc7
Отладочную плату Nucleo STM32F401RE можно приобрести здесь http://ali.pub/1u80dx
Переходник USB to TTL ftdi ft232rl можно приобрести здесь http://ali.pub/yv3is
Программатор недорогой ST-Link V2 можно купить здесь http://ali.pub/pwzj8
Индикатор светодиодный восьмиразрядный с драйвером MAX7219 можно приобрести здесь http://ali.pub/1mflzq

Навигация по видео:
00:09 Введение
00:36 Посмотрим схему приёмника на практике
03:33 Создадим проект для приёмника в Cube MX
06:55 Сгенерируем проект для Keil, откроем и настроим его
07:09 Подключим и настроим библиотеку для модуля NRF
09:37 Подключим и настроим библиотеку для восьмиразрядного индикатора
13:22 Добавим функцию приёма данных
17:18 Добавим вызов функции приёма данных в бесконечный цикл и проверим передачу данных от передатчика приёмнику на практике.

Рекомендуется также перед просмотром данного урока просмотреть данное видео:
Распаковка и тестирование отладочной платы на микроконтроллере stm32f103rct6 https://youtu.be/0YVPIruMz_s
Урок 38. Плата NUCLEO STM32F401RE и оценочные платы https://youtu.be/L-ta_BhW6CU
Урок 103. Модули NRF24L01. Часть 1 https://youtu.be/PSA2wuOLeQw
Урок 103. Модули NRF24L01. Часть 2 https://youtu.be/FM1vTW7cTHE
Урок 103. Модули NRF24L01. Часть 3 https://youtu.be/mZaIZMNlrrE
Урок 103. Модули NRF24L01. Часть 4 https://youtu.be/0UzfO0j-438
Урок 105. NRF24L01. Передаём данные. Часть 1 https://youtu.be/nw6t36U9u64

Текстовая версия данной части урока и исходный код здесь http://narodstream.ru/stm-urok-105-nrf24l01-peredayom-dannye-chast-2/

Группа в контакте http://vk.com/club116656325
Группа в Одноклассниках http://ok.ru/group/52987126153436
Группа в Facebook https://www.facebook.com/groups/236905359999556/
Мой сайт "Программирование МК" http://narodstream.ru/
Форум http://narodstream.ru/forum/

Вы можете помочь проекту:

Comments for video: