How pi-top/pi-toppulse works
pi-topPULSE is a Python library and hardware interface for a Raspberry Pi add-on combining a 7×7 LED matrix, microphone, and speaker. A user script uses the library to configure the device, display LED output, or capture audio into a WAV file; the operating system handles speaker playback. The graph also includes documented automatic device initialization and Alexa integration. Source excerpts show configuration, LED, and microphone behavior; initialization-manager and playback details are included only as README-documented capabilities.
Main entry points: configuration.py Device configuration · ledmatrix.py LED matrix · microphone.py Microphone capture · examples Usage examples
Components 13
Device setup
- Device configuration
library/ptpulse/configuration.py - I²C controller
- Host interface setup
Hardware I/O
- LED matrix
library/ptpulse/ledmatrix.py - Pixel state and correction
library/ptpulse/ledmatrix.py - UART device
- Microphone capture
library/ptpulse/microphone.py - WAV recording file
Platform capabilities
- Automatic initialization
- Operating-system audio
- Usage examples
examples - Alexa integration
Other components
- Python user
Connections 15
- Python user → Device configuration: configures device
README.md - Python user → LED matrix: sets display
README.md - Python user → Microphone capture: records audio
README.md - Device configuration → I²C controller: reads and writes
library/ptpulse/configuration.py - Device configuration → Host interface setup: configures interfaces
library/ptpulse/configuration.py - LED matrix → Device configuration: checks device state
library/ptpulse/ledmatrix.py - LED matrix → Pixel state and correction: updates pixels
library/ptpulse/ledmatrix.py - LED matrix → UART device: writes display data
library/ptpulse/ledmatrix.py - Microphone capture → Device configuration: checks state and rate
library/ptpulse/microphone.py - Microphone capture → UART device: reads audio data
library/ptpulse/microphone.py - Microphone capture → WAV recording file: writes recording
library/ptpulse/microphone.py - Automatic initialization → Device configuration: initializes device
README.md - Operating-system audio → Python user: plays audio
README.md - Usage examples → Python user: demonstrates usage
README.md - Alexa integration → Operating-system audio: uses audio
README.md