使用Websockets客户端/服务器的ESP32到ESP32实时数据传输| BME680 + Arduino IDE



•全功能PCB设计,制造和组装:https://www.pcbway.com
==========
•您的支持可以帮助我更频繁地发布视频:
https://www.patreon.com/acrobotic
https://www.paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC:1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
•在以下位置找到我:

https://facebook.com/acrobotic
https://instagram.com/acrobotic
==========
•零件和耗材:
https://acrobotic.com/shop
https://amazon.com/shops/acrobotic
==========
在本视频教程中,我向您展示如何在两个ESP32之间实时发送和接收数据。我使用Websocket客户端和服务器,测量来自BME680的环境数据(温度,湿度,压力和气体浓度),并将其显示在OLED屏幕上。每个设备都连接到单独的板上,并且数据传输通过WiFi无线进行。

使用Arduino的ESP32入门:

Websockets入门:

ESP32的ACROBOTIC开发板:
https://amzn.to/2D3KiA6(关联公司)
https://amzn.to/303INZK(关联公司)
https://acrobotic.com/products/acr-00024

ACROBOTIC WeMos OLED防护罩:
https://amzn.to/2WnhdYW(会员)
https://acrobotic.com/products/acr-00011

特技WeMos Proto Shield:
https://amzn.to/2PBK2KE(会员)
https://acrobotic.com/products/acr-00009

Arduino IDE的固件:
https://github.com/acrobotic/Ai_Demos_ESP32/tree/master/two_board_comm

•该视频由PCBWay赞助

YouTube音频库中的音乐

==========
#ESP32 #Arduino #Websockets

9 comments
  1. Brilliant, great to see the final project having watched you mull over the idea of putting it together, really nice presentation and I for one love the music … I just happened to be learning a bit of MQTT -> Node-red so had a D1 mini with an SHT30 & a BH1750 light sensor up and running, so I chucked an Adafruit SSD1306 OLED on another D1 Mini and had this up and running, in parallel, without too many problems. BTW I programmed both boards OTA (just needed to pay attention to which board I was uploading to .. yep I messed up a few times lol) … Thanks again!

  2. This is perfect, I'm waiting for 2x ESP8266's to arrive, I want one to receive a signal from a wired PIR, then transmit to the other, which will light and LED and sound a buzzer.

Comments are closed.