Did you write the .c and .h files we created in Src and Inc? If you didn't, do you know where I can find a tutorial explaining how they were created? Thank you.
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.
Hello Nizar. What display do you use in this video ? I see it's SSD1306 based display, but which model do you use exactly ? It's colors display. Thanks you very much for nice demonstrations!
SSD1306 oled comes mainly with white color, blue color or blue/yellow color. This setup and code will work with all of them as long as they have I2C pins (SCL/SDA). For generic display module, it will work straight away. If it is adafruit module, comment //#define SSD1306_I2C_ADDR 0x78 #define SSD1306_I2C_ADDR 0x7A in ssd1306.h file. Thanks
While uploading the code each time, I'm getting an error : Error in final launch sequence: Failed to execute MI command: target extended-remote localhost:3333 Error message from debugger back end: localhost:3333: Connection timed out. Failed to execute MI command: target extended-remote localhost:3333 Error message from debugger back end: localhost:3333: Connection timed out. localhost:3333: Connection timed out. Just after I use the run option or debugger run. Why so?
can you plese give me the code for spi display with 7pins for stm32f103c8t6 (or please tell me the inilization process of spi communication in stm32cubeide
i tried your code on stm32f030c8t6 it worked that time, now i am trying the same with stm32f103c8t6 but it is not working with and its new version display, though i studied its datasheet the address it says is 0x3C, i tried every address, its not working at all, even made pull up connection, the sda and sck lines both remains in high state, suggest me to fix it
I have tried initially i got errors and i was not able to fix them. I deleted entire project and created the new one step by step by watching the tutorial. It worked
uint8_t sicaklik; char dizi[5]; while(){ sprintf(array,"%d", temp); SSD1306_GotoXY (53, 30); SSD1306_Puts (array,&Font_11x18,0); SSD1306_UpdateScreen(); HAL_Delay (500); } I checked in the debugging environment, there is no issue with the conversions. When going from two-digit temperatures to three-digit ones, there is no problem. However, when the temperature drops below 100 degrees, instead of getting 99, 98, 97, I'm getting 990, 980, 970. What could be the reason for this?
Thumbs up for adding the source code to video description!
thank you man , very helpful content !
You are made a great and easy tutorial? thank you indeed!
thank you so much , you teach me a lot of things, I really appreciate your efforts.😊
Excellent video and a huge thank you! Any idea if it's possible to rotate the screen 180 degrees? It looks ike it might be in SSD1306_Init somewhere.
Did you write the .c and .h files we created in Src and Inc? If you didn't, do you know where I can find a tutorial explaining how they were created? Thank you.
Clear, easy to follow .. My best wishes for you
Thank you! You too!
excellent choukran
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.
sir, what about the color of text? can i print multiple color text in this display or it has these color by default?
Hello Nizar. What display do you use in this video ? I see it's SSD1306 based display, but which model do you use exactly ? It's colors display. Thanks you very much for nice demonstrations!
SSD1306 oled comes mainly with white color, blue color or blue/yellow color. This setup and code will work with all of them as long as they have I2C pins (SCL/SDA).
For generic display module, it will work straight away. If it is adafruit module, comment
//#define SSD1306_I2C_ADDR 0x78
#define SSD1306_I2C_ADDR 0x7A
in ssd1306.h file. Thanks
While uploading the code each time, I'm getting an error :
Error in final launch sequence:
Failed to execute MI command:
target extended-remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
Failed to execute MI command:
target extended-remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
localhost:3333: Connection timed out.
Just after I use the run option or debugger run. Why so?
thank you for this video and files
You're welcome
Hi, thanks for the videos you are sharing. Kindly create a tutorial how to use the internal temperature sensors in the STM32 chips
Thanks. Will do
I just did what you did but it didn't work I don't understand the problem connection and code is right but screen is nothing show up.
Thanks pro for all
Thanks
I did everything perfectly but the display still does not turrn on, what should i do ??
thanks, it works
NucleoL476RG not work, any hints?
can you plese give me the code for spi display with 7pins for stm32f103c8t6 (or please tell me the inilization process of spi communication in stm32cubeide
i tried your code on stm32f030c8t6 it worked that time, now i am trying the same with stm32f103c8t6 but it is not working with and its new version display, though i studied its datasheet the address it says is 0x3C, i tried every address, its not working at all, even made pull up connection, the sda and sck lines both remains in high state, suggest me to fix it
thank you, very good⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
itoa function was not available. Got an error because of the function missing. Please let me know how to resolve this issue.
I have tried initially i got errors and i was not able to fix them. I deleted entire project and created the new one step by step by watching the tutorial. It worked
Excellent video and I will give this a try. My oled display has an i2c address of 0x3C. Is this the address of the one that you use?
If it is 0x3C, use 0x78
Good~
uint8_t sicaklik;
char dizi[5];
while(){
sprintf(array,"%d", temp);
SSD1306_GotoXY (53, 30);
SSD1306_Puts (array,&Font_11x18,0);
SSD1306_UpdateScreen();
HAL_Delay (500);
}
I checked in the debugging environment, there is no issue with the conversions. When going from two-digit temperatures to three-digit ones, there is no problem. However, when the temperature drops below 100 degrees, instead of getting 99, 98, 97, I'm getting 990, 980, 970. What could be the reason for this?
SSD1306_Clear();
It will clear the 0. If you have flicker, then write empty space " "
@@NizarMohideen thank you very much sir for interesting and help.İts solved
nice
Спасибо у меня получилось 👍
Hi Nizar. Do you have an email address that we can reach and ask questions about ur projects 2 u?
I had a problem with "itoa". Can you help me?
sprintf() can be used instead of itoa()
Can you provide the bare metal code for OLED I2C
Without using HAL code
Will oled work in standard mode or not?
Only Fast Mode 400000Hz Thanks
ssd1306_Init();
undefined reference to "ssd1306_Init();" I am getting error. Has anyone encountered this problem? How can I solve it?
Put the library files
Inside Core/Inc Folder
fonts.h
ssd1306.h
Inside Core/Src Folder
fonts.c
ssd1306.c
@@NizarMohideen I added the libraries and the error appears in main.c in the src section.
Try SSD1306_Init(); instead of ssd1306_Init();
Capital Big SSD not simple small ssd
I solved the problem. In the Properties section, changing the libraries option from executable to static libraries fixed it.Thanks a lot
did in the same way but lot of errors lol
Itoa error
How to contact with you? any whatsapp or other social media?