Get data from ESP32 using I2S

Louisca
Posts: 3
Joined: Wed Jun 07, 2017 5:15 pm

Get data from ESP32 using I2S

Postby Louisca » Wed Jun 07, 2017 5:21 pm

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

kurtzweber
Posts: 64
Joined: Tue Jan 10, 2017 1:09 pm

Re: Get data from ESP32 using I2S

Postby kurtzweber » Fri Jun 09, 2017 7:55 am

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...)...

Louisca
Posts: 3
Joined: Wed Jun 07, 2017 5:15 pm

Re: Get data from ESP32 using I2S

Postby Louisca » Sun Jun 11, 2017 3:06 pm

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

kurtzweber
Posts: 64
Joined: Tue Jan 10, 2017 1:09 pm

Re: Get data from ESP32 using I2S

Postby kurtzweber » Mon Jun 12, 2017 7:02 am

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

Who is online

Users browsing this forum: No registered users and 72 guests