Check out the March 23, 2021 Workshop 88 Maker Meeting here:
ESP8266 interfaced with a keypad
Peter shared the following information about using the Arduino keypad library with the ESP8266after the recording:
There is a pretty good tutorial at https://diyi0t.com/keypad-arduino-esp8266-esp32/
There were two questions I was not able to answer, but I’ve done some more investigation:
- If you register a callback function that is invoked when a key is pressed or released, is that based on interrupts? No. It ties into the non-blocking getKey() function which is already being called each time through the loop. If a callback is registered, it will be called by getKey() when appropriate.
- Does multi-key support mean that it buffers up a sequence of characters, or does it mean you can press multiple keys (chords) at the same time? Despite my wrong guess last night, it’s the latter. The getKeys() function will return a list of up 10 keys that are pressed or released, even if a second (or later) key is pressed before the first ones are released. Apparently, they do the right magic with pull-ups and only driving one line at a time so that they can do this without diodes on the switches.
Other items shared!
After Peter’s presentation, Jim shared with us how he uses an ESP8266 to control an Arduino. Very cool! At the end, Dave shared with us his progress working on a Dalek build project – including some very nice resin casting!
Workshop 88 is a makerspace in Glen Ellyn Illinois. We are more than a workshop, we are a growing community of creative talented people who aspire to learn and share knowledge, experiences, and projects.
Never miss a tip or project! Follow our blog at www.Workshop88.com, subscribe to Workshop88’s YouTube channel, like us on Facebook, follow us Twitter and join or support our maker community by contributing to Workshop88 on Patreon!
To find out about upcoming events follow Workshop88 on Meetup.
Have a question? email us at info@Workshop88.com