Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
pdu.h File Reference

The header file for the PDU class. More...

#include "helpers.h"
#include "support/configCosmosKernel.h"
#include <Arduino.h>
#include <TeensyThreads.h>
#include <stdint.h>

Go to the source code of this file.

Classes

class  Artemis::Devices::PDU
 The PDU class. More...
 
struct  Artemis::Devices::PDU::pdu_packet
 The PDU packet structure. More...
 
struct  Artemis::Devices::PDU::pdu_telem
 The PDU telemetry packet structure. More...
 

Namespaces

 Artemis::Devices
 The devices and sensors in the satellite.
 

Macros

#define PDU_CMD_OFFSET   48
 The offset between PDU character values and ASCII values.
 
#define NUMBER_OF_SWITCHES   12
 The number of switches on the PDU.
 
#define PDU_WARMUP_TIME   5 * SECONDS
 The time given to let the PDU warm up.
 
#define PDU_RETRY_INTERVAL   1 * SECONDS
 The time given to let the PDU reply to a packet before retrying.
 
#define BURN_WIRE_ON_TIME   5 * SECONDS
 The time given to keep the burn wire on.
 
#define DEPLOYMENT_DELAY   5 * SECONDS
 The time to wait before starting the deployment routine.
 
#define DEPLOYMENT_LENGTH   60 * SECONDS
 The length of the deployment. More...
 
#define DEPLOYMENT_LOOP_INTERVAL   10 * SECONDS
 The time to wait between iterations of the deployment loop.
 
#define HEATER_CHECK_INTERVAL   60 * SECONDS
 The interval at which to check the satellite's temperature.
 
#define PDU_COMMUNICATION_TIMEOUT   5 * SECONDS
 The maximum time given to send a packet to the PDU.
 

Detailed Description

The header file for the PDU class.

This file contains declarations for the PDU class.

Macro Definition Documentation

◆ DEPLOYMENT_LENGTH

#define DEPLOYMENT_LENGTH   60 * SECONDS

The length of the deployment.

Flight: two weeks in milliseconds = 14 * 24 * 60 * 60 * 1000; Testing: set desired deployment length in seconds