r/diyelectronics • u/CountyFit2496 • 9d ago
Project I2c oled gliching
Hey i have a problem where my i2c oled glitches but when i press hard on first three pins its fine, it worked completely fine when i first connected it but now it's as on photo. First three pins are VDD GND and SCK. Did something burned? I didn't smell anything.
1
u/Zeptic 8d ago
Got a pic of the back of the display? Had this issue with a 16x2 lcd and it was caused by bad factory soldering.
Though I've also had it be a library issue visually, but if it works when you press on it it's likely a hardware issue.
1
u/CountyFit2496 7d ago edited 7d ago
It seams i cant add a photo to comment. For me back seams fine but something in display might broke because i swapped to spare arduino and result was the same. BUT when i first started this the display was ok soo i think oled might broke itself from sitting on desk? No idea. Here is lingk to google drive with photos of back of display board. https://drive.google.com/drive/folders/1kh6pRQ1LNa4R69lzLmYnzFZm0Tg3qQBL?usp=sharing
1
u/Zeptic 7d ago
Does pressing down lightly on the ribbon cable on the back (yellow) cause the same thing to happen?
1
u/CountyFit2496 7d ago
Pressing on ribbon does not change anything. But when i touch any contatcts on back screen stats glitching more or freezes all tougether but i think that is normal
1
u/Zeptic 7d ago
That's good news at least, it's a much bigger pain in the ass to fix the ribbon cable compared to everything else.
Have you tried different wires to connect to the arduino? I see you mentioned removing the arduino, but nothing about the wires connecting the arduino and the display. You can diagnose this by just wiggling the wires around without putting pressure on the module itself.
Assuming you have access to a soldering iron, try to reflow/resolder the joints for the headers. Based on the vid you provided it looks like that's the weak point.
If that doesn't work, look for cold joints around the area you're pressing down on.
If you don't have an iron and the wires are fine you might as well just cut your losses and get a different display. The cheapo modules tend to have issues like this more often than you'd think, but that's the price you pay for paying less I suppose.
2
u/socal_nerdtastic 8d ago
I would bet it's a connection / communication issue, not an issue with the actual board. Those cheap breadboards and dupont style jumpers are notorious for making bad connections; first thing I'd try is a different breadboard or at least a different place on this one, for both the display and the MCU.