How to use Keypad with STM32 || Keil || HAL || CubeMx

  Рет қаралды 24,861

ControllersTech

ControllersTech

5 жыл бұрын

Purchase the Products shown in this video from :: controllerstech.store
________________________________________________________________________________________
To download full code and for more description goto
controllerstech.com/use-4x4-k...
Check out more VIDEOS on MODULES/SENSORS with STM32 • STM32 and SENSORS/MODULES
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/controllertech
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controllerstechdiscuss
Follow me on Instagram / controllerstech
For more info, visit www.controllerstech.com

Пікірлер: 47
@nithins1212
@nithins1212 3 жыл бұрын
Many thanks for the tutorial! for people working on this code, make sure to include hal_delay(200) after the while loop statement in the read_keypad() function; helps for switch debouncing:) Also, make sure to use the Pull-up resistor for the 4 gpio inputs. These were some issues I faced.
@Hasnatabdulrehman
@Hasnatabdulrehman Ай бұрын
Can you please explain how do I use pull-up resistors for GPIO inputs? I have done everything right but my keypad keeps showing wrong numbers upon pressing any key. For example, if I press 1, the lcd shows any random number. First I thought the keypad is faulty so I changed it but still the same problem.
@stefanoparlapiano445
@stefanoparlapiano445 Жыл бұрын
The code is available at the end of the page, at the beginner it was hard to find it, but all its there. Nice tutorial.
@Hasnatabdulrehman
@Hasnatabdulrehman Ай бұрын
I have done everything right but my keypad keeps showing wrong numbers upon pressing any key. For example, if I press 1, the lcd shows any random number. First I thought the keypad is faulty so I changed it but still the same problem. PLEASE HELP!
@santhoshsethupathi6266
@santhoshsethupathi6266 5 жыл бұрын
How to use stm32 nucleo with gsm module can you help me
@darioparrella8181
@darioparrella8181 Жыл бұрын
where can I find the versione with interrupt ?
@MANNEPALLIPOOJITHE
@MANNEPALLIPOOJITHE 6 ай бұрын
are you using arch linux sir
@pusatberk4193
@pusatberk4193 5 жыл бұрын
Thanks I will share with my friends love stm
@paulnwoko4830
@paulnwoko4830 4 жыл бұрын
nice video. please make a tutorial on stm32 keypad with interrupt
@franciscotoapanta3926
@franciscotoapanta3926 4 жыл бұрын
did you use any resistor, or you connect it directly, or you put in pull up the columns?. thanks for the video
@ControllersTech
@ControllersTech 4 жыл бұрын
No i haven't used any resistor because the stm32 pins have weak pull up. So whenever you select a pin as input, you can use that pull up function. But you should use the pull up resistors just to be safe and sure
@Bunty793
@Bunty793 3 жыл бұрын
you know it's the right guy when he's using Arch Linux
@balaji5384
@balaji5384 3 жыл бұрын
very nice and clear
@trungvotthue
@trungvotthue 3 жыл бұрын
i read 1 when call read_keypad() and no push, how to change it to 'D'. Thanks
@ControllersTech
@ControllersTech 3 жыл бұрын
Use the if condition.. if (key == 0x01) key = 'D'
@nudratjawaria3753
@nudratjawaria3753 Жыл бұрын
Hey, i was running simulation for this code, but i dont get the connections of LCD. i connected the keypad wires with PA0-PA7 but cant figure out how to connect 16x2.
@ControllersTech
@ControllersTech Жыл бұрын
Lcd is connected via the i2c using pcf8574
@nudratjawaria3753
@nudratjawaria3753 Жыл бұрын
​@@ControllersTechcan you please share your email, I wanna show you the simulation. It is not working
@infini6338
@infini6338 9 ай бұрын
will it make a major difference in the code if i use stm32 nucleo board?
@ControllersTech
@ControllersTech 9 ай бұрын
Nope.
@namrathasingh9502
@namrathasingh9502 4 жыл бұрын
i2c.lcd.h library, where can I find that library. Actually I am not getting in the place you have shown.
@ControllersTech
@ControllersTech 4 жыл бұрын
it's inside the src and inc folders..
@mujamilmukthar317
@mujamilmukthar317 3 жыл бұрын
Even i do not find it in my workspace.... and more ovr, my toolchain ide remained disabled, so it was not mdk v5. I think it must have some connection to the problem i'm facing.
@ControllersTech
@ControllersTech 3 жыл бұрын
I'll check it again. You can download them from i2c lcd video also..
@nguyenthanhhaofficial2101
@nguyenthanhhaofficial2101 8 ай бұрын
Your video is showing instructions on an LCD screen, can you show me how to do it on an OLED screen? Please, can you help me!!!
@ControllersTech
@ControllersTech 8 ай бұрын
Whats there to show ? Instead of lcd, just send it to oled.
@user-ed1kx5xg9b
@user-ed1kx5xg9b 3 жыл бұрын
Hollo, I am wonder how to use your library in arduino IDE environment. I use arduino IDE to upload code to the STM32 microcontroller. Thank for your apply.
@ControllersTech
@ControllersTech 3 жыл бұрын
Use the Arduino code for Arduino IDE..
@user-ed1kx5xg9b
@user-ed1kx5xg9b 3 жыл бұрын
@@ControllersTech Arduino code I found from labrary is incompatible to STM32 microcontroller. This problem truely brothered me a lot, ha ha
@ControllersTech
@ControllersTech 3 жыл бұрын
Then use the stm32 as stm32 instead of turning it into Arduino 🙂
@user-ed1kx5xg9b
@user-ed1kx5xg9b 3 жыл бұрын
@@ControllersTech I don't understand what you mean
@user-ed1kx5xg9b
@user-ed1kx5xg9b 3 жыл бұрын
@@ControllersTech If you have free time, can I ask for your contact information like fb, maybe I can told you the detail information, thank you!!
@narendrasuryawanshi1708
@narendrasuryawanshi1708 Жыл бұрын
getting error to open given code link?? where exactly i get code??
@ControllersTech
@ControllersTech Жыл бұрын
Try now
@jesaiassanchez6447
@jesaiassanchez6447 3 жыл бұрын
hello how can i put 2 or more digits?
@ControllersTech
@ControllersTech 3 жыл бұрын
Just put the digits into the array and send it to the display
@sekudha
@sekudha 3 жыл бұрын
Watch his previous vids
@emregok5088
@emregok5088 3 жыл бұрын
@@ControllersTech What are the changes we will make to the code ?
@ControllersTech
@ControllersTech 3 жыл бұрын
Don't clear the display after the key is printed. That's all
@emregok5088
@emregok5088 3 жыл бұрын
@@ControllersTech which code for clear ?
ir remote with STM32 || HAL || CubeMx || Keil || NEC
14:07
ControllersTech
Рет қаралды 15 М.
Матричные клавиатуры
15:52
Электроника в объективе
Рет қаралды 35 М.
Русалка
01:00
История одного вокалиста
Рет қаралды 7 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 13 МЛН
Use STM32 as a KEYBOARD || F103C8 || USB Device HID
19:19
ControllersTech
Рет қаралды 31 М.
How to use 5x4 20 keys keypad  with Arduino detect String
10:05
SD CARD using SPI in STM32 || Cube-IDE || File handling || uart
16:42
ControllersTech
Рет қаралды 86 М.
STM32+KEYPAD
6:46
NimaLTD
Рет қаралды 1,7 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 884 М.
LCD via I2C in STM32 || CUBEIDE || PCF8574
12:22
ControllersTech
Рет қаралды 78 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 557 М.
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,1 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 656 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 376 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН