"Pulsating" Brightness on SH1106 1.3" SPI Display #2131
Replies: 2 comments 6 replies
-
To me it sounds like a power supply issue. Maybe it helps if you add a 1uF capacitor very close to the power supply pins of the OLED. |
Beta Was this translation helpful? Give feedback.
-
Oli, you know what bothers me about this? It seems like it is something that you should be able to fix with software or minimal hardware - like the RC circuit. Why that circuit didn't work...I dunno. seems like it should. Some mentioned on that post that under brownout, it wouldn't work. And why is it not an issue when connecting an I2C device? We know it is much slower...could that delay be helping? I tried the RC circuit again with a 10uF cap. It appeared to work...booted up 3 times in a row with no dimming, but then I started to get the issue. It has never happened with an assigned reset pin. Does U8g2 do anything with the reset pin? II do not have a pullup resistor nor assign it an internal pullup in my code. In fact, I do not initialize the pin at all in my code...just provide the pin number in the u8g2 constructor. Given that, what controls the voltage to the pin i.e. provides the logic for the reset and then tells it to go to +3.3V? Fish |
Beta Was this translation helpful? Give feedback.
-
Hey all. My project is coming along pretty well. I swapped out my DS3231 I2C RTC module for a DS3234 SPI RTC module. I figured it would save me a pin since my SH1106 display is also SPI and I could put them all on the same bus. Initially, it didn't work at all becasue I had to initialize the SPI bus for use with the DS3234. I used :
` SPI.begin(2,0,4,10); // Initialize SPI for DS3234'
so pin2 is the SCLK, pin 0 = MISO, pin4= MOSI and pin 10 =CS.
When I defined that, everything seemed to work except when I would make changes and upload my sketch, the screen would pulsate alternating between dim and bright at 1-2 Hz roughly. If I unplug power from the USB and then plug it back in, the pulsating goes away. I was wondering if you guys have seen anything like that. I have a couple of hunches but not sure.
Anyway, let me know if you guys have seen this "strobing " effect and have any ideas.
Fish
Beta Was this translation helpful? Give feedback.
All reactions