MartinFowler

ADC multi-button

 
Overview

Designing too many matrix buttons will easily occupy too many IO ports. Is there a way to process multiple buttons with one IO port? In fact, there is, that is the ADC button.
The principle of the ADC button is to convert analog signals into digital signals. When a button is pressed, an analog voltage signal will be generated. Connect the high-level end of the button to the IO port with the ADC pin, and connect a corresponding resistor in series before each button.
When each button is pressed, the potential of the pin will change. When different buttons are pressed, the potential collected by the ad is different, so different buttons can be distinguished according to different potentials.
The principle is essentially resistor voltage division. The voltage value is changed by pressing different buttons, and then the ADC pin collects the corresponding voltage, and then a judgment can be made to realize the button function. ![1689424813011.png]
参考设计图片
×
Design Files
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 23:30:34

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号