Repo to get data from the ROBD2 device through serial port
A Python-based command-line interface for controlling and monitoring ROBD2 (Reduced Oxygen Breathing Device) systems. This application provides comprehensive functionality for calibration, performance monitoring, and flight data logging.
- O2 Sensor Calibration: Calibrate oxygen sensors with room air and 100% O2
- Performance Monitoring: Real-time monitoring of O2 concentrations and system performance
- Flight Data Logging: Record and save flight simulation data
- Operating Commands: Direct control of ROBD2 operations
- Programming & Configuration: Create and manage flight profiles
- Diagnostics: System status and troubleshooting tools
- Python 3.7+
- pyserial
- rich
- Clone the repository:
git clone https://github.com/strikerdlm/ROBD2.git
- Create a virtual env with conda
conda create -n myenv python=3.12
conda activate <myvenv>
- Install required packages
pip install pyserial rich
Run the application with default settings:
python COM_serial.py
--port
: Specify COM port (default: COM12)--baudrate
: Set baudrate (default: 9600)--timeout
: Set serial timeout in seconds (default: 1)--debug
: Enable debug logging
Example:
python COM_serial.py --port COM3 --baudrate 9600 --debug
- O2 Sensor Calibration
- Performance Monitoring
- Flight Data Log
- Operating Commands
- Programming & Configuration
- Diagnostics
Compatible with ROBD2 devices
- Performance logs are saved in
performance_logs/
- Flight data logs are saved in
logs/
- Debug logs are available when running in debug mode
If you encounter COM port issues:
- Ensure device is properly connected
- Verify device drivers are installed
- Check port permissions
- Try disconnecting and reconnecting the device
- Run the program as administrator if necessary
MIT License
Diego Malpica MD Aerospace Medicine