Author Topic: ESP32 BLE Arduino?  (Read 2267 times)

0 Members and 1 Guest are viewing this topic.

Offline Thane of Cawdor

  • Regular Contributor
  • *
  • Posts: 77
ESP32 BLE Arduino?
« on: July 13, 2017, 02:10:15 am »
Hey all!

Has anyone had success in using the BLE capability of the ESP32 with the Arduino environment yet? If so, are there any libraries you've worked with that had good functionality? ::)
 

Offline Royce

  • Contributor
  • Posts: 49
  • Country: us
Re: ESP32 BLE Arduino?
« Reply #1 on: August 01, 2017, 12:53:45 am »
Its not Arduino, and I have to confess to not having tried it yet, but this fellow has tutorials on BLE via the ESP-IDF. He's written some C++ classes that seem to simplify the process a good bit.

http://www.youtube.com/playlist?list=PLB-czhEQLJbWMOl7Ew4QW1LpoUUE7QMOo
 
The following users thanked this post: oPossum

Offline Thane of Cawdor

  • Regular Contributor
  • *
  • Posts: 77
Re: ESP32 BLE Arduino?
« Reply #2 on: August 25, 2017, 09:37:17 pm »
Thanks for that!
 

Online NANDBlog

  • Super Contributor
  • ***
  • Posts: 4043
  • Country: nl
Re: ESP32 BLE Arduino?
« Reply #3 on: August 25, 2017, 10:14:20 pm »
Last time I tried, it wasn't working. Nor the dual core aspect. That was a few moths ago though. It isnt a real update over the 8266 if you are using arduino.
 

Online NANDBlog

  • Super Contributor
  • ***
  • Posts: 4043
  • Country: nl
Re: ESP32 BLE Arduino?
« Reply #4 on: August 26, 2017, 06:40:30 pm »
That was a few moths ago though.
There's always a few bugs in new devices.
But, you know, when the main reason to buy something does not work... I call that huge fail, not a bug.
 

Online NANDBlog

  • Super Contributor
  • ***
  • Posts: 4043
  • Country: nl
Re: ESP32 BLE Arduino?
« Reply #5 on: August 26, 2017, 08:40:18 pm »
Oh, I did not see my typo...
 

Online Mr. Scram

  • Super Contributor
  • ***
  • Posts: 4114
  • Country: 00
  • Display aficionado
Re: ESP32 BLE Arduino?
« Reply #6 on: August 27, 2017, 04:55:03 am »
That was a few moths ago though.
There's always a few bugs in new devices.
But, you know, when the main reason to buy something does not work... I call that huge fail, not a bug.
The chip is still twice as fast and has a couple of nice upgrades. But yeah, the ability to use both cores is nice.
 

Online TK

  • Frequent Contributor
  • **
  • Posts: 655
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: ESP32 BLE Arduino?
« Reply #7 on: August 27, 2017, 05:43:35 am »
I am not sure if the following guide is specific for the ESP32 Thing from SparkFun... it might work with any ESP32 boards.

https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide#installing-the-esp32-arduino-core
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1869
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: ESP32 BLE Arduino?
« Reply #8 on: August 31, 2017, 08:19:10 am »
PSOC has quite a good code base and video library.


http://www.cypress.com/products/psoc-4-ble-bluetooth-smart





Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Thane of Cawdor

  • Regular Contributor
  • *
  • Posts: 77
Re: ESP32 BLE Arduino?
« Reply #9 on: September 01, 2017, 11:09:33 pm »
Thanks for that, will have a look!
 

Offline evb149

  • Super Contributor
  • ***
  • Posts: 1662
  • Country: us
Re: ESP32 BLE Arduino?
« Reply #10 on: September 02, 2017, 07:46:44 am »
I'll second the PSOC solution, they provide what is probably even better libraries than Arduino stuff assuming you actually want to do certain definite hardware peripheral level things with the chip's resources since they'll have a simple not so bloated library IDE tool + API to configure and use the peripherals you require exactly as you require.
Also for BLE level stuff it is anywhere from "couldn't get any simpler / basically zero effort" to "yeah it takes some programming and understanding because, well, it is a PROTOCOL and sometimes you do have to actually have to do stuff between the protocol and your custom "gadget" hardware / software to make the system react as it should when various possible BLE stuff happens.

On the other hand if you really don't need to do anything much at the MCU hardware level (maybe a little I2C / SPI / GPIO / UART / timer / ADC / DAC I/O and that's mostly it) then you could just use a module that is scripted in a high level language maybe BlueGiga's or something, there are half a dozen options or more in the high level language based module category.


 

Offline richardman

  • Frequent Contributor
  • **
  • Posts: 341
  • Country: us
Re: ESP32 BLE Arduino?
« Reply #11 on: September 02, 2017, 11:38:56 am »
If people are looking for other BLE solutions, I can recommend the ST BlueNRG lines. It can work as a coprocessor or you can put your code in the SoC itself so it has lots of flexibility on what you can do.

Our newest product uses it and while we don't push all of the aspects of BLE, it seems to work well with good range. The API is relatively easy to use.
// richard http://imagecraft.com/
Smart.IO: App UI for embedded tech with no app or wireless coding
JumpStart C++ for Cortex: the fastest easiest way to get productive on Cortex-M platforms.
 

Offline JaspaJami

  • Contributor
  • Posts: 39
  • Country: fi
Re: ESP32 BLE Arduino?
« Reply #12 on: May 17, 2018, 10:11:57 pm »
I have done BLE communication between Android phone and ESP32 (i also tested between Win10 and ESP32). Komoot navigation app in sending navigation markers to ESP32. And i use Arduino enviroment.

https://github.com/komoot/BLEConnect

https://github.com/SensorsIot/Bluetooth-BLE-on-Arduino-IDE
« Last Edit: May 17, 2018, 10:14:32 pm by JaspaJami »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf