Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USE_DISPLAY Not working TTGO-Lora32 V1.3 #43

Open
kskenyon opened this issue May 20, 2022 · 4 comments
Open

USE_DISPLAY Not working TTGO-Lora32 V1.3 #43

kskenyon opened this issue May 20, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@kskenyon
Copy link

I have two new V1.3 TTGO-Lora32 and as far as I can tell everything is configured correctly but the display is either blank or not working. I know the display is good because it worked with the stock firmware. Has something changed in recent V1.3 hardware?

@kskenyon
Copy link
Author

After much diddling around I discovered that the new v1.3 marked board uses the code base for v2. So just select v2 when uploading to this board. It does not have a controllable LED.

@PLAyerNos
Copy link

Selecting 'heltec_wifi_lora_32' is another option👍

@lnlp lnlp added the bug Something isn't working label May 26, 2022
@lnlp lnlp self-assigned this May 26, 2022
@lnlp
Copy link
Owner

lnlp commented May 26, 2022

@kskenyon
I just did a brief check in de V1.3's schematic diagram and it appears that definition of SDA and SCL pins in LMIC-node are set incorrectly for the TTGO LoRa32 V1.3. The I2C pin definitions used are (still) from v1.0 versions of this board.

I will have a further look at the issue and add a fix later.

I have none of the TTGO LoRa32 v1.x boards myself for testing. Unfortunately documentation for the TTGO boards is often poor, not available or contains errors, there is little consistency between different versions of their boards and proper Arduino support for each board version is lacking, making it very difficult to support these boards (especially without access to the hardware)

@julianwue
Copy link

@lnlp
Had the same problem with an old Lora32 v1. The I2C reset pin was missing, but with PIN 16 the display works for me.

Changed the file "bsf_ttgo_lora32_v1.h" in line 121 from

U8X8_SSD1306_128X64_NONAME_HW_I2C display(/*rst*/ U8X8_PIN_NONE, /*scl*/ 15, /*sda*/ 4);

to

U8X8_SSD1306_128X64_NONAME_HW_I2C display(/*rst*/ 16, /*scl*/ 15, /*sda*/ 4);

Also the Board LED works on pin 2 with this code in line 117
EasyLed led(LED_BUILTIN, EasyLed::ActiveLevel::High);
(and uncommented -D USE_LED 423 in platformio.ini )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants