SPST to Ascii code

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rmuttt
 
Posts: 14
Joined: Mon Sep 13, 2021 1:28 pm

SPST to Ascii code

Post by rmuttt »

I need to put Ascii codes into my computer through USB by pressing a SPST instead of a keyboard. This board works great
https://www.ultimarc.com/control-interf ... cs/i-pac2/
But it has more than I need for this project. I only need to input 4 codes. Is there a board that will do this for me?
Thanks in advance

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: SPST to Ascii code

Post by adafruit_support_mike »

We have a whole section of parts for mechanical keyboards:

https://www.adafruit.com/category/1020

The keys are mechanical switches with various kinds of touch response. They fit in sockets that make wiring multiple ones easier:

https://www.adafruit.com/product/4958

and we have PCB breakouts that hold the sockets:

https://www.adafruit.com/product/4978

You can also use regular tact switches and connect them to a dev board like the Kee Boar Driver:

https://www.adafruit.com/product/5302

User avatar
westfw
 
Posts: 2005
Joined: Fri Apr 27, 2007 1:01 pm

Re: SPST to Ascii code

Post by westfw »

Any of the boards with "native USB" should be able to emulate a keyboard.
A QT Py M0 should handle 4 switches (or up to 11) with no problem.

(although, the last time I actually DID this, I tore apart a cheap keyboard and connected switches (foot pedals, actually) where a couple of the keys would have gone. The actual electronics inside most keyboards is pretty small.)

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”