使用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.