In stock, ships same business day if ordered before 2PM
Delivered by Fri, 15th of Nov
Quantity Discounts:
Add lots of buttons with few IO, grab this numerical keypad (with star and hash keys), and add it to your next project!
The output of the keypad is handled with a 3-column, 4-row matrix output, scanning for shorts between the two to determine which button is pressed.
from machine import Pin import utime # Defining the GPIO connected to keypad rows and columns (ordering important) row_list = [10, 15, 14, 12] col_list = [11, 9, 13] for x in range(0, 4): row_list[x] = Pin(row_list[x], Pin.OUT) row_list[x].value(1) for x in range(0 ,3): col_list[x] = Pin(col_list[x], Pin.IN, Pin.PULL_UP) # Define the symbol associated with each key key_list = [["1", "2", "3"],\ ["4", "5", "6"],\ ["7", "8", "9"],\ ["*", "0", "#"]] # Scan the keypad to detect keypresses def keypad(col, row): for r in row: r.value(0) result = [col[0].value(), col[1].value(), col[2].value()] if min(result) == 0: key = key_list[int(row.index(r))][int(result.index(0))] r.value(1) return (key) r.value(1) while True: key = keypad(col_list, row_list) if key != None: print("key: "+key) utime.sleep(0.3)
Exact shipping can be calculated on the view cart page (no login required).
Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).
We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):
Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.
Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.
International Orders - the following rates are for New Zealand and will vary for other countries:
If you order lots of gear, the postage amount will increase based on the weight of your order.
Our physical address (here's a PDF which includes other key business details):
Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia
Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.
Have a product question? We're here to help!
Makers love reviews as much as you do, please follow this link to review the products you have purchased.
Product Comments