![]() The first thing we need to do is including the BluetoothSerial.h library, which will expose the functionalities needed to work with serial over Bluetooth. If you prefer, you can check the video tutorial at my Youtube channel. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Note that the example provided here is based on the library example available on the Arduino core, which I encourage you to try. In terms of API, it will be very similar to the regular Serial communication functions we use on the Arduino environment. ![]() One important thing to mentioned is that this is a very high level library that will hide from us most of the Bluetooth implementation details, which is why the code we are going to develop is very simple and small. ![]() So, you may need to update to the latest version of the Arduino core. The objective of this post is to explain how to get started with the BluetoothSerial ESP32 library, in order to send data to a emulated Serial connection, operating over Bluetooth classic.Īt the time of writing, the mentioned library had just been added to the ESP32 Arduino core. ![]() The objective of this post is to explain how to get started with the BluetoothSerial ESP32 library, in order to send data to a emulated Serial connection, operating over Bluetooth classic. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |