[Home]AutotypingMicrochip

HomePage | RecentChanges | Preferences | My Website home page

Auto typing To automate soak and performance testing

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.

Auto typing using Microchip

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.

https://www.microchip.com/en-us/development-tools-tools-and-software/libraries-code-examples-and-more/microchip-libraries-for-applications

MLA:- https://microchipdeveloper.com/hif2131:mla-installation#:~:text=Microchip%E2%80%99s%20Library%20for%20Applications%20%28MLA%29%20is%20a%20collection,MDD%20file%20System%2C%20SmartCard%2C%20MiWi%2C%20and%20Android%20development.

I found this example which might work on the Robot Electronics board

3/10/2021

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.

HID QuickKey USB Adapter

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.


HomePage | RecentChanges | Preferences | My Website home page
This page is read-only | View other revisions
Last edited November 6, 2021 8:33 am by dougrice.plus.com
Search: