queens-satellite-team/CAN-SBX

The lights!!

Opened this issue · 0 comments

Goal

To have a visual representation of the state of the overall balloon so that when the balloon is getting ready for launch and we are unable to see the inside we can still have some level of confirmation that everything is going to plan....or not:(

Description

you can assume that that each other subsystem (comms/ADCS/payload/power) will provide you with one pin on there subsystem where if it is set high everything is good and if not then there is a problem with their subsystem. You will have to use the GPIO (general purpose input/output pins) on the pi to read all of this and then based on the state of all the subsystems display that with the lights.

Steps

  1. Figure out how you are going to run and compile python on your computer. Please ask me if you need help or advise with this.
  2. Create a branch for this project.
  3. Create a python file for this project and add that file to GitHub in the proper location.
  4. Pick which lights we are going to use. I was thinking NeoPixel Ring - 12 x 5050 RGB LED with Integrated Drivers, however, if you think there is a better option please let me know. Once you have decided on this tell me and I will order them.
  5. Decide how we are going to represent the different states of the balloon. What I mean by this is for example we could say if the ring is all green then everything is good. If it is flashing red then everything is bad. if it is yellow then some stuff is working and other stuff is not ect... One idea that I had is that we could assign each subsystem a colour and that way if one is not working then we could display part of the ring with that colour so that we have a better understanding of what went wrong. Have fun with this but for what ever you decide I would like to see a clearing document that has a colour to meaning translation.
  6. CODE! If you need help with this we can do it together. You will need to use the library for the lights to interface with them
  7. Once you are done create a pull request and add me as a reviewer!

Timeline

I would like this to be completed by March 24th!

GOOD LUCK!!