{"title":"Miniature Keyboard- Microcontroller-Friendly PS/2 and USB","handle":"miniature-keyboard-microcontroller-friendly-ps-2-and-usb","url":"/products/miniature-keyboard-microcontroller-friendly-ps-2-and-usb","description":"   Add a typing interface to your project with this microcontroller-friendly miniature keyboard. We found the smallest PS/2+USB keyboard available, a mere 8.75\" x 4.65\" x 0.6\" (220mm x 118mm x 16mm)! It's small but usable to make a great accompaniment to either a microcontroller project or a computer such as the Beagle Bone or Raspberry Pi. The keyboard supports either USB or PS/2 interface and will automatically adjust to whichever its plugged into (there's an adapter included).Comes with a full QWERTY keyboard, and has a num-lock number pad. Nearly all microcontrollers have existing PS/2 keyboard examples that would work fine with this keyboard. For Ardiuno users, we tried out PJRC's PS2_Keyboard library with great success - just check the 'simple text' example for which pins you can connect to on your 'duino (on an Uno we used digital pins 2 and 3). We suggest our PS/2 adapter cable to make the wiring easy. Start typing and you'll see the data appear in the serial terminal!To use with a Raspberry Pi, change the keyboard to USA PC104 layout:\n Switch to root user. Run 'dpkg-reconfigure locales' and change from en_GB.UTF-8 to en_US.UTF-8. Run 'dpkg-reconfigure keyboard-configuration' and change the keyboard to USA PC104 (again, change as needed).  ","vendor":"Adafruit","product_type":"physical","in_stock":false,"options":[],"variants":[{"id":14025,"title":"Default Title","sku":"AF-857","price":58.43,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}]}