Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed Jun 15, 2024
2 parents 9cbb37f + 5dfbea5 commit 33fe653
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/display-led.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<img src="img/SSD1306_OLED_t-beam.jpg">
![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.

Expand All @@ -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)

<img src="img/SSD1306_t-beam_diode_mod.jpg">
![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.
Expand Down
2 changes: 1 addition & 1 deletion shared/hal/ttgobeam.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit 33fe653

Please sign in to comment.