How yawpremuh/mag-stirr works
This repository contains Python controls for a 12-zone magnetic stirrer spanning three Arduino boards. The principal workflow maps a requested tube to a board and zone, converts a speed percentage to PWM, and sends a serial command; the separate legacy script also opens the boards and issues zone commands. The README is empty, and the Arduino sketch contents were not sampled, so firmware behavior and links to the sketches cannot be confirmed.
Main entry points: Stirrer.py Stirrer Controller · zone_stir.py Legacy Zone Controls
Components 7
Controller API
- Tube Mapping
Stirrer.py - Stirrer Controller
Stirrer.py - Speed and Commands
Stirrer.py
Legacy Script
- Legacy Zone Controls
zone_stir.py - Individual Zone Run
zone_stir.py
Hardware Interface
- Arduino Boards
Other components
- Operator
Connections 8
- Operator → Tube Mapping: maps tube
- Operator → Stirrer Controller: sets zones
- Stirrer Controller → Tube Mapping: uses mapping
- Stirrer Controller → Speed and Commands: encodes speed
- Speed and Commands → Arduino Boards: writes serial
- Individual Zone Run → Legacy Zone Controls: calls zone setter
- Legacy Zone Controls → Arduino Boards: writes serial
- Operator → Individual Zone Run: runs script