coloradocube / balloonsat

COTS balloonsat mission to test the RPi 4 with a battery UPS, a quad camarray, a GPS module, a RockBLOCK module, and a small number of Qwiic sensors
0 stars 5 forks source link

FE v0.0.1 - Startup and shutdown #43

Closed ivogeorg closed 2 years ago

ivogeorg commented 2 years ago

Description

  1. Setup:
    1. Latest Raspbian OS image on Micro SD card.
    2. Python 3.9+.
  2. Single process, single thread.
  3. Details:
    1. Power on (AC).
    2. Run fexecutive.py.
    3. It shuts down the RPi.
      1. Use Python subprocess package (from subprocess import run).
      2. Invoke run("shutdown --poweroff now", shell=True).

Knowledge

  1. Python subprocess package.
  2. Linux shutdown commands.

Deliverables

  1. Release with tag v0.0.1.