From 23dc0705970e2f0d46a703cf8a6ca619f9822d84 Mon Sep 17 00:00:00 2001 From: Gijs Noorlander Date: Fri, 14 Jun 2024 14:19:03 +0200 Subject: [PATCH 1/2] [Docs] Fix image links + clarify comments --- docs/display-led.md | 4 ++-- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/display-led.md b/docs/display-led.md index aa843fa6..7c38147e 100644 --- a/docs/display-led.md +++ b/docs/display-led.md @@ -37,7 +37,7 @@ As can be seen, GND and Vdd are swapped and thus the most commonly available dis In order to make the most commonly available version fit, you can strip of the plastics from the power pins and carefully bend both GND and Vdd pins in a Z-shape so they will fit in the adjacent pin hole. - +![Display Image](img/SSD1306_OLED_t-beam.jpg) This way the display is still positioned correctly to fit in the many available 3D printable enclosure designs out there. @@ -59,7 +59,7 @@ So the ESP32 may not be able to scan the I2C bus for any available I2C device an This catch-22 situation can be resolved by adding a simple diode from GPIO-0 to the "3.3V" pad. (the 'line' on the diode towards the "3.3V" pad) - +![Display Image](img/SSD1306_t-beam_diode_mod.jpg) In this test setup, a basic 1N4001 is used, which has a voltage drop of about 0.5V. Another option is to use a germanium diode like the 1N4148, which does have a voltage drop of 0.3V. diff --git a/src/main.cpp b/src/main.cpp index c2b58964..0c306a31 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -86,7 +86,7 @@ void setup() { // Reduce power consumption (optional) // This reduces the power consumption with about 50 mWatt. - // Typically it uses 660 mWatt when the CPU frequency is set to 80 MHz. + // Typically a TTGO T-beam v1.0 uses 660 mWatt when the CPU frequency is set to 80 MHz. // When left running at 240 mHz, the power consumption is about 710 - 730 mWatt. // Higher CPU speed may be preferred for wifi & ble sniffing. // From 6780d8aded0a8ba3fd0eb555a5d612d78d51685a Mon Sep 17 00:00:00 2001 From: Gijs Noorlander Date: Fri, 14 Jun 2024 14:19:52 +0200 Subject: [PATCH 2/2] Enable HAS_DISPLAY define for ttgobeam.h --- shared/hal/ttgobeam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/hal/ttgobeam.h b/shared/hal/ttgobeam.h index a75059f1..9e69ed15 100644 --- a/shared/hal/ttgobeam.h +++ b/shared/hal/ttgobeam.h @@ -33,7 +33,7 @@ //#define BME680_ADDR BME68X_I2C_ADDR_LOW // !! connect SDIO of BME680 to GND !! // display (if connected) -//#define HAS_DISPLAY 1 +#define HAS_DISPLAY 1 #define MY_DISPLAY_SDA SDA #define MY_DISPLAY_SCL SCL #define MY_DISPLAY_RST NOT_A_PIN