Bluetooth on ESP32 running micropython

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
javargas26
Posts: 9
Joined: Wed Nov 29, 2017 12:35 am

Bluetooth on ESP32 running micropython

Post by javargas26 » Wed Nov 29, 2017 11:22 pm

Is there a bluetooth module and where can I find it?

SpotlightKid
Posts: 380
Joined: Wed Apr 08, 2015 5:19 am

Re: Bluetooth on ESP32 running micropython

Post by SpotlightKid » Thu Nov 30, 2017 12:56 am

You mean as in "(micro)python module" or as in "small board with a bluetooth chip on it"?

javargas26
Posts: 9
Joined: Wed Nov 29, 2017 12:35 am

Re: Bluetooth on ESP32 running micropython

Post by javargas26 » Thu Nov 30, 2017 1:04 am

What I'm looking for is a kind of library so I can do "import bluetooth" or something like that.
I want to send data from the ESP to my phone and I know the board I'm using supports bluetooth

SpotlightKid
Posts: 380
Joined: Wed Apr 08, 2015 5:19 am

Re: Bluetooth on ESP32 running micropython

Post by SpotlightKid » Thu Nov 30, 2017 1:50 am

To my knowledge, neither the official beta port for the ESP32 nor the fork by loboris have working support for Bluetooth yet. But apparently loboris is currently working on adding support to his fork.

javargas26
Posts: 9
Joined: Wed Nov 29, 2017 12:35 am

Re: Bluetooth on ESP32 running micropython

Post by javargas26 » Thu Nov 30, 2017 2:22 am

In that case, any suggestion o how to make that connection ? How about a bluetooth module HC-05 using the UART port?

SpotlightKid
Posts: 380
Joined: Wed Apr 08, 2015 5:19 am

Re: Bluetooth on ESP32 running micropython

Post by SpotlightKid » Thu Nov 30, 2017 7:49 am

Yes, those are easy to use, but HM-05 only supports Bluetooth 2. For Bluetooth 4.0 / LE, get a HM-10.

pagano.paganino
Posts: 73
Joined: Fri Sep 11, 2015 10:47 pm
Location: Italy

Re: Bluetooth on ESP32 running micropython

Post by pagano.paganino » Thu Nov 30, 2017 4:52 pm

If you can use an external module take a look at https://github.com/dmazzella/uble
Uble uses the SPBTLE-RF module of STMicroelectronics, breakout board you can find it here https://nifteecircuits.com/products/low ... smart-v4-1 or http://www.st.com/en/ecosystems/x-nucleo-idb05a1.html

javargas26
Posts: 9
Joined: Wed Nov 29, 2017 12:35 am

Re: Bluetooth on ESP32 running micropython

Post by javargas26 » Wed Dec 06, 2017 12:26 am

I haven't been able to do it. What I am trying to do is:

sent a data that I get from a light sensor, via bluetooth, to an app on my phone

Any suggestions or help coding would be very apreciated

jcea
Posts: 27
Joined: Fri Mar 18, 2016 5:28 pm

Re: Bluetooth on ESP32 running micropython

Post by jcea » Fri Apr 06, 2018 12:55 pm

Any news about this?.

Post Reply