Jump to content

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


John E. Finster
 Share

Recommended Posts

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. 

 

 
should i remove the bridges? or solder all three points to 0?
 
 
any help appreciated.
 
 
thanks and greets.

 

Link to comment
Share on other sites

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).

Edited by JEFinster
Link to comment
Share on other sites

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.

Edited by JEFinster
Link to comment
Share on other sites

Hmm. I already made my board. Thats bad... Should have tested it bevor trusting a chinese font... ;-)

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

Link to comment
Share on other sites

  • 1 year later...

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:

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


 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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. :( 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

Edited by Marxon
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?
 

Edited by Marxon
Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...