Тёмный

60. STM32CubeIDE LCD 1602 Display. Parallel 16x2 with STM32F446RE 

MicroPeta by Nizar Mohideen
Подписаться 7 тыс.
Просмотров 28 тыс.
0% 0

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@NizarMohideen
@NizarMohideen 2 года назад
You can use without 100 Ohm resistor for only short period of time to test. You must use a 100-330 Ohm resistor if you want to use for long time.🚦
@anilkoluacik2
@anilkoluacik2 Год назад
Hey, I don't have resistor right now, so I connect my anode directly to 5V. Is it OK?
@lets_build_traces
@lets_build_traces 2 месяца назад
✅✅✅ working without any issue ..... I'm using with STM32G030 MCU .......... good thing compare to other library it print Integer directly with separate function without converting it into string. Thanks for reducing our work load.
@GorkemEfeDemirbas
@GorkemEfeDemirbas 5 месяцев назад
Thanks sir it was a great video it helped a lot ;)
@NizarMohideen
@NizarMohideen 5 месяцев назад
Most welcome!
@fernandoesperanza2932
@fernandoesperanza2932 2 года назад
Very good Video congratullations
@bahriozdem1173
@bahriozdem1173 3 месяца назад
very good thank you (teşekkür ederim)
@thetasigma1876
@thetasigma1876 Год назад
It was super helpful, thank you very much sir!
@NizarMohideen
@NizarMohideen Год назад
Glad to hear that!
@furkanunal4067
@furkanunal4067 2 года назад
Hi Sir, Firstly, thank you for the video. It works for me but I want to do this with a temp value that I measure.
@shamailkawish6632
@shamailkawish6632 11 месяцев назад
I learned copy-paste here.
@bahriozdem1173
@bahriozdem1173 3 месяца назад
teşekkür ederim
@Hammad5113189
@Hammad5113189 2 года назад
One more question please sir. If we have done everything like this, and want to print some sensor data also in while(1), how would lcd code come then? for example, over here: ADC_Select_CH4(); HAL_ADC_Start(&hadc1); HAL_ADC_PollForConversion(&hadc1,1000); ADC_VAL_Voltages[0] = readValue5; readValue5 = HAL_ADC_GetValue(&hadc1); voltage1 =(float)readValue5/4095*16.5; HAL_ADC_Stop(&hadc1); Thankyou!
@NizarMohideen
@NizarMohideen 2 года назад
You can use Lcd_int(&lcd, x); // x need to be an integer If it is a float value, break into two integers One for integral and another one for decimal separated by an dot Use three lines of code as below Lcd_int(&lcd, x) Lcd_string(&lcd, ".") Lcd_int(&lcd, y)
@katiaihaddadene7457
@katiaihaddadene7457 2 года назад
Hello you did it please ?
@nikalay9010
@nikalay9010 7 месяцев назад
I'm curious if it goes well, because the author is connecting VDD to 5V and according to Datasheet of the LCD, the MIN Input High Voltage is 0.7VDD what is 3.5V, but as known the GPIOs only deliver 3.3V.
@bsp8751
@bsp8751 2 года назад
Hi, I followed your guide but I've a problem with display: the left side is less visible than the right side. I tried with from 10 - 330 Ohm resistor but nothing has changed
@ProjectAssistant-yc9qg
@ProjectAssistant-yc9qg Год назад
Great sir..can you make 4 bit LCD and 4x4 keypad interfacing video sir..please
@marwankhaledkasem9335
@marwankhaledkasem9335 2 года назад
thank you very much 😉👍👍👍
@NizarMohideen
@NizarMohideen 2 года назад
Thank you too
@Hammad5113189
@Hammad5113189 2 года назад
Hi Sir, I watched both F1 and F4 videos. Could you please tell if the lcd.c and lcd.h files/code would be same for all stm32 versions, and just change that #include part?
@NizarMohideen
@NizarMohideen 2 года назад
Yes. That is correct. Same files
@dduringddu
@dduringddu Год назад
thank you!!
@saikumarprince4145
@saikumarprince4145 3 месяца назад
Hello sir...! My 1st question:-That lcd.h and lcd.c files can use any type board...? Please reply and clarify me... 2nd question:- why you are take random pins like different port pins. Why not take same serial pins like.. PORT-B 0,1,2,3,4,5,6. Can you please clarify my doubts sir ......?
@NizarMohideen
@NizarMohideen 3 месяца назад
It should work with all STM32 boards You can use any pins you want as long as you put the pins in Lcd_PortType ports[] = { D4_GPIO_Port, D5_GPIO_Port, D6_GPIO_Port, D7_GPIO_Port }; Lcd_PinType pins[] = {D4_Pin, D5_Pin, D6_Pin, D7_Pin}; Lcd_create(ports, pins, RS_GPIO_Port, RS_Pin, EN_GPIO_Port, EN_Pin, LCD_4_BIT_MODE);
@arifkhan-rb7dl
@arifkhan-rb7dl Год назад
can you make a video on how to do lcd.h and lcd.c with the help of registers
@n0_name434
@n0_name434 10 месяцев назад
can i ask a question sir?....the backlight does not light up. But my lcd setup is in 4bit please i need help, plus my board is installed on a board that uses seperate supply from the data input...really need assisstance
@mbatechmeds1807
@mbatechmeds1807 2 года назад
Thank you Nizar ! Do you take classes also by any chance?
@vinodkinoni4863
@vinodkinoni4863 2 года назад
Nice sir
@NizarMohideen
@NizarMohideen 2 года назад
Thanks and welcome
@vinodkinoni4863
@vinodkinoni4863 2 года назад
I have some queries can u guide me only point out
@NizarMohideen
@NizarMohideen 2 года назад
You can email the question to nizarmohideen@hotmail.com
@dishakarnataki7019
@dishakarnataki7019 2 года назад
Hi, Great tutorial..I tried this example for all LCD pins connected to PORTC with connections as below: PORTC0-->RS PORC2--->EN, PORTC3 ,C4,C5,C6 ----> D4 to D7 but,I am just getting boxes and no display on LCD.. but,if I change my pins to that as shown in example it works fine.. why is it not working for my pinouts that I am using?
@NizarMohideen
@NizarMohideen 2 года назад
Set those pins to GPIO_Output use below format for ports // Lcd_PortType ports[] = { D4_GPIO_Port, D5_GPIO_Port, D6_GPIO_Port, D7_GPIO_Port }; For example Lcd_PortType ports[] = { GPIOC, GPIOB, GPIOA, GPIOA }; use below format for pins // Lcd_PinType pins[] = {D4_Pin, D5_Pin, D6_Pin, D7_Pin}; For example Lcd_PinType pins[] = {GPIO_PIN_7, GPIO_PIN_6, GPIO_PIN_7, GPIO_PIN_6}; Lcd_HandleTypeDef lcd; use below format to create LCD // Lcd_create(ports, pins, RS_GPIO_Port, RS_Pin, EN_GPIO_Port, EN_Pin, LCD_4_BIT_MODE); For example lcd = Lcd_create(ports, pins, GPIOB, GPIO_PIN_5, GPIOB, GPIO_PIN_4, LCD_4_BIT_MODE); If still doesn’t work with your new pins, use a simple led blink on each pins to check for faulty pins You can also try with some other pins. Thanks
@dishakarnataki7019
@dishakarnataki7019 2 года назад
@@NizarMohideen Hello..I checked that because of improper wiring all the problems now all works fine..I would like to know how do you avoid wiring problems which go unnoticed and we keep checking the program..
@vincegalido3689
@vincegalido3689 2 года назад
Hi Sir, thanks for the tutorial. I have a question sir, I can display the value but why it doesn't have backlight sir?
@NizarMohideen
@NizarMohideen 2 года назад
Make sure both 3.3V and 5V power supply are properly connected and then rotate the potentiometer for brightness. Thanks
@n0_name434
@n0_name434 10 месяцев назад
mine does not light either
@christiancaballa1178
@christiancaballa1178 Год назад
Nice video, can i use this code for nucleo F411RE?
@NizarMohideen
@NizarMohideen Год назад
Yes, you can
@esathidayet7655
@esathidayet7655 Год назад
thanks man. i like it. if you have mail adress, i want to send a mail about stm32.
Далее
Datasheets: 16x2 LCD By Hand (No microcontroller)
26:35
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
RTC in STM32 || LCD 16x2 || HAL || CubeMx
16:31
Просмотров 54 тыс.
Using LCD Displays with Arduino
46:23
Просмотров 1,7 млн
Interfacing LCD with STM32F446RE in 8Bit Data Mode
50:18