STM32 OLED TUTORIAL

  Рет қаралды 18,727

hacksontable

hacksontable

Күн бұрын

Пікірлер: 153
@arvydaskromelis1628
@arvydaskromelis1628 10 ай бұрын
Not only did you taught me how to work with an OLED display but you've shown how to properly include libraries. Trust me, the error "No such file or directory..." has been bugging me for quite a while XD Thank you!
@hacksontable5850
@hacksontable5850 10 ай бұрын
I am happy to hear that😊👍
@LeeHambley
@LeeHambley Ай бұрын
Amazingly helpful video, still relevant in 2024 :D Lovely little displays, very happy to have one up and running now thanks to your help!
@hacksontable5850
@hacksontable5850 Ай бұрын
Thank you😊
@stephendrury5095
@stephendrury5095 2 ай бұрын
Hi, another 'old guy' here, after many failed attempts with other library's I found you presentation clear and extremely helpful, and it works!!! Thanks all the best
@hacksontable5850
@hacksontable5850 2 ай бұрын
I'm glad to hear that👍
@gund99
@gund99 Ай бұрын
nice to see a live attempt(live in the sense you follow what is happening at a good speed). I really liked this video and got OLED to work for me as well
@Maksim_Inozemtsev_HD
@Maksim_Inozemtsev_HD 2 ай бұрын
Super Great library, I was so lazy to figure out how to work with OLED, just used this library: 10 minutes, all works, and I can focus on my other tasks:) Thank you so much!
@hacksontable5850
@hacksontable5850 2 ай бұрын
I am happy to hear that the video saved you some time😊👍
@Сирень-ж7р
@Сирень-ж7р Жыл бұрын
This is a very detailed, good tutorial! Thank you so much for your work. really wanted to see more videos from you, you are a pleasure to listen to and everything is neatly, consistently and clearly explained
@Gigabecquerel
@Gigabecquerel 2 жыл бұрын
Thank you for the tutorial! I'm only just starting out with STM32, and this was really helpful, not only for the OLED itself, but also how to include external libraries.
@chauminhuc7497
@chauminhuc7497 2 жыл бұрын
Hi Reinhard. Many thanks for recording this tutorial. The video is great, you have real talent! I hope to see more of them in the future 👏👏
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thanks a lot 🙂 I am currently working on a few projects. Do you have any wishes regarding a certain topic?
@Vovocaiu
@Vovocaiu Жыл бұрын
Best Channel of stm32
@R2AUK
@R2AUK 2 жыл бұрын
Hi Reinhard. Many thanks for recording this tutorial. The video is great, you have real a talent! I hope to see more of them in the future :)
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thanks a lot :)
@TADISRINIVAS
@TADISRINIVAS 2 жыл бұрын
Very good tutorial. I had to include the both header files of the library into main to clear errors and warnings. wants to see you soon. Thank you.
@jamesreesor3617
@jamesreesor3617 Ай бұрын
I had to do this as well, otherwise the program wouldn't build!
@kitKat-by6kk
@kitKat-by6kk Жыл бұрын
thanks Reinhard, you have upped my confience from using simple i2c slaves to a more complex device!
@arezooslt1236
@arezooslt1236 6 ай бұрын
Thank you so much for explaining every single details. That was very useful video.
@Konstantin.pavlov.uk.
@Konstantin.pavlov.uk. 11 ай бұрын
Thank you! Great tutorial! Only one thing - I'm not sure but it seems in the video there is no step #include "ssd1306.h" in main.c . Maybe the author's IDE did this automatically, but mine didn't.
@hacksontable5850
@hacksontable5850 11 ай бұрын
Hi, I think I inserted the #include "ssd1306.h" manually but did not show it in the video. I will have a look on this. Thank you.
@-YEET
@-YEET 3 ай бұрын
@@hacksontable5850 #include "ssd1306_fonts.h" is also missing
@MrLwin12
@MrLwin12 2 жыл бұрын
Hello, Please do a tutorial for the SPI configurations
@aminebj6254
@aminebj6254 2 жыл бұрын
Amazing video, cant wait for the next ones about the oled display
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thanks a lot :) Do you have any wishes regarding a tutorial-video?
@graykimchi
@graykimchi 2 жыл бұрын
Wow very well put. I really like how you explain the library functions this video saved me a bunch of time!
@kirillsvyatokha9697
@kirillsvyatokha9697 Жыл бұрын
best tutorial i have ever seen
@hacksontable5850
@hacksontable5850 Жыл бұрын
Thank you🙂
@lennikoepper
@lennikoepper 2 жыл бұрын
Perfect tutorial, helped me a lot! Thank you :)
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thank you 😊
@joaovitorsousasoeiro1243
@joaovitorsousasoeiro1243 Жыл бұрын
Awesome video!!! Helped so much, thank you from Brazil
@TheElectronicDilettante
@TheElectronicDilettante 7 ай бұрын
I’m an old guy just starting out and coding is overwhelming as hell. This is the best tutorial pertaining to STM32Cube IDE I’ve found. A project I’m trying to do on my own with zero experience, is to make it so the open source NanoVnas firmware can be altered to utilize a larger 5” or 7” lcd. Out of the box they have touch functionality however there are redundant button input to control menus and settings. So if loosing the touch input made it easier the nanovna would still function just fine. Any help would be greatly appreciated. The nanovna has ili9341 driver ic from factory for 2.8” lcd the 5-7” lcds I’ve found use the ssd1963 driver ic. Thanks for the great video
@hacksontable5850
@hacksontable5850 7 ай бұрын
Thank you very much🙂 Can you please send me a description of the problem to "hacksontable@gmail.com" so that we can talk about it in further detail.
@vitaliikliets1042
@vitaliikliets1042 2 жыл бұрын
Great explanation! I got everything and more. Thanks)) Continue your releases
@keen2461
@keen2461 10 ай бұрын
Excellent tutorial. Thanks for sharing!
@francisvancampenhout396
@francisvancampenhout396 2 жыл бұрын
Very well explained , from bottomup , more please : )
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thank you 😁 what topic would you like to see next?
@davi5music521
@davi5music521 2 жыл бұрын
HI, working fin but I cant print some variables like int. How to do this? draw char or string not working...
@hacksontable5850
@hacksontable5850 2 жыл бұрын
I will try to give you an example by the end of this week. Probably a Github-Link.
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hi, here just a quick code snippet: You can use the sprintf() function to convert the integer into an corresponding char array that can be displayed on the OLED. I'll give you a short snippet: int varInt = 7; //this is the buffer that contains the converted string char int_str[15]; //here the int gets converted sprintf(int_str, "%d", varInt); //init the ssd1306 driver ssd1306_Init(); //set the cursor ssd1306_SetCursor(5, 5); //output the integer value (as text now) ssd1306_WriteString(int_str, Font_7x10, White); //update the OLED ssd1306_UpdateScreen(); I hope this helps :)
@ganeshgunny7691
@ganeshgunny7691 7 ай бұрын
could you please do more videos of stm32 tutorials like communication protocols and etc. please bro your explanation is too good to learn.
@hacksontable5850
@hacksontable5850 7 ай бұрын
Yes 👍
@KP-dt9wq
@KP-dt9wq Жыл бұрын
Crystal clear tutorial. Honestly well done! Do you know if this external library will work with SSD1327 chipset?
@hacksontable5850
@hacksontable5850 10 ай бұрын
Hi, I have not tried it yet. It might need some adaptions in the init-routine of the chip.
@shivakiely4105
@shivakiely4105 7 ай бұрын
Thanks. Very clear instruction.
@hacksontable5850
@hacksontable5850 7 ай бұрын
Thank you👍
@roropb6230
@roropb6230 2 жыл бұрын
Clear and useful! Thanks for your work!
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thank you :)
@alexanderplattner8661
@alexanderplattner8661 9 ай бұрын
Why does the methods of the library work in your case without including the library by "#include "ssd1306.h"" at the top of the main.c file? I included the library via the project properties in the same way as you but still the methods are unknown in my case.
@hacksontable5850
@hacksontable5850 8 ай бұрын
Hi, the header "ssd1306.h" must be included within the main.c. I just re-watched the video and realized I didn't specifically point it out. At 13:04 (where I switched back into the main.c file) you can see the entry "ssd1306.h" in the Outline-Window. The Outline-Window is located at the top right corner and contains the content of the current file. I hope this helps.
@germangomez1673
@germangomez1673 Жыл бұрын
Thanks so much, and I'm waiting for more tutorials !!
@remontlive
@remontlive Жыл бұрын
Very useful lesson! Thank you!
@kylerkidd4834
@kylerkidd4834 Жыл бұрын
This tutorial is very helpful thank you for taking the time
@hacksontable5850
@hacksontable5850 Жыл бұрын
Thank you.
@gharibzadehossein6778
@gharibzadehossein6778 Жыл бұрын
thank you for this tutorial every thing is OK, but i have a problem when i want compile program, compiler show an error about losing my compiler is keil v5.31
@hacksontable5850
@hacksontable5850 Жыл бұрын
Can you send me the exact error or a screenshot of the error(s)? The E-Mali would be: hacksontable@gmail.com
@davi5music521
@davi5music521 2 жыл бұрын
Really nice video, thanks!
@cristinasolana9274
@cristinasolana9274 Жыл бұрын
This is very helpful I am so grateful.
@cristian-scd
@cristian-scd 6 ай бұрын
Hi I see the video post is quite few years ago, I hope you are well. I'm using this library for OLED projects but I'm having a question. I've got a new 1.5" OLED MC01506 I2C 128x128 pix with SH1107 drive. I'm using your SSD1306 library to drive it but I have the issue that all info printed on screen is shifted to right ( probably exact 64 pix ). It is like the left-top corner of the display is at (x,y) = ( 64,0 ) insted of (0,0). Could you please suggest a solution to this issue? I'm not so profficient with these OLED's I expect the issue is comming from the addresing mode of SH1107 being different from SSD1306 ... Thanks
@distantpeopleperson
@distantpeopleperson Ай бұрын
Thank you very much for the tutorial! For some reason, although I added the OLED Driver Directory to path of the project, I got error messages and the code did not work until I included each header file in main.c code. Has anyone experienced the same issue?
@hacksontable5850
@hacksontable5850 Ай бұрын
@@distantpeopleperson hi, what header-files exactly did you additionally include in the main.c?
@distantpeopleperson
@distantpeopleperson Ай бұрын
@@hacksontable5850 all header files from the OLED Driver folder like ssd1306_fonts.h but it seems to work now
@02gorkius26
@02gorkius26 2 жыл бұрын
A question, I use keil uvision for this project and I cant follow your tutorial because it gives me an error in the ssd1306.h header, telling that I dont have the _ansi.h pack installed, do you know why could it be?
@hacksontable5850
@hacksontable5850 2 жыл бұрын
hello, tomorrow i will use keil uvision to create this project. Then I will check if I get the same error. Did you use CubeMX for the basic project creation or did you start all from scratch?
@soranfatah1033
@soranfatah1033 2 жыл бұрын
well done... we hope you continue
@ÓscarMonederoOlivares
@ÓscarMonederoOlivares 8 ай бұрын
hi, this is an amazing video!! Is this compatible with the LVGL drivers?
@MrAlex3461
@MrAlex3461 Жыл бұрын
Thanks bro, big help. Is the reason you delete the test functions file because it is very large and might not fit in the F0's flash?
@hacksontable5850
@hacksontable5850 Жыл бұрын
Hi, thank you. I just removed the file because it was not necessary for the tutorial. The STM32F103RB used in this video should have enough memory to store the file with the test function.
@ms767210
@ms767210 Жыл бұрын
I followed along with my f4 discovery board and project builds fine but oled dead. When I go into debug it jumps the three oled functions in main. I cannot step through them. Any idea what would cause such behaviour?
@hacksontable5850
@hacksontable5850 Жыл бұрын
Hi, here are some tips: 1.) please check your optimization level of the compiler (if it's to high, then maybe some functions cannot be step through). 2.) Please check if the I2C module is initialized (correct speed) and working. If you have a logic analyzer or an oscilloscope, you could check the SDA and SCL (data and clock) lines. 3.) Please check if the OLED files are located on the right place in the project and the include paths are set correct. 4.) Please check the connection between the OLED and the Discovery board. I don't know the setup of the discovery board. Check if your I2C interface can be used without any prior modifications to the board (soldering bridge for example). If this still does not help, you can send the your source-files (and Warnings of your compiler, if there are any) to hacksontable@gmail.com and i will have a look on it.
@ms767210
@ms767210 Жыл бұрын
@@hacksontable5850 Thank you so much for such a detailed list. I got it working. It was an include path issue and a little mistake in my code due to long time since using the C/C++ language. Best wishes to you. 👍
@milijonierius
@milijonierius 2 жыл бұрын
Hi! I've encoutered a problem. After doing exactly the same steps (apart from choosing apropriate i2c1 pins, I use a nucleo-L433RC-P) the display fails to show any life. Anyone have any thouhts why that may be happening? I believe wrongly set i2c parameters are involved. Very informative video though!
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hi milijonierius. Hmmm, if you want, you can mail me the content of the files "main.c", "ssd1306.h", "ssd1306_conf.h" and "stm32f1xx_hal_msp.c" so that I can have a look on it. The e-mail address would be: hacksontable@gmail.com First guess: Is the header-file "ssd1306_conf.h" configured correct? Because you are using an STM32L4. Ensure to define "STM32L4" instead of "STM32F1". Here I have a small "checklist" for you: 1.) Are the cable plugged in correct (means: SDA from NUCLEO is connected to the SDA of the OLED, and so on. Also check the supply/ground) 2.) Check the pin assignment in the configurator (the .ioc file) Are the pins assigned correct as I2C pins (and are the pins marked green) 3.) Check the parameters in the configuration. The mode should be "I2C". The Speed Mode should be "Standard Mode" and the Clock Speed should be "100000" Hz. 4.) Check the I2C-address of your OLED. 5.) Ensure that there are pull-up resistors (4k7) involved. 6.) (in the main.c) Is the function "ssd1306_Init()" called after the "MX_I2C1_Init()"? 7.) Always call the "ssd1306_UpdateScreen()" function to make your changes (e.g. text written) visible on the OLED. If you have an logic analyzer/oszilloscope, you could check the I2C lines to see if there are data coming out from the STM32L4. Hope this helps.
@milijonierius
@milijonierius 2 жыл бұрын
@@hacksontable5850 I captured the signal and the problem was that the MCU was sending to the wrong address. Many thanks for the help!
@switcher3545
@switcher3545 2 жыл бұрын
Hello reinhard, if I may ask. Are you using pull up resistors for the sda and scl pins?
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hi, yes. But the two 4k7 pullup resistors have been already soldered on the OLED print.
@Vovocaiu
@Vovocaiu Жыл бұрын
Hi . Can you show How to conect a temperature divece with oled. Gy-906
@hacksontable5850
@hacksontable5850 Жыл бұрын
I have already ordered a gy-906 👍
@Vovocaiu
@Vovocaiu Жыл бұрын
Thxxxx
@Vovocaiu
@Vovocaiu Жыл бұрын
I love you
@electronicaindia
@electronicaindia Жыл бұрын
Very good video , could you help me to develop power electronics project using Sine PWM?
@hacksontable5850
@hacksontable5850 Жыл бұрын
Thank you. Please write me an mail with a description of the things you need at hacksontable@gmail.com and then we can talk about it :)
@UweWong
@UweWong 2 жыл бұрын
I am using IAR Embedded Workbench IDE and it keeps on saying "cannot open source file "_ansi.h"". Any idea why this could be happening?
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hi, i've not used IAR Embedded Workbench but I will give it a try this week. Maybe I can tell you whats going on with the"_ansi.h" file.
@UweWong
@UweWong 2 жыл бұрын
@@hacksontable5850 it was missing from IAR directory in my C drive. But I found a solution, all I had to do is copy a BUNCH of includes that's inside the CubeIDE directory and paste it into my project Include folder. It asked for way more other than ANSI.
@吾丧我
@吾丧我 2 жыл бұрын
@@UweWong Hi, I met the same question. Could you tell me which folder should I copy, there are too many 🤣 THANKS!
@UweWong
@UweWong 2 жыл бұрын
@@吾丧我 well after copying ansi it will ask for more. I ended up copying the entire include folder from stm32ide over to my IAR. It is located in directory of your stm32ide I think. Best is to do a search for the ansi file on your computer.
@吾丧我
@吾丧我 2 жыл бұрын
@@UweWong I've copied all the ".h" files which in the same folder with "ansi", But there are still something missing and I can't find them in CubeIDE. I've solved this problem by using another Library whitch don't rely on these files. REALLY THANK YOU !!! 😁
@thipham4052
@thipham4052 Жыл бұрын
Many thanks for your tutorial
@rawam8656
@rawam8656 2 жыл бұрын
Great tutorial! Thanks a lot!!!
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thank you :)
@Vovocaiu
@Vovocaiu Жыл бұрын
I want to see temperature on oled. St l073rz oled v-2.0 0.96 and gy-096
@stefanputureanu9296
@stefanputureanu9296 Жыл бұрын
Hi... I can't find the include library: _ansi.h. I get an error for this...
@romanvanek3418
@romanvanek3418 2 жыл бұрын
Excellent, concise tutorial. Thank you.
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thank you :)
@WeijieLi-o5e
@WeijieLi-o5e Жыл бұрын
Sorry but there were errors and warnings after set the debug configuration and breakpoint, it said ‘Wimplicit-function-declaration’ and ‘White’ undeclared. I was using L432KC and set the configuration to L4. Could you please help me solve this problem❤❤
@hacksontable5850
@hacksontable5850 Жыл бұрын
Hi, yes I will try to help you. Can you send me a mail with the changes you have made in the header files, so that I can have a look on it. (hacksontable@gmail.com)
@gta2plgta2pl81
@gta2plgta2pl81 Жыл бұрын
I added all the files from the library and when compiling an error pops up: 'White' undeclared (first use in this function)
@MegaSenkel
@MegaSenkel Жыл бұрын
Same
@kartikeyyendhe1840
@kartikeyyendhe1840 8 ай бұрын
do this library work for ssd1309 oled display??
@hacksontable5850
@hacksontable5850 8 ай бұрын
Hello, it normally should. The description of the library states that it is compatible with the SSD1309 driver. But I have not tried it out right now.
@kartikeyyendhe1840
@kartikeyyendhe1840 8 ай бұрын
Thanks for replying.I'm currently trying to do it in SPI 3 wire mode! Please give some suggestions!​@@hacksontable5850
@kartikeyyendhe1840
@kartikeyyendhe1840 8 ай бұрын
@@hacksontable5850 Hello! This library worked for SPI in SSD1309. Thank you for the toturial and healthy interaction in comment section. 😃
@nandhinidenvik
@nandhinidenvik Жыл бұрын
Is ssd1306 adaptable for STM32WLE5JCI6??
@xiaolongfan8954
@xiaolongfan8954 2 жыл бұрын
Excellent!
@lohikarhu734
@lohikarhu734 6 ай бұрын
Something escaped me on the second call to oled_init, why the background colour went to black....
@2222-s8x
@2222-s8x 2 жыл бұрын
hey there. The thing is I got 3 more pins on an oled which is currently available. Those are chipselect, data/command and reset. What should I do with them? I mean, one could just solder the pins to the ground, according to datasheet (under normal conditions their signal is Low). What do you think? Sorry, I'm newbee.
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hey, there nothing to be sorry for. Its a good question. Can you please send me the name/model of your OLED and the datasheet, so I can have a look on it. I am currently not in my office the next two weeks, but i can have a quick look on it anyway and give you an answer. Just mail the model-number/datasheet of your OLED to: hacksontable@gmail.com
@amonmcranny2654
@amonmcranny2654 Ай бұрын
Why did you not use pb6 and pb7?
@hacksontable5850
@hacksontable5850 Ай бұрын
There was no special reason for not choosing these pins. I just wanted to show how the pin-assignment works.
@렛츠고-x5x
@렛츠고-x5x 16 күн бұрын
Thank you so much!!!!!!❤❤❤❤❤❤
@hacksontable5850
@hacksontable5850 16 күн бұрын
@@렛츠고-x5x you're welcome 🙂
@moeinbap6154
@moeinbap6154 10 ай бұрын
thank you for your explain.
@Vovocaiu
@Vovocaiu Жыл бұрын
If you can make a vídeo How to assemble núcleo and gy and display
@julioalvaro7070
@julioalvaro7070 2 жыл бұрын
Hi! Do You know how to print int or float variables onto the screen? Unfortunately conventional c methods do not work :/
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Hi, you can use the sprinf() function to convert the integer/float to an corresponding char-array that can be printed on the OLED. Here is a short snippet: int varInt = 7; //this is the buffer that contains the converted string char int_str[15]; //this is the buffer that contains the converted string float varFloat = 10.14; char float_str[15]; //here the int gets converted sprintf(int_str, "%d", varInt); //here the float gets converted to text and stored sprintf(float_str, "%.2f", varFloat); //init the ssd1306 driver ssd1306_Init(); //set the cursor ssd1306_SetCursor(5, 5); //output the integer value (as text now) ssd1306_WriteString(int_str, Font_7x10, White); //se the cursor ssd1306_SetCursor(15, 15); //output the float value (as text now) ssd1306_WriteString(float_str, Font_7x10, White); //update the OLED ssd1306_UpdateScreen(); --> IMPORTANT NOTE C/C++ Build > Settings > Tool Settings", or add manually "-u _printf_float" in linker flags." I will try to cover this topic into a video. I hope this helps.
@julioalvaro7070
@julioalvaro7070 2 жыл бұрын
@@hacksontable5850 Thank You! Trying that right away C:
@vibrex2009
@vibrex2009 2 жыл бұрын
nice work! will you continue this project?
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Thanks a lot. Currently I am working on a video that shows how to draw geometric objects and graphics. I try to finish it as fast as possible.
@vibrex2009
@vibrex2009 2 жыл бұрын
​@@hacksontable5850 Hi. I am trying to add more fonts. But I did'nt find any program to output 32bit format font archive. Only 8 bit format! Could you tell me wich program did you use? Thanks a lot.
@hacksontable5850
@hacksontable5850 2 жыл бұрын
@André Santos sorry for the late reply. I am currently on holiday. But yeah, thats a problem I have done some experiments on. As soon as I am finish with the coverter-software, I will share a link. For this video I have used the existing fonts in the GitHub repo of the OLED driver.
@vibrex2009
@vibrex2009 2 жыл бұрын
@@hacksontable5850 Thank you for your time. I will be waiting for more video from your channel.
@Mralex22801
@Mralex22801 11 ай бұрын
Thanks man
@MegaSenkel
@MegaSenkel Жыл бұрын
So sad, it just does not function to me. It cannot find White altough it is marked blue and italic. The same with Font_7x10. It also says that I have implicit declaration of init, setcursor, updatescreen and writestring. But I wrote it exactly like you. So it cannot detect it as a declaration. I wrote it to run the functions.
@MegaSenkel
@MegaSenkel Жыл бұрын
I have included the header file of the OLED lib in the main under including main.h. It functions now. But I cannot remember you have done that, right? I thought over the Include paths and rebuild it does it automacially or something.
@Vovocaiu
@Vovocaiu Жыл бұрын
Hello, gy from hittube is a old version
@powertechgrows6093
@powertechgrows6093 Жыл бұрын
damn, still cant get it to work. Had the most hope for you tutorial of all those i have watched or read so far. Could be i got a whole batch of bad screens since i couldnt even get the back to go all white.
@hacksontable5850
@hacksontable5850 Жыл бұрын
Hi, hmmm it might be the case that the batch is bad or has a different driver (chip) on it. If you want to, you can mail me your source code (oled driver files and the main) so that i can have a look on it. (hacksontable@gmail.com)
@powertechgrows6093
@powertechgrows6093 Жыл бұрын
@@hacksontable5850 make more STM32 videos, you are very good at it!
@powertechgrows6093
@powertechgrows6093 Жыл бұрын
Do you happen to have code to enable scrolling of text?
@hacksontable5850
@hacksontable5850 Жыл бұрын
@@powertechgrows6093 Unfortunately not. It would be a great project though.
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
how can one create new fonts for oled in stm32 ? I am trying to create bigger fonts but no success
@hacksontable5850
@hacksontable5850 2 жыл бұрын
I am currently working on a solution for this 👍
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
@@hacksontable5850 I actually managed to make custom different size fonts for my oled. But my library is also custom. I want to know how people are making 16bit fonts as used in your specified library
@hacksontable5850
@hacksontable5850 2 жыл бұрын
@@EmbeddedEnigma I am not sure, what software was used to create this font. But right now I am also writing a tool to create the needed 16bit font. The tool will just need a bitmap font (.png or .bmp file and a .fnt-file). As soon as the tool is finish, there will be a video-tutorial on how to use it. And a download-link of course. Hope this will help you, even if you already created your own library/tool :) Just a question, what is your "font-creation-process"? What do you need as input for your library?
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
@@hacksontable5850 i am using glcd font creator to create different size fonts. I modified adafruit library that is used for arduino. My fonts require width,height,offsrt and num of characters.
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
@@hacksontable5850 overall glcd font creator is really nice tool they provide with everything. But most of the time thete fonts need tweeking
@Vovocaiu
@Vovocaiu Жыл бұрын
Kkkk It Works my oled was burned i change It .... Yeahhhhh I lll do the oled and gy together. I Will see Github now uhuuuu thx thx thx
@vinodkinoni4863
@vinodkinoni4863 2 жыл бұрын
nice tut
@vahtang-testers
@vahtang-testers 2 жыл бұрын
Danke!
@hacksontable5850
@hacksontable5850 2 жыл бұрын
Gerne 🙂
@Vovocaiu
@Vovocaiu Жыл бұрын
I my oled didn't turned on. 0 erros :( perfect tutorial... But i AM a beginner
@hacksontable5850
@hacksontable5850 Жыл бұрын
Hi, today in the evening/night I will start a Project and upload it on Github. I will send you the Link then👍 The first project will solely contain the OLED driver and its configutation. The second project will also contain the IR-Temp-sensor (I have received it now). I will create a Project for your STM32L073RZ too, so that you can use it without modifications. I hope this hepls.
@Vovocaiu
@Vovocaiu Жыл бұрын
Thx i correct the code It worked :). Let make the gy yeah
@Vovocaiu
@Vovocaiu Жыл бұрын
@@hacksontable5850 thx Men i so happy
@hacksontable5850
@hacksontable5850 Жыл бұрын
@@Vovocaiu Hi, quick update. I now have written a driver to read out and convert the temperature with the IR-Sensor. Its written by using the LL (Low Level Library from STM32). I will write a HAL driver too in the next three days. And I will upload the current driver project as fast as possible on GitHub and inform you when its online. A video with a detailed description will be the next step then 👍
@Vovocaiu
@Vovocaiu Жыл бұрын
@@hacksontable5850 thx i Will see
@Vovocaiu
@Vovocaiu Жыл бұрын
:)
@Brumby0
@Brumby0 Жыл бұрын
Excellent!
Keil uVision или STM32CubeIDE? Что использовать.
13:30
Vladimir Medintsev
Рет қаралды 28 М.
STM32 + OLED = Display Anything
18:01
Nick Electronics
Рет қаралды 25 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
STM32 Guide #2: Registers + HAL (Blink example)
30:02
Mitch Davis
Рет қаралды 214 М.
Drawing text on the SSD1306 OLED display
10:28
nLab
Рет қаралды 7 М.
Embedded Rust setup explained
23:03
The Rusty Bits
Рет қаралды 94 М.
SSD1306 OLED and STM32 || 128x64 || SW4STM || CubeMX
14:22
ControllersTech
Рет қаралды 55 М.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
STM32. Библия программиста
32:32
NR.electronics
Рет қаралды 61 М.
HOW CONNECT OLED DISPLAY TO STM32 | Touch GFX GUI Tool | Tutor 01
16:34
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,1 МЛН