fossasia/pslab-python — explained in plain English
Analysis updated 2026-08-04 · repo last pushed 2025-07-17
Demonstrate waveforms and electronics concepts in a classroom.
Measure capacitance or other properties for a student project.
Control a small robot using the servo motor outputs.
Replace expensive bench instruments with a single pocket-sized device.
| fossasia/pslab-python | karpathy/arxiv-sanity-lite | bigdawnghost/wenyi | |
|---|---|---|---|
| Stars | 1,632 | 1,637 | 1,647 |
| Language | Python | Python | Python |
| Last pushed | 2025-07-17 | 2023-06-19 | — |
| Maintenance | Stale | Dormant | — |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | researcher | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a physical Pocket Science Lab device connected via USB, and driver/permission setup varies by operating system.
The pslab-python library lets you control a small hardware device called the Pocket Science Lab using simple Python scripts. The device itself is a pocket-sized gadget that bundles together several measurement instruments you'd normally need a full electronics bench for, an oscilloscope, a waveform generator, a logic analyzer, a programmable voltage and current source, and even servo motors for controlling robots. Instead of buying each of these tools separately, you plug in the device, write a few lines of Python, and start taking measurements or generating signals. At a high level, the library acts as the communication bridge between your computer and the physical device. You connect the Pocket Science Lab via USB, import the library in Python, and call functions to read sensor data or send signals out. The README includes a short example where you plug in the device, create a ScienceLab object, and call a method to measure capacitance, basically asking the hardware to run a specific test and hand you back the result. The same library also powers the project's graphical desktop app behind the scenes, so if you prefer a point-and-click interface over writing code, there's a separate app you can install. This is built for teachers, students, and scientists who want to run hands-on experiments without spending thousands on dedicated lab equipment. A physics teacher could use it to demonstrate waveforms in class, a student could measure capacitance for a project, or a hobbyist could control a small robot using the servo outputs. The fact that it's open source, both the hardware and software, makes it appealing for schools and makers who want to inspect, modify, or extend everything. One practical note: setup differs slightly depending on your operating system and which version of the device you have, particularly around USB drivers and permissions. But once installed, the library is straightforward to use.
A Python library that controls the Pocket Science Lab, a small USB hardware device that works as an oscilloscope, waveform generator, and other lab instruments so you can run electronics experiments from code.
Mainly Python. The stack also includes Python, USB.
Stale — no commits in 1-2 years (last push 2025-07-17).
Open source, you can freely use, inspect, modify, and extend both the software and the hardware design.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.