PUB! Programmable USB Button

PUB! is a Programmable USB Button on which you can program a sequence of keystrokes. When you press the button those keystrokes are “replayed” over a USB connection.

PUB! Programmable USB Button

The button (which is really a rotary encoder with a built-in push button switch) is programmed using an innovative and slightly quirky interface that does not require any custom software to be installed on your computer. All you need is a text editor like Notepad (for Windows) or gedit (for Linux).


  • One-button design (a rotary encoder with a built in switch).
  • Programmed by using an ordinary text editor as a display (for example, gedit on Linux, or Notepad on Windows).
  • Up to 127 keystrokes can be recorded and played back.
  • Support for conditional logic. For example, Compare to value, Jump on zero, etc.
  • Support for 256 x 8-bit “registers” to record state.
  • Support for basic arithmetic. Add, subtract, etc.
  • Can send USB System Control codes (Power off, sleep, wake) to your PC
  • Can send USB Consumer Device functions (e.g. Mute, Play, Pause, Stop, etc.)
  • Requires NO drivers (or custom software) for Windows/Linux etc


The possibilities are fairly broad including:

  • Using a Bluetooth module to detect proximity of the button owner’s mobile phone so that the USB button is only enabled when its owner is near.
  • Addition of an external EEPROM for extra keystroke capacity.
  • The one-button user interface will be improved to make it easier to use.

For More Details: PUB! Programmable USB Button

READ  4Duino LED Brightness Control

Leave a Comment

= 5 + 3

(Spamcheck Enabled)

Read previous post:
Remote Controlled Switching

Vision The aim of our project is to be able to control a electrical switching process using a remote.The idea...

Scroll to top