文件名称:key-progamme
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 辜*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是一款用51单片机控制的玩具电子琴,用到了51的定时器和键盘技术,它的汇编程序流程如下,很适合初学者学习制作。
说明:由单片机的P1.0口输出音频信号,在P1.0口接三极管以驱动喇叭,最好用两个三极管构成达林顿结构。P2口连接8个一端接地的按键作为输入,当然也需要连接8只10K的电阻至电源作为上拉电阻。P2.0~P2.7依次为Do、Re、Mi、Fa、So、La、Si、Do(高)音。
-This is a microprocessor controlled toy with 51 keyboard, use a timer 51 and keyboard technology, which follows the assembly process flow, making it suitable for beginners to learn. Note: P1.0 port by the MCU output audio signal, the P1.0 port access transistor to drive the speakers, the best form with two Darlington transistor structure. P2 port connector at one end grounded keys 8 as input, of course, need to connect 8 10K resistor to the power supply as the pull-up resistor. P2.0 ~ P2.7 were Do, Re, Mi, Fa, So, La, Si, Do (high) tone.
说明:由单片机的P1.0口输出音频信号,在P1.0口接三极管以驱动喇叭,最好用两个三极管构成达林顿结构。P2口连接8个一端接地的按键作为输入,当然也需要连接8只10K的电阻至电源作为上拉电阻。P2.0~P2.7依次为Do、Re、Mi、Fa、So、La、Si、Do(高)音。
-This is a microprocessor controlled toy with 51 keyboard, use a timer 51 and keyboard technology, which follows the assembly process flow, making it suitable for beginners to learn. Note: P1.0 port by the MCU output audio signal, the P1.0 port access transistor to drive the speakers, the best form with two Darlington transistor structure. P2 port connector at one end grounded keys 8 as input, of course, need to connect 8 10K resistor to the power supply as the pull-up resistor. P2.0 ~ P2.7 were Do, Re, Mi, Fa, So, La, Si, Do (high) tone.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
key progamme - 副本.txt
key progamme - 副本 (2).txt
key progamme - 副本 (3).txt
key progamme.txt
key progamme - 副本 (2).txt
key progamme - 副本 (3).txt
key progamme.txt