USB Foot Control

by Tex001 in Workshop > 3D Printing

948 Views, 4 Favorites, 0 Comments

USB Foot Control

IMG_7694.jpg

I decided to build a custom USB pedal configurable through a small interface.

I used a Digispark USB Development Board Attiny85.

The chip is very easy to program and programmable like the "Arduino"

I didn't write a tutorial for the Digispark Board as there are excellent tutorials which already exist on the internet.

This can be used for creating a shortcut, password or any function on a keyboard.

Hardware

hardware.png
Exploded Ped.JPG
9.5x16.jpg
dimention .png

These are some of the hardware used in this project. All these were spare parts which I already had at home.

I used the following:

2 x Compression Springs (9.5mm x 16mm)

1 x Bolt & Nut (M5)

1 x Digispark Attiny85

1 x Top & Base Pedal made with 3mm Aluminium. You could use wood or plastic instead of Aluminium.

1 x USB Cable

The rest of the parts were made using a 3D Printer which I designed myself.

Electronic Schematic & Soldering

1 Button key_bb.png
IMG_7649.jpg
IMG_7650.jpg
IMG_7651.jpg
IMG_7653.jpg
IMG_7654.jpg
IMG_7652.jpg
IMG_7655.jpg
IMG_7656.jpg

The diagram attached, showing a simple connection.

Switch connected to a pin0 and 1K resistor.

Program Code

Password_Key_simple _ Arduino 1.8.9.png

This is the code I used to program the Digispark board.

Finished Product

IMG_7657.jpg
IMG_7658.jpg
IMG_7693.jpg
IMG_7695.jpg

My Pedal assembled