Check the 34 other Arduino tutorials

At Bas on Tech, we believe that everyone should have access to valuable technology resources.

Your donation helps us cover the costs of hosting, videos and maintenance, ensuring that our platform remains free and open for all to use.

Thank you for your support!

iDEAL and Bancontact are listen on the "Direct Debit" tab in the 4th step.

#29 · Use only 1 pin to read 4 buttons on the KC11B04 4x1 AD keypad


Tutorial goals

  • ✓ Reading an analog 4x1 AD keypad
  • ✓ Using resistors to determine button pressed

Components needed

  • 1× Arduino
  • 3× Jumper wire (male-female)
  • 1× KC11B04 4x1 analog AD keypad

Summary

A KC11B04 analog AD 4x1 keypad only needs a single analog pin to readout 4 different buttons. The big advantage is that you save 3 pins, which you can now use for other components.

In this video I describe how to read the analog AD KC11B04 4x1 keypad and how this keypad uses resistors to split the different buttons. The keypad is called an AD-keypad since it has a single AD-pin (Analog Data).

#29 · Use only 1 pin to read 4 buttons on the KC11B04 4x1 AD keypad schakelschema