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.??
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
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
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 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
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 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
What could you use a keypad for? Maybe a DIY BigTrak, (or more likey SmallTrak)...
The moment I saw that keypad... "I miss my BigTrak!"
Great stuff
👍 “Tickles Me Pico”
thanks a lot
for your help in pico field
You’re welcome!
congratulation sir for 1.58k subscribers❤️ .....one day it became
1 million subscribers.....
Nice video.
Maybe you can append to the description a link to some code integrating debounce. That would be sweet. Thanks.
Waiting for this keypad
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.??
Is there possibility to use a matrix keypad with micropython to make macro keypad connected to PC?
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
That should be easy to do, just change the main loop
@@kevinmcaleer28 how i change the main loop so it doesnt’ print multiple times but it also prints on release
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
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?
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
@@kevinmcaleer28 thank you!! Do you know why most keyboards are wired with diodes and this one doesn't need them?
@@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
Can i use raspberry pi 0 with wifi instead?
You sure can!
thanks you
If you're working in Micropython you may need to use attributes Pin.on and Pin.off instead of .low .high
code says machine not difined
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.
@@kevinmcaleer28 Can i use MU
or can I dowlaon load on windows\
@@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
@@kevinmcaleer28 ok so on my pico I have it changed from like r2- something tocircuipty
@@kevinmcaleer28 cant use thonny
?
it doesn't work for me naaaah
Ooh no, what doesn't work? What did you try?
yeah same, it says starting but no presses are being detected