Displaying Sensor Data with Bluetooth
Pick Your Display Method
For this tutorial, you are able to choose how you would like to display your data from the KX132 Triple Axis Accelerometer.
Option 1: Display Data on an OLED
Following the instructions for Option 1 will teach you how to view accelerometer data on an OLED attached to the client ESP32 board. You will need two ESP32 Thing Plus C boards, a KX132 Triple Axis Accelerometer, a Micro OLED Breakout(Qwiic), a USB A to USB C cable, and a power supply. Again, we recommend using the Lithium Ion Battery with JST-PH Connector for the server ESP32 board’s power supply. However, there are a variety of power sources that will work with this application.
Option 2: Display Data over the Serial Monitor
Following the instructions for Option 2 will allow you to view data from your accelerometer in real time through the Arduino IDE. You will need the following materials to complete this section of the tutorial: an ESP32 Thing Plus C board (X2), a KX132 Triple Axis Accelerometer, a USB A to USB C cable, and a power supply. We recommend using the Lithium Ion Battery with JST-PH Connector linked in this tutorial, but there are a variety of power sources that you can use to power an ESP32 Thing Plus.
Option 3: Display Data on your Mobile Device
Following the directions for Option 3 will show you how to display accelerometer data on your mobile device through a BLE app. For this section of the tutorial, you will need an ESP32 Thing Plus C board, a KX132 Triple Axis Accelerometer, and a USB A to USB C cable.