登录
首页 » 嵌入式芯片 » 基于Arduino的168 / 328 6模拟引脚控制30个按钮

基于Arduino的168 / 328 6模拟引脚控制30个按钮

于 2022-03-02 发布 文件大小:19.82 kB
0 221
下载积分: 2 下载次数: 1

代码说明:

应用背景Arduino。如何控制超过6的按钮在Arduino Uno模拟输入引脚的基础或类似,没有大型类似(仅基于单片机ATMEGA 168 / 328)用这种方法,在一个模拟引脚连接最多5个按钮,模拟引脚1 = & gt;按钮1 = & gt;2K的电阻&;模拟引脚1 = & gt;按钮2 = & gt;2K的电阻&;模拟引脚1 = & gt;按钮3 = & gt;2K的电阻&;模拟引脚1 = & gt;按钮4 = & gt;2K的电阻&;模拟引脚1 = & gt;按钮5 = & gt;地面&;10K电阻上+5重复这5其他模拟引脚在您的便利性。这个源是创建只接收一个模拟引脚上的4个按钮事件。关键技术Arduino,UNO,ATmega168,ATmega328,按钮,模拟读,模拟输入,模拟事件,LCD,提示,技巧

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 韦根用了一个很好的测试程序的代码,转换访问LPC2132使用…
    一个很好用的韦根码测试程序,使用LPC2132的中断接入韦根信号,串口输出数据到PC,可以用串口调试助手接收数据检测韦根码,很实用的-Wiegand used a very good test procedure code, the use of Wiegand access LPC2132 interrupt signal, the serial output data to the PC, can be used to receive data serial debugging assistant Wiegand detection code, it is useful
    2022-02-06 13:41:03下载
    积分:1
  • ARM Serial Debugger
    ARM串口调试程序,基于lpc2292处理器-ARM Serial Debugger
    2022-03-12 08:03:32下载
    积分:1
  • 基于ARM7的开发板的键盘驱动程序,文件里有程序的详细注释,对与在此基础之上的二次开发非常方便...
    基于ARM7的开发板的键盘驱动程序,文件里有程序的详细注释,对与在此基础之上的二次开发非常方便-based on the ARM7 development board keyboard driver, the documents detailed procedures Notes right and the basis of this second development is very convenient
    2022-03-12 08:49:10下载
    积分:1
  • 这个是该开发项目所使用的CPU,有什么问题或开发方面的问题,请与我联系!我们共同探讨关于嵌入式的开发....
    这个是该开发项目所使用的CPU,有什么问题或开发方面的问题,请与我联系!我们共同探讨关于嵌入式的开发.-This is the development project by the use of the CPU, or what is the problem with the development of the issue, please contact me! Discussion on our common embedded development.
    2023-01-25 16:00:09下载
    积分:1
  • 3210datasheet
    3210datasheet 比较难找得的资料,一般不公开-3210datasheet
    2022-01-27 10:09:00下载
    积分:1
  • 关于周立公USB试验的改进程序,实现了文件的读写,并且将读文件在写道U盘
    关于周立公USB试验的改进程序,实现了文件的读写,并且将读文件在写道U盘-Zhou USB test on the public improvement process, the realization of the document to read and write, and read documents, wrote U disk
    2023-07-05 12:45:03下载
    积分:1
  • STM32GPIO输入功能,详细例程,能够使用的,下载完了要给点回复哦!...
    STM32GPIO输入功能,详细例程,能够使用的,下载完了要给点回复哦!-STM32GPIO input function, a detailed routines can use to download the end-point to give back Oh!
    2022-07-27 18:48:24下载
    积分:1
  • SMALL RTOS是为小ram系统单片机编写的,目前仅在51系列单片机上成功运行,还没有在其它单片机上移植(目前我仅有51和avr的开发系统).在小ram系统...
    SMALL RTOS是为小ram系统单片机编写的,目前仅在51系列单片机上成功运行,还没有在其它单片机上移植(目前我仅有51和avr的开发系统).在小ram系统单片机如51系列上运行tcp/ip 协议栈是不太现实的.一般tcp/ip 协议栈需要在32位单片机上运行,在8位机上运行太勉强(51是8位机),除非您只运行ip协议.建议使用ucos/ii操作系统或是嵌入式linux,并选用arm或龙珠系列单片机-SMALL RTOS for small microcontrollers ram system, written in 51 series of microcontrollers currently only on the successful operation, no other MCU on the transplant (currently I am only 51 and avr development system). In the small ram System-on- machines such as the 51 series of films running on tcp/ip protocol stack is not very realistic. General tcp/ip protocol stack need to run 32-bit microcontrollers in the 8-bit machine running Taimian Jiang (51 is the 8-bit machine), unless you run only ip protocol is suggested. ucos/ii operating system or embedded linux, and use arm or Pearl Series MCU ..
    2022-07-15 10:32:03下载
    积分:1
  • I2C源代碼
    MCB517 I2C源碼。,用於Freescale芯片系列;供需要研究I2c或iic源代碼的同好參考。當初的取得來源已經忘了。This file contains example code to print over the serial  port of the MCB517 MCU and Evaultion Board (EVAL-MCB517QS).    This example will test the I2C function of the MCB517.    This will be done by writing and reading from    a serial A/D & D/A (P8591).     This example will bit bang two general I/O ports for I2C   The example work with communicate at: 9600, 8, N, 1.    This code was tested using the mon-51 connected through COM-1    of the eval board.    CPU Frequency: 11.0592 MHz 
    2022-01-24 09:15:09下载
    积分:1
  • 再配一个C 语言测试代码,用于测试自己实现的8051 CPU。
    再配一个C 语言测试代码,用于测试自己实现的8051 CPU。-representing a C language test code for the achievement test their 8051 CPU.
    2022-08-03 19:07:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载