tag:blogger.com,1999:blog-4455987088008622536.post1323860976356752900..comments2024-03-11T20:38:43.142+00:00Comments on Gadjet's Blog: OLED 1602 Display and library for the SSD1311Gadjethttp://www.blogger.com/profile/03523239254572573477noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-4455987088008622536.post-65151207368624323262017-01-09T09:50:23.476+00:002017-01-09T09:50:23.476+00:00Thank you for you reply. I'll try that soon.
...Thank you for you reply. I'll try that soon.<br /><br />I use a 20x2 OLED Display based on the SSD1311 for my final exam but i'm not very good in creating librarys or communicate via I²2. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-80056906467820193862017-01-04T20:47:45.568+00:002017-01-04T20:47:45.568+00:00Really sorry but I did this over three years a go ...Really sorry but I did this over three years a go for a project and I've not done anything with it and to be honest I'm not really sure how to do it, have you tried to give cursor coordinates for positions between 17 - 20 ?Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-12491851557902994712017-01-04T13:58:43.980+00:002017-01-04T13:58:43.980+00:00What changes (in the library) are needed to use th...What changes (in the library) are needed to use this library with a 20x2 OLED Display?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-13097722392910551352015-03-17T18:01:55.753+00:002015-03-17T18:01:55.753+00:00The other error in the init, that has not been dis...The other error in the init, that has not been discussed is the SENDCOMMAND (0x71), the very next line should be SENDATA as well, not send command.<br /><br />the extended command set only has 4 command: 70 to set the regulator voltage, 71 to set the char ROM, 78/79 to switch you in and out of OLED characterization command setAnonymoushttps://www.blogger.com/profile/01135718364879749837noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-59511007134109694072015-03-02T09:27:49.094+00:002015-03-02T09:27:49.094+00:00I have bought an oled display 1602 from wide.hk.
i...I have bought an oled display 1602 from wide.hk.<br />it works fine with the code they sent me.<br />does any one know how can i use big numbers in this display?<br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-7862869877631982472015-02-16T03:59:17.199+00:002015-02-16T03:59:17.199+00:00Hi,
Thank you so much for sharing your library. I ...Hi,<br />Thank you so much for sharing your library. I purchased a couple of 2002 OLED (I2C) displays shown from EastRising Technology: ER-OLEDM2002-1 with the US2066 controller. It was only after I discovered your library and modified the code slightly that I was able to bring these to life with my Mega 2560. Thank you! Chakkonoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-44899570331497762072014-05-12T10:18:36.373+01:002014-05-12T10:18:36.373+01:00I didn't really investigate the current consum...I didn't really investigate the current consumption that closely.Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-39641403816182562632014-05-12T09:04:31.703+01:002014-05-12T09:04:31.703+01:00thank you. Is it's power consumption depends ...thank you. Is it's power consumption depends on how much characters are off?Anonymoushttps://www.blogger.com/profile/11089509525301655085noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-43444818553702782862014-05-12T08:43:53.662+01:002014-05-12T08:43:53.662+01:005V if I remember correctly.5V if I remember correctly.Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-85436146509347579202014-05-12T08:22:35.018+01:002014-05-12T08:22:35.018+01:00> The only drawback is the current consumption ...> The only drawback is the current consumption is a bit high, around 70mA.<br /><br />it's for 5 or 3.3 V?Anonymoushttps://www.blogger.com/profile/11089509525301655085noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-11690904416631945232014-02-12T10:39:26.702+00:002014-02-12T10:39:26.702+00:00Hi,
Just need to preserve PowerUp method and the ...Hi,<br /><br />Just need to preserve PowerUp method and the time to run it.<br /><br />When I set up the sequence of powerup, with printed datasheet, tried to respect and understand each delay response of each command.Camachohttps://www.blogger.com/profile/11999232995655681747noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-38381751833778474892014-02-12T10:09:21.970+00:002014-02-12T10:09:21.970+00:00@Rafael, thanks for posting your code.
First i tho...@Rafael, thanks for posting your code.<br />First i thought it was an issue with the I2C cable length, but i could verify your code works. Nevertheless i ported your code into Gadjets Library without success, which is pretty weird. If i have some time im going to try again. Have to merge some code anyway like partial scrolling etc..<br /><br />It looks like there is an issue with the timing when calling a library.. Thanks again for providing your code so i can narrow down the issue.Anonymoushttps://www.blogger.com/profile/11804107588168074160noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-42123824505524968172014-02-06T20:49:34.559+00:002014-02-06T20:49:34.559+00:00Please check
github.com/rafaelcamacho/Oled-SSD131...Please check<br /><br />github.com/rafaelcamacho/Oled-SSD131xCamachohttps://www.blogger.com/profile/11999232995655681747noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-47932779516934262502014-02-06T20:19:56.736+00:002014-02-06T20:19:56.736+00:00Well I've tried for the last hour trying to se...Well I've tried for the last hour trying to set another ROM and I cannot get it to use anything other than ROM C, no matter what I do ....some more thinking required.Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-45576249958965360572014-02-06T18:24:27.106+00:002014-02-06T18:24:27.106+00:00I have the same problem. Only characters from ROM ...I have the same problem. Only characters from ROM C can by displayed ((<br />In datasheet I found the following:<br /><br />3 sets of CGROM (ROM A / B / C – <br />software or <b>hardware</b> pin selectable)<br /><br />Maybe it fixed to ROM C using hardware pin?Vizlihttps://www.blogger.com/profile/16666074561664121103noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-92184870966498517562014-02-06T15:41:25.959+00:002014-02-06T15:41:25.959+00:00Hi,
Try change this:
sendCommand(0x72); // **** ...Hi,<br /><br />Try change this:<br /><br />sendCommand(0x72); // **** Set ROM<br />sendCommand(0x00); // **** Set ROM A and 8 CGRAM<br /><br />for this:<br /><br />sendCommand(0x72); // **** Set ROM<br />sendData(0x01); // **** Set ROM A and 8 CGRAM<br /><br />Always remember that the second instruction requires a data input.Camachohttps://www.blogger.com/profile/11999232995655681747noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-12961581677443173452014-02-06T08:48:36.877+00:002014-02-06T08:48:36.877+00:00Hey Rafael,
thanks for answering, I tried the app...Hey Rafael,<br /><br />thanks for answering, I tried the approach you stated already a month ago and i could't get it running..<br /><br />I looked as well at the data sheets and when I print the german sharp S (ß) from ROM A i get the according character of ROM C.. so obviously it didn't change.. :( i used the exact same code to change it as you stated. i even think gadget updated his library to reflect the changes anyway..<br /><br />http://www.hot.ee/heajook//SSD1311_1.0%20%20IC%20Spec.pdf<br /><br />its binary val is : 1011 1110<br /><br />can you try to verify this?<br /><br />RegardsAnonymoushttps://www.blogger.com/profile/11804107588168074160noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-7246017972187924542014-02-04T23:04:22.417+00:002014-02-04T23:04:22.417+00:00I am Rafael Camacho, sorry for mistake with names ...I am Rafael Camacho, sorry for mistake with names in two posts.<br /><br />So, to resolve the ROM selection problem:<br /><br />sendCommand(0x72); // **** Set ROM<br />sendData(0x00); // **** Set ROM A and 8 CGRAM<br /><br />In the wide.hk example is wrong send the second instruction with command function.<br /><br />Very hard to find it, but, in the 1000th read of the datasheet I just got it! :(<br /><br />Camachohttps://www.blogger.com/profile/11999232995655681747noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-74577727689826717512014-02-04T22:56:31.175+00:002014-02-04T22:56:31.175+00:00@Camacho can you state how you changed the ROM?@Camacho can you state how you changed the ROM?Anonymoushttps://www.blogger.com/profile/11804107588168074160noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-91302952031523209932014-01-26T20:06:32.432+00:002014-01-26T20:06:32.432+00:00Rafael,
Thanks for the info.
Camacho,
Very nice, ...Rafael,<br />Thanks for the info.<br /><br />Camacho,<br />Very nice, I love the Custom characters.Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-64838459954151090822014-01-26T19:54:15.917+00:002014-01-26T19:54:15.917+00:00Now I got it work.
Correct the initialization pro...Now I got it work.<br /><br />Correct the initialization problem for selecting ROM and more, but now with custom chars.<br /><br />http://i.imgur.com/EU8mRV1<br /><br />:)Camachohttps://www.blogger.com/profile/11999232995655681747noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-42870182401097508232014-01-26T12:53:08.378+00:002014-01-26T12:53:08.378+00:00 sendCommand(0x72); // **** Set ROM
sendCommand... sendCommand(0x72); // **** Set ROM<br /> sendCommand(0x00); // **** Set ROM A and 8 CGRAM<br /><br />Still shows chars from ROM C too.Rafaelnoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-43011481090474746792014-01-26T12:51:34.862+00:002014-01-26T12:51:34.862+00:00Hi,
According to OLED initialisation, you can cho...Hi,<br /><br />According to OLED initialisation, you can choose the ROM between A, B or C.<br /><br />In the code:<br /> sendCommand(0x72); // **** Set ROM<br /> sendCommand(0x05); // **** Set ROM A and 8 CGRAM<br /><br />But, if you send: sendData(0x11);<br /><br />You will see a char from ROM C table.<br /><br />Is ROM C set by hardware configurarion? Or is a timing problem? I am using an arduino UNO. Thanks.<br /><br />Rafaelnoreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-24239156939294780412014-01-19T21:33:00.678+00:002014-01-19T21:33:00.678+00:00Just updated the Library to include three new func...Just updated the Library to include three new functions<br />lcdOn()<br />lcdOff()<br />setContrast(contrast) //contrast is between 0x00 and 0xFF.<br /><br />LCD blink example: -<br /><br /><br />#include "Wire.h"<br />#include "OLedI2C.h" //OLED 1602 IC2 support<br />OLedI2C LCD;<br /><br />void setup() {<br />Wire.begin();<br />// Initialise LCD<br />LCD.init();<br />// Write data to LCD<br />LCD.sendString("Booting",5,0);<br />}<br /><br />void loop() {<br />LCD.setContrast(0x00); <br />delay(1000);<br />LCD.setContrast(0xFF); <br />delay(1000);<br />}Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.comtag:blogger.com,1999:blog-4455987088008622536.post-67798508653813731662014-01-19T21:31:28.268+00:002014-01-19T21:31:28.268+00:00This comment has been removed by the author.Gadjethttps://www.blogger.com/profile/03523239254572573477noreply@blogger.com