v1.8.34 (power on/off features for T-BEAM V10)
This commit is contained in:
1 parent
6abfc26f2e
commit
7daa36366b
7 files changed
+120
-82
No files matched your search
+39
-10
@@ -7,9 +7,24 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Hardware related definitions for TTGO T-Beam board
|
||||
// (only) for newer T-Beam version T22_V10
|
||||
// pinouts taken from https://github.com/lewisxhe/TTGO-T-Beam
|
||||
/*
|
||||
Hardware related definitions for TTGO T-Beam board
|
||||
(only) for newer T-Beam version T22_V10
|
||||
pinouts taken from https://github.com/lewisxhe/TTGO-T-Beam
|
||||
|
||||
/// Button functions: ///
|
||||
Power, short press -> set device on (toggles display while device is on)
|
||||
Power, long press -> set device off
|
||||
User, short press -> flip display page
|
||||
User, long press -> send LORA message
|
||||
Reset -> reset device
|
||||
*/
|
||||
|
||||
//#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C
|
||||
#define MY_OLED_SDA SDA
|
||||
#define MY_OLED_SCL SCL
|
||||
#define MY_OLED_RST U8X8_PIN_NONE
|
||||
//#define DISPLAY_FLIP 1 // use if display is rotated
|
||||
|
||||
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
|
||||
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
|
||||
@@ -30,16 +45,30 @@
|
||||
//#define HAS_BME680 SDA, SCL
|
||||
//#define BME680_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !!
|
||||
|
||||
// display (if connected)
|
||||
//#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C
|
||||
//#define MY_OLED_SDA SDA
|
||||
//#define MY_OLED_SCL SCL
|
||||
//#define MY_OLED_RST U8X8_PIN_NONE
|
||||
//#define DISPLAY_FLIP 1 // use if display is rotated
|
||||
|
||||
// user defined sensors (if connected)
|
||||
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
|
||||
|
||||
//#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
// T-Beam V10 has on board power management by AXP192 PMU chip:
|
||||
//
|
||||
// DCDC1 0.7-3.5V @ 1200mA -> OLED
|
||||
// DCDC3 0.7-3.5V @ 700mA -> ESP32 (keep this on!)
|
||||
// LDO1 30mA -> GPS Backup
|
||||
// LDO2 200mA -> LORA
|
||||
// LDO3 200mA -> GPS
|
||||
|
||||
// Wiring for I2C OLED display:
|
||||
//
|
||||
// Signal Header OLED
|
||||
// 3V3 7 VCC
|
||||
// GND 8 GND
|
||||
// IO22(SCL) 9 SCL
|
||||
// IO21(SDA) 10 SDA
|
||||
//
|
||||
|
||||
*/
|
||||
Reference in new issue
Block a user