Тёмный

Interfacing a Matrix Keypad to the Raspberry Pi PICO microcontroller 

Making Stuff with Chris DeHut
Подписаться 10 тыс.
Просмотров 4,8 тыс.
50% 1

Keypads are very economical devices used to input data into microcontrollers. In this video we will explore how to use them with the Raspberry Pi PICO microcontroller using micropython. Covered in this video:
What the keypads are
What applications / uses they have
How they work
Wiring example in Fritzing format
Program example & overview for unique method to use them
SEE ASSOCIATED VIDEOS:
Raspberry Pi PICO Setup and Preparation for Programming • Raspberry Pi PICO Setu...
PICO Machine Library PIN Class • PICO Machine Library P...
Using PICO Interrupts • Using PICO Interrupts
VISIT OUR COMPANION WEBSITE -- makingstuffwit...
DOWNLOAD FILES HERE -- makingstuffwit...
SOURCED ITEMS USED IN SOME OF THE VIDEOS
5 pcs of 4 x 4 Matrix Keypad (digital) amzn.to/3NQ0c22
3 pack of breadboards amzn.to/3oAkK3H
200 pc assortment of LEDs amzn.to/3JfLQVc
450 pc assortment of LEDs amzn.to/3sr1vKL
38 value / 1200 pcs resistor assortment amzn.to/3Llxq8k

Наука

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

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@jrbinfor
@jrbinfor Год назад
Good morning, my name is Jailson, I'm Brazilian, I admire your work a lot, I don't miss a video of yours, thank you very much for transmitting your knowledge. hug...
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Good morning Jailson, thank you for the kind words and I am glad to hear they videos are helping you! Cheers! Chris
@phlexy
@phlexy Год назад
"Borrowed" the entire code, tested this code against other ones that use loops but are more compact and your code was 10% faster on average. ~380cpu ticks vs ~430. Also a note for anyone who is doing this with threading, avoid using interrupts. It is not well documented but if you use threading + interrupts Pico will randomly stop working(on interupt), took me two days to figure that one out. Cheers!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Hi Phlex, outstanding information, thanks much for sharing! Cheers! Chris
@geniusmwatsiya3084
@geniusmwatsiya3084 Год назад
Sir, you are awesome! Thank you.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Ha, you are far too kind my friend :-) Thanks for watching. Cheers! Chris
@TheUnofficialMaker
@TheUnofficialMaker Год назад
great code, going to try this out.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Hi VJ, Thanks for taking a look and I hope the code helps you out! Cheers!, Chris
@pawecybulski261
@pawecybulski261 Год назад
Very well explained, thank you.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Hi Pawel, thank you very much for the kind words, much appreciated! Cheers! Chris
@o5tusk804
@o5tusk804 11 месяцев назад
Is there possibility to use this keyboard to make macro keypad?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 месяцев назад
Hi o5tusk804 , While i have not done any macro keypad projects, I don't see what you can't. Cheers! Chris
@Elmorji
@Elmorji Год назад
Ok I would be very greatfull if you could make this work with instead of a keypad.. a joystick say press down = 2, left = 4, right = 6, up = 8, with up down left right and 5 with button press. output to computer can this be done?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Hi, thanks for the request. Can you explain in a bit more detail, I am not sure of exactly what you want and for what purpose. Cheers! Chris
@Elmorji
@Elmorji Год назад
@@MakingStuffwithChrisDeHut o so I have a game that uses movement with the number pad then the number 5 is used as a mappable key in game like potion to heal. I would like to use a joystick to move around in the game and have my other 4 fingers free for other keyboard use so down on the joystick acts like I am pressing a keyboard keypad #2 and so on is this possible?
@Elmorji
@Elmorji Год назад
@@MakingStuffwithChrisDeHut this game can use diagonal input too like say the # 1 for one square south and one square west
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
@@Elmorji Ok, I think I understand what you want. I was planning on a circuit python keyboard emulator project in the future, unfortunately, I don't believe that will make it to RU-vid until mid-to-late July based on my current schedule. Chris
@Elmorji
@Elmorji Год назад
@@MakingStuffwithChrisDeHut awesome can’t wait to watch that one too ! Thanks
@oraflores
@oraflores 2 года назад
“Good morning. Or, as my Klingon friends say, maj po.” ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XlituInwpfQ.html I really enjoy your videos. Thanks for the effort.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 года назад
Thanks for stopping by! Don't know Klingon, but I always like picking a new phrase now and again. Cheers!
Далее
Read Analog Voltage with the PICO
14:25
Просмотров 8 тыс.
Run BOTH Cores with Threading On The PICO
33:28
Просмотров 7 тыс.
CircuitPython with Raspberry Pi Pico - Getting Started
42:47
Using PICO Interrupts
25:15
Просмотров 18 тыс.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18