How abbegubbegum/gtstromdon works
This is Arduino firmware for testing an electrical unit: an operator starts a test run, the controller switches relays and PSU voltage, measures electrical and sensor signals, evaluates test limits, and presents results for review or retest. The principal runtime code is concentrated in two files. The graph separates test orchestration, measurement/test logic, hardware control, and operator feedback. Source excerpts establish only selected calls; omitted implementation details and the README’s brief build note limit evidence for other connections.
Main entry points: main.cpp Test runner · common.h Electrical test checks
Components 13
Test workflow
- Test runner
src/main.cpp - Result review
src/main.cpp
Measurement and evaluation
- Electrical test checks
src/common.h - Voltage sweep checks
src/common.h - Analog measurements
src/main.cpp
Hardware control
- Relay control
src/main.cpp - PSU voltage control
src/common.h
Other components
- Operator
- MCP4725 DAC
- Analog sensors
- I2C LCD
- Up/down switches
- Serial console
Connections 17
- Operator → Test runner: starts run
src/main.cpp - Test runner → Relay control: switches relays
src/main.cpp - Test runner → Electrical test checks: registers checks
src/main.cpp - Test runner → Voltage sweep checks: runs sweeps
src/main.cpp - Test runner → PSU voltage control: sets voltage
src/main.cpp - Electrical test checks → Analog measurements: reads signals
src/main.cpp - Voltage sweep checks → Analog measurements: samples signals
src/common.h - Relay control → Analog sensors: selects paths
src/main.cpp - Analog measurements → Analog sensors: reads inputs
src/main.cpp - PSU voltage control → MCP4725 DAC: writes DAC
src/common.h - Electrical test checks → Result review: records outcomes
src/common.h - Test runner → Result review: finishes run
src/main.cpp - Result review → I2C LCD: displays results
src/main.cpp - Result review → Serial console: prints results
- Operator → Up/down switches: presses switches
- Up/down switches → Result review: selects retest
src/main.cpp - Test runner → I2C LCD: updates display