基于AT89S52的玩具电子琴设计摘要:随着电子技术的发展,数字系统正朝着速度快、容量大、体积重量轻的方向发展
在其推动下,现代电子产品几乎渗透了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快
其中尤其单片机技术的不断发展,使得单片机在日用生活用品中的应用越来越广泛
本文利用AT89S52单片机,设计了一种玩具电子琴,该电子琴除了可以演奏1-8八个音符以外,还可以自动播放两首歌曲,是单片机的又一扩展应用
本文详细介绍了电子琴的工作原理及硬件软件设计,并制作了实物,测试结果显示,系统运行良好
关键词:单片机蜂鸣器音乐Abstract:Withthedevelopmentofelectronictechnology,digitalsystemismovingfast,largecapacity,thevolumeandtheweightofthelightdirection
Underitsimpetus,themodernelectronicproductspenetratedalmosteveryfieldofthesociety,astrongimpetustothedevelopmentofsocialproductivityandtheimprovementofsocialinformation-baseddegree,simultaneouslyalsomakesthemodernelectronicproductstofurtherimprovetheperformance,productupgradingareincreasinglyfastpace
Developmentespeciallycomputertechnology,themicrocomputerapplicat