[Q] SSD1306 connection (BS0, BS1, BS2)

hi, in the schematic on how to connect a ssd1306 lcd to the lpc17 core there is stated, that the connections BS0, BS1, BS2 should be soldered to ground. i have some ssd1306 lcd with me now but i don´t know, how to connect these three points. 

 

<___base_url___>/gallery/image/1693-jefinster-ssd1306-backside/?do=embed

 

should i remove the bridges? or solder all three points to 0?

 

 

any help appreciated.

 

 

thanks and greets.

 

oh, i think i just answered my own question. i have to solder all three bridges to 0 and make it “4SPI”.

 

can anyone please confirm this? i don´t want to destroy those nice displays. i waited long enough for them (i ordered them last year and it took them almost 7 weeks to get here).

Looking at the driver, datasheet and hookup schematic the 4 wire SPI mode is needed. So i would say your assumption is correct.

thanks. i guess one can never do enough reading  :happy:. many thanks also for the datasheet. i tried so hard to find a datasheet for this particular display, it never crossed my mind to look for a general ssd1306 datasheet :whistle:.

Are your Displays also 180° turned? The label on the PCB and the Display doesn’t correspond. 

Did i made a mistake in the Wiring?

 

cant understand. because the aliexpress site showed it the way it is labeld…

 

i think it says on the schematic, that the display has to be flipped. http://ucapps.de/mbhp/mbhp_lcd_ssd1306_single_mios32.pdf

 

so i expected it to be that way. but i had no chance to try that yet. yesterday i finished changing the bridges B0-B2 to 0 but today i had to get away for business, so i will (finally) be able to test my displays when i come back, friday or saturday. 

 

but it is nice to see, that you got this one working.

 

 

another thing i just saw on your pic. are you using illuminated encoders? if so, which brand? are they detented?

 

i also got some illuminated encoders for my mb seq, but unfortunatly the are not detented. the only ones which are detented, i found in the usa, and i just can´t afford the shipping costs and german customs fee.

ups, i just realised… i missunderstood the phrase “flipped”. i guess it means to turn the display to the rear side to solder. sorry  :sweat: 

 

but in the schematic, the pins are on the bottom of the display, so i expected it to turn it upside down.

Hmm. I already made my board. Thats bad… Should have tested it bevor trusting a chinese font… :wink:

The encoder are from bourns, i have got them from mouser and the name is PEL12T.

http://www.bourns.com/data/global/pdfs/PEL12T.pdf

They are not cheap. Some day, maybe i will make a bulk order here but until now im afraid of the lnvestment…

Best Regards

Novski

The encoder are from bourns, i have got them from mouser and the name is PEL12T.

http://www.bourns.com/data/global/pdfs/PEL12T.pdf

They are not cheap. Some day, maybe i will make a bulk order here but until now im afraid of the lnvestment…

That’s a really nice encoder!

Pity about the cost. 

Hi all!

I have exactly the same display but unfortunately i cant get it work on my STM32f4 core.
The screen stays black only the led gets on.
My core module should be OK because character displays are working properly.
Settings:

  • all BS bridges are set to 0
  • voltage jumper is set to 3V
  • lcd_type is set to 0x84
  • led_num_x and lcd_num_y are set to 1
  • lcd_heigh and lcd_width are set to 128 respectively 64
    Thats my display wiring:

<___base_url___>/gallery/image/2435-ssd1306/?do=embed

I soldered 1k resistor and the 10uF capaciator directly on the core board and

added a connection from the core to the display RES pin.

 

What could be problem?

 

 

Best regards

Marxon

 

try this:

best regards, novski

Hi novski!

 

Sorry my schematic was not the best choice.

It´s more to show the different pinout of the JY-MCU display

compared to the one from TK HERE.

Of course i dont use the same CS line for both displays and no second resistor/ capacitor :smile:

Nevertheless i have connected D7 instead of D0 to the display CS pin, like you said but it still does not work.

do you have STM32F4Disco core or a LPC17?

 

The different connection of the 2 parts seam to be correct to me…

STM32F4

 

I only measure 2,9V on my 3,3V line…

could this be a reason?

hmm don’t now.

 

http://discourse.midibox.org/t/topic/17676

http://www.ucapps.de/mbhp/mbhp_lcd_ssd1306_alt_port__stm32f4.pdf

Hi again and sorry for my late reply!

I tried to connect the display to Port J10B of my STM32F4 core

but it still does not work. :frowning: The led goes on but the display shows nothing.

Is there any minimum configuration (like connecting Vdd, Vss and Vo of a standard display)

to test if the display is generally working?

Best regards

Marxon

I don’t know a way to test else…

This alternative connection (J10B) is only supported by the upcomming CV2 i think and i just had a brief look to the Midibox_CV2 and didn’t find a precompiled file.

Im sorry for that confusion… 

What app do you use by now? And whats your Bootloader setings?

My settings:
 

  • all BS bridges are set to 0
  • voltage jumper is set to 3V
  • lcd_type is set to 0x84
  • led_num_x and lcd_num_y are set to 1
  • lcd_heigh and lcd_width are set to 128 respectively 64

At the moment i am using just the bootloader app.

 

 

EDIT** :**

I’ve just noticed the following:
After changing the number of displays with the bootloader app,
then MIOS studio does initialize them and reports which displays failed to initialize.
If i use character displays and connect less character displays than i have set,

MIOS studio reports the missing ones correctly.
But when i use SSD1306 displays, then MIOS studio does not recognize missing ones

regardless how much displays have been connected.
Is this a normal behavior?
 

Same here! I have exactly the same problem!

 

When I did upload the bootloader app and restart the core, the display shows “Bootloader © T.Klose” but after that it goes black.

 

In NG it’s also not working.

It’s the normal behaviour, because there is no read-back path from the OLEDs to the core.

CLCDs have a bidirectional interface which allows to read the status.

 

Means: MIOS can only write to the OLED and assume that they are available due to the simplified SPI based interface.

 

@FantomXR: your problem is different from that, it isn’t the same.

 

Best Regards, Thorsten.