USB keyboard encoder - Page 1
Forum section: electronics / projects

author: mr1979
author_rank: Contributor
timestamp: October 13, 2017, 04:43:01 pm
content: Hi!!! I 'm searching a solution to design a USB QWERTY keyboard. Can you suggest a dedicated keyboard encoder to USB to use? Also an app not with PIC would be great. I found Sprintek IC but they have descriptor of a composite USB device and it is not recognized by KVM switch. Need Help. Thank you . MarcoInviato dal mio PLK-L01 utilizzando Tapatalk

author: timb
author_rank: Super Contributor
timestamp: October 13, 2017, 05:01:19 pm
content: Dedicated? No. However, pretty much any MCU with USB could do this. In fact, most USB keyboards will actually contain a tiny, cheap 8051 MCU, with USB support.Since you don’t want any PIC examples...TI has a cool demo for the (I think) MSP430F5529 LaunchPad that involves it enumerating itself as a USB keyboard and “typing” the contents of a text file to the host upon pressing a button on the PCB.Cypress has a PSoC 3 example involving it enumerating as a USB HID device.Basically, any microcontroller with USB support can be used as a keyboard controller.Perhaps it would help if, instead of telling us what you think the solution to your problem is (a USB keyboard controller) you told use exactly what problem it is you’re trying to solve.

author: mr1979
author_rank: Contributor
timestamp: October 13, 2017, 05:37:56 pm
content: Thank you for your support. Sorry but my phone wrote not instead of note. An example with PIC would be the best option!!!!Inviato dal mio PLK-L01 utilizzando Tapatalk

author: rstofer
author_rank: Super Contributor
timestamp: October 13, 2017, 06:14:15 pm
content: Arcade controllers might work but if you need an entire QWERTY keyboard, why not just buy one? Maybe even a wireless one. Or a small one...https://www.amazon.com/I-PAC-Arcade-Controller-Interface-Cable/dp/B01N6TKDDHSometimes only the numeric pad is usefulhttps://www.amazon.com/Connectland-CL-USB-NUMSPC-Numeric-keypad-Space/dp/B0028Y4DHM

author: mr1979
author_rank: Contributor
timestamp: October 13, 2017, 06:30:09 pm
content: It is a custom keyboard for a customer with rugged chassis . I can't use a consumer keyboard. I would like to buy a consumer keyboard and disassemble the controller board to use it, but my boss does not agree....Inviato dal mio PLK-L01 utilizzando Tapatalk

author: mr1979
author_rank: Contributor
timestamp: October 13, 2017, 06:31:30 pm
content: I also found this One Grom holtek but it seems to be very obsolete HT82K629A-40DIPLFInviato dal mio PLK-L01 utilizzando Tapatalk

author: 0xdeadbeef
author_rank: Super Contributor
timestamp: October 13, 2017, 06:38:26 pm
content: I recently worked with an NXP LPC1549 which not only has USB hardware support but also has a ROM API for USB.In the freely available LPCOpen source code library, there is an HID keyboard example.

author: krho
author_rank: Regular Contributor
timestamp: October 14, 2017, 05:27:42 am
content: Here you goBut as the source is under GPL this means that every bit of code you'll add to this it also has to be under the GPL and you have to give it to everybody you sell the keyboard to.

author: jaycee
author_rank: Regular Contributor
timestamp: October 18, 2017, 12:41:13 pm
content: I Believe Atmel has an appropriate App note demonstrating how to do it with an AVR:http://www.atmel.com/Images/doc7602.pdf

author: xani
author_rank: Frequent Contributor
timestamp: October 18, 2017, 12:54:26 pm
content: Teensy has pretty good support for thathttps://www.pjrc.com/teensy/td_keyboard.html

author: jaromir
author_rank: Unknown
timestamp: October 18, 2017, 01:42:28 pm
content: I used this USB stackhttps://github.com/signal11/m-stackfor PIC devices, I modified it for dual HID device with mouse/keyboard combination, it wasn't hard task.

author: ballanux
author_rank: Contributor
timestamp: October 18, 2017, 05:00:10 pm
content: Quote from: xani on October 18, 2017, 12:54:26 pm+1 for the Teensy 3.2 and QMK firmware:https://github.com/qmk/qmk_firmwareIt isn't the easiest firmware to learn if you want to do a custom keyboard but it's worth the effort! The usual Ergodox uses a different type of screen and changing to an OLED was very quick (after several hours learning where everything goes on QMK)I recently made a custom Ergodox:Now I'm working on another one with PCB instead of hand wiring, but for a quick prototype the Teensy was perfect