🤩 FREE Arduino Crash Course 👇👇
https://bit.ly/get_Arduino_skills
***Want to have some fun programming your own electronics?***
https://bit.ly/3xosSID
00:00 Introduction
01:11 What is ESP-Now?
02:17 ESP-Now network designs
02:59 ESP-Now example with esp32 and esp8266s
03:51 Example sketches for tx to multiple rx
05:13 Connecting ESP32 boards to Arduino IDE
06:47 ESP-Now transmitter sketch for esp32
08:47 ESP-Now receiver sketch for ESP-Now
12:06 esp32 and esp8266 header file errors
13:45 ESP_OK to ERR_OK error
16:23 esp_now_register_receive_cb error
***Get the code, transcript, challenges, etc for this lesson on our website***
https://bit.ly/3qIn75a
Set up ESP32 with Arduino IDE:
https://youtu.be/b01l9O43t5Y
Get link for Arduino preference board manager from this Espressif webpage:
https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-boards-manager
Unexpected Maker ESP32 Dev Board (Adafruit)
https://www.adafruit.com/product/4769
ESP32 Thing (SparkFun)
https://www.sparkfun.com/products/13907
ESPNOW API Reference:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_now.html
ESPNOW User Guide:
https://www.espressif.com/sites/default/files/documentation/esp-now_user_guide_en.pdf
***We designed this circuit board for beginners!***
Kit-On-A-Shield:
https://amzn.to/3lfWClU
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook:
https://www.facebook.com/ProgrammingElectronicsAcademy/
Twitter:
https://twitter.com/ProgElecAcademy
Website:
https://www.programmingelectronics.com/
________________________________
- [Mike] Do you wanna build a network of wireless sensors using EPS32s and ESP8266s, all mixed together? In this lesson, I'm gonna demonstrate using ESP-Now with EPS32s and ESP8266s. What I'll show you is a way of taking an existing sketch that's used with ESP32s and change it, make some simple modifications, so that you can use it with the ESP8266s. This example sketch even comes pre-installed with the Arduino IDE when you get it set up for using ESP boards. By the end of this lesson, you're gonna know the exact sketch that I'm talking about, and the tiny changes in the sketches that are gonna make all the difference. Let's go. Well, before we dive in, I'd really appreciate if you could take a moment and click that subscribe button. It doesn't cost you but a click, but it really helps us grow our YouTube channel and bring you great content like this. Also, if at any point, while you're watching this video and you're thinking like, "What is this guy talking about?" please take a moment and ask a question in the comments. I do my very best to answer all the questions I can. All right, so let's jump into this. First off, I wanna make sure that we're on the same page. I'm assuming if you're watching this, you know what an ESP8266 and an ESP32 board is. But if you don't, just real quick, these boards are WiFi-enabled microcontrollers made by a company called Espressif. They're super cheap, and they can be easily programmed using the Arduino IDE. For this reason, they've made a huge splash for newer folks who want to build really cool wireless applications for hardware devices without some huge learning curve. So those are what ESP boards are. You probably already know that. But what is ESP-Now? You might be thinking that, since we're talking about all these cool WiFi-enabled microcontrollers, that ESP-Now would have something to do with WiFi. But actually, ESP-Now is a different protocol developed by Espressif, which enables multiple ESP devices to communicate to one another without using WiFi. It's a wireless protocol that's similar to like a low-power, 2.4 gigahertz wireless connectivity that is often used in wireless mouses. Using ESP-Now, you can design a network of ESP devices that can communicate in a huge variety of ways. For example, you can set up a network so that you've got a transmitter transmitting to one receiver, or you could set up a network where you have a transmitter transmitting to multiple receivers, or you could have a bunch of transmitters transmitting to a single receiver, or, you know, it can be like a cocktail party and everybody's just talking to each other. Now, what I'm gonna demonstrate is having my ESP32 transmitting data to a
CONTINUED...
https://bit.ly/3qIn75a
***About Us:***
This Arduino lesson was created by Programming Electronics Academy. We are an online education company seeking to help people learn about electronics and programming through the ubiquitous Arduino development board.
***We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.***
Тэги:
#Arduino #Arduino(Brand) #Arduino_Tutorial #Arduino_Lesson #Open_Source_Hardware_Group #Learning_Arduino #Microcontrollers #Electronics #Arduino_IDE #Arduino_Sketch #Computer_programming #C++ #Programming_Electronics_Academy #esp #esp32 #esp8266 #iot #esp-now_tutorial #esp_now #esp-now_with_esp32_explained #esp32_exchange_data_between_boards_esp-now #esp32_tutorial #esp32_arduino #esp_now_esp32 #arduino_esp8266 #arduino_programming #esp-now_guide #esp_now_tutorial #esp_now_led