Posts

Showing posts from February, 2025

NRF51822 BLE battery voltage logger

Image
NRF51822 Bluetooth Low Energy module is simple solution to log 12V battery voltage and display voltage values in 0.96 inch color tft display. Information can be transferred with BLE interface to Android smartphone. BLE module: 64k Color IPS 0.96 inch 80x160 TFT display module with ST7735 driver and SPI interface:   With KiCad I edited schematic diagram and printed circuit board for this battery voltage logger: KiCad printed circuit board design supports 3D model show, if exists component/module 3D model in KiCad 3D library (.wrl/.step). I designed also printed circuit board, but did not order prototypes. 3D images of design: NRF51822 software was developed using Arduino IDE with NRF51 library package by Sandeep Mistry:  https://github.com/sandeepmistry/arduino-nRF5   First thing is to program S130 softdevice (BLE firmware to NRF51822). I used ST Link V2 for programming NRF51. In addition I had to edit low power and real time clock features replacing 0.7.0 directory versio...

STM8S Car 12V Battery Charger Voltage Logging

Image
  Car 12V  Battery smart charger voltage logging is useful, when you want to know charged capacity and battery state of charge. Connecting this wireless logger to 12 V battery can also check real battery voltage during start, off and driving. Battery connected on 12V Smart Charger (3A , 0.8 A , 0.1A): Hardware was done with STM8S103 module and HM-10 Bluetooth Low Energy module. Charger logger schematic diagram done with KiCad: Also KiCad design files are included. KiCad 3D images shown here (did not order PCB): Prototype images including 3D printed covers: STM8S module firmware was developed with ST Visual Studio and COSMIC C compiler. Debugging interface was ST Link V2. Android apk was developed with Android Studio. Application displays battery voltage (current,maximum,minimum) and logged battery voltage (intervals: 1 second, 1 minute, 6 minutes ): KiCad project , ST Visual Studio Project and Android apk can be downloaded from GitHub: https://github.com/joukohak/chargerlog