Программирование МК STM32. Урок 109. NRF24L01. Передаём температуру и влажность с датчика DHT22

author narod stream   5 мес. назад
663 views

57 Like   1 Dislike

Arduino + NRF24 simple tutorial and range test

This is simple tutorial on how to setup high powered version of NRF24 wireless communication module with Arduino. Setup used in this video is for range testing and is not for bidirectional communication. There are plenty of other tutorials online for more complicated setups with NRF24 modules. Source code: https://drive.google.com/open?id=0B2NzVVWFOVcvZFZYWjEzUmFmcEE Attention: There is a mistake in video, operating frequency of module is not 2.4 Mhz as declared but 2.4 Ghz. Sorry about that!

Electronic Basics #4: Arduino+Bluetooth+Android=Awesome

Twitter: https://twitter.com/GreatScottLab Facebook: https://www.facebook.com/greatscottlab Previous video:http://youtu.be/9LjfkjwMqXI Amazon.de: Bluetooth module: http://amzn.to/1f3nUyT Arduino Nano: http://amzn.to/1d4H1w1 Amazon.com: Bluetooth module:http://amzn.to/Z0FW42 Arduino Nano:http://amzn.to/1vEGMz3 Arduino Sketch: http://www.mediafire.com/download/hx9kysd5vxhxuvv/ArduinoBluetoothGreatScott!.rar Adding bluetooth to your arduino project is simple and super awesome. I will show you how to control your gadgets with your android smartphone. Music: Killing Time, Kevin MacLeod (incompetech.com) You want to support my videos? You can browse and buy tools&materials from my Amazon Store. This way I get a small commission: Amazon.de: http://astore.amazon.de/great043-21 Amazon.com:http://astore.amazon.com/gre09a-20 Amazon.co.uk: http://astore.amazon.co.uk/gre0b-21 Or you feel super generous and want to use this Amazon link as your Amazon home page. And do not worry, your purchases are all anonym and the prices are all the same: Amazon.de:http://www.amazon.de/?_encoding=UTF8&camp=1638&creative=19454&linkCode=ur2&site-redirect=de&tag=great043-21&linkId=ORZEQZEOVJAFURCZ Amazon.com:http://www.amazon.com/?_encoding=UTF8&camp=1789&creative=390957&linkCode=ur2&tag=gre09a-20&linkId=I5NDCEAVCD2OWM4S Amazon.co.uk:http://www.amazon.co.uk/ref=as_li_ss_tl?_encoding=UTF8&camp=1634&creative=19450&linkCode=ur2&tag=gre0b-21

Топ 5 наборов-конструкторов для радиолюбителя DIY kit Aliexpress

В данном видео я покажу 5 наборов для самостоятельной сборки DIY kit для электронщиков и радиолюбителей . Приборы которые нужны в основном для работы - как цифровые осциллографы и тестеры полупроводниковых элементов , так и ЛБП и паяльная станция ! Самая прелесть этих наборов - цена ! Ссылки на товары из выпуска: 1)DSO150 http://bgd.by/1wk7uu DSO150 ALiexpress http://ali.pub/1wk812 (дешевле) 2)DSO138 kit http://ali.pub/nvslr Еще один вариант (цена ниже) http://ali.pub/jqmv1 3)Кит набор паяльника покупал здесь: http://ali.pub/1ysunb Блок питания здесь: http://ali.pub/1ysup2 Алюминиевый корпус: http://ali.pub/1ysuqm Дешевле здесь: http://ali.pub/1ysusk 4)Простой ЛБП http://bgd.by/1ysuxm 5)Transistor Tester M328 (в собранном виде) http://ali.pub/1ysv4f Конструктор - на 2 доллара дешевле http://ali.pub/1ysv6y Видео по сборке и настройке DSO150 https://www.youtube.com/watch?v=ZwKnxe5h9A8&t=57s Видео по сборке и настройке DSO138 https://www.youtube.com/watch?v=RyGAMgABnUg Подписывайся на Geek каналы : ➤ VK - https://vk.com/denis_geek ➤ VK - https://vk.com/club_arduino ➤ VK - https://vk.com/chinagreat ➤ VK - https://vk.com/solar_pover ➤ VK - https://vk.com/my_vedroid ➤ VK - https://vk.com/3dprintsumy ➤ VK - https://vk.com/kryptocash_club ➤ Telegram t.me/club_arduino ➤ Facebook - https://www.facebook.com/DenisGeek ➤ Youtube - http://www.youtube.com/c/DenisGeek ➤ Instagram - https://www.instagram.com/club_arduino ➤ Официальный сайт http://www.electronica52.in.ua ★ Экономить на покупках с Алиэкспресс ★ http://ali.pub/1j9ks1 ★ Получай 10.5% скидку с любой покупки на Aliexpress! ★ http://ali.pub/1lx67o ★ Полезное браузерное приложение для кэшбэка ★ http://ali.pub/1lx637 Лучшие обзоры китайских товаров с Алиэкспресс ,Gearbest,Ebay и других магазинов. Подробные тесты , разборка , сравнение и доработка . Так же на канале есть очень много интересных технических видео . Регулярно провожу розыгрыши призов для подписчиков в своих группах ➤ VK - https://vk.com/club_arduino ➤ VK - https://vk.com/chinagreat На канале проводятся уроки по Ардуино / Arduino; разбираем программирование, подключение датчиков, модулей, дисплеев, двигателей; создаём различные проекты и устройства на ардуино.

ESP32 Review: Using the ESP32 with the Arduino IDE

In this video we review the ESP32, the successor of the popular ESP8266! Without any further delay, let's get started! Hello guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. You can subscribe to our channel by clicking on this button. Today I am very excited because we are going to see this new board which uses the new ESP32 chip and we are going to learn how to program it using the Arduino IDE. The ESP32 chip will be the heart of most of the projects we are going to build in the near future because it offers everything we need in one low-cost solution! -------------------- WHERE TO BUY -------------------- ESP32 Board: http://educ8s.tv/part/ESP32 OLED USB Doctor: http://educ8s.tv/part/UsbDoctorOLED Small Breadboard: http://educ8s.tv/part/SmallBreadboard Power Bank: http://educ8s.tv/part/Powerbank Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support! Let's now take a look at the heart of the board the ESP32 chip. I have created a simple table in order to be easier to see the most important features of this chip. As you can see, this chip is Dual Core! It offers two 32Bit Processing Units. One is responsible for the WiFi connectivity and the other one is available for executing our code! The typical frequency of the CPU cores is 160MHz which is double than the operating frequency of the ESP8266. The chip also offers WiFi and Bluetooth connectivity, 512KBs of RAM memory, up to 16MBs of flash memory, 36 GPIO pins, SPI, I2C, UART, I2S busses, up to 18 12Bit ADCs, 2 8Bit DAC, hardware encryption cores, temperature sensor, touch sensor, a Hall sensor and many more things. These specifications sounds impressive but let's compare them to the specifications of the ESP8266 and those of the Arduino Uno. Now you can clearly tell why I am so excited with the ESP32 chip. The ESP32 offers two 32bit processors which operate at a frequency which is 10 times faster than the frequency of the single 8 bit CPU of the Arduino Uno. The ESP32 offers 512KBs of RAM memory compared to the 2KBs of RAM that the Arduino Uno offers. The Flash memory the ESP32 offers is also impressive. Up to 16MBs! In addition to that, the ESP32 chip offers WiFi and Bluetooth connectivity out of the box! Even the ESP8266 compared to the new ESP32 looks so outdated! We get all that with a cost of about 20$! Let's now see how to setup the Arduino IDE in order to use the new board with it. Since the first ESP32 boards just arrived, the software and hardware options we have are not very mature. So, in order to use this ESP32 board with the Arduino IDE we need to follow this procedure. We have to download and install the latest version of the Arduino IDE, we need to install Python 2.7 and GIT. After that we need to execute some commands and we are ready. -------------------- INSTALLATION INSTRUCTIONS -------------------- 📥 https://github.com/espressif/arduino-esp32 -------------------- FACT OR FICTION 2018 Quiz Game -------------------- You can download my latest Android Game which is called Fact or Fiction 2018 here: 📥 http://bit.ly/FactOrFiction2018 -------------------- MORE PROJECTS -------------------- Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0 -------------------- ABOUT EDUC8S.TV -------------------- Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information: http://www.educ8s.tv -------------------- SUBSCRIBE ON YOUTUBE -------------------- Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s

Arduino Project: Wireless Weather Station using Arduino Due, DHT22 sensor and NRF24L01+ modules!

In this Arduino Project video we build a Wireless Weather Station using the fast and powerful 32bit Arduino Due board. We measure the temperature and the humidity with a couple of DHT22 sensors and we communicate with the remote sensor using the 2.4GHz NRF24L01+ module. Let's see how to build this project! Today's project is this. A Wireless Weather Station with a big 3.2" Color TFT display. As you can see, the project is up and running, and it displays the current date and time, the indoor temperature and humidity, and the outdoor temperature and humidity. The readings of the outdoor sensor are updated every second in order to demonstrate that we have a reliable communication link established with the transmitter which is outside at a distance of 5m. The readings of the indoor sensor are updated once every minute. The heart of the project is the fast Arduino Due, and as you can see there is no flickering of the screen when the values are updated. Let's now see the transmitter. The transmitter is much simpler. It consists of an Arduino Nano, a DHT22 sensor and the NRF24L01 wireless transceiver module. The transmitter reads the temperature and the humidity every second, and sends them to the receiver via the NRF24L01 module. This is a one way communication link, we don't know if the receiver actually receives the data, but we send new data every second, so in case we miss a package we are going to receive another one soon. Let's now see how to build this project. The parts needed for this project are these: -------------------- WHERE TO BUY -------------------- Arduino Due: http://educ8s.tv/part/ArduinoDue Arduino Mega: http://educ8s.tv/part/ArduinoMega Arduino Nano: http://educ8s.tv/part/ArduinoNano 3.2" TFT display: http://educ8s.tv/part/32TFT DHT22: http://educ8s.tv/part/DHT22 NRF24L01: http://educ8s.tv/part/NRF24L01 DS3231 RTC: http://educ8s.tv/part/DS3231 Small Breadboard: http://educ8s.tv/part/SmallBreadboard Wires: http://educ8s.tv/part/Wires Header Pins: http://educ8s.tv/part/HeaderPins Xiaomi Powerbank: http://educ8s.tv/part/Powerbank Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support! -------------------- LIBRARIES -------------------- DISPLAY: https://github.com/Bodmer/TFT_HX8357_Due NRF24L01: https://github.com/TMRh20/RF24 DHT22: https://github.com/adafruit/DHT-sensor-library DS3231: https://github.com/SodaqMoja/Sodaq_DS3231 -------------------- CODE OF THE PROJECT -------------------- http://educ8s.tv/arduino-wireless-weather-station/ -------------------- FACT OR FICTION 2018 Quiz Game -------------------- You can download my latest Android Game which is called Fact or Fiction 2018 here: 📥 http://bit.ly/FactOrFiction2018 -------------------- MORE PROJECTS -------------------- Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0 -------------------- ABOUT EDUC8S.TV -------------------- Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information: http://www.educ8s.tv -------------------- SUBSCRIBE ON YOUTUBE -------------------- Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s -------------------- Physics Experiments Puzzle Game -------------------- You can download my latest Android Game which is called Incredible Physics Experiments here: 📥 http://bit.ly/IncredibleExperiments -------------------- MORE PROJECTS -------------------- Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0 -------------------- ABOUT EDUC8S.TV -------------------- Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information: http://www.educ8s.tv -------------------- SUBSCRIBE ON YOUTUBE -------------------- Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s

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

Модуль NRF24L01+ с антенной можно купить здесь http://ali.pub/24yj84
Модуль NRF24L01+ без антенны можно купить здесь (целых 4 штуки) http://ali.pub/24yjfw
Адаптер для NRF24L01 5 штук http://ali.pub/2a1pxl
Датчик влажности и температуры DHT22 можно приобрести здесь http://ali.pub/28jvbl
Отладочную плату 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:10 Введение
03:07 Наша схема
05:55 Настроим и подправим под новые условия проект предатчика
10:30 Проверим считывание показаний с датчика
12:17 Поработаем над проектом для приёмника
19:30 Проверим результат нашей работы.

Рекомендуется также перед просмотром данного урока просмотреть данное видео:
Распаковка и тестирование отладочной платы на микроконтроллере 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
Урок 105. NRF24L01. Передаём данные. Часть 2 https://youtu.be/8-0a3FhVNIo

Текстовая версия урока и исходный код здесь http://narodstream.ru/stm-urok-109-nrf24l01-peredayom-vlazhnost-i-temperaturu-s-datchika-dht22/

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

Вы можете помочь проекту:
Яндекс-деньги
https://money.yandex.ru/to/41001176473465
Webmoney
R422073279923
Z341906933112

Comments for video: