Building a live data feed BLE application with React Native and ESP32
Read the blog post here on Medium.
Getting started with a BLE project and don’t know where to start? Search no further. In this code-along tutorial we will be developing a simple, yet thorough, BLE project that will teach you everything you need to know in order to get started on your own BLE projects with minimal effort. While keeping things simple and to the point, this guide aims to apply best practices, ensuring you can easily scale and build upon what you have learnt.
In this guide, we will be using an ESP32 microcontroller connected to an HX711 load cell amplifier to collect our live data — however any other type of sensor can be used with minimal code adjustments. You can even do this tutorial without any external sensor and simply sample values from the ADC. For the mobile application, we will be using React Native (with TypeScript) and the react-native-ble-plx library for bluetooth integration. A link to the GitHub repo containing the final React Native code and C++ firmware is provided at the end of this article.