文件名称:key-progamme
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一款用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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.