Tutorial-1: OLED Display Programming Basics
HTML-код
- Опубликовано: 4 окт 2024
- In this tutorial series, we are going to see how to program an OLED display using any uController. I am going to explain programming irrespective of uController used. For simplicity, I am going to use Arduino Board for programming but the flow of programming and algorithm will be the same for other controllers like STM32, TivaC, ESP8266, ESP32 and any other uController with I2C bus compatibility.
For Arduino Code and more details:
oledtutorials....
Tutorial Series:
Tutorial-1: Tutorial-1: OLED Display Programming Basics
• Tutorial-1: OLED Displ...
Tutorial-2: Using GLCD For creating pattern on OLED display
• Tutorial-2: Using GLCD...
Tutorial-3: Adding English font in OLED display using any uController
• Tutorial-3: Adding Eng...
Tutorial-4: Adding Indian languages in OLED Display using any uController
• Tutorial-4: Adding Ind... - Наука
This video is underrated. I understand, You have worked really hard to get to core of operation. The libraries of ArduinoCode are memory intensive and your video really helps to achieve some goals to create own graphics without using libraries
Thanks😊
Yeah i agree with Harry
agree with krish
I think we need waay more of these kind of videos....my arduino pro mini couldn't handle any proper library I found, now i can put exactly as much in it as I need.
All I can say is you are a genius! I have no idea how you as to do this. I've been looking over the datasheet for 3 days non stop and have barely understood the i2c. Until know I didn't even understand why I had to send 0x80 or 0x40 but now I do. Thank you!
Thanks 😄
Thank you! This was exactly waht I was looking for...I spent a whole weekend trying to make sense of others libraries and the data sheet without success. Tehn you in 20 minutes gave answers to all of my questions, thank you.
Hey great video. Figured some stuff out with no experience wanted more explantions and informations other than me just copy pasting from example code until i got it working. This video helped. thanks!
Thank you for your kind word. I am glad that the video helped you😄
Thanks! Finally someone showing the actual grid on the OLED. Nice work!
Welcome 😊
Excellent and clear tutorial. Thank you very much for helping me understand the I2C protocol for OLED!
Thanks alot bro. It shows your hardwork and passion. Keep making such informative videos which sum the data sheet.
Thanks🙂
Thanks a lot, I finally understood how this controller works!
Good video, there is no much material without the libraries
Thanks man.. Its really helps to understand what happening underneath..
By Far the best video on the interntet explaining how to control an OLED. Thank You making more!!!!
Thanks😊
Amazing video. Was looking for something like this for like 5 years or so😅
Thank u
i was searching for this video
thanku i want to build my oled library
Super Job......Thank You Very Much....
Welcome 😊
Great video thank you brother
Where to buy 5inch x 2 inch display?
Sir can you make a video to interface c2000 microcontroller f28379d ,interfacing it with c2000 microcontroller blockset in simulink and using i2c blockset from it
This is made just to get familiar with the sequence of commands that need to be sent to the OLED. Follow the same sequence of commands in MATLAB.
Very helpful!
Well explained verry usefull,
Glad it was helpful!
Fantastic nice cool man
100%
Top man!
🤙
Hello. This doesn't work with HiFive Rev B board using freedom metal's implementation of i2c
You can understand the algorithm and implement it in the respective board. You can't use this code as it is for any other board
@ElectroCreativity I know. It turns out that I needed to restart Visual Studio Code and it started working. Your algorithm works perfectly, even using a different I2C library
Glad to hear that😄
Thanks a lot bro, i have a doubt, in the datasheet there is no such value 80h and 40h for Data register and Command register, then where did you got these values???
Right! I swear people make datasheets as confusing as possible. I saw some code that need to send 80h but when I checked the data sheet, there was no mention of 80h
OK so I think I understand what is creating that 40h and 80h. When you want to write to the command register, you need to have that CO pin high and the D/W pin low. This is then followed by 6 0s crating 1000 0000 which is 80 in hex. This is the same for 40h where that CO pin needs to be low and the D/W pin needs to be high to write to the data register. Again followed by the 6 0s creating the 0100 0000 which is 40 in hex. The way they explain in the datasheet is the stupidesr and most confusing way. Ven explaining what the CO and D/W actually do. It's so annoying
Jay Gajanan 🙏🙏🙏🙏
I have a question, i've been trying to follow your steps, but when i write data to DATA_REG only 4 of the pixels change, and the way they change do not relate to the binary value, what can i do in this case, btw im using a 128x32 oled and all previous steps are the same, but when it comes to writing registers i get this behavior, thanks
Hi Axel,
For 128x32 display width remain same with respect to 128x64 display that is 128 pixel . But hight become half that is 32. So vertical 64 pixels are down sampled to 32. So if you write 01010101 then only 1's will be displayed 0's will will be discarded. Inshort, for displaying vertical 64 pixels on 32 pixels, only odd number pixels are taken from 64 to adjust it in 32 pixels.
Thnx 😖😖😖
SPI??? 😊
No....i2c
Excellent tutorial. You are really doing a great job. Thank you ..
Shegao se ho aap
Shevgaon, Ahmednagar
jis din arduino par kaam chhor kar direct microcontroller paer programe karna sikh jaoge zindgi me bahut kuchh pa loge ,arduino par sab bana banaya program milta hai download karo aur chalao lekin gyan kuchh nahi hota.
धन्यवाद। मैं आपके कहने से बिल्कुल सहमत हूं। हमारे ही चैनल पर ARM based micro-controller को कैसे सोल्डर और प्रोग्राम करना है उसपर भी tutorial है। बाकी इन OLED tutorials की बात किई जाए तो, मुझे इसमें बस OLED पर फोकस करना था, जो खुद समझने को कठिन है इसलिए arduino को चुना, नही तो सेम चीज stm32 या Tiva-c पर भी किई जा सकती है। ऐसेही आप अपनी प्रतिक्रिया देते रहिये....धन्यवाद🙂
What's the nonsense in the subtitles?
Thanks for bringing this to my attention....will change it soon
English please ?
Sorry, I am am speaking in English only but in indian accent 😅
Great information, unfortunately I can't understand anything between your horrible English and poor microphone setup.
Thanks for the feedback.....From next time I will definitely take care of the audio...