Print Text to OLED Screen on Arduino
Vložit
- čas přidán 24. 07. 2019
- Code and diagrams can be found at: www.elithecomputerguy.com
OLED Screens are great ways to display text from your Arduino Projects. You can change Font Sizes, positions and much more.
Libraries Required for this Demonstration:
Adafruit SSD1306
Adafruit GFX
Note: Remember to change the I2C address within the example sketch.
Functional Parts in the Project:
Arduino Uno - store.arduino.cc/usa/arduino-...
128 x 64 OLED - amzn.to/2Mc8Fz2
560 Piece Jumper Wire Kit - amzn.to/2MsCLjL - Věda a technologie
literally, this is the best video for the beginner its clear its easy to understand,it shows the effect of it it basically explain everything fundamental. absolutely love it :D
Exactly what I was looking for; typed in the sketch and it worked like a charm using the Arduino Nano. Thanks a ton.
I found this really useful as a newbie to Arduino and OLCD devices but I have to say that you labour some points, like explaining in detail the second loop as it's just the same as the first loop and again with the comments about the small text size.
On the whole a thumbs up from me, thanks for that little piece of education.
Very simple - that´s what I needed for THE QUICK START !
Tks
This is perfect and exactly what I’m after. Thank you for putting it in laymen’s terms. 👍🏻👍🏻👍🏻
That's pretty cool my friend ❤️❤️
Best video with oled display goes to you love you
So helpful, thank you!
Just in case you're like me and can't access the program, I spent some time re-typing the program.
Thank you to Eli the Computer Guy for slow scrolling, because of it, recreating the code was super easy.
#include
#include
#include
#define OLED_WIDTH 128
#define OLED_HEIGHT 64
#define OLED_ADDR 0x3C
Adafruit_SSD1306 display(OLED_WIDTH, OLED_HEIGHT);
void setup() {
display.begin(SSD1306_SWITCHCAPVCC, OLED_ADDR);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("Welcome");
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(0,17);
display.println("This is");
display.println("a Splash");
display.println("Screen");
display.display();
delay(5000);
}
void loop() {
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("Welcome");
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,17);
display.println("IP:192.168.1.1");
display.println("Subnet:255.255.255.0");
display.println("Gateway:192.168.1.1");
display.println("DNS1 : 192.168.1.2");
display.println("DNS2 : 192.168.1.3");
display.display();
}
Thank you sir for a great video and I would like to add that I was completely distracted by your awesome map in the background to which I was trying to look at the various names and locations on the map to see what has changed over the years, disappointing that there is a shelf right through South America, but perhaps you can do a video describing this map?
At 8:47, it seems like it should be "zero and zero" not "zero and seventeen". Otherwise great video and explanation!!
Great video! Definitely a newb to Arduino and programming. Hoping you can point me to some info or video on how to print an analog input to the oled screen with a common text after it. Been searching the internet but cannot seem to locate it. I am reading a 0-100psi pressure transducer with my Arduino Uno, have got it working on my LCD screen but not my oled. The oled is working but need to understand how to print the analog input with just the text "PSI" after it. Have you done a video on something similar? Would certainly donate on your website if you can assist me. Thank you in advance :)
What is the biggest rgb screen that are available for arduino?
Hi just found you and subscribed! are you the guy that's friends with Louis Rossmann pls?....also how do we access individual pixels ?...cheers
How can we scroll the text vertically. i need to show the processes which are completed like we can see in Serial monitor of Arduino IDE
Hey, i m calculating no of clicks the user will press , however i want to store that that,theredore im using eeprom but the problem is if user turns off the board at 25 click and switch it on again it still shows 0 ,i then put the eeprom command in void setup and it worked with 16*2 lcd ,but its not working with 1.3" i2c oled, can you please solve my problem!
I can't find the code!
I miss the more epigrammatic commentary on the sad state of affairs in America. Love you though, brother. I'll still thumbs up every video.
Puedes invertir el texto como.modo espejo? 😊
can this work with a nano?
yes, I tried it
Hi, very good so far- have you or can you cover horizontal “scrolling text” on a OLED 128x32.
Regards, Robert
Oops, at 8:57, not 8:47
950000 subscribers = 400 viwes !!!!