Interfacing a Matrix Keypad to the Raspberry Pi PICO microcontroller

Ғылым және технология

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 -- makingstuffwithchrisdehut.com
DOWNLOAD FILES HERE -- makingstuffwithchrisdehut.com...
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

Пікірлер: 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

  • @pawecybulski261
    @pawecybulski261 Жыл бұрын

    Very well explained, thank you.

  • @MakingStuffwithChrisDeHut

    @MakingStuffwithChrisDeHut

    Жыл бұрын

    Hi Pawel, thank you very much for the kind words, much appreciated! 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

  • @o5tusk804
    @o5tusk8049 ай бұрын

    Is there possibility to use this keyboard to make macro keypad?

  • @MakingStuffwithChrisDeHut

    @MakingStuffwithChrisDeHut

    9 ай бұрын

    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 KZread 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 Жыл бұрын

    “Good morning. Or, as my Klingon friends say, maj po.” kzread.info/dash/bejne/iqCd1teCntrWlrQ.html I really enjoy your videos. Thanks for the effort.

  • @MakingStuffwithChrisDeHut

    @MakingStuffwithChrisDeHut

    Жыл бұрын

    Thanks for stopping by! Don't know Klingon, but I always like picking a new phrase now and again. Cheers!

Келесі