initialized to default settings. User input UIM is used to Hardware interrupt All data in change settings is generated, registers are software must pushed onto handle interrupt stack, data from while not losing interrupt is pulled any data and processed µGravity Flag Accelerometer Software will keep Variable detects a track of how many FlagCount is times a incremented or environment microgravity flag is zeroed obtained. depending on input Experiment Experiment has Software turns on Data is prepared reached all peripherals in a to be received via microgravity staged manner Ethernet Experiment End Experiment cut off Shut down Close any files or time has been peripherals variables reached Table 16.2.2 Shows the events that the software have to response to. Boot up: On startup of microcontroller, the CPU will load the IR register with the first line of code available in the EEPROM of the device. All data structures and variables will be initiated to their default values and displayed User The user will have the option to change the following options: Experiment start time, experiment duration, led turn on time, camera turn on time. The UIM will generate a hardware interrupt and all these values will be saved in one sweep. µGravity: Because the accelerometer will send false positives before is reached, whenever an interrupt from the accelerometer comes in, we will add that value to a counter which when it reaches its max specified value, we will then start the experiment. Start: When the counter for micro-gravity has reached is value and confirmed micro gravity, the Atmel ATMega328 must begin the process of powering on the LED array, sending the PWM signal to the Stepper motor, and send the signal to the camera to start
initialized to default settings. User input UIM is used to change settings Hardware interrupt is generated, software must handle interrupt while not losing any data All data in registers are pushed onto stack, data from interrupt is pulled and processed µGravity Flag Accelerometer detects a environment Software will keep track of how many times a microgravity flag is obtained. Variable FlagCount is incremented or zeroed depending on input Experiment Experiment has reached microgravity Software turns on all peripherals in a staged manner Data is prepared to be received via Ethernet Experiment End Experiment cut off time has been reached Shut down peripherals Close any files or variables Table 16.2.2 Shows the events that the software have to response to. Boot up: On startup of microcontroller, the CPU will load the IR register with the first line of code available in the EEPROM of the device. All data structures and variables will be initiated to their default values and displayed User The user will have the option to change the following options: Experiment start time, experiment duration, led turn on time, camera turn on time. The UIM will generate a hardware interrupt and all these values will be saved in one sweep. µGravity: Because the accelerometer will send false positives before is reached, whenever an interrupt from the accelerometer comes in, we will add that value to a counter which when it reaches its max specified value, we will then start the experiment. Start: When the counter for micro-gravity has reached is value and confirmed micro gravity, the Atmel ATMega328 must begin the process of powering on the LED array, sending the PWM signal to the Stepper motor, and send the signal to the camera to start
Senior%20Design%20Paper%201.docx