i really like the circle overlay on an image, looks cool and could be used as a warning or pluses, etc. thanks a lot... 😀 this display would be nice with the esp32 module...:)
Thank you for your response. I will tell you what the oled pins are. It's a 1.5 inch oled. There are markings. Power supply GND, VCC, SCL, SDA, RES, DC, CS. I read somewhere that some pins are connected and can be used as a 4 pin OLED display. I am asking for your help. There are simpler programs for a 4-pin display. Thank you in advance Attila. Odpovedať
Hi, you did not mention the label on the pins. it seems your display is I2C which should have SDA and SCL pin it might be SPI communication which needs 3 wires. I belive there is a library for it. Just Bing it or Google it.
@@robojax Thank you for your response. I will tell you what the oled pins are. It's a 1.5 inch oled. There are markings. Power supply GND, VCC, SCL, SDA, RES, DC, CS. I read somewhere that some pins are connected and can be used as a 4 pin OLED display. I am asking for your help. There are simpler programs for a 4-pin display. Thank you in advance Attila.
First of all, congrats for your project and code. My doubt is how do you set yellow color in the code? Because my display just show in blue. And I saw in the video the word: "values" in yellow. Please help. Thanks
How to change dual color display to one color display. I tested one some time and a had white display. Then I put some code and display changed color to yelow/blue.
You are welcome. The best thank you for me is to not skipping ads and Subscribing 🔔 to my channel, and liking 👍 the video. It is greatly appreciated. 🔔 😊. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Hi, I have a TFT 2.2" with 16 pins in one row. ( GND, 3,3V, CD, RS, WR, RD, RST ,LED, D0-D7 ) . It has RM68130 driver, library and I couldn't make it works. What is wrong in my project? Will you try to make a video about it? Thanks!
Hi, if you are referring to this display, www.ebay.ca/itm/272752330255 yes I a have got the module and as soon as the time permits, I will make the video.
I want to attach my oled display module to my box upside down (for convenience). Does the command display.setRotation(2) turn the display upside down too?
Hi Pak Robojax. welcome to meet again The previous arduino program is complete and successful. You happen to be talking about oled. I had a problem until I bought two oled same case. all the programs about oled, I try the results of both display images there are spots and pictures only at the bottom only. What is the problem? ask for the solution. Thank you very much
Mr. Robojax. Oled 1.3 "now it appears full display I do not use library #include , but using #include . however I am grateful to you, as you lead little by little so I can think. Once again I thank you.
I have one of these displays and I just want to use it as a basic serial monitor. Boring I know, but I can't figure out how to do it since these displays don't auto scroll like LCD's ive worked with in the past.
I have shown how to display a text and in any position on the screen. So if you want to use like serial monitor, then print a text at top, the next line blow it and so forth. You have to figure out how many lines fit. When the last line reached the bottom, remove the first line, print all the lines ONE line higher. and this way you can continue. For example if you found out that 5 lines fit on the screen (just fills the width of the screen and not more), then make an array of 5 element and fill it up with new lines and display it. When new line comes, more line 1 to 0, 2 to 2, 3 to 2, 4 to 3 and the new line to the 4th. and continue like this. Good luck.
it is not the editor. I am using a hardware so I have 3 or 4 video source or camera connected. Here my device called Roland V-1HD proav.roland.com/global/products/v-1hd/
HI SIR CAN u help me, i have problem with my oled lcd, when i run the ic2 detector, its written not detected. i already connect the pin correctly, but it just wont display, already tried 0x3C and 0x3D. do u have any solution for this
ok......i got a big issue......my horizontal scrolling command works fine......but the diagonal scrolling functions in adafruit library are giving me no scrolling at all!!!! However if I remove the 1st 3 lines of those diagonal scroll functions, I get vertical scrolling only!!! what could be the problem???
@@robojax That's not possible....coz after including the adafruit gfx and ssd1306 library......i ran the same in-built example code "128x64 i2c" as you did.....but no diagonal scrolling......the horizontal scrolling works fine.....but not the diagonal scrolling
I have not looked at code, may be it does not offer such feature. If you know how to position the text then write a “for loop” yo for example write the same text in any way in 5 seconds for example. This is very simple. See my 30 minutes Arduino course and learn the for loop. Good luck
Already did that.....since in my case the in built commands for scrolling weren't working properly i.e. 0x29 n 0x2A.....so i implemented all horizontal, vertical, n diagonal scrolling using loops n continuously changing text position......didn't use any in built scroll commands n it worked great....but i just wanted to know how are ur scroll commands workin but mine aren't
I have tried this method for multiple texts to show up,but they all just run on top of each other. Is there a way I can post my code for you to see what I did wrong?
@@robojax Hello,I know that the display.clearDisplay(); clears the buffer, but my case seems a little more complicated than that. Especially with the void text string.
Is it possible to use this with a 4 millisecond program loop. After some experiment i found that it take approx 26 ms to display on this module; so the program loop is freezed and 4 ms program loop is comprised. I am using the same library which you have used. Thanks for reading. Any suggestions is highly appreciated.
Yes it needs reading time. Also remove any serial monitor printing and it will make it faster. Why you need faster display? Human eye can’t read faster than 30 times a second. 4ms is 250 times . Troy should not need that. Yes you can save and process it faster .
What a Great Video!! I like how you dig deep into the coding part where i often get lost and confused. I did Find some info further explaining 03C Vs 03D Here is a link further explaining the reason you need to adjust this setting. Hope it helps! v=_e_0HJY0uIo Time 11:38 --> 12:53 Thank-you!
that is the I2C address. Watch this video and you will learn about it. There is I2C scanner code for arduino as well which will tell you the address of your display: ua-cam.com/video/bqMMIbmYJS0/v-deo.html
hello!!!! I am new and I need your help plz. I use this code to control a servo with two buttons. and I want to show the position of the servo on an oled ssd1306 128x64, but no matter how hard I tried I could not figure out how to do it.
#include Servo myservo; // create servo object to control a servo int angle =90; // initial angle for servo int angleStep = 5; int LEFT = 4; // pin 4 is connected to left button int RIGHT = 2; // pin 2 is connected to right button void setup() { Serial.begin(9600); myservo.attach(6); // attaches the servo on pin 6 to the servo object pinMode(LEFT,INPUT_PULLUP); // assign pin 4 ass input for Left button pinMode(RIGHT,INPUT_PULLUP);// assing pin 2 as input for right button myservo.write(angle);// send servo to the middle at 90 degrees } void loop() { while(digitalRead(RIGHT) == LOW){ if (angle > 0 && angle = 0 && angle 180){ angle =180; }else{ myservo.write(angle); // move the servo to desired angle Serial.print("Moved to: "); Serial.print(angle); // print the angle Serial.println(" degree"); } } delay(10); // waits for the servo to get there } }
so first you learn how to display text. on OLED , then should be able to control servo and then use this LCD video to display text ua-cam.com/video/q9YC_GVHy5A/v-deo.html
very simple. we say "if time >3600 seconds, turn buzzer ON. Arduino Step by Step Course (over 150 lectures) Starts here ua-cam.com/video/-6qSrDUA5a8/v-deo.html
Hello sir. Mine is oled 128×64 1.3inch. But when i upload your code as you explained but the display is coming only in some part of oled. Will that code works for 1.3inch also. Or any changes to be done? Please help me sir
Hi, Inche doesn't matter. It is the number of pixels. 128x64 means 128 pixels by 64 pixels. If you set the value correctly it should work. You can shift the text or reduce the size to make it fit.
Hello sir, I'm on different project with oled, problem is that the 128*64 display stopped to work after first experiment with Arduino i2c example, can anyone help me please, it is my final year project, thanks in advance
you must have changede the code or wiring is bad. Copy the same code, redo the wiring it should work. Unless you have incorrect connected + and - wires which might have burned the module. Try I2C scanner to see if module is responding: here is I2C scanner robojax.com/learn/arduino/?vid=robojax-I2C-scanner
I can't find the example work my OLED doesn't light up by any other example but one from DIYMAIL (amazon seller) which only shows that dam DIYMAIL logo. I followed every step on your video but screen doesn't light up. I connected A4A5 (even tried SCL SDA pin on mega); I have GFX and 1306-master library; set 0x3c (required but also tried 0x3d) , set 64 and 128, h file changed. Screen doesn't light up by any example.
Thankyou for my first breakthrough with the i2c and display types!
You are welcome.
Thanks, I tried many codes and I never got it to work. This works like a charm.
You're welcome!
Thanks! I finally used the display as I wanted
You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.
i really like the circle overlay on an image, looks cool and could be used as a warning or pluses, etc. thanks a lot... 😀 this display would be nice with the esp32 module...:)
You're welcome 😊
thanks man...i have been struggling with others tutorials... then i finally find you... thank you very much
You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.
Thank you so much!! The video is very helpful.
You are welcome.
Excellent video thankyou.
Awesome video and is what ive been looking for. but i cant find your last simple code on your link. any idea where i can find it?cheers
Thank you. Please mention time like 3:35 so I look at it. But if it is after the good bye, I don't have it.
Most interesting and more informative video tutorial!🤖
Glad you liked it
Thanks a lot
Great video, thank you for your effort and time to make this tutorial.
You are welcome. I am pleased you found it useful. Ahmad from Canada.
Thank you for your response. I will tell you what the oled pins are. It's a 1.5 inch oled. There are markings. Power supply GND, VCC, SCL, SDA, RES, DC, CS. I read somewhere that some pins are connected and can be used as a 4 pin OLED display. I am asking for your help. There are simpler programs for a 4-pin display. Thank you in advance Attila.
Odpovedať
Great video! Just curious, do you know how to increase the refresh rate?
Thank you. For refresh rate, change the delay in the main loop() function.
Thank you... it worked.
You are welcome.
Have a nice day. Very good video, but I have the same oled display with only 7 pins. Please help how to connect it? Thank you in advance.Attila.
Hi, you did not mention the label on the pins. it seems your display is I2C which should have SDA and SCL pin it might be SPI communication which needs 3 wires. I belive there is a library for it. Just Bing it or Google it.
@@robojax Thank you for your response. I will tell you what the oled pins are. It's a 1.5 inch oled. There are markings. Power supply GND, VCC, SCL, SDA, RES, DC, CS. I read somewhere that some pins are connected and can be used as a 4 pin OLED display. I am asking for your help. There are simpler programs for a 4-pin display. Thank you in advance Attila.
Good video, thank you very much😀
You are welcome.
Thank you for this video
you are welcome.
Thanks to you
First of all, congrats for your project and code. My doubt is how do you set yellow color in the code? Because my display just show in blue. And I saw in the video the word: "values" in yellow. Please help. Thanks
that this display has two color. I did not do anything about the color Top few pixels are yellow and the rest blue. It depends on your display.
How to change dual color display to one color display. I tested one some time and a had white display. Then I put some code and display changed color to yelow/blue.
Thank alot sir.
You are welcome.
Hi! How to demonstrate up/down counter by OLed?
OLED does not matter. learn how counter works and then show it on this display. check my video on the counter.
Nice explaination sir thank you
You are welcome. The best thank you for me is to not skipping ads and Subscribing 🔔 to my channel, and liking 👍 the video. It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Hi, I have a TFT 2.2" with 16 pins in one row. ( GND, 3,3V, CD, RS, WR, RD, RST ,LED, D0-D7 ) . It has RM68130 driver, library and I couldn't make it works. What is wrong in my project? Will you try to make a video about it? Thanks!
Hi, if you are referring to this display, www.ebay.ca/itm/272752330255 yes I a have got the module and as soon as the time permits, I will make the video.
Yes, that one is the item! I'll wait. Thanks!
I want to attach my oled display module to my box upside down (for convenience). Does the command display.setRotation(2) turn the display upside down too?
Hello, rotation can do it yes.
@@robojax thank you. I will try it when I receive my new box and oled
Thank you very much, that display.display(); was my problem 😆😆😆
Glad I could help. you are welcome.
Hi Pak Robojax.
welcome to meet again The previous arduino program is complete and successful.
You happen to be talking about oled.
I had a problem until I bought two oled same case. all the programs about oled, I try the results of both display images there are spots and pictures only at the bottom only. What is the problem?
ask for the solution. Thank you very much
Hi, Could you share you code here codeshare.io/ and then post the link for your code by replying to this comment? I will look at it.
I already sent to codeshare.io/
Post your code and then you will get another Unique link like this codeshare.io/5gOwAD and send that
Mr. Robojax.
Oled 1.3 "now it appears full display I do not use library #include , but using #include .
however I am grateful to you, as you lead little by little so I can think.
Once again I thank you.
I have one of these displays and I just want to use it as a basic serial monitor. Boring I know, but I can't figure out how to do it since these displays don't auto scroll like LCD's ive worked with in the past.
I have shown how to display a text and in any position on the screen. So if you want to use like serial monitor, then print a text at top, the next line blow it and so forth. You have to figure out how many lines fit. When the last line reached the bottom, remove the first line, print all the lines ONE line higher. and this way you can continue. For example if you found out that 5 lines fit on the screen (just fills the width of the screen and not more), then make an array of 5 element and fill it up with new lines and display it. When new line comes, more line 1 to 0, 2 to 2, 3 to 2, 4 to 3 and the new line to the 4th. and continue like this. Good luck.
I fabricated 32x32 OLED display.how i can operate it? which additional circuit/module/driver will be required? thankyou
I have 32x32 module .search my channel for it.
muito obrigado, vídeo extremamente útil
Você é bem vindo. Fico feliz que você tenha achado útil. Ahmad do Canadá.
Muito bom! Mas não entendo inglês, . Cornélio Procópio, Paraná, Brazil.
A very good video
Glad you think so!
Hi which editor did You use if i may ask?
it is not the editor. I am using a hardware so I have 3 or 4 video source or camera connected. Here my device called Roland V-1HD proav.roland.com/global/products/v-1hd/
HI SIR CAN u help me, i have problem with my oled lcd, when i run the ic2 detector, its written not detected. i already connect the pin correctly, but it just wont display, already tried 0x3C and 0x3D. do u have any solution for this
if you don't need the address using I2C scanner, then either module is bad or incorrect wiring.
ok......i got a big issue......my horizontal scrolling command works fine......but the diagonal scrolling functions in adafruit library are giving me no scrolling at all!!!! However if I remove the 1st 3 lines of those diagonal scroll functions, I get vertical scrolling only!!! what could be the problem???
Hello, may be you have wrong x and y value. Switch the values.
@@robojax That's not possible....coz after including the adafruit gfx and ssd1306 library......i ran the same in-built example code "128x64 i2c" as you did.....but no diagonal scrolling......the horizontal scrolling works fine.....but not the diagonal scrolling
I have not looked at code, may be it does not offer such feature. If you know how to position the text then write a “for loop” yo for example write the same text in any way in 5 seconds for example. This is very simple. See my 30 minutes Arduino course and learn the for loop. Good luck
Already did that.....since in my case the in built commands for scrolling weren't working properly i.e. 0x29 n 0x2A.....so i implemented all horizontal, vertical, n diagonal scrolling using loops n continuously changing text position......didn't use any in built scroll commands n it worked great....but i just wanted to know how are ur scroll commands workin but mine aren't
I have tried this method for multiple texts to show up,but they all just run on top of each other. Is there a way I can post my code for you to see what I did wrong?
It seems you have skipped the video. Please b watch as showing text at any location of the screen is very important and I have not skipped it.
@@robojax Hello,I know that the display.clearDisplay(); clears the buffer, but my case seems a little more complicated than that. Especially with the void text string.
Can I send you my code to look at?
Is it possible to use this with a 4 millisecond program loop. After some experiment i found that it take approx 26 ms to display on this module; so the program loop is freezed and 4 ms program loop is comprised. I am using the same library which you have used.
Thanks for reading. Any suggestions is highly appreciated.
Yes it needs reading time. Also remove any serial monitor printing and it will make it faster. Why you need faster display? Human eye can’t read faster than 30 times a second. 4ms is 250 times . Troy should not need that. Yes you can save and process it faster .
What a Great Video!!
I like how you dig deep into the coding part where i often get lost and confused.
I did Find some info further explaining 03C Vs 03D Here is a link further explaining the reason you need to adjust this setting.
Hope it helps!
v=_e_0HJY0uIo
Time 11:38 --> 12:53
Thank-you!
that is the I2C address. Watch this video and you will learn about it. There is I2C scanner code for arduino as well which will tell you the address of your display: ua-cam.com/video/bqMMIbmYJS0/v-deo.html
Excellent
Thank you so much 😀. Your subscription is a big help as my channel will stand out with more subscribers.
hello!!!! I am new and I need your help plz. I use this code to control a servo with two buttons. and I want to show the position of the servo on an oled ssd1306 128x64, but no matter how hard I tried I could not figure out how to do it.
#include
Servo myservo; // create servo object to control a servo
int angle =90; // initial angle for servo
int angleStep = 5;
int LEFT = 4; // pin 4 is connected to left button
int RIGHT = 2; // pin 2 is connected to right button
void setup() {
Serial.begin(9600);
myservo.attach(6); // attaches the servo on pin 6 to the servo object
pinMode(LEFT,INPUT_PULLUP); // assign pin 4 ass input for Left button
pinMode(RIGHT,INPUT_PULLUP);// assing pin 2 as input for right button
myservo.write(angle);// send servo to the middle at 90 degrees
}
void loop() {
while(digitalRead(RIGHT) == LOW){
if (angle > 0 && angle = 0 && angle 180){
angle =180;
}else{
myservo.write(angle); // move the servo to desired angle
Serial.print("Moved to: ");
Serial.print(angle); // print the angle
Serial.println(" degree");
}
}
delay(10); // waits for the servo to get there
}
}
so first you learn how to display text. on OLED , then should be able to control servo and then use this LCD video to display text ua-cam.com/video/q9YC_GVHy5A/v-deo.html
how do I make it that at certain times, a reminder message pops up
very simple. we say "if time >3600 seconds, turn buzzer ON.
Arduino Step by Step Course (over 150 lectures) Starts here ua-cam.com/video/-6qSrDUA5a8/v-deo.html
Hello sir. Mine is oled 128×64 1.3inch. But when i upload your code as you explained but the display is coming only in some part of oled. Will that code works for 1.3inch also. Or any changes to be done? Please help me sir
Hi, Inche doesn't matter. It is the number of pixels. 128x64 means 128 pixels by 64 pixels. If you set the value correctly it should work. You can shift the text or reduce the size to make it fit.
@@robojax how can shift the text sir. I dint understand.
Hello sir, I'm on different project with oled, problem is that the 128*64 display stopped to work after first experiment with Arduino i2c example, can anyone help me please, it is my final year project, thanks in advance
you must have changede the code or wiring is bad. Copy the same code, redo the wiring it should work. Unless you have incorrect connected + and - wires which might have burned the module. Try I2C scanner to see if module is responding: here is I2C scanner robojax.com/learn/arduino/?vid=robojax-I2C-scanner
Why don't you simply go in Arduino ide and use library manager to download libraries
in some which I could not find or found it easy, I used this method. But mostly I used the manage method.
For some reason only the 128x32 example would work.
have you set the value for your screen as 128 and 64?
HOW DID YOU GET RID OF THE DEADBEEF WORD JUST BEFORE SCROLL?
?
your are wrong.
The number 16 and 16 that you change to 64 and 128 are not screen dimension,
Those are fore logo dimension.
Please point the time like 2:34 so I can look at it. But for sure 128 and 64 are screen dimension.
@@robojax 4:23 please check
Thank you very much. You are right. I will correct it.
WIRING?
I watched the video to see if I missed that. But I have explained which pin to be connected where. Watch it again without escaping.
Adafruit._GFX.h not found? ??
I just updated the page where the code is. download the GFX library.
@@robojax Thank you!
you are welcome.
Does it require an Adafruit_GFX library?
------------------------
Yeah I see it on read me
I can't find the example work my OLED doesn't light up by any other example but one from DIYMAIL (amazon seller) which only shows that dam DIYMAIL logo. I followed every step on your video but screen doesn't light up. I connected A4A5 (even tried SCL SDA pin on mega); I have GFX and 1306-master library; set 0x3c (required but also tried 0x3d) , set 64 and 128, h file changed. Screen doesn't light up by any example.
the code page is updated. you can download the GFX library from there goo.gl/NjQAf2
Proffs
excellent video, thank you.
great tutorial.thank you.
You are welcome!