probonopd / MiniDexed

Dexed FM synthesizer similar to 8x DX7 (TX816/TX802) running on a bare metal Raspberry Pi (without a Linux kernel or operating system)
https://github.com/probonopd/MiniDexed/wiki
962 stars 72 forks source link

SSD1306 128 x 64 configuration #585

Closed ajabadia closed 7 months ago

ajabadia commented 7 months ago

Hi, for all of you who want to put a 128 x 64 character SSD1306 oled display, I would like to explain how I got it to work (maybe someone has already said this, but I have not been able to find it). On the one hand, you have to place the vcc pin of the display on the first pin from the top (pin 1) starting from the left (3.3 volts). Then SDA is connected to pin 3, SCL to pin 5 and GND to any ground, for example pin 6. pinrp-minidexed

In the "minidexed.ini" file you have to put these values:

# SSD1306 LCD
# For a 128x32 display, set LCDColumns=20; LCDRows=2
# For a 128x64 display, set LCDColumns=20; LCDRows=4
SSD1306LCDI2CAddress=0x3C
SSD1306LCDWidth=128
SSD1306LCDHeight=64
SSD1306LCDRotate=0
SSD1306LCDMirror=0

The value 0x3C is the value if the connectors 0x78 are soldered behind the display (if 0x7A are soldered, 0x3D should be set).

37134695-a056b0cc-22d4-11e8-8a5f-b13621fd9ad1 Finally, set the columns to 20 and the rows to 4, like this:

# Default is 16x2 display (e.g. HD44780)
LCDColumns=20
LCDRows=4