Monday, 14 December 2015

transistors - Need a device that can take single input and covert to a keyboard key press on USB


Let me explain what I'm doing currently.


We have made a finger heart rate monitor, each time your heart pulses a transistor is switched on via its base. The collector and emitter of the transistor are then wired to a dismantled USB keyboard. The wires are wired to the P key on the keyboard.


Each time your heart pulses the letter P on the keyboard is pressed.


While this works its large, fragile and ugly.


Anyone know of a pre-made USB device that can simulate a key press from our heart rate monitor?



Answer



What you're looking for is a "keyboard encoder" or "keyboard emulator", such as these.


They also used to use the term "keyboard wedge" for this sort of thing, but nowadays that term seems to be used exclusively in the context of point-of-sale barcode and credit card scanners.



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...