Hello everyone,
i am relatively new to all of this, so some of my questions might seem odd, i apologize in advance :)
I started to get interested in those boards, because i want to monitor the production of my solar panels in real time without subscribing to any manufacturer's cloud.
I then heard about the openDTU project, which allows to monitor my micro-inverter with an ESP32 board, and an antenna.
I chose the ESP32-POE-ISO because i have a POE switch just next the place i want to set it up.
I now want to add the antenna i bought, and also a OLED display. I chose those 2 :
antenna : https://www.amazon.fr/dp/B09G9GJCXW?ref=ppx_yo2ov_dt_b_fed_asin_title
oled : https://www.amazon.fr/dp/B0CWGP53JW?ref=ppx_yo2ov_dt_b_fed_asin_title
i checked this picture for the wiring :
https://www.opendtu.solar/hardware/olimexpoeiso/#schematic
so i soldered port 32/33 to SDA/SCL and port GND/+3.3 to GND/VCC on my display
Before going further, i would like to see if i can display something on the screen in a easy way.
I'm using Arduino IDE, i could install the board, the port, i can connect to my Olimex board.
I could write a small program that blinks leds on my pin 32 and 33, so it looks like everything on the board and my solderings is working, but when i plug the display, i can't get it to display something.
i downloaded the library Adafruit_SSD1306.h, but then i'm stuck.
Is there a possibility that the 32/33 ports arent the good one ? if yes how to change them since my wires are already soldered ?
Can someone give me a little code to test this screen ? like to write "hello world" or something, so i can be sure i didnt burn something in my tests ?
Thanks a lot for your help
Looks good so far. Just you tried a library that is made for another controller? From the Amazon page it seems like the display uses SSD1106 (not SSD1306). Maybe try another library or another demo for SSD1106. Also it is possible that the manufacturer used another controller.
Pins 32 and 33 are fine, just make sure that in your code they are defined for I2C operation.
This is usually done with:
Wire.begin (32, 33);
Best regards,
Lub/OLIMEX
Hi and thanks for your answer.
I didn't see where you saw the 1106 library, but in the the comments i found someone talking about the U8G2 library, so i tried it.
Apparently the pin im supposed to use are also part of the UEXT, so they are easily wirable.
I tried in that way, and it worked like a charm.
I'll keep digging in my corner, but i wont hesitate to come back here if i face some new obstacles
thanks for your help
Yeah you can also use jumper wires at the UEXT to save from soldering. Just change the definitions, look at the schematic for the GPIOs of the ESP32 at the UEXT.
This is where I saw about 1106, one of the pictures on the product page:
(https://i.imgur.com/OWDbby1.jpeg)