SapFlow Probe
A low-cost HRM probe for measuring a tree's water consumption
pinout.h
Go to the documentation of this file.
1 #pragma once
2 
11 enum pinout{
12  EN_3v3 = 5,
13  EN_5v = 6,
14  SD_CS = 10,
15  HEATER = 11,
16  ALARM_PIN = 12,
17  STATUS_LED = 13,
18  I2C_SDA = 20,
19  I2C_SCL = 21,
20  SPI_SCK = 24,
21  SPI_MOSI = 23,
22  SPI_MISO = 22,
23  TX = 1,
24  RX = 0,
25  UPPER_CS = 19,
26  LOWER_CS = 18,
27  HEATER_CS = 17,
28  RFM95_CS = 8,
29  RFM95_RST = 4,
30  RFM95_INT = 3,
31 };
32 
33 // Other includes that everyone should have
34 #define PT_USE_TIMER
35 #define PT_USE_SEM
36 #include <pt.h>
I2C_SCL
@ I2C_SCL
I2C clock pin. Pull-up.
Definition: pinout.h:19
EN_5v
@ EN_5v
Control pin for 5v Power rail. Output, Active-high.
Definition: pinout.h:13
STATUS_LED
@ STATUS_LED
Built-in LED on feather. Active-high.
Definition: pinout.h:17
EN_3v3
@ EN_3v3
Control pin for 3.3V power rail. Output, Active-low.
Definition: pinout.h:12
SPI_MOSI
@ SPI_MOSI
SPI data pin. Output.
Definition: pinout.h:21
HEATER_CS
@ HEATER_CS
Heater RTD amplifier chip select. Output.
Definition: pinout.h:27
pinout
pinout
Pin definitions for our project.
Definition: pinout.h:11
RFM95_RST
@ RFM95_RST
Reset pin used for LoRa. Output. Active-low?
Definition: pinout.h:29
HEATER
@ HEATER
Control pin for heater switch. Output, Active-high.
Definition: pinout.h:15
RFM95_CS
@ RFM95_CS
SPI chip select used for LoRa. Output, Active-low.
Definition: pinout.h:28
SPI_MISO
@ SPI_MISO
SPI data pin. Input.
Definition: pinout.h:22
UPPER_CS
@ UPPER_CS
Upper RTD amplifier chip select. Output.
Definition: pinout.h:25
RFM95_INT
@ RFM95_INT
Interrupt pin used for LoRa. Input. Active-low?
Definition: pinout.h:30
LOWER_CS
@ LOWER_CS
Lower RTD amplifier chip select. Output.
Definition: pinout.h:26
I2C_SDA
@ I2C_SDA
I2C data pin. Pull-up.
Definition: pinout.h:18
RX
@ RX
Serial1 receive, used for RS232. Input.
Definition: pinout.h:24
SPI_SCK
@ SPI_SCK
SPI clock pin. Output.
Definition: pinout.h:20
TX
@ TX
Serial1 transmit, used for RS232. Output.
Definition: pinout.h:23
ALARM_PIN
@ ALARM_PIN
Interrupt pin from RTC. Pull-up, Active-low.
Definition: pinout.h:16
SD_CS
@ SD_CS
SPI chip select for SD card. Output, Active-low.
Definition: pinout.h:14