ttgov2.h updated
This commit is contained in:
parent
8f93fc1f82
commit
b30c18bad1
@ -28,26 +28,29 @@
|
|||||||
#define OLED_SDA GPIO_NUM_21 // ESP32 GPIO21 -- SD1306 D1+D2
|
#define OLED_SDA GPIO_NUM_21 // ESP32 GPIO21 -- SD1306 D1+D2
|
||||||
#define OLED_SCL GPIO_NUM_22 // ESP32 GPIO22 -- SD1306 D0
|
#define OLED_SCL GPIO_NUM_22 // ESP32 GPIO22 -- SD1306 D0
|
||||||
|
|
||||||
|
/* source:
|
||||||
|
https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic-part-2/11973
|
||||||
|
|
||||||
/*
|
TTGO LoRa32 V2:
|
||||||
ESP32 LoRa module (SPI) OLED display (I2C)
|
ESP32 LoRa (SPI) Display (I2C) LED
|
||||||
--------- ----------------- ------------------
|
----------- ---------- ------------- ------------------
|
||||||
5 SCK SCK
|
GPIO5 SCK SCK
|
||||||
27 MOSI MOSI
|
GPIO27 MOSI MOSI
|
||||||
19 MISO MISO
|
GPIO19 MISO MISO
|
||||||
18 SS NSS
|
GPIO18 SS NSS
|
||||||
14 RST
|
EN RST RST
|
||||||
26 DIO0
|
GPIO26 DIO0
|
||||||
33 DIO1 (see note {1})
|
GPIO33 DIO1 (see #1)
|
||||||
32 DIO2 (see note {2})
|
GPIO32 DIO2 (see #2)
|
||||||
22 SCL SCL
|
GPIO22 SCL SCL
|
||||||
21 SDA SDA
|
GPIO21 SDA SDA
|
||||||
22 LED (useless, see note {3})
|
GPIO22 useless (see #3)
|
||||||
|
|
||||||
{1} Must be wired externally!
|
#1 Required (used by LMIC for LoRa).
|
||||||
DIO1 is connected to a separate pin on pcb, but is not connected to GPIO33.
|
Not on-board wired to any GPIO. Must be manually wired. <<-- necessary for paxcounter
|
||||||
Solder a wire from pcb pin labeled "LORA_IRQ" to pin "GPIO33" (see TTGO V2.0 pinout).
|
|
||||||
{2} Is not wired, but not needed for LoRa.
|
|
||||||
{3} The on-board LED is wired to SCL (used by display) therefore totally useless!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
#2 Optional (used by LMIC for FSK but not for LoRa). <<-- NOT necessary for paxcounter
|
||||||
|
Not on-board wired to any GPIO. When needed: must be manually wired.
|
||||||
|
|
||||||
|
#3 GPIO22 is already used for SCL therefore LED cannot be used without conflicting with I2C and display.
|
||||||
|
*/
|
Loading…
Reference in New Issue
Block a user