文档简介
标签:
ATmega168
利用Atmel公司的ATmega168微处理器,采用A/D转换方式来实现按摩椅控制器的键盘接口,通过在硬件电路中巧妙地选择电阻,在软件设计中采用数字滤波、二分法和区间鉴定等方法,灵敏可靠地实现了按摩椅中30个按键的处理。给出了硬件电路设计和软件设计思想以及部分汇编代码。 Abstract: This paper chooses A/D conversion method to realize the keyboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
评论
加载更多
推荐下载
查看更多
精选文集
相关视频
推荐帖子