文档介绍:摘要
随着科技不断进步,益智玩具的样式越来越多,功能也越来越多,同时也越来越受人们的喜爱。益智玩具可开发智力,增强大脑的开发性思维,这对于处于发展阶段的孩子们尤其重要。益智玩具可缓解人们的压力,它已经逐渐成为白领上班族们休闲的用品,减压的工具。总之,益智玩具给生活增加许多调味剂,不仅可提高生活质量,还可以促进健康,延年益寿。
本设计介绍的是如何以AT89S52单片机为控制核心,利用ISD4004录放音芯片,实现闪电手益智玩具的辨色功能。用ISD4004芯片录音,并将所录的语音放在指定的地址块中,放音时根据所需内容调用相应的地址。利用LM386实现音频的功放。LM1117用来将5V电压转换为3V的电压送人ISD4004芯片。方向感应器的六个角代表六种不同的颜色,分别接入单片机的六个引脚,当方向感应器代表红色的角朝下时,与该角相连的单片机引脚输入低电平,单片机通过判断哪个引脚为低电平判断所选中的颜色,然后与所调用的语音颜色比较,从而实现辨色功能。
关键字:AT89S52单片机;ISD4004语音录放芯片;LM1117低压差电压调节芯片; LM386 音频功放芯片
Abstract
With the constant progress of science and technology,the type of intelligence-toy is more and more,and the fuction is more and more,at the same time,it is accepted by persons more and -toy can exploit intelligence,and enhance the development of thinking,that is especially important for children who are -toy can relieve the pressure on people,and it is already the tool of white color worker who must use to relieve the a word,Intelligence-toy adds many spice to life, not only can improve the quality of life, also can promote health, prolong life.
This design introduces how the AT89S52 single chip as the control core, using the chip ISD4004 that can record and play, achieve the function of lightning-hand educational toys color ,place the taped voice in the position that is specifield,and playing, call the corresponding address according to the required is used to convert 5 voltage to 3 voltage for ISD4004 six angles of accelerometer are on behalf of the six different colors,and 6 pins respectively connected to the single the angle of accelerometer on behalf of the red downwards,and the single chip pin that is connected with the angle on behalf of the red input low chip judge the selected color by judge which pin is low level ,pare with voice that calls on behalf of color to realize the function judging by color.
Keyword:AT89S52 single chip;ISD4004 chip;L