-
Notifications
You must be signed in to change notification settings - Fork 53
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
OLED Display #5
Comments
Hello, |
Unfortunately it is still not working :( |
Try to change OLED Display declaration of U8G2 library to one of these:
|
No such luck. I ordered a new display that is attached to its own board and will try it using the I2C connector. One other issue I am wondering about is using GPIO 45 as the reset pin. It is a strapping pin and with the pull up resistor it is setting the esp32s2's VDD_SPI to 1.8V on startup. I have the FN4R2 and datasheet says that VDD_SPI needs to be set to 3.3V (GPIO 45 = 0) in order for the embedded flash to work. I'm not sure how vital that is as makermoekoe appears to be using a similar chip version. Either way I appreciate your help and if you have any more suggestions please keep them coming. |
UPDATE Display is working!! I did what I described in my last post. I also removed the pull up resistor on GPIO45 and the two on SCL and SDA as those are already on the display module I am using now. I reset the code back to how it was originally with one exception: Since I no longer have the reset pin of the display connected to the board I changed the constructor to: |
I'm glad it works for you, in my case I had the ESP32-S2FH2 version, without Embedded PSRAM, so the GPIO45 pin doesn't influence me. |
Ya I was hoping it would get some updates. I just started learning to code at university so I'm a little lost on software side. Looking forward to seeing what you got. |
@thurstinn were you able to solve the issue with the "direct" OLED connection, or only with "external" display via QWIIC connector? The latter would be really bad in my usecase unfortunately - and I have the FN4R2 version of the ESP23-S2 also. |
nevermind. Got the displays running. You can burn efuses on the FN4R2 chip version to make it ignore the signal level of the GPIO 45 strapping pin and go for 3.3V on VDD_SPI always. But - this cannot be undone. Use espefuse.py tool for that, I did that successfully but had no actual effect. If you use any version of the arduino-esp32 framework newer than the one used by makermoekoe (2.00-alpha-1) you will get problems with buzzer, display and led. right now I am investigating. When researching this - I actually found out, that the displays connection circuit for this pcb was adapted from the adafruit display boards. (see https://cdn-learn.adafruit.com/assets/assets/000/093/884/original/adafruit_products_0-96in_OLED_sch.png) For me, the display is working, after re-doing the soldering of all connections. Make sure to double check I2C Pins of the ESP32 and all connector-pins and to use visual studio with the exact provided library versions that makermoekoe uses (do NOT modify platformio.ini ! )to make the display work. |
Not sure if you still need this but I ended up designing a new board with a new working display circuit for a direct connection. This is the schematic. The reset pin is no longer connected to the esp32 and instead has what looks an auto reset circuit. I referenced the schematic from the external display module I had bought. |
@thurstinn TY so much - but I actually got it working using the initial direct 30 pins OLED display I got from Aliexpress. But : THANKS a bunch for that input, I will definitely take your circuit into account and check it out - it may be extremely helpful for my own pcb idea actually ... so be assured I am very thankful for your input <3 |
No problem good luck on your project! let me know if I can help. I went by the book with my pcb on a 4 layer board. The esp32-s2 hardware design guideline pdf is a great resource. |
I'm a bit confused. This seems like a nice project but it seems there's bom related issues to get everything working? It sounds like I'd specifically need a ESP32-S2FH2? @thurstinn You mention a new board, any chance you could link to the design files / a repo with a bom, or is it as simple as buy X model version of esp32 chip and use the original repo files? |
Hey, thanks for the upload. I have designed my own board with your schematics. I have checked and re-checked and I know that everything is correctly routed and assembled. I am using the exact same display with SSD1306 and I have tried 2 now. I have had no issues flashing the chip and the buttons are working causing the RGB to light up accordingly, there is just no image on screen. Unless I actually have received 2 bunk displays in a row, is there possibly anything that I could be missing here? Like I said I have tested the board and the screen is getting power, i2c, and has the exact same topology as far as passives etc. that yours has. Any advice would be appreciated, I have spent a lot of time and money on this project.
P.S. love your YT channel
The text was updated successfully, but these errors were encountered: