27 ms·
I made a thing to help you make a thing out of a keypad
- ricksunny 3y agoWe need more general purpose embedded modules to act as an abstraction/ middleware / API interface to diversity implemented but frequently utilised low-level hardware. (and since this is a real world, with grades of environmental reliability like automotive, or specs like -45 C to 85 C. edit * models-> modules (autoincorrect)
- jareklupinski 3y agoI start pretty much every new electronics project with the question "Which M5Stack product handles 99% of the use cases?" and I start iterating from there https://shop.m5stack.com/collections/m5-controllers https://shop.m5stack.com/collections/m5-controllers
- ricksunny 3y agoLove it and was hitherto unfamiliar - thanks for clueing me in =)
- imchillyb 3y agoThat’s an amazing resource. Thank you for sharing.
- HeyLaughingBoy 3y agoSame here. A ridiculous amount of busywork just disappears when I go with M5Stack. I do a lot of custom builds of arduino-class hardware and it gets easier and easier every year. Cheap hardware coming out of China is plenty good enough and means that I rarely need to design anything electronic. Just write code.
- 0xEF 3y agoWe also need more manuals with dinosaurs.
- lelanthran 3y agoI'm game to build anything. What specifically did you have in mind that doesn't already exist?
- ricksunny 3y agoMotor control. All the motor control. I want literal lego blocks that convert me from position control to speed control to torque control, sensorless to position/velocity feedback, squirrelcage motor to induction motor to BLDC to brushed dc and any phylogeny in-between. Getting the mechanical engineers to produce a modular shaft, motor mounts, and modular payload mounting interface will come later. (Yes I'm aware of brackets, shaft couplings, pillow-blocks)
- bhaney 3y agoThings that help me make things are one of my favorite kind of things
- deleted 3y ago[deleted]
- technothrasher 3y agoI just today was interfacing to one of these 4x4 keypad arrays for a small in-house test box we're making at work. I was handed the keypad and told to make it go. No problem, they're pretty straightforward to work with. But my immediate question was, "can't we get one with a calculator style number layout rather than a phone style layout?" and it seems to be the answer is basically no, unless you want to have one custom made. Pretty much all the stuff out there floating around is all phone layout. Why?? The pattern on the one in your project write up (which is a fun project, btw) seems the most common, and the same pattern as the one I've got. Along with the reverse number pattern, the '#' and '*' keys seems much less useful than a '.' and an 'enter' key would be in a lot of applications.
- epcoa 3y agoInexpensive 10 key hid usb keyboards are common. Either interface directly or dismantle.
- EnigmaFlare 3y agoPhone layout plus * and # is extremely common on combination locks, even ones with electronic displays for keypads like this https://www.levellock.com/home-and-office-electronic-lock-with-password-and-mf1-card-tdt-1550 https://www.levellock.com/home-and-office-electronic-lock-wi... so maybe it's just more widely recognized by users for non-computer, non-calculator devices. When I opened a bank account, I had to choose a PIN on the keypad in the office (probably a computer numpad with the same layout as a keyboard) and the clerk warned me that the numbers are upside down compared to an actual POS machine or ATM (which are phone layout).
- Tijdreiziger 3y agoSlightly off-topic, but ‘choosing a PIN’ is an interesting rabbit hole. Some banks send you a random PIN in a sealed letter. Other banks have you key in your choice of PIN in various manners (at a branch, online or by phone). Some banks support changing PIN at an ATM. Others don’t.
- 3y ago
- bayesianbot 3y agoHuh, weirdly I was just searching for solutions for this just few days ago - I've got some ESP32 projects with keypads and LCDs, which usually are wired little further away from the ESP and other attachments, so the wiring is somewhat PITA. This thing could help it go from 12 wires total for both LCD+keys to only 4 using shared I2C wiring, quite nice!
- lelanthran 3y ago> This thing could help it go from 12 wires total for both LCD+keys to only 4 using shared I2C wiring, quite nice! Or you could use shift registers which cost a few USD cents. On a personal project a long long time ago, I recall using daisy-chained shift registers to control a stupidly high number of relays (think 100+), at an extra BOM cost of around $1. The relay switching time was still much, much larger than the time it took to bit-bang the daisy-chained shift registers for all relays.
- shermantanktop 3y agoI think this is great, but it strikes me as the DIY embedded hardware equivalent of what coders often do. “I could manually enter 100 lines of text or…I could spend all afternoon writing Perl to clean and correct my noisy OCR data…and end up with the same 100 lines of text. But also I’ll have built a tool! A tool nobody asked for. I really hope I can get someone else to use it so I can feel better about my lost afternoon.”
- Tijdreiziger 3y agoThe programmers’ creed: We do these things not because they are easy, but because we thought they would be easy. ;)
- gibolt 3y agoThe one I follow is slightly different: We do these things not because they are easy, but because we want to And later we can find 100 good excuses explaining why it was worth it
- geodel 3y agoWell thats when it actually got done. But in most cases it remains incomplete.
- fxtentacle 3y agoWe do these things for the learning experience. At least that's me. I've built sooo much stuff just because I wanted to learn how to build it.
- jtoledo 3y agoWhat matters is the journey, what you learn on the way...
- zer00eyz 3y agoPerl was a spot on choice for your example. >> DIY embedded hardware 20 years ago an Arduino was brand new and 50 bucks. Now any one can get a PCB made. You can do hardware like software (iterative, casual). This is both silly and amazing!
- Saigonautica 3y agoYour tiny dinosaur assistant is awesome! I encountered a similar problem, but solved it with USB keyboards / keypads instead. I managed to get a low-speed USB host working on ESP32. Now I use these instead as much better build quality is available, although they are notably more expensive. One thing that caught me off guard was that USB keyboard scancodes were different from PS/2. Previously I had tackled the issue using PS/2 keypads and a chip with some firmware that translated the scancodes to 5V serial. This was neat, but sourcing old keyboards eventually became a pain.
- tambourine_man 3y agoAwesome project. Suggestion: turn off autofocus for close-up videos. Focus lock on the mid-to-closest subject. Phones and their tiny sensors have plenty of depth of field.
- crystaln 3y agoWhy hardware not software?
- amelius 3y agoThe electronics are the easy part. What i'd like to know: has any DIYer ever created their own keycaps?
- dmd 3y agoI love keypad-based stuff. When my 1st daughter was born I wanted to make a "jukebox" equivalent to the tape player I had growing up in the 80s. I originally envisioned a bunch of plastic cards with QR codes or NFCs, where each card was a song or a playlist, but eventually settled on the much simpler solution of speaker-RPi-numkey pad, with no display: https://github.com/dmd/nkplay https://github.com/dmd/nkplay The drawback is that at 10 years old, she knows lots of songs and artists as "number 84" or "number 328" and has no idea that their actual name is.