Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2493

General discussion • Re: Sending data from ESP32 to Raspberry Pi4 WITHOUT MQTT

$
0
0
Hi guys, right now I have a few ESP32's exchanging data via ESP-NOW, the data all accumulates at the "master " ESP32, and this data needs to be sent to my Raspi. (Data in question are sensor readings)
I can't use MQTT as my workplace only has 5GHz (which is incompatible with ESP32), so are there any other options that are available for me?
Is it possible to send the data serially through GPIO connections?


"Is it possible to send the data serially through GPIO connections?"

Yes. Prior to the invention of Local Area Networks based on technologies such as Ethernet, and later on the advent of wireless networking, serial connections were the way all networks were built.



But why not use wireless? If you have considered it and discounted it, your unspecified Raspberry Pi board probably has a built-in wireless network interface? In which case you can configure your RPi board to act as your own private wireless 'hotspot.' So if your ESP boards have wireless (which they probably need to exploit ESP-NOW) then you can make your own wireless network between an ESP and your RPi. And then you can make use of MQTT as you originally planned.


(Your workplace may have IT or Networking Codes of Conduct or Acceptable Use that preclude setting up private networks.)

Statistics: Posted by B.Goode — Tue Apr 23, 2024 1:51 pm



Viewing all articles
Browse latest Browse all 2493

Trending Articles