Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions variants/Bee_Data_Logger/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ static const uint8_t T14 = 14;

static const uint8_t BOOT_BTN = 0;
static const uint8_t VBAT_VOLTAGE = 1;
#define BAT_VOLT_PIN VBAT_VOLTAGE
static const uint8_t VBUS_SENSE = 2;
static const uint8_t LDO2 = 34;
static const uint8_t RGB_DATA = 40;
Expand Down
1 change: 1 addition & 0 deletions variants/Bee_Motion_S3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ static const uint8_t T14 = 14;

static const uint8_t BOOT_BTN = 0;
static const uint8_t VBAT_VOLTAGE = 1;
#define BAT_VOLT_PIN VBAT_VOLTAGE
static const uint8_t VBUS_SENSE = 2;
static const uint8_t PIR = 4;
static const uint8_t LIGHT = 3;
Expand Down
1 change: 1 addition & 0 deletions variants/Bee_S3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ static const uint8_t T9 = 9;
static const uint8_t T10 = 10;

static const uint8_t VBAT_VOLTAGE = 1;
#define BAT_VOLT_PIN VBAT_VOLTAGE

static const uint8_t RGB_DATA = 48;
static const uint8_t RGB_PWR = 34;
Expand Down
1 change: 1 addition & 0 deletions variants/Pcbcupid_GLYPH_C3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ static const uint8_t LED_BUILTIN = 1;

//MSR Used in on-board battery measurement
static const uint8_t BAT_MEASURE = 0;
#define BAT_VOLT_PIN BAT_MEASURE
#define MSR BAT_MEASURE

static const uint8_t TX = 21;
Expand Down
1 change: 1 addition & 0 deletions variants/Pcbcupid_GLYPH_C6/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ static const uint8_t LED_BUILTIN = 14;

//MSR Used in on-board battery measurement
static const uint8_t BAT_MEASURE = 0;
#define BAT_VOLT_PIN BAT_MEASURE
#define MSR BAT_MEASURE

static const uint8_t TX = 16;
Expand Down
1 change: 1 addition & 0 deletions variants/Pcbcupid_GLYPH_H2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ static const uint8_t LED_BUILTIN = 0;

//MSR Used in on-board battery measurement
static const uint8_t BAT_MEASURE = 1;
#define BAT_VOLT_PIN BAT_MEASURE
#define MSR BAT_MEASURE

static const uint8_t TX = 24;
Expand Down
1 change: 1 addition & 0 deletions variants/XIAO_ESP32S3_Plus/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static const uint8_t A8 = 7;
static const uint8_t A9 = 8;
static const uint8_t A10 = 9;
static const uint8_t ADC_BAT = 10;
#define BAT_VOLT_PIN ADC_BAT

static const uint8_t D0 = 1;
static const uint8_t D1 = 2;
Expand Down
1 change: 1 addition & 0 deletions variants/adafruit_camera_esp32s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static const uint8_t MISO = 37;
static const uint8_t A0 = 17;
static const uint8_t A1 = 18;
static const uint8_t BATT_MONITOR = 4;
#define BAT_VOLT_PIN BATT_MONITOR
static const uint8_t SHUTTER_BUTTON = 0;

static const uint8_t TX = 43;
Expand Down
1 change: 1 addition & 0 deletions variants/adafruit_feather_esp32_v2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static const uint8_t A13 = 35;

// vbat measure
#define BATT_MONITOR 35
#define BAT_VOLT_PIN BATT_MONITOR

// internal switch
#define BUTTON 38
Expand Down
1 change: 1 addition & 0 deletions variants/adafruit_magtag29_esp32s2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static const uint8_t BUTTON_D = PIN_BUTTON4;

static const uint8_t LIGHT_SENSOR = 3;
static const uint8_t BATT_MONITOR = 4;
#define BAT_VOLT_PIN BATT_MONITOR
static const uint8_t SPEAKER_SHUTDOWN = 16;

static const uint8_t SDA = 33;
Expand Down
1 change: 1 addition & 0 deletions variants/cyobot_v2_esp32s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t BUTTON1 = 38;
static const uint8_t LED = 24;

