Posts

Showing posts with the label Bluetooth

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

STM8S Bluetooth Low Energy oscilloscope

Image
Simple and cheap DIY oscilloscope can be done with STM8S103 module and HM-10 Bluetooth Low Energy module using Android smartphone as display.    STM8S103 module: JDY-08 BLE module need HM-10 version 709 firmware and set up to 9600 baud UART mode. Firmware can be programmed to  with TI CC debugger. https://www.ti.com/lit/ug/swru197h/swru197h.pdf?ts=1736391991950 More info ,how to do: https://www.iot-experiments.com/jdy-08/ Oscilloscope schematic drawn with Kicad: STM8S  firmware was developed using ST Microelectronics Visual Studio (Windows) using free license COSMIC compiler and ST Link V2 for program and debug interface. This 1 channel 200 kS / 5 us oscilloscope    is battery powered (usb charging). Including following features:   - 1 channel 5us ... 5ms period 240 samples   - max , min voltage display   - AUTO / SINGLE  trigger   - AC/DC select   - LV / HV (high voltage 400V probe needed) attenuator select   - sine ...

BluePill (STM32) BLE oscilloscope

Image
  Bluetooth Low Energy wireless interface can be used to transfer measurement data to Android smartphone.  My simple digital oscilloscope is done with    STM32F103C8T6 Core Board Development Board Bluepill and Bluetooth low energy module  HM-10 : Kicad drawn schematic diagram for this bluetooth low energy oscilloscope : Designed also PCB in Kicad and was able to show these 3D images: Kicad project is included in GitHub repository: https://github.com/joukohak/stm32_blescope Repository also includes  STM32 CubeIDE project  and  Android  apk. Implemented hardware and 3D printed cover like this: STM32 firmware was developed in Linux Mint PC with STM32 CubeIDE developement application and interface was ST Link V2: Android application was developed with Android Studio. Some screen captures of Android application: Features include: - AUTO triggering - Single trigger - START trigger rising/falling trigger level setting on channel 1 - 2 channel 1000 s...

NRF 51822 wireless PIR sensor with Android camera

Image
NRF 51822 is a very low power BLE System On Chip , that allows to use as B luetooth Low Energy peripheral connected to Passive Infrared Receiver module. PIR module used: Schematic diagram of ble motion sensor: HW build to 3D printed case: Software for NRF51822 was developed with Arduino IDE: NRF connect android application could be used  to check Bluetooth Low Energy  UART services and characteristics: BleCameraNRF  android application is used to start motion detection  from Nrf51 module, check battery, temp and solar log. Project files can be found from github: https://github.com/joukohak/nrf51pir

Simple digital wireless BLE oscilloscope

Image
Cheap and simple DIY bluetooth low energy digital oscilloscope made with JDY-08 BLE module and STM8S103 module and Li ION battery. Android application is developed to display oscilloscope data.  STM8S103 is 8-bit microcontroller with 1024 bytes RAM and 8 kbytes Flash memory. It stores 300 samples of 10 bit ADC data to RAM memory. Minimum sampling period is 5 us (200 kSamples/s).  ADC data is sent trough BLE lin k to Android smartphone application.  Circuit diagram

BLE DSLR camera motion sensor and remote control

Image
How to create new life for old DSLR camera like Canon EOS 350D.  It can be used as motion sensor activated camera , time lapse image capture , wireless remote image capture  ... EOS350D has on left side middle remote connection plug input for focus and shutter interface. EOS350D can now be controlled trough this simple wired interface from PIR motion sensor box with BLE module wireless interface to Android device. PIR motion sensor box has small solar cell to keep its Li-Ion battery charged. BLE module is JDY-08 with firmware version 3.3844 , MCU is STM8S103 and PIR sensor is HC-SR501. Case and solar cell holder is 3D- printed.   PIR motion sensor box can be controlled with Android application. Box can operate 4 different modes with Android device or without it. Modes can be changed from application: Mode 0:  Android device as wireless PIR motion sensor camera. Mode 1: DSLR Camera as PIR motion sensor cam...