Thanks for this video. Helped me get the SSD1306 connected and tested to RPi5. However, towards the end of the video you mention about Python examples with RPi5 using GPIO. I could not find any videos for that - did I miss it?
Glad the video helps. No, I don't have video with Python3 for the OLED. I should probably do some tutorials with Python. Btw earlier today someone opened a GitHub issue with question about the Python example (I am not sure if you opened it or someone else). I provided some ideas how to install Python3 luma.oled library. Here is the link: github.com/AnaviTechnology/anavi-examples/issues/11
@@LeonAnavi Yes, python examples would be good. But I see access to gpio has been changed with RPi5. Still trying to figure out which library to use in python for Rpi5 gpio.
No, particularly the SSD1306 supports max resolution of 128x64px. There are other similar controllers that support bigger sizes and resolutions. For a reference please have a look at the list of controllers from this popular Arduino library: github.com/olikraus/u8g2?tab=readme-ov-file There are similar displays with touchscreen from brands like Winstar (they will require different and additional drivers to work).
hi sir I tried this with Rpi 4 model B here the problem I am facing During the initialization it going to else if (ssd1306_oled_load_resolution() != 0) { printf("please do init oled module with correction resolution first! "); return 1; } always return this can you help me? Thank YOU
Hey I’ve got the pi five and everything has worked but I would like to make it display stats and I just. Don’t understand the link in the reply is there any chance you could make a video or explain in detail what exactly I need to do and how (thanks)
What kind of stats do you want to show on the display? Do you have the same SSD1306 I2C mini display? Have you tried ssd1306_linux from GitHub as shown in this video to interact with the display?
8 месяцев назад
Thanks for your videos! Beyond text strings like on video, can we display some of Rasp Pi stats, ex: ip address, cpu temp ...? jusst a question
Yes, absolutely. Actually, with ANAVI Info uHAT add-on board and the sensors included in the kit like HTU21D you can do exactly this. As alternative to the C driver shown in this video, there is even a Python 3 demo script to show the IP address: github.com/AnaviTechnology/anavi-examples/blob/master/peripherals/OLED-SSD1306/python/OLED-SSD1306.py
Open a terminal and execute command "i2cdetect -y 1" to check if the OLED display is detected as an I2C device as shown in 2:35. If not double check the hardware wiring and make sure I2C is enabled through raspi-config.
Thanks for this video. Helped me get the SSD1306 connected and tested to RPi5. However, towards the end of the video you mention about Python examples with RPi5 using GPIO. I could not find any videos for that - did I miss it?
Glad the video helps. No, I don't have video with Python3 for the OLED. I should probably do some tutorials with Python.
Btw earlier today someone opened a GitHub issue with question about the Python example (I am not sure if you opened it or someone else). I provided some ideas how to install Python3 luma.oled library. Here is the link: github.com/AnaviTechnology/anavi-examples/issues/11
@@LeonAnavi Yes, python examples would be good. But I see access to gpio has been changed with RPi5. Still trying to figure out which library to use in python for Rpi5 gpio.
Awesome. Is there bigger size and higher resolution for this kind of display and is there touch screen as well ? Thank you.
No, particularly the SSD1306 supports max resolution of 128x64px. There are other similar controllers that support bigger sizes and resolutions. For a reference please have a look at the list of controllers from this popular Arduino library: github.com/olikraus/u8g2?tab=readme-ov-file
There are similar displays with touchscreen from brands like Winstar (they will require different and additional drivers to work).
hi sir I tried this with Rpi 4 model B here the problem I am facing During the initialization it going to else if (ssd1306_oled_load_resolution() != 0)
{
printf("please do init oled module with correction resolution first!
");
return 1;
} always return this can you help me?
Thank YOU
Initialize the mini OLED display with resolution 128x64px using ssd1306_linux:
./ssd1306_bin -n 1 -I 128x64
Hey I’ve got the pi five and everything has worked but I would like to make it display stats and I just. Don’t understand the link in the reply is there any chance you could make a video or explain in detail what exactly I need to do and how (thanks)
What kind of stats do you want to show on the display? Do you have the same SSD1306 I2C mini display? Have you tried ssd1306_linux from GitHub as shown in this video to interact with the display?
Thanks for your videos! Beyond text strings like on video, can we display some of Rasp Pi stats, ex: ip address, cpu temp ...? jusst a question
Yes, absolutely. Actually, with ANAVI Info uHAT add-on board and the sensors included in the kit like HTU21D you can do exactly this. As alternative to the C driver shown in this video, there is even a Python 3 demo script to show the IP address: github.com/AnaviTechnology/anavi-examples/blob/master/peripherals/OLED-SSD1306/python/OLED-SSD1306.py
What did you do to resolve the no oled attached to /dev/i2c-1 error? Thank you!
Open a terminal and execute command "i2cdetect -y 1" to check if the OLED display is detected as an I2C device as shown in 2:35. If not double check the hardware wiring and make sure I2C is enabled through raspi-config.
Good stuff
Thank you!