HomeStore

AD Keypad [Discontinued]

AD Keypad [Discontinued]

The AD Keypad provides 16 push buttons and takes up only 1 AD port for control. It's suitable for applications where the AD ports are sufficient yet I/O ports are lacking.  

This module is great for use in microcontroller-based projects as well as with the popular SBCs on the market today and would be perfect in your next Raspberry Pi, Raspberry Pi Pico, Arduino, STM32, or Adafruit Feather HUZZAH project. 

Online resources including datasheets, example code, and connection information can be found on the Waveshare Wiki page for this module. 

Features

  • 16 push button detection interface

How It Works

  • AD ideal value: when button pressed, Viv = (button index / 16) x Vref
    AD real value: when button pressed, Vrv = (1 ± 6%) x Viv
    For instance, suppose Vref = 5, 8th button was pressed, then Viv = (8 / 16) x 5 = 2.5, Vrv = (1 ± 6%) x 2.5, equals to 2.35-2.65
  • Abbreviation
    • Vref: AD reference voltage
    • iv: ideal value
    • rv: real value

Example

  • For 10-bit ADC, the 8th button generates an ADC value between (1±6%)x512, the equivalent range should be "481-543". If the ADC value had been detected to be "510-518" in the code, this indicates that the 8th button was pressed.

  • For 8-bit ADC, the 8th button generates an ADC value between (1±6%)x128, the equivalent range should be "120-136". If the ADC value had been detected to be "124-128" in the code, this indicates that the 8th button was pressed. 

      Resources

      Package Contents

      • 1X AD Keypad 
      $1.92

      Original: $5.50

      -65%
      AD Keypad [Discontinued]

      $5.50

      $1.92
      Product image 1
      Product image 2
      Product image 3
      Product image 4

      Description

      The AD Keypad provides 16 push buttons and takes up only 1 AD port for control. It's suitable for applications where the AD ports are sufficient yet I/O ports are lacking.  

      This module is great for use in microcontroller-based projects as well as with the popular SBCs on the market today and would be perfect in your next Raspberry Pi, Raspberry Pi Pico, Arduino, STM32, or Adafruit Feather HUZZAH project. 

      Online resources including datasheets, example code, and connection information can be found on the Waveshare Wiki page for this module. 

      Features

      • 16 push button detection interface

      How It Works

      • AD ideal value: when button pressed, Viv = (button index / 16) x Vref
        AD real value: when button pressed, Vrv = (1 ± 6%) x Viv
        For instance, suppose Vref = 5, 8th button was pressed, then Viv = (8 / 16) x 5 = 2.5, Vrv = (1 ± 6%) x 2.5, equals to 2.35-2.65
      • Abbreviation
        • Vref: AD reference voltage
        • iv: ideal value
        • rv: real value

      Example

      • For 10-bit ADC, the 8th button generates an ADC value between (1±6%)x512, the equivalent range should be "481-543". If the ADC value had been detected to be "510-518" in the code, this indicates that the 8th button was pressed.

      • For 8-bit ADC, the 8th button generates an ADC value between (1±6%)x128, the equivalent range should be "120-136". If the ADC value had been detected to be "124-128" in the code, this indicates that the 8th button was pressed. 

          Resources

          Package Contents

          • 1X AD Keypad 

          You may also like

          NEW
          Thumbnail 1Thumbnail 2

          Heatsink for Raspberry Pi Zero/3

          $1.00

          -65%NEW
          Thumbnail 1Thumbnail 2

          Adafruit Assembled Pi T-Cobbler Breakout for Raspberry Pi [discontinued]

          $6.90

          $2.42

          -65%NEW
          Thumbnail 1Thumbnail 2

          Adafruit Prototyping Pi Plate Kit for Raspberry Pi [Discontinued]

          $15.00

          $5.25

          -65%NEW
          Thumbnail 1Thumbnail 2

          Flirc USB V2 - Use any Remote with your Media Center

          $22.00

          $7.70

          -65%NEW
          Thumbnail 1Thumbnail 2

          Half-Size Breadboard - White

          $3.00

          $1.05

          -65%NEW
          Thumbnail 1

          15M Ethernet Cable [Discontinued]

          $4.00

          $1.40

          -65%NEW
          Thumbnail 1Thumbnail 2

          7 Port USB Hub for the Raspberry Pi [discontinued]

          $11.00

          $3.85

          -65%NEW
          Thumbnail 1

          High Precision Long Nose Micro Pliers [Discontinued]

          $6.00

          $2.10

          -65%NEW
          Thumbnail 1

          Desoldering Wick

          $3.50

          $1.22

          -65%NEW
          Thumbnail 1

          Aluminum Solder Sucker

          $3.70

          $1.29

          -65%NEW
          Thumbnail 1Thumbnail 2

          38 In 1 Interchangeable precise tool set

          $10.00

          $3.50

          -65%NEW
          Thumbnail 1Thumbnail 2

          Black Shortening microSD adapter for Raspberry Pi & Macbooks [Discontinued]

          $5.90

          $2.06