Hackaday.io Hackaday.io
Projects
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

Stress Tester for Text UI Input Fields

The project is useful for stress testing text UI input fields. It generates characters at a controlled rate by emulating a keyboard.

chrisChris
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
3 comments
5 followers
2 likes
  • Description
  • Details
  • Files 1
    • View all
  • Components 5
    • View all
  • Logs 2
    • View all
  • Instructions 0
  • Discussion 3
View Gallery
3
5
2

Team (1)

  • chrisChris

Join this project's team
  • Key Typer
  • Ticker Library
  • Arduino TFT Library
  • Bounce2 Library
completed project
hardware
arduino PROMICRO hid keyboard ATMega32u4 tft

This project was created on 01/23/2019 and last updated 7 years ago.

Description

I built this to aid in debugging a text area in a web page which was intermittently dropping characters in IE11 due to a JavaScript issue.

When manually typing at the keyboard, it's hard to tell if intermittent character loss is due to a bug, or because the keys were not pressed properly. This device solves the problem by emulating a USB keyboard and generating characters programmatically.

For more details on using this device and a schematic of the circuit, see the README in the GitHub repository.

I built this device using Vero board, but it could easily be built on a breadboard.

The code in repository has the configuration files to allow it to be imported into the PlatformIO development environment, alternatively it may be edited in the Arduino IDE. The code uses three libraries; Bounce2 to software debounce the buttons and switch, the Arduino TFT library to drive the display and the Ticker library to control character generation rate.

Files

key-typer-in-action.mp4

Video of the device working at 200 characters/min with line length set to 13 characters.

MPEG-4 Video - 6.26 MB - 01/24/2019 at 20:47

Download

Components

  • 1 × SparkFun Pro Micro - 5V/16MHz
  • 1 × 1.8 Inch TFT LCD Display Module This display uses the ST7735 driver IC
  • 1 × SPDT Sub-Miniature Toggle Switch
  • 3 × SPST PCB Mount Tactile Switch
  • 1 × USB-A to Micro-USB Cable

Project Logs
Collapse

  • Linux, Mac and Windows

    Chris • 02/06/2019 at 02:37 • 0 comments

    Initial testing was with Windows, but I have now tested with Mac and Linux and as expected it works just the same.

  • Video of device in action

    Chris • 01/24/2019 at 20:52 • 0 comments

    I added a video of the device in action to the Files section.

View all 2 project logs

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with Twitter
OR
charles wood wrote 09/13/2024 at 14:34 • point

I built this device to troubleshoot a text area in IE11 that intermittently dropped characters due to a JavaScript bug. It emulates a USB keyboard, generating characters programmatically to eliminate human error when typing. The project uses Vero board, but can easily be adapted to a breadboard. Full details, including the circuit schematic, are available in the GitHub repository. The code works with PlatformIO and Arduino IDE, using Bounce2, Arduino TFT, and Ticker libraries.

For more tips and tools, you can visit https://topfollowapkguru.com.

  Are you sure? yes | no

Lutetium wrote 01/24/2019 at 15:18 • point

This may be the first time I've seen a microcontroller used for automated UI testing. Nice!

  Are you sure? yes | no

Chris wrote 01/24/2019 at 22:03 • point

Thanks

  Are you sure? yes | no

Similar Projects

Official Hackaday Prize Entry
Increase your privacy and security by exchanging short messages securely. Created by members of hackerspace Sector67.
Project Owner Contributor

NSA Away

scott-hasseScott Hasse

A standalone cryptography device for composing, encrypting, decrypting, and reading text messages and other files.
Project Owner Contributor

ParanoiaBox

profdc9profdc9

Integration of emrine.com QR Code based access control solution on Arduino using a ST7735 1.44" TFT screen and a 4x4 membrane keypad
Project Owner Contributor

emrine.com on Arduino

bertrand-martelBertrand Martel

Plug in a device to your computer, push a button, and things happen! Several different modes do useless things with your mouse/keyboard.
Project Owner Contributor

USB Wizard - Keyboard/Mouse Control

scott-clandininScott Clandinin

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2026 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "Stress Tester for Text UI Input Fields", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.