Arduino Tutorial: Color OLED SSD1331 display with Arduino Uno from Banggood.com

  Рет қаралды 98,924

educ8s.tv

educ8s.tv

Күн бұрын

Пікірлер: 104
@yuudai1400
@yuudai1400 7 жыл бұрын
I want to make displays for things I need around the house, like a clock or weather station. Much cooler than buying one, you make and program your own! Great work, and thank you for guiding us through the process
@samuelstuff4557
@samuelstuff4557 2 жыл бұрын
just bought three of these; can't wait to test them out!
@johnellerington2676
@johnellerington2676 6 жыл бұрын
Great intro to these small screens, but a note of caution - they are extremely delicate, the top glass is very thin and easily broken at the corners, which wrecks the display. If you buy from Ebay, they are cheap but shipped from China, some get damaged during shipping, so always test them on arrival. If they work OK, strengthen them up by running clear 2-part epoxy resin around the edges so that the corners are supported.
@antongrobbelaar8040
@antongrobbelaar8040 7 жыл бұрын
Thanks so much for clarifying the pin connections on this OLED. I was searching everywhere and thanks to your explanation, I got it working. Really appreciate it, it probably saved me days.
@samuelstuff4557
@samuelstuff4557 2 жыл бұрын
If you don’t want to wait a couple months I would recommend picking this up from amazon
@legoleaderRyman
@legoleaderRyman 8 жыл бұрын
you should use this screen to make a small smart watch with an arduino nano
@thedankoona_5854
@thedankoona_5854 8 жыл бұрын
like tinkernut
@Educ8s
@Educ8s 8 жыл бұрын
Yes, that's a good idea!
@rodrimunoz9110
@rodrimunoz9110 7 жыл бұрын
educ8s.tv Hi Nick, what if I want to use this screen for a project that also needs to save data in a SD card; the MOSI,MISO,CLK pins are already busy with the screen! (using arduino UNO or an Attiny84) Thanks beforehand! :)
@kevinconnors5070
@kevinconnors5070 7 жыл бұрын
And also attach a bluetooth receiver to upload video/alerts/programs/games from cell phone or cpu!
@michaelladen7049
@michaelladen7049 6 жыл бұрын
I came to this video because I am considering using this display to make a smart watch with the nano actually! Still deciding on the batteries to use, and it's a very hard choice!
@WestSenecaValleyRailroad
@WestSenecaValleyRailroad 5 жыл бұрын
I plan on using a few of these as arrival / departure displays for the train layout I'm building. The size will be perfect!
@RCru24
@RCru24 5 жыл бұрын
Got it running straight away - good walkthrough - thanks!
@sblantipodi
@sblantipodi 5 жыл бұрын
Is there a i2c version of this display?
@faizakram3686
@faizakram3686 4 жыл бұрын
Yes..
@TheWhitde
@TheWhitde 5 жыл бұрын
I have a SSD1351 which is similar... but found the SSD1331 has RGB565 and RGB233 mode (the SSD1351 also has other modes but they're crap IMO because of the extra bandwidth and/or memory needed). The later is a good compromise on small MCU's as a transfer buffer is 128*128 instead of 128*128*2. Basically 16K instead of 32K. I can show video @ 128*128 with > 30fps and sound on an Arduino Due... so being able to do the same with 8 bit mode should allow me to store larger clips and with dithering still get good content. These are great little screens.
@Avidiy
@Avidiy 2 жыл бұрын
hello sir i am trying to put it toghter but my display has d0 and d1 (d0 near your scl and d1 near your sda) plz help asap
@ctbram0627
@ctbram0627 5 жыл бұрын
I have a simple problem that has cost me an entire day trying to figure out. I have a 96x64x24-bit bmp file (19kB). I just want to display this damn image on the display. I spent the entire day today and CANNOT find a way to do it without an SD card. There does not seem to be a color drawImage function in the adafruit gfx library and I cannot find an application that will create a color array in C. Is there any way to store a 19kB bmp in program memory on the arduino and display the image on a 1331 oled?
@sakisv4138
@sakisv4138 3 жыл бұрын
Hi Nick! Your videos are really great for getting knowledge! As amateur I programmed one nice ssd1351 1.5' display showing continuously values such as time, temp, hum and barometric press and in one month 'burn in' occured. I haven't seen ,maybe i'm wrong, something relevant in your videos. Is in your plans to give some advices regarding how to avoid this terrible thing by scrolling, fading down the display or other techniques?
@ВасилийТёркин-г3м
@ВасилийТёркин-г3м 7 жыл бұрын
Why you did not show some hi-color 16b images on this screen? It could be interesting and spectacularly.
@macasoft5260
@macasoft5260 2 жыл бұрын
Is it possible to make it work with an esp32?
@sibaramdatta5625
@sibaramdatta5625 2 жыл бұрын
Sir thanks for your project. I wish to make one weather station using ESP32 & 1.5 inch waveshare rgb oled display. I have already made a weather station of ESP8266 & SH1106 1.3 inch blue colour oled which is not attractive rather than rgb display. Please posted it if possible .
@QualityRecord
@QualityRecord 3 жыл бұрын
What is your experience with the lifespan of this? I think I'm seeing some degradation after only a couple of days of use. 100% on.
@pedotec
@pedotec 8 жыл бұрын
I very much like your work Nick! One suggestion: a gps "corrected" RTC with one of your displays!
@Educ8s
@Educ8s 8 жыл бұрын
That's a good idea, I think about it!
@xxxd6068
@xxxd6068 6 жыл бұрын
I connected it to 5v by mistake and would that affect the screen plz help
@princeansarikali9596
@princeansarikali9596 6 жыл бұрын
Sir please. make a video can display the coins already inserted to the coin slot
@tanbirsohail
@tanbirsohail 8 жыл бұрын
Dont you need level shifters? Are the pins capable of handling 5v logic signals?
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
Yes
@thibaut6519
@thibaut6519 8 жыл бұрын
Does bigger OLED display exist ?
@Educ8s
@Educ8s 8 жыл бұрын
Yes, I have seen a 1.3' one but it is monochrome
@rothpe1
@rothpe1 4 жыл бұрын
Hi, thanks for this video. I installed Display but if i will change rotation to 90° it doesn't work. Text is not rotate. Code: Display.setRotation(1); I use LIbrary ssd1331. Perhaps you can help. Thansk and best regards Peter
@flyingbrick88
@flyingbrick88 7 жыл бұрын
Super confused about mine.. IV had my code working on a color tft (that you also reviewed) but with it changed over to the oled its just painfully slow :-( have you noticed with your oled vs tft that the two adafruit demos actually display in quite different way? Any idea why this is?, Does the oled just not process data as well?
@flyingbrick88
@flyingbrick88 7 жыл бұрын
changed a few things... a little faster but still terrible. Its like it always refreshes from left to right line by line and is visibly slow... dammit. Also.. can anyone give advice on library to show hex images on this color OLED? I see there is stuff available (and you did a video) on displaying images on the older single color OLED
@migueldoliveiracomposer
@migueldoliveiracomposer 6 жыл бұрын
Hi. Anyone knows if its possible to change the SDA and SCL pins in the code? (if you have pins 11 and 13 already in use). Thanks in advance
@StanMoi
@StanMoi 4 жыл бұрын
Is it possible to display on it images from web?
@interlinkknight
@interlinkknight 8 жыл бұрын
It's slow. each frame takes 1 second or more to load. is the interface fault? or arduino itself fault?
@Educ8s
@Educ8s 8 жыл бұрын
Having a faster microcontroller will speed things up!
@SettimaLegione
@SettimaLegione 8 жыл бұрын
What is max SPI frequency? 400KHz or some MegaHertz?
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
LOL
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
It is slow because you're refreshing every second. Try only clearing stuff you change. Additionally you can use a faster library like this github.com/sumotoy/SSD_13XX
@rowanr-m2373
@rowanr-m2373 6 жыл бұрын
use hardware spi, it's way faster
@aerojani
@aerojani 7 жыл бұрын
i have connected oed with same connection with arduino uno .its not working when i plug arduino power supply with usp cable to laptop.
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
Have you tried turning it off and an again? But, seriously though, check your connections, and make sure you're using the same library as he is.
@lamogus2350
@lamogus2350 Жыл бұрын
Just one question is arduino Can play doom
@HX2003
@HX2003 8 жыл бұрын
What a nice display!
@vinco1
@vinco1 8 жыл бұрын
When will you make a tutorial with the chip?
@Educ8s
@Educ8s 8 жыл бұрын
Yes, now that GPIO library is available, it is a lot easier to work with the CHIP
@LuisRamos-gh3ud
@LuisRamos-gh3ud 8 жыл бұрын
I used all the steps, but it seems that the it doesn't any text with size 1. Board issue?
@Educ8s
@Educ8s 8 жыл бұрын
That's very strange. Did you change anything at the code?
@LuisRamos-gh3ud
@LuisRamos-gh3ud 8 жыл бұрын
It's working. I've swapped de DC-CS cables !!I guess I better use diferent color cables ;)Interesting that the other text size and drawings were working fine
@dimitriskarampistis7605
@dimitriskarampistis7605 7 жыл бұрын
The screen is blinking every second with the update of the screen is it possible not to blink and just change the specific value?
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
Yes it is. Just don't update the things you don't need to, but clear the stuff you are
@MkmeOrg
@MkmeOrg 8 жыл бұрын
Great tutorial Nick! That in an I2C version would be fantastic! Cheers
@Educ8s
@Educ8s 8 жыл бұрын
Thank Eric! Yes I miss the ease of use of the I2C version of the display! Cheers!
@BenjaminEsposti
@BenjaminEsposti 8 жыл бұрын
The only thing is, if you're using I2C, you won't be able to update the display as fast as you would with an SPI or even a parallel interface. (This is especially so, because the display is RGB! The display has just over 2x the number of pixels as a regular monochrome 128x64 display. But this is assuming the display is RGB - it may in fact be RGBW (four colors). In that case, there are even more pixels!).
@triac777
@triac777 8 жыл бұрын
Thank you for another informative video.
@easynow6599
@easynow6599 5 жыл бұрын
i had an "..sendCommand' was not declared in this scope..." error at compile.. and couldnt find the solution..Adafruit_SSD library was fine. solution: i had to update Adafruit gfx library.. Also..for Arduino Nano i used the same pins as in the video.. and for the complilation error "expected ',' or '...' before numeric constant" i change "#define sclk 13" to "const int sclk = 13;" (and the next define lines in similar way)
@anedosugov
@anedosugov 7 жыл бұрын
is this screen readable outside on a bright day? thanks!
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
I believe so
@carlospradovila8328
@carlospradovila8328 6 жыл бұрын
Felicitaciones por lo bien expuesto y el mejor resultado de su explicación. Gracias.
@nednoah1
@nednoah1 5 жыл бұрын
I keep getting these messages whenever I try to upload the test sketch. Please help haha exit status 1 no matching function for call to 'Adafruit_SSD1331::writePixel(unsigned int)'
@stephenmorris-jones6010
@stephenmorris-jones6010 5 жыл бұрын
Watching this as I get the same error.
@nednoah1
@nednoah1 5 жыл бұрын
I deleted this whole part at the bottom void lcdTestPattern(void) { uint8_t w,h; display.setAddrWindow(0, 0, 96, 64); for(h=0; h71){display.writePixel(BLUE);} else if(w>59){display.writePixel(GREEN);} else if(w>47){display.writePixel(CYAN);} else if(w>35){display.writePixel(RED);} else if(w>23){display.writePixel(MAGENTA);} else if(w>11){display.writePixel(YELLOW);} else {display.writePixel(BLACK);} } } display.endWrite(); } and then this part lcdTestPattern(); and then it worked.. I still would like to know what was wrong with the stuff i deleted, will figure it out eventually
@stephenmorris-jones6010
@stephenmorris-jones6010 5 жыл бұрын
@@nednoah1 Thank you, I'll try that. It won't be for a couple of weeks as I'm away for a trip.
@stephenmorris-jones6010
@stephenmorris-jones6010 5 жыл бұрын
@@nednoah1 Brilliant, thanks you for that simple fix :-) Your help was much appreciated, Steve
@nednoah1
@nednoah1 5 жыл бұрын
@@stephenmorris-jones6010 My Pleasure :D
@pembatamang8233
@pembatamang8233 6 жыл бұрын
what does dc mean..how does it work
@jaywon555
@jaywon555 8 жыл бұрын
Hey Nick, I think it's time to integrate a 3D printer, great way to finalize your projects.
@Educ8s
@Educ8s 8 жыл бұрын
Yes I have already bought a 3d printer and I am learning to design my own things. Expect a video soon ;-)
@CurtRowlett
@CurtRowlett 8 жыл бұрын
Nick: Thank you for posting this video. Your tutorials are informative, easy to follow and you choose great projects. I'm subscribing to your channel so that I don't miss anything new!
@VikasKumar-yy3rx
@VikasKumar-yy3rx 7 жыл бұрын
Will it work with raspberry?
@joacimwennerberg8310
@joacimwennerberg8310 8 жыл бұрын
Thanks Nick! 😀
@gauravkesharwani5877
@gauravkesharwani5877 7 жыл бұрын
U knw what sir, I will definitely suscribe
@lofi_lover_girl
@lofi_lover_girl Жыл бұрын
hey, my test didnt work :(
@energymaster190
@energymaster190 5 жыл бұрын
unfortnunatelly is not forking for me....i dont know why.... my screen rest black ans nothing happen...
@stephenmorris-jones6010
@stephenmorris-jones6010 5 жыл бұрын
See NEd Noah's suggestion above. His dele tion worked for me
@IvanGeorgiev
@IvanGeorgiev 8 жыл бұрын
nice video! i would appreciate some help with a project of mine. Maybe you've done something like this. Can point me to some resource or make a video about Arduino Uno Wifi with Esp8266 powered by the Arduino. Do you know how to wire this setup correctly?
@curtisnewton895
@curtisnewton895 3 жыл бұрын
sda/scl are not SPI
@ovi_4
@ovi_4 6 жыл бұрын
Your videos are always great videos but can you please tone down the music? It is disturbing when try to concentrate @ what you are saying. Thank you.
@AhCup
@AhCup 8 жыл бұрын
Is it possible to use this screen on Raspberry pi?
@Educ8s
@Educ8s 8 жыл бұрын
Yes, I think so
@AhCup
@AhCup 8 жыл бұрын
It would be cool if you show us how. It would make some cool project combine with Pi zero.
@scottcote711
@scottcote711 7 жыл бұрын
Did you ever post the pong game code?
@Educ8s
@Educ8s 7 жыл бұрын
Sure, check the video description of the Pong Game
@legohexman2858
@legohexman2858 5 жыл бұрын
The code doesn’t work for me
@ashrulkhair21
@ashrulkhair21 8 жыл бұрын
i got this error, could you help me big bro? wht's wrong ? Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Uno" D:\RFID PROJECTS\RFID\RFID.ino: In function 'void readRFID()': RFID:53: error: invalid conversion from 'byte {aka unsigned char}' to 'MFRC522::PICC_Type' [-fpermissive] MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak); ^ exit status 1 invalid conversion from 'byte {aka unsigned char}' to 'MFRC522::PICC_Type' [-fpermissive] This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
@Educ8s
@Educ8s 8 жыл бұрын
What version of the IDE are you using?
@supercables251
@supercables251 7 жыл бұрын
This is an error with the RFID code, the problem is an "invalid conversion from byte to 'MFRC522::PICC_Type' [-fpermissive]" Look where you are making this conversion
@redcurtain6851
@redcurtain6851 7 жыл бұрын
Hello am getting this error containing loop for(t = 0 ; t
@dzplayer0149
@dzplayer0149 6 жыл бұрын
did not work my screen is just white nothing happens
@kuwala
@kuwala 8 жыл бұрын
Thanks great video~!
@seaha3750
@seaha3750 7 жыл бұрын
ho dude. your videos arw absolutly great. the helped me alot. maybe you can help me with a problem. i have made a programm for an monochrom oled and everything worked fine. Now i changed the code to use it with a color oled an it does not work really fine. i have one button and switch between 3 menu points. temp high and voltage. but every screen is running from left to right every second. What have i done wrong i searched all the websites but found nothing. Maybe you can help me. please
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
It will do this if you constantly clear the screen. I would only clear the parts you're changing. Additionally, you could use another library like this one: github.com/sumotoy/SSD_13XX. It is much faster
@dylanhd1536
@dylanhd1536 6 жыл бұрын
Could be used in augmented reality
@rodrimunoz9110
@rodrimunoz9110 7 жыл бұрын
Hi Nick, what if I want to use this screen for a project that also needs to save data in a SD card; the MOSI,MISO,CLK pins are already busy with the screen! (using arduino UNO or an Attiny84) Thanks beforehand! :)
@colonfrancelj9356
@colonfrancelj9356 7 жыл бұрын
I believe you can use both simultaneously
@carlospradovila8328
@carlospradovila8328 6 жыл бұрын
I would like to have the pin-pong game that you are writing. Greetings and thanks.
@sujay_12
@sujay_12 2 жыл бұрын
Watching after 6 years later 😶‍🌫️😶‍🌫️
@4Erlik
@4Erlik 6 жыл бұрын
Great video but the PONG really did it for me. *subscribe*
@Educ8s
@Educ8s 6 жыл бұрын
Thank you!
@TutocarloCV
@TutocarloCV 7 жыл бұрын
nice
@princeansarikali9596
@princeansarikali9596 6 жыл бұрын
Sir please. make a video can display the coins already inserted to the coin slot
DIY OLED Display Projects with Arduino | Arduino Sensors | #grindreel
15:36
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 9 МЛН
1-Day Project: Arduino Uno and I2C OLED Display Challenge
10:17
Julian Ilett
Рет қаралды 345 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
Display Full Color Images on ESP32 + SSD1351 OLED
8:44
Coding With Brett
Рет қаралды 3,6 М.
Display examples - which one to use?
12:41
Electronoobs
Рет қаралды 261 М.
OLED Displays with Arduino - I2C & SPI OLEDs
41:41
DroneBot Workshop
Рет қаралды 1,1 МЛН
What's the difference? Arduino vs Raspberry Pi
6:21
Tinkernut
Рет қаралды 1,8 МЛН
We Built Open Source Smart Glasses
9:51
caydengineer (Cayden Pierce)
Рет қаралды 46 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 9 МЛН