static const uint8_t BAT_MEAS = 6;
#define BAT_VOLT_PIN BAT_MEAS
static const uint8_t CHAR_DET = 23;

static const uint8_t NEO_BASE = 7;
Expand Down
1 change: 1 addition & 0 deletions variants/cytron_maker_feather_aiot_s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ static const uint8_t RGB_BUILTIN = SOC_GPIO_PIN_COUNT + 46; // RGB LED.

#define VIN 13 // Vin Sense.
#define VBATT 13
#define BAT_VOLT_PIN VBATT
#define VOLTAGE_MONITOR 13

static const uint8_t TX = 15;
Expand Down
1 change: 1 addition & 0 deletions variants/d1_mini32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ static const uint8_t LED_BUILTIN = 2;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
static const uint8_t _VBAT = 35; // battery voltage
#define BAT_VOLT_PIN _VBAT

#define PIN_WIRE_SDA SDA // backward compatibility
#define PIN_WIRE_SCL SCL // backward compatibility
Expand Down
1 change: 1 addition & 0 deletions variants/d32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ static const uint8_t LED_BUILTIN = 5;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
static const uint8_t _VBAT = 35; // battery voltage
#define BAT_VOLT_PIN _VBAT

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/d32_pro/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ static const uint8_t LED_BUILTIN = 5;
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN

static const uint8_t _VBAT = 35; // battery voltage
#define BAT_VOLT_PIN _VBAT

#define TF_CS 4 // TF (Micro SD Card) CS pin
#define TS_CS 12 // Touch Screen CS pin
Expand Down
1 change: 1 addition & 0 deletions variants/deneyapkart1Av2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@ static const uint8_t SDCS = 11;
static const uint8_t SDCK = 13;

static const uint8_t BAT = 9;
#define BAT_VOLT_PIN BAT

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/deneyapkartv2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,6 @@ static const uint8_t SDCK = 13;
static const uint8_t SDDA = 14;

static const uint8_t BAT = 3;
#define BAT_VOLT_PIN BAT

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/esp32c3-devkit-lipo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ static const uint8_t SCK = 4;
//static const uint8_t PWR_SENSE = 4;
// battery measurement - disabled by default - check the schematic
//static const uint8_t BAT_SENSE = 3;
// #define BAT_VOLT_PIN BAT_SENSE
static const uint8_t A0 = 0;
static const uint8_t A1 = 1;
static const uint8_t A2 = 2;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32micromod/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static const uint8_t SCK = 18;
static const uint8_t A0 = 34;
static const uint8_t A1 = 35;
static const uint8_t BATT_VIN = 39;
#define BAT_VOLT_PIN BATT_VIN

static const uint8_t PWM0 = 13;
static const uint8_t PWM1 = 12;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32s2-devkit-lipo-usb/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static const uint8_t SCK = 36;
//static const uint8_t PWR_SENSE = 7;
// battery measurement - disabled by default - check the schematic
//static const uint8_t BAT_SENSE = 8;
// #define BAT_VOLT_PIN BAT_SENSE

static const uint8_t A0 = 1;
static const uint8_t A1 = 2;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32s2-devkit-lipo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ static const uint8_t SCK = 36;
//static const uint8_t PWR_SENSE = 7;
// battery measurement - disabled by default - check the schematic
//static const uint8_t BAT_SENSE = 8;
// #define BAT_VOLT_PIN BAT_SENSE

static const uint8_t A0 = 1;
static const uint8_t A1 = 2;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32s3-devkit-lipo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static const uint8_t SCK = 12;
static const uint8_t PWR_SENSE = 5;
// battery measurement
static const uint8_t BAT_SENSE = 6;
#define BAT_VOLT_PIN BAT_SENSE

static const uint8_t A0 = 1;
static const uint8_t A1 = 2;
Expand Down
1 change: 1 addition & 0 deletions variants/esp32s3usbotg/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ static const uint8_t T3 = 3;
#define OVER_CURRENT 21 // Current overrun signal, high level means overrun.
#define HOST_VOLTS 1 // USB_DEV voltage monitoring, ADC1 channel 0. actual_v = value_v * 3.7
#define BAT_VOLTS 2 // Battery voltage monitoring, ADC1 channel 1. actual_v = value_v * 2
#define BAT_VOLT_PIN BAT_VOLTS

// USB Port
#define USB_DN 19 // USB D-
Expand Down
1 change: 1 addition & 0 deletions variants/feather_esp32/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ static const uint8_t A12 = 13;

// vbat measure
static const uint8_t BATT_MONITOR = 35;
#define BAT_VOLT_PIN BATT_MONITOR
static const uint8_t A13 = 35;
//static const uint8_t Ax = 0; // not used/available
//static const uint8_t Ax = 2; // not used/available
Expand Down
1 change: 1 addition & 0 deletions variants/fed4/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ static const uint8_t T6 = 6;

static const uint8_t BOOT_BTN = 0;
static const uint8_t VBAT_VOLTAGE = 7;
#define BAT_VOLT_PIN VBAT_VOLTAGE
static const uint8_t LDO2 = 47;
static const uint8_t STATUS_RGB = 35;
static const uint8_t RGB_STRIP = 36;
Expand Down
1 change: 1 addition & 0 deletions variants/fobe_quill_esp32s3_mesh/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* Battery
*/
#define PIN_VBAT (10)
#define BAT_VOLT_PIN PIN_VBAT

/*
* Buttons
Expand Down
1 change: 1 addition & 0 deletions variants/fri3d_2024_esp32s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static const uint8_t SCK = 7;
#define PIN_BLASTER 10
#define PIN_BUZZER 46
#define PIN_BATTERY 13
#define BAT_VOLT_PIN PIN_BATTERY

#define PIN_SDCARD_CS SS

Expand Down
1 change: 1 addition & 0 deletions variants/heltec_capsule_sensor_v3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ static const uint8_t GPS_RESET_PIN = 3;
static const uint8_t GPS_PPS_PIN = 1;

static const uint8_t ADC_BATTERY_PIN = 7;
#define BAT_VOLT_PIN ADC_BATTERY_PIN
static const uint8_t ADC_BATTERY_CTRL_PIN = 36;

static const uint8_t RST_LoRa = 12;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t3_s3_lr1121/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t LED_BUILTIN = 37;

static const uint8_t BUTTON_1 = 0;
static const uint8_t BAT_VOLT = 1;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t3_s3_sx1262/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t LED_BUILTIN = 37;

static const uint8_t BUTTON_1 = 0;
static const uint8_t BAT_VOLT = 1;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t3_s3_sx127x/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t LED_BUILTIN = 37;

static const uint8_t BUTTON_1 = 0;
static const uint8_t BAT_VOLT = 1;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t3_s3_sx1280/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t LED_BUILTIN = 37;

static const uint8_t BUTTON_1 = 0;
static const uint8_t BAT_VOLT = 1;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t3_s3_sx1280pa/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const uint8_t LED_BUILTIN = 37;

static const uint8_t BUTTON_1 = 0;
static const uint8_t BAT_VOLT = 1;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t_display/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static const uint8_t DAC1 = 25;
static const uint8_t DAC2 = 26;

static const uint8_t VBAT = 34;
#define BAT_VOLT_PIN VBAT

static const uint8_t RIGHT_BUTTON = 35;
static const uint8_t LEFT_BUTTON = 0;
Expand Down
1 change: 1 addition & 0 deletions variants/lilygo_t_display_s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
static const uint8_t BUTTON_1 = 0;
static const uint8_t BUTTON_2 = 14;
static const uint8_t BAT_VOLT = 4;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/lolin_c3_pico/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static const uint8_t SDA = 8;
static const uint8_t SCL = 10;

static const uint8_t VBAT = 3;
#define BAT_VOLT_PIN VBAT

static const uint8_t SCK = 1;
static const uint8_t MISO = 0;
Expand Down
1 change: 1 addition & 0 deletions variants/oroca_edubot/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static const uint8_t D8 = 33;

// vbat measure
static const uint8_t VBAT = 35;
#define BAT_VOLT_PIN VBAT

static const uint8_t T0 = 4;
static const uint8_t T1 = 0;
Expand Down
1 change: 1 addition & 0 deletions variants/rakwireless_rak3112/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ static const uint8_t LED_BUILTIN = LED_GREEN;
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN

static const uint8_t BAT_VOLT = 21;
#define BAT_VOLT_PIN BAT_VOLT

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down
1 change: 1 addition & 0 deletions variants/roboheart_hercules/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#define GSM_TX TXD1
#define GSM_RX RXD1
#define BATTERY_PIN 36 // Battery ADC pin
#define BAT_VOLT_PIN BATTERY_PIN

static const uint8_t TX = 35;
static const uint8_t RX = 34;
Expand Down
1 change: 1 addition & 0 deletions variants/tamc_termod_s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static const uint8_t T13 = 13;
static const uint8_t T14 = 14;

static const uint8_t BAT_LV = 1;
#define BAT_VOLT_PIN BAT_LV
static const uint8_t CHG = 2;
static const uint8_t TFT_CS = 10;
static const uint8_t TFT_DC = 18;
Expand Down
1 change: 1 addition & 0 deletions variants/thingpulse_epulse_feather/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ static const uint8_t A12 = 13;

// vbat measure
static const uint8_t BATT_MONITOR = 35; // Note: voltage divider 2.2M/4.7M
#define BAT_VOLT_PIN BATT_MONITOR
static const uint8_t A13 = 35;
//static const uint8_t Ax = 0; // not used/available
//static const uint8_t Ax = 2; // not used/available? GPIO02 is available!
Expand Down
1 change: 1 addition & 0 deletions variants/ttgo-t-oi-plus/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ static const uint8_t A2 = 4;
static const uint8_t A3 = 5;

static const uint8_t BAT_ADC_PIN = 2;
#define BAT_VOLT_PIN BAT_ADC_PIN

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/uPesy_esp32c3_basic/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ static const uint8_t A4 = 4;
static const uint8_t A5 = 5;

static const uint8_t VBAT_SENSE = 0;
#define BAT_VOLT_PIN VBAT_SENSE

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/uPesy_esp32c3_mini/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ static const uint8_t A4 = 4;
static const uint8_t A5 = 5;

static const uint8_t VBAT_SENSE = 0;
#define BAT_VOLT_PIN VBAT_SENSE

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/um_bling/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static const uint8_t BUTTON_C = 33;
static const uint8_t BUTTON_D = 34;

static const uint8_t VBAT_SENSE = 17;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 16;

static const uint8_t I2S_MIC_SEL = 39;
Expand Down
1 change: 1 addition & 0 deletions variants/um_feathers2neo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ static const uint8_t LED_BUILTIN = RGB_BUILTIN;
static const uint8_t NEOPIXEL_PWR = 39;

static const uint8_t VBAT_SENSE = 2;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 34;

#endif /* Pins_Arduino_h */
1 change: 1 addition & 0 deletions variants/um_feathers3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ static const uint8_t T12 = 12;
static const uint8_t T14 = 14;

static const uint8_t VBAT_SENSE = 2;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 34;

// User LED
Expand Down
1 change: 1 addition & 0 deletions variants/um_feathers3neo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ static const uint8_t T12 = 12;
static const uint8_t T14 = 14;

static const uint8_t VBAT_SENSE = 2;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 15;

// User LED
Expand Down
1 change: 1 addition & 0 deletions variants/um_pros3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static const uint8_t T13 = 13;
static const uint8_t T14 = 14;

static const uint8_t VBAT_SENSE = 10;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 33;

static const uint8_t RGB_DATA = 18;
Expand Down
1 change: 1 addition & 0 deletions variants/um_tinyc6/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static const uint8_t T8 = 8;
static const uint8_t T9 = 9;

static const uint8_t VBAT_SENSE = 4;
#define BAT_VOLT_PIN VBAT_SENSE
static const uint8_t VBUS_SENSE = 10;

static const uint8_t RGB_DATA = 23;
Expand Down
Loading
Loading