Open mr-suw opened 10 months ago
I modified the source to understand the root cause.
I disabled the external notification module, so that Pin 24 is not set. Done by modifying ExternalNotificationModule.cpp:255 as follows:
moduleConfig.external_notification.enabled = false; moduleConfig.external_notification.active = false;
Result:
It still stops on log output "External Notification Module Disabled" before turning on display. Same behaviour. What is the define in variant.h to disable the display?
@mr-suw
Thanks @markbirss. Device is now working without screen 😃. I am wondering if the SH1106 screen is really not working, because I already switched to a new one. I will try to retest the physical connections to the screen. Anything I could try in software to get the screen running?
@mr-suw
The nano-g1 includes
which helps for the particular I2C oled used, you could try also if you have not already
No luck with using the definitions USE_SH1106 or USE_SH1107_128_64 in variant.h of rak11310. But I did prove that the connected screen works in my current HW setup. I used the example from GyverOLED in Arduino IDE and uploaded it to RAK11300 board. After that the display initialises successfully and spins the 3D cube.
So I think this issue can remain open, because the screen is not correctly enabled for environment RAK11310 in meshtastic SW. Maybe anyone can fix it?
Re-tried with v2.2.16.1c6acfd. SH1106 1.3" 128x64 is still not working.
This issue has been mentioned on Meshtastic. There might be relevant details there:
To add to this, from my discourse issue linked above, the same thing occurs with the 0.96" SSD1306 OLED display. It appears to be an issue specifically with the RP2040 core and an I2C display.
I tried an analysis with additional logging enabled in v2.2.21.7f7c5cb (don't have a debugger yet). Following my results:
Full log is attached which content represents around 10 minutes runtime and with another node online: log.txt
Maybe we have to adapt some SX1262 handling because of the updated comments from here?
Is there any progress on the screen issue ? I bought a 11300 because of not needing Bluetooth but would like to have screen and other i2c sensors (bme280, ina219) for it to be a solar sensor node outdoors. tried up to 2.2.24 but no luck yet ?
I had some free time for testing alpha firmware version 2.4.1.394e0e1. No success with display. Device is without it functional. I connected also a RAK nanoDAP v2.3 to RAK11310, but I could not get it working in VS Code. I will switch to RAK4631 from RAK11310. But I will let this issue open for anyone who wants to see the SSH1106 screen working on RAK11310.
Category
Hardware Compatibility
Hardware
Rak11310
Firmware Version
v2.2.15.31c4693
Description
Flashed latest alpha version to RAK11310 via platform.io. HW setup is as follows:
Issue:
What could be wrong? I2C devices have been found. But maybe I2C communication not working (though tested with multimeter)?
Relevant log output