? Any Wireless Alternative for Serial/I2C/SPI ?

human890209
Posts: 54
Joined: Wed Aug 15, 2018 8:56 am

? Any Wireless Alternative for Serial/I2C/SPI ?

Postby human890209 » Tue Sep 25, 2018 2:35 am

Hi,
I used to use Arduino Boards, and I succeed to make my sketch working with ESP32. I'm using Serial and I2C to connect my boards, so multiple boards could send message and data to each other. I never tried any Wifi Shield of Arduino before.

I know ESP32 got Wifi and Bluetooth on board. I searched on the web. Most of the cases are connecting the ESP32 with a Phone, PC or Router. I'm wondering if there is an example or library to set up some wireless communications between ESP32s. Can I use Wifi or Bluetooth as an alternative to Serial(1 to 1) and I2C/SPI(master to slaves)?

Cause wireless need connection and password checking which is different to the physical connections of wires, I don't know if it's possible or convenient to set up this kind of connection between ESP32s. And cause there is only One Wifi and Bluetooth, I don't know if it's possible to connect 1 ESP32 with Multiple ESP32s.

What are the keywords of this technique?
Some URL links are welcomed. Thanks.


tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: ? Any Wireless Alternative for Serial/I2C/SPI ?

Postby tommeyers » Tue Sep 25, 2018 11:07 pm

ESP-Now: https://docs.espressif.com/projects/esp ... p_now.html

BluFi: https://www.espressif.com/sites/default ... ide_en.pdf

These are where I would start. I think what you described is called point-to-point.

AND: esp32 as AP and esp32 as STA's with a wifi router;

AND: zigbee if you add more HW componenets

Tom Meyers
IT Professional, Maker
Santiago, Dominican Republic

human890209
Posts: 54
Joined: Wed Aug 15, 2018 8:56 am

Re: ? Any Wireless Alternative for Serial/I2C/SPI ?

Postby human890209 » Wed Sep 26, 2018 1:23 am

Thanks a lot
@chegewara, @tommeyers

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 55 guests