This repository contains the C++ firmware for the custom potentiostat platform (featuring an LMP91000 analog front end, EFR32BG24 MCU, and an LSM6DSV IMU) alongside a Python-based real-time wireless BLE debugging client.
Lmp91000-pcb is an open-source printed circuit board by sigmondkukla, from the sigmondkukla/lmp91000 repository on GitHub. It is a 4-layer board of 30 × 30 mm with 54 parts on 55 nets, routed with 390 tracks and 116 vias.
It is built around the EFR32BG24L210F768IM40-B, 2450AT18D0100001E and LSM6DSV, with the B2841USD-20D001014U1930, BAT54C and BLM15AX700SN1D11 among its other parts. Its parts include 14 resistors, 13 capacitors, 6 ICs, 5 connectors and 3 diodes. It belongs with the Silicon Labs (EFR32, EFM) boards of this library.
This repository contains the C++ firmware for the custom potentiostat platform (featuring an LMP91000 analog front end, EFR32BG24 MCU, and an LSM6DSV IMU) alongside a Python-based real-time wireless BLE debugging client.
A stable external power source (e.g., 3.3V bench power or a well-charged battery with adequate bulk capacitance)
Software
Simplicity Commander (added to your system PATH)
Python 3.8 or newer
Bleak Python library (for BLE communications)
2. Initial Setup (Wired Flashing)
Before the board can accept wireless updates, you must flash the bootloader and the initial application image via a physical JTAG/SWD debug connection.
Step 1: Flash the Gecko Bootloader
The Gecko Bootloader is responsible for managing internal storage and installing GBL files. You must flash the combined bootloader image containing both the first-stage and main bootloader configurations.
The custom board supports wireless updates using the Silicon Labs Apploader. When the board reboots into OTA mode, it will advertise as OTA_potentiostat.
OTA Update Steps
Make sure to hold down the power button during the entire OTA upload process, and for about 15-20 seconds after it finishes
Build the firmware project to generate your target .gbl file.
Put the device into OTA mode. The device will stop regular advertising and begin advertising as OTA_potentiostat.
Open the EFR Connect app on your smartphone or pc.
Scan and connect to OTA_potentiostat.
Select OTA DFU, choose Partial OTA (or select your .gbl file), and initiate the transfer.
Upon reaching 100%, the chip will reboot, verify the image, and boot into your new application.
4. Real-Time Wireless Log Stream
The firmware includes a high-speed wireless logger that routes standard debug prints over a custom BLE characteristic.
Installation
Install the required asynchronous BLE library:
bash
pip install bleak
Python Logger Client: ble_logger.py
Usage
Power on your potentiostat board.
Run the client script:
bash
python ble_logger.py
The script will automatically scan, establish a secure BLE connection to your EFR32, subscribe to the notifications, and print custom ble_printf debug logs directly to your console.
This repository contains the C++ firmware for the custom potentiostat platform (featuring an LMP91000 analog front end, EFR32BG24 MCU, and an LSM6DSV IMU) alongside a Python-based real-time wireless BLE debugging client.
The G2 Nano is powered by a record-breaking 1 GHz Arm Cortex-M7 processor, combining the performance of an application processor with real-time determinism.
141 parts346CERN-OHL-P-2.0
Questions
How big is the Lmp91000-pcb PCB?
It measures 30 × 30 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Lmp91000-pcb use?
54 parts, built around the EFR32BG24L210F768IM40-B, 2450AT18D0100001E, LSM6DSV and B2841USD-20D001014U1930. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Lmp91000-pcb KiCad files?
From the sigmondkukla/lmp91000 repository on GitHub, at the commit this page was made from: the board is pcb/lmp91000-pcb.kicad_pcb and its schematic pcb/imu.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Lmp91000-pcb design in my own project?
Its repository states no licence, so its author keeps all rights: ask sigmondkukla before reusing the design.