1
- // the default ESP32 Pin of 15 is the Oled SCL, set to 36 and 37 and works fine.
2
- // Tested on Neo6m module.
1
+
2
+ // updated variant 20250420 berlincount, tested with HTIT-TB
3
+ //
4
+ // connections in HTIT-WB
5
+ // per https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
6
+ // md5: a0e6ae10ff76611aa61433366b2e4f5c esp32_datasheet_en.pdf
7
+ // per https://resource.heltec.cn/download/Wireless_Bridge/Schematic_Diagram_HTIT-WB_V0.2.pdf
8
+ // md5: d5c1b0219ece347dd8cee866d7d3ab0a Schematic_Diagram_HTIT-WB_V0.2.pdf
9
+
10
+ #define NO_EXT_GPIO 1
11
+ #define NO_GPS 1
12
+
13
+ #define HAS_GPS 0 // GPS is not equipped
3
14
#undef GPS_RX_PIN
4
15
#undef GPS_TX_PIN
5
- #define GPS_RX_PIN 36
6
- #define GPS_TX_PIN 33
7
-
8
- #ifndef USE_JTAG // gpio15 is TDO for JTAG, so no I2C on this board while doing jtag
9
- #define I2C_SDA 4 // I2C pins for this board
10
- #define I2C_SCL 15
11
- #endif
12
16
13
- #define LED_PIN 25 // If defined we will blink this LED
14
- #define BUTTON_PIN 0 // If defined, this will be used for user button presses
17
+ // Green / Lora = PIN 22 / GPIO2, Yellow / Wifi = PIN 23 / GPIO0, Blue / BLE = PIN 25 / GPIO16
18
+ #define LED_PIN 22
19
+ #define WIFI_LED 23
20
+ #define BLE_LED 25
15
21
22
+ // ESP32-D0WDQ6 direct pins SX1276
16
23
#define USE_RF95
17
- #define LORA_DIO0 26 // a No connect on the SX1262 module
24
+ #define LORA_DIO0 26
25
+ #define LORA_DIO1 35
26
+ #define LORA_DIO2 34
27
+ #define LORA_SCK 05
28
+ #define LORA_MISO 19
29
+ #define LORA_MOSI 27
30
+ #define LORA_CS 18
31
+
32
+ // several things are not possible with JTAG enabled
18
33
#ifndef USE_JTAG
19
- #define LORA_RESET 14
34
+ #define LORA_RESET 14 // LoRa Reset shares a pin with MTMS
35
+ #define I2C_SDA 4 // SD_DATA1 going to W25Q64, but
36
+ #define I2C_SCL 15 // SD_CMD shared a pin with MTD0
20
37
#endif
21
- #define LORA_DIO1 35
22
- #define LORA_DIO2 34 // Not really used
23
38
24
- // ratio of voltage divider = 3.20 (R1=100k, R2=220k)
25
- #define ADC_MULTIPLIER 3.2
39
+ // user button is present on device, but currently untested & unconfigured - couldn't figure out how it's connected
26
40
27
- #define BATTERY_PIN 13 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
28
- #define ADC_CHANNEL ADC2_GPIO13_CHANNEL
29
- #define BAT_MEASURE_ADC_UNIT 2
41
+ // battery support is present within device, but currently untested & unconfigured - couldn't find reliable information yet
0 commit comments