This repo is dedicated to python classes utilizing i2c and spi communication in order for a raspberry pi the interact with devices with a higher level of abstraction.
- Clone repo in home directory
- Use
python ~/PI-OBC/obc_controller.py init
to initalize hardware. - Use the command
crontab -e
and append* * * * * python ~/PI-OBC/obc_controller.py telemetry >> ~/logs.txt
to the file. This will have telemetry get collected each minute. - Enjoy!
- MCP79410 (RTC)
- MCP9808 (Temperature Sensor)
- MCP3008 (ADC)
- BNO055 (Orientation Sensor)