4x4 Keypads, Raspberry Pi Pico and MicroPython

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 32

  • @kevinmcaleer28
    @kevinmcaleer28  3 года назад +5

    What could you use a keypad for? Maybe a DIY BigTrak, (or more likey SmallTrak)...

    • @RyanStone143
      @RyanStone143 3 года назад

      The moment I saw that keypad... "I miss my BigTrak!"

  • @jj74qformerlyjailbreak3
    @jj74qformerlyjailbreak3 3 года назад +1

    Great stuff
    👍 “Tickles Me Pico”

  • @sithummethmika1676
    @sithummethmika1676 3 года назад +2

    thanks a lot
    for your help in pico field

  • @hrithikhrithik4445
    @hrithikhrithik4445 3 года назад +1

    congratulation sir for 1.58k subscribers❤️ .....one day it became
    1 million subscribers.....

  • @hknk
    @hknk 2 года назад +1

    Nice video.

  • @johndias8876
    @johndias8876 Год назад

    Maybe you can append to the description a link to some code integrating debounce. That would be sweet. Thanks.

  • @AnilKumar-ow3pq
    @AnilKumar-ow3pq 3 года назад +1

    Waiting for this keypad

  • @danielmarshell1588
    @danielmarshell1588 2 года назад

    how would you go about using the keypad matrix to control something, such as key 1 turns on an led, key 2 turns it off, or key 3 advances servo motor, Key 4 reverses., etc.??

  • @o5tusk804
    @o5tusk804 Год назад

    Is there possibility to use a matrix keypad with micropython to make macro keypad connected to PC?

  • @markharvey2284
    @markharvey2284 3 года назад +1

    is there a way to only get the key pressed once as i would like to use this for a door lock and could you store the keys pressed in a variable to check against the passcode to get in

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад

      That should be easy to do, just change the main loop

    • @cesareduardogonzalezvazque9491
      @cesareduardogonzalezvazque9491 3 года назад

      @@kevinmcaleer28 how i change the main loop so it doesnt’ print multiple times but it also prints on release

  • @Keeping_IT_Simple
    @Keeping_IT_Simple Год назад

    hi
    how would you connect & program one of these connected to a Pico via PCF8574 IO Expansion Board ?
    Plenty guides on doing this with Arduino but i can't find anything about using micro python and/or circuit python

  • @diegogarber1
    @diegogarber1 3 года назад +1

    I feel like half of the video is missing!
    Where did you get that keypad? How in earth did you get that ribbon-to-pin connector or however is called?

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад

      If you Google 4x4 keypad you’ll come across these keypads everywhere; on eBay, AliExpress, Amazon and most hobby component suppliers. The ribbon connector comes pre-attached, so I just shoved the DuPont cables in

    • @diegogarber1
      @diegogarber1 3 года назад +1

      @@kevinmcaleer28 thank you!! Do you know why most keyboards are wired with diodes and this one doesn't need them?

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад +1

      @@diegogarber1 probably because it’s not a complex keyboard, to keep cost down, there are only 4 by 4 cells to scan, and the voltage will be low as well as the resistance. Diodes only allow voltage to travel in one direction so that protection is probably assumed to be before or after the header pin connections

  • @kirilkirilov2064
    @kirilkirilov2064 3 года назад +1

    Can i use raspberry pi 0 with wifi instead?

  • @TheProGamerVibes
    @TheProGamerVibes 3 года назад

    thanks you

  • @tb1364
    @tb1364 2 года назад

    If you're working in Micropython you may need to use attributes Pin.on and Pin.off instead of .low .high

  • @dudesemidecent894
    @dudesemidecent894 3 года назад +1

    code says machine not difined

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад

      Are you running the code on MicroPython (if so what version)? You get this message when you run it on standard Python. Machine is builtin to MicroPython so it will give this error if you run it on a Mac/Windows or Linux PC.

    • @dudesemidecent894
      @dudesemidecent894 3 года назад +1

      @@kevinmcaleer28 Can i use MU
      or can I dowlaon load on windows\

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад

      @@dudesemidecent894 the code I’ve written is specifically for Micropython. You can modify it to work with windows, macs or Linux but you’ll need to know how to address the pins to get keypress information

    • @dudesemidecent894
      @dudesemidecent894 3 года назад

      @@kevinmcaleer28 ok so on my pico I have it changed from like r2- something tocircuipty

    • @dudesemidecent894
      @dudesemidecent894 3 года назад

      @@kevinmcaleer28 cant use thonny
      ?

  • @majeranek6517
    @majeranek6517 3 года назад +1

    it doesn't work for me naaaah

    • @kevinmcaleer28
      @kevinmcaleer28  3 года назад

      Ooh no, what doesn't work? What did you try?

    • @kdt85
      @kdt85 Год назад +1

      yeah same, it says starting but no presses are being detected