STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
pins.h
Go to the documentation of this file.
1#pragma once
2
3// DAN-E Avionics — ESP32-C6 PCB net names (single source of truth)
4
5// Shared SPI (SCLK / MOSI / MISO)
6#define PIN_SCLK 2
7#define PIN_MOSI 3
8#define PIN_MISO 16
9
10// SPI chip selects
11#define PIN_MX25_CS 0
12#define PIN_ADC_CS 1
13#define PIN_ACCEL_CS 17
14#define PIN_IMU_CS 20
15
16// I2C — LPS28DFW
17#define PIN_SDA 4
18#define PIN_SCL 5
19
20#define PIN_BARO_INT 6
21#define PIN_MX25_RESET 7
22
23// Solenoid drivers (HIGH = valve on)
24#define PIN_DRIVE_1 9
25#define PIN_DRIVE_2 18
26#define PIN_DRIVE_3 19
27#define PIN_DRIVE_4 8
28#define PIN_DRIVE_5 10
29#define PIN_DRIVE_6 11
30
31#define PIN_ACCEL_INT2 15
32#define PIN_IMU_INT1 21
33#define PIN_IMU_INT2 22
34#define PIN_ACCEL_INT1 23