| | | | | 用PIC16C5X单片机实现音乐的原理和方法 | | | 周灵彬 | | | 目的 用 PIC系列基础级单片机 (PIC16C5 X)实现音乐 .方法 根据音乐发声原理 ,利用 PIC单片机的数据运算和处理功能 ,通过查表方式建立灵活通用的音乐程序 .结果与结论 用无中断功能 ,计数器只有 8位的 PIC基础级单片机实现了音乐 .该原理方案和实施方法具有普遍的应用价值 ,可移植到本系列其它类型的单片机中 【作者单位】:华北工学院机械工程系 山西太原030051 【关键词】:单片机;简符码;节拍码;频率 【分类号】:TP368.1 【DOI】:cnki:ISSN:1006-5431.0.2002-03-004 【正文快照】: 0 引 言用单片机实现音乐、语音提示可使智能型电子产品人性化 . Microchip公司的 PIC系列的基础级单片机 ,以其低功耗、低价格的优势在各类智能化电子产品中获得了广泛的应用 ,但至今未见用其实现音乐的完整方案 .作者在实践中总结出了在无中断功能 ,且计数器只有 8位的 PIC | | | | | | 推荐 下载CAJ全文 下载PDF全文 | | | CAJViewer7.0阅读器支持所有CNKI文件格式,AdobeReader仅支持PDF格式 | | | | The Principle and Method of Making Music with Single Chip Microcontroller PIC16C5X | | | ZHOU Ling bin (Dept. of Mechanical Engineering;North China Institute of Technology;Taiyuan 030051;China) | | | ion : Aim\ To make music with basic SCM of PIC series(PIC16C5X) . Methods\ According to sound generating principle of music and making use of data calculation and disposal function, flexible and universal musical program through looking up tables has been established. Results and Conclusion\ Music has been realized with basic SCM of PIC series with only a 8 bits counter without interruption function. The principle scheme and enforcement method possesses of universal application value and can be transplanted into other types of SCM of this series. 【Keyword】:single chip microcontroller;reduced note code;time code;frequency |
|
|