| Electronics > Projects, Designs, and Technical Stuff |
| OLED voltage levels... |
| << < (3/5) > >> |
| amyk:
Turn down the contrast (command 81h) |
| alank2:
Thanks amyk, what is the difference between adjusting the iref resistor or contrast? I've tried turning the contrast down quite a bit and it didn't seem to make a difference, maybe I need to turn it down more. |
| alank2:
Ok, I can see that a level of 0x00 is dimmer, bright still fine to look at, certainly plenty visible. 0xff is brighter, but I wouldn't call it intensely so. |
| alank2:
I made it step from 0x00, to 0x8F, to 0xFF, but I only see two brightness steps and only see two distinct steps when monitoring current. Could I have something connected wrong? I originally had pin 14 mistakenly connected to vcc directly, but fixed that. Perhaps it was damaged from that. --- Code: ---1 c2p connected to 2 via 1uf cap 2 c2n connected to 1 via 1uf cap 3 c1p connected to 4 via 1uf cap 4 c1n connected to 3 via 1uf cap 5 vbat connected to vcc (3.3v), line has 4.7uF cap to ground 6 vbref 7 vss ground 8 vdd connected to vcc (3.3v), line has 4.7uF cap to ground 9 res# to uc 10 scl to uc, 2k pullup to vcc 11 sda to uc, 2k pullup to vcc 12 iref 1M to ground 13 vcomh 4.7uF to ground 14 vcc 4.7uF to ground --- End code --- |
| Fungus:
--- Quote from: alank2 on October 02, 2015, 05:40:23 pm ---I made it step from 0x00, to 0x8F, to 0xFF, but I only see two brightness steps and only see two distinct steps when monitoring current. Could I have something connected wrong? I originally had pin 14 mistakenly connected to vcc directly, but fixed that. Perhaps it was damaged from that. --- End quote --- I dunno, but it's perfectly possible that that's the correct behavior. In the datasheet they mention three different brightness levels, FWIW. |
| Navigation |
| Message Index |
| Next page |
| Previous page |