Brian Woo-Shem

Mechanical engineer, tech wizard, cartoonist, writer, creator of things.

Arduino Binary Counter

This little device recorded how long a button was held, then counts down the number of seconds in binary form using physical levers connected to servo motors as indicators. Made for a final project in Intro to Engineering at Santa Clara University. This was a team project, but all images and content shown were created by me.

Materials

  • 1 Arduino Uno board
  • 4 x 180° Servos
  • Breadboard
  • Popsicle stick indicator arms
  • External battery

Code Schematic

Binary Conversion Key

A “0” is represented by a lowered arm, and a “1” is represented by a raised arm.

0000 = 0 seconds
1000 = 1 second
0100 = 2 seconds
1100 = 3 seconds
0010 = 4 seconds
1010 = 5 seconds
0110 = 6 seconds
1110 = 7 seconds

0001 = 8 seconds
1001 = 9 seconds
0101 = 10 seconds
1101 = 11 seconds
0011 = 12 seconds
1011 = 13 seconds
0111 = 14 seconds
1111 = 15 seconds

Next Post

Previous Post

© 2025 Brian Woo-Shem

Theme by Anders Norén