John E. Finster Posted January 25, 2013 Report Share Posted January 25, 2013 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. Quote Link to comment Share on other sites More sharing options...
John E. Finster Posted January 25, 2013 Author Report Share Posted January 25, 2013 (edited) 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 January 25, 2013 by JEFinster Quote Link to comment Share on other sites More sharing options...
Shuriken Posted January 26, 2013 Report Share Posted January 26, 2013 Looking at the driver, datasheet and hookup schematic the 4 wire SPI mode is needed. So i would say your assumption is correct. Quote Link to comment Share on other sites More sharing options...
John E. Finster Posted January 26, 2013 Author Report Share Posted January 26, 2013 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:. Quote Link to comment Share on other sites More sharing options...
novski Posted January 28, 2013 Report Share Posted January 28, 2013 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... Quote Link to comment Share on other sites More sharing options...
John E. Finster Posted January 28, 2013 Author Report Share Posted January 28, 2013 (edited) 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 January 28, 2013 by JEFinster Quote Link to comment Share on other sites More sharing options...
John E. Finster Posted January 28, 2013 Author Report Share Posted January 28, 2013 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. Quote Link to comment Share on other sites More sharing options...
novski Posted January 28, 2013 Report Share Posted January 28, 2013 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 Quote Link to comment Share on other sites More sharing options...
Duggle Posted January 29, 2013 Report Share Posted January 29, 2013 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. Quote Link to comment Share on other sites More sharing options...
Marxon Posted July 26, 2014 Report Share Posted July 26, 2014 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 Quote Link to comment Share on other sites More sharing options...
novski Posted July 27, 2014 Report Share Posted July 27, 2014 try this: best regards, novski Quote Link to comment Share on other sites More sharing options...
Marxon Posted July 27, 2014 Report Share Posted July 27, 2014 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. Quote Link to comment Share on other sites More sharing options...
novski Posted July 27, 2014 Report Share Posted July 27, 2014 (edited) do you have STM32F4Disco core or a LPC17? The different connection of the 2 parts seam to be correct to me... Edited July 27, 2014 by novski Quote Link to comment Share on other sites More sharing options...
Marxon Posted July 27, 2014 Report Share Posted July 27, 2014 (edited) STM32F4 I only measure 2,9V on my 3,3V line... could this be a reason? Edited July 27, 2014 by Marxon Quote Link to comment Share on other sites More sharing options...
novski Posted July 27, 2014 Report Share Posted July 27, 2014 hmm don't now. but i just found that schematic at the end of page 4 in this tread: http://www.ucapps.de/mbhp/mbhp_lcd_ssd1306_alt_port__stm32f4.pdf Quote Link to comment Share on other sites More sharing options...
Marxon Posted August 1, 2014 Report Share Posted August 1, 2014 (edited) 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 August 1, 2014 by Marxon Quote Link to comment Share on other sites More sharing options...
novski Posted August 1, 2014 Report Share Posted August 1, 2014 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? Quote Link to comment Share on other sites More sharing options...
Marxon Posted August 1, 2014 Report Share Posted August 1, 2014 (edited) 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 August 1, 2014 by Marxon Quote Link to comment Share on other sites More sharing options...
FantomXR Posted September 24, 2014 Report Share Posted September 24, 2014 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted September 24, 2014 Report Share Posted September 24, 2014 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.