Logic Analyzer, Waveform Generation & Wireless Connectivity for PSLab-Mini
PSLab Mini is a compact, open source instrumentation platform built around the STM32H563 as its primary microcontroller and the ESP32-C3 as its wireless co-processor. While the board already supports oscilloscope and multimeter functionality over USB using an SCPI based interface, key features such as the logic analyzer, waveform generator and wireless connectivity remain unimplemented. This project aims to complete these missing components. A logic analyzer will be implemented using STM32 timer input capture combined with DMA driven circular buffering to enable efficient, high speed signal acquisition. Digital waveform generation will be developed using STM32 timers configured in PWM and output compare modes, supporting configurable frequency and duty cycle outputs. To enable wireless communication, a reliable STM32 to ESP32 bridge will be implemented using SPI as the primary data channel and UART as a secondary interface. A lightweight framed binary protocol will be developed to ensure robust communication between the microcontrollers. On the ESP32 side, MQTT based communication will be implemented to publish instrument data over Wi-Fi, with support for Home Assistant discovery.
Project details
Technologies
Not listed in the archive