Skip to content

Archive

Lauren Greenhill edited this page Feb 20, 2023 · 2 revisions

Summer of Software Deliverables

Commands

  • Refactor SFR to include SFRField class for easily accessible min and max values
  • Include command to disable RockBLOCK
  • Generate commands to change all values in the SFR
  • Validate commands (compare against valid commands and add valid IMU and Camera Fragment request commands as they are generated)

Sensor Values

  • Trigger fault (set invalid) if a sensor value is out of range
  • Out of range checks should use averaged values
  • Setting sensor reading to isValid should clear averaged buffer

Camera

  • Confirm that image resolution is correct before taking image

IMU

  • Whenever we are in a mode where the ACS is off, the IMU should also be off
  • Use sfr::imu::sample to control whether the IMU is on or off
  • Write method to turn IMU off
  • Look at camera code to see how all pins to camera are pulled low- determine if this is necessary for the IMU with a power supply
  1. Determine current draw is with IMU initialized and sampling
  2. Determine current draw when IMU has never been initialized
  3. Determine current draw when IMU has been initialized but is not sampling
  • If there is a difference between 2 and 3 all pins to IMU should be pulled low
  • IMU should not be reinitialized every loop- might need to add local variables to determine if it is already on similar to camera powered.

Testing

Flatsat Test

  • Use Arduino IDE or Putty to send commands using the RockBLOCK simulator
    • Command Sequence:
    1. Deployment
    2. Armed
    3. Fire
  • Ensure the Burnwire is hot when expected
  • Ensure camera takes photo and starts "downlinking" via the RockBLOCK simulator
  • Ensure that IMU report starts "downlinking" via the RockBLOCK simulator
  • Check that image on SD card matches what is printed out to the serial monitor

EDU Test

  • Place folded light sail in EDU and tie door shut with string
  • Place EDU outside in view of sky
  • Use ground station to send the 3 relevant commands listed above
  • Attempt to downlink complete image and IMU report
Clone this wiki locally