WARNING: make sure you can disable autotyping to enable the chips to be reflashed.
I was trying to work out how to so some Autotyping to automate a workstation as part of soak testing.
I have an application that sends calls to a call centre workstation and a human needs to hand off the call. This needs to be automated so that overnight soak testing can take place, when a human is not available.
Microchip do USB chips. They provide software examples, but none quite as simple as the Arduino examples.
Getting a PIC14K50 to Autotype is an ongoing project.
I brought a PIC18F Starter kit, and Robot electronics have some GPIO modules.
https://www.robot-electronics.co.uk/htm/usb_gpio12_tech.htm
Microchip provide plenty of support.
I found this https://pic-microcontroller.com/quick-key-adapter-10-button-hid-keyboard-using-pic18f14k50/ - with example files and this https://www.chromationsystems.com/quickkey.html
Warning - It probably needs modifying BEFORE use as it could be using keys that could damage open files.
The hardware is based on Microchip's Low Pin Count USB Development Kit for the 1814K50. It is setup with 10 inputs, each with a pull-up resistor.
The firmware is programmed with USB Human Interface Device Keyboard example from Microchip Solutions. It requires no drivers or special setup, it is plug and play. Keys and key combinations are set in the firmware and can execute a range of common keyboard shortcuts.
Designed for use in a MAME Cabinet or similar arcade, it is a cheap and easy way to setup additional user inputs without resorting to a using a keyboard. It could also be used as a development or prototype platform for anything requiring multiple inputs, such as other keyboard applications, USB MIDI input, and more.
sw1 Opens Task Manager - Alt + Ctrl + Del sw2 Close Open Program - Alt+F4 sw3 Minimize All Windows(show desktop) - Windows Key + D sw4 Maximize Window - Alt + Spacebar -> X sw5 Minimize Window - Alt + Spacebar -> N sw6 Escape - Escape Key, exits most games sw7 Toggle Full Screen - Alt + Enter sw8 Open Program(Emulator Launcher Program) - Alt + Ctrl + Shift + L, set a windows Hotkey to a desktop shortcut sw9; Coin1 - Ctrl + 1 sw10 Coin2 - Ctrl + 2
At the moment this does not provide an AutoType solution as it does single key presses. I need a simulated human.