Uploaded March 2023 | Updated November 2026, 1 day ago
An overview of the Arduino and MIT App Inventor code for my BLE Data Logging Scale project (youtu.be/ksemL5_kvDw). I focus on the routines specific to this project. For some of the basic components of BLE communication and scale services, see my other video: youtu.be/0PXP28viAMw
This is written for the SEED Xiao ESP32-C3, with a HX711 ADC, OLD 128x64 I2C display, and the app was tested on Android 13.
Source Code: github.com/techdregs/BLE-Logging-Scale
=== Timestamps ===
00:00 Introduction
00:42 Arduino Code Begins
06:26 Important Pin Details for XIAO ESP32-C3
09:22 Units Conversion and Display Items
10:40 Debounce Routine
11:23 Deep Sleep Routine (GPIO wakeup) and Issues
16:25 Data Logging Routine
17:50 Battery Level Monitor
10:45 MIT App Inventor Virtual Screens
22:42 Button Padding with Labels
25:12 Logging Data/CSV format
29:05 Live Chart
30:04 File Export as CSV
31:52 Import CSV Data
35:40 Display Internal Data
39:16 Start/Stop Logging Button
41.52 Conclusion
An overview of the Arduino and MIT App Inventor code for my BLE Data Logging Scale project (youtu.be/ksemL5_kvDw). I focus on the routines specific to this project. For some of the basic components of BLE communication and scale services, see my other video: youtu.be/0PXP28viAMw
This is written for the SEED Xiao ESP32-C3, with a HX711 ADC, OLD 128x64 I2C display, and the app was tested on Android 13.
Source Code: github.com/techdregs/BLE-Logging-Scale
=== Timestamps ===
00:00 Introduction
00:42 Arduino Code Begins
06:26 Important Pin Details for XIAO ESP32-C3
09:22 Units Conversion and Display Items
10:40 Debounce Routine
11:23 Deep Sleep Routine (GPIO wakeup) and Issues
16:25 Data Logging Routine
17:50 Battery Level Monitor
10:45 MIT App Inventor Virtual Screens
22:42 Button Padding with Labels
25:12 Logging Data/CSV format
29:05 Live Chart
30:04 File Export as CSV
31:52 Import CSV Data
35:40 Display Internal Data
39:16 Start/Stop Logging Button
41.52 Conclusion










