FOSSASAT-1B
Loading...
Searching...
No Matches
Collaboration diagram for Pin Map:

Macros

#define ANALOG_IN_SOLAR_A_VOLTAGE_PIN   A0
 
#define ANALOG_IN_SOLAR_B_VOLTAGE_PIN   A7
 
#define ANALOG_IN_SOLAR_C_VOLTAGE_PIN   A2
 
#define ANALOG_IN_RANDOM_SEED   A6
 
#define DIGITAL_OUT_MPPT_PIN   5
 
#define DIGITAL_OUT_MOSFET_1   9
 
#define DIGITAL_OUT_MOSFET_2   8
 
#define DIGITAL_OUT_WATCHDOG_HEARTBEAT   4
 
#define RADIO_NSS   7
 
#define RADIO_DIO1   2
 
#define RADIO_BUSY   6
 
#define RADIO_NRST   RADIOLIB_NC
 

Detailed Description

Todo:
Julian -> Please check MPPT pin, seems to be connected to PD5 on some versions.
Description Arduino core pin Physical pin Mode Direction
Solar Cell A Voltage. A0 PC0 ANALOG IN
Solar Cell B Voltage. A7 ADC7 ANALOG IN
Solar Cell C Voltage. A2 PC2 ANALOG IN
Analog source for the random number generator (should be left floating). A6 ADC6 ANALOG IN
MPPT power control pin. 10 PB2 DIGITAL OUT
Deployment mosfet number 1 (controls nicrome wires). 9 PB2 DIGITAL OUT
Deployment mosfet number 2 (controls nicrome wires). 8 PB0 DIGITAL OUT
Watchdog signal pin. 4 PD4 DIGITAL OUT
Radio chip select. 7 PD7 DIGITAL OUT
Radio digital pin 1 for reading direct data. 2 PD2 DIGITAL IN
Radio BUSY pin. 6 PD6 DIGITAL IN
Radio NRST pin. NC N/A N/A N/A
Test:

(ID CONF_PIN_MAP_T0) (SEV 1) Check that solar panel A voltage can be read from ANALOG_IN_SOLAR_A_VOLTAGE_PIN.

(ID CONF_PIN_MAP_T1) (SEV 1) Check that solar panel B voltage can be read from ANALOG_IN_SOLAR_B_VOLTAGE_PIN.

(ID CONF_PIN_MAP_T2) (SEV 1) Check that solar panel C voltage can be read from ANALOG_IN_SOLAR_C_VOLTAGE_PIN.

(ID CONF_PIN_MAP_T3) (SEV 1) Check that the random seed analog pin is suitable from ANALOG_IN_RANDOM_SEED.

(ID CONF_PIN_MAP_T4) (SEV 1) Check that the MPPT circuit is controlled correctly using DIGITAL_OUT_MPPT_PIN.

(ID CONF_PIN_MAP_T5) (SEV 1) Check that the deployment hardware deploys when DIGITAL_OUT_MOSFET_1 and DIGITAL_OUT_MOSFET_2 are brought high.

(ID CONF_PIN_MAP_T6) (SEV 1) Check that the radio can be communicated with using pins RADIO_NSS, RADIO_DIO1, RADIO_BUSY and RADIO_NRST.

Macro Definition Documentation

◆ ANALOG_IN_RANDOM_SEED

#define ANALOG_IN_RANDOM_SEED   A6

ADC6; used as source for randomSeed(), should be left floating

Definition at line 407 of file configuration.h.

◆ ANALOG_IN_SOLAR_A_VOLTAGE_PIN

#define ANALOG_IN_SOLAR_A_VOLTAGE_PIN   A0

PC0

Definition at line 404 of file configuration.h.

◆ ANALOG_IN_SOLAR_B_VOLTAGE_PIN

#define ANALOG_IN_SOLAR_B_VOLTAGE_PIN   A7

ADC7

Definition at line 405 of file configuration.h.

◆ ANALOG_IN_SOLAR_C_VOLTAGE_PIN

#define ANALOG_IN_SOLAR_C_VOLTAGE_PIN   A2

PC2

Definition at line 406 of file configuration.h.

◆ DIGITAL_OUT_MOSFET_1

#define DIGITAL_OUT_MOSFET_1   9

PB1

Definition at line 409 of file configuration.h.

◆ DIGITAL_OUT_MOSFET_2

#define DIGITAL_OUT_MOSFET_2   8

PB0

Definition at line 410 of file configuration.h.

◆ DIGITAL_OUT_MPPT_PIN

#define DIGITAL_OUT_MPPT_PIN   5

PB2

Definition at line 408 of file configuration.h.

◆ DIGITAL_OUT_WATCHDOG_HEARTBEAT

#define DIGITAL_OUT_WATCHDOG_HEARTBEAT   4

PD4

Definition at line 411 of file configuration.h.

◆ RADIO_BUSY

#define RADIO_BUSY   6

PD6

Definition at line 414 of file configuration.h.

◆ RADIO_DIO1

#define RADIO_DIO1   2

PD2

Definition at line 413 of file configuration.h.

◆ RADIO_NRST

#define RADIO_NRST   RADIOLIB_NC

Not connected

Definition at line 415 of file configuration.h.

◆ RADIO_NSS

#define RADIO_NSS   7

PD7

Definition at line 412 of file configuration.h.