Hi,
I was wondering how can i get data from my sensors which are linked to my ESP32 DevKit and then send it to my raspberry pi to treat these data.
I'm currently trying to work with the examples i2C and Ble_adv to solve the issue but i don't really see how can i make that.
If anyone has an idea that's would be great
Louis
Get data from ESP32 using I2S
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: Get data from ESP32 using I2S
Hi
I suppose in the title you meant "i2c" and not "i2s"... anyway if I undestood correctly your question:
sensors --(i2c)--> esp32 --(???)--> raspberry
there are a lot of different ways to make the esp32 chip "talk" with your raspberry... personally I'd use MQTT, installing an MQTT broker (Mosquitto...) on your Raspberry but of course you can also use HTTP (REST interface...)...
I suppose in the title you meant "i2c" and not "i2s"... anyway if I undestood correctly your question:
sensors --(i2c)--> esp32 --(???)--> raspberry
there are a lot of different ways to make the esp32 chip "talk" with your raspberry... personally I'd use MQTT, installing an MQTT broker (Mosquitto...) on your Raspberry but of course you can also use HTTP (REST interface...)...
Re: Get data from ESP32 using I2S
Hi,
Yes that's what I meant sorry.
And instead of MQTT (with seams to take a lot of energy) may I use BLE? I want to design an Iot and maximize its lifespan with one battery. Send data with a BLE GATT seemed more accurate ? that's what I red on the internet i think
Thanks a lot for your fast response
Yes that's what I meant sorry.
And instead of MQTT (with seams to take a lot of energy) may I use BLE? I want to design an Iot and maximize its lifespan with one battery. Send data with a BLE GATT seemed more accurate ? that's what I red on the internet i think
Thanks a lot for your fast response
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: Get data from ESP32 using I2S
Hi!
yes of course you can use BLE to transfer data between esp32 and raspberry... on the internet there are plenty of examples of using Raspberry as a BLE "server", like:
https://www.hackster.io/inmyorbit/build ... ble-7a7c2c
yes of course you can use BLE to transfer data between esp32 and raspberry... on the internet there are plenty of examples of using Raspberry as a BLE "server", like:
https://www.hackster.io/inmyorbit/build ... ble-7a7c2c
Who is online
Users browsing this forum: No registered users and 56 guests