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

  Рет қаралды 29,224

MicroPeta by Nizar Mohideen

MicroPeta by Nizar Mohideen

Күн бұрын

STM32 Nucleo for beginners
Code and diagram are at www.micropeta....

Пікірлер: 43
@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 3 ай бұрын
✅✅✅ 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.
@fernandoesperanza2932
@fernandoesperanza2932 2 жыл бұрын
Very good Video congratullations
@GorkemEfeDemirbas
@GorkemEfeDemirbas 6 ай бұрын
Thanks sir it was a great video it helped a lot ;)
@NizarMohideen
@NizarMohideen 6 ай бұрын
Most welcome!
@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.
@bahriozdem1173
@bahriozdem1173 4 ай бұрын
very good thank you (teşekkür ederim)
@nikalay9010
@nikalay9010 8 ай бұрын
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.
@ProjectAssistant-yc9qg
@ProjectAssistant-yc9qg Жыл бұрын
Great sir..can you make 4 bit LCD and 4x4 keypad interfacing video sir..please
@dduringddu
@dduringddu Жыл бұрын
thank you!!
@marwankhaledkasem9335
@marwankhaledkasem9335 2 жыл бұрын
thank you very much 😉👍👍👍
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Thank you too
@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 ?
@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
@shamailkawish6632
@shamailkawish6632 Жыл бұрын
I learned copy-paste here.
@saikumarprince4145
@saikumarprince4145 4 ай бұрын
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 4 ай бұрын
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);
@mbatechmeds1807
@mbatechmeds1807 2 жыл бұрын
Thank you Nizar ! Do you take classes also by any chance?
@bahriozdem1173
@bahriozdem1173 4 ай бұрын
teşekkür ederim
@arifkhan-rb7dl
@arifkhan-rb7dl Жыл бұрын
can you make a video on how to do lcd.h and lcd.c with the help of registers
@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
@n0_name434
@n0_name434 11 ай бұрын
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
@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 11 ай бұрын
mine does not light either
@vinodkinoni4863
@vinodkinoni4863 3 жыл бұрын
Nice sir
@NizarMohideen
@NizarMohideen 3 жыл бұрын
Thanks and welcome
@vinodkinoni4863
@vinodkinoni4863 3 жыл бұрын
I have some queries can u guide me only point out
@NizarMohideen
@NizarMohideen 3 жыл бұрын
You can email the question to nizarmohideen@hotmail.com
@christiancaballa1178
@christiancaballa1178 Жыл бұрын
Nice video, can i use this code for nucleo F411RE?
@NizarMohideen
@NizarMohideen Жыл бұрын
Yes, you can
@JYK-u6u
@JYK-u6u 21 күн бұрын
There is an error message for "Project 'LCD' has no explicit encoding set". Can you please let me know how to figure out?
@NizarMohideen
@NizarMohideen 21 күн бұрын
In STM32CubeIDE go to: Project -> Properties -> Resource -> Text file encoding -> Other, and select whatever encoding you like.
@esathidayet7655
@esathidayet7655 Жыл бұрын
thanks man. i like it. if you have mail adress, i want to send a mail about stm32.
50. Install STM32CubeIDE and LED blink program with Nucleo for Windows
16:17
MicroPeta by Nizar Mohideen
Рет қаралды 32 М.
RTC in STM32 || LCD 16x2 || HAL || CubeMx
16:31
ControllersTech
Рет қаралды 55 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 60 МЛН
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 2,2 МЛН
Datasheets: 16x2 LCD By Hand (No microcontroller)
26:35
Mitch Davis
Рет қаралды 101 М.
59. STM32CubeIDE LCD 1602 Display. Parallel 16x2 with STM32F103C8T6
8:31
MicroPeta by Nizar Mohideen
Рет қаралды 9 М.
61. STM32CubeIDE LCD 1602 Display. I2C 16x2 with STM32F446RE
8:20
MicroPeta by Nizar Mohideen
Рет қаралды 27 М.
Is This the NEW GOLDEN Standard for Communication? (I3C) EB#60
12:17
57. STM32CubeIDE LCD 1602 Display. I2C 16x2 with STM32F103C8T6
7:24
MicroPeta by Nizar Mohideen
Рет қаралды 18 М.
Using LCD Displays with Arduino
46:23
DroneBot Workshop
Рет қаралды 1,7 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 60 МЛН