Adding speech and sound effects to your robotic project.
Date: Thursday, June 19 @ 07:25:09 EDT
Topic: Sensörler - Algılayıcılar
I've been seeing a recorder-player application at the net on various web pages and at last i've found time to work on it a bit. The circuit which has been realized in this application is able to record and play between 15 and 60 seconds of sound. Any sound, voice, music or effects can be recorded and played with ease and high quality.
The Chip is manufactured by winbond (usa) and called as the 2500 series sound recorder-player. The additional components for the chip is not too many. Only some extra resistors, capacitors and a condenser type microphone are needed. The chip has got some additional addressing, chipselect and enable bits to be easily controlled by a microcontroller. And a power down input to reduce power consumption when not in use. It is also possible to use the chip without using a micro, by connecting all control inputs to some switches and all addressing pins to a known signal, you may see the necessary circuitry for this at the end of the article.
Both methods are tested at the circuitry above. The empty socket is for a pic 16F84A. You may see the jack for the loudspeaker at the left. The 3 pin connector next to it is for a servomotor. So our circiut is able to control a servomotor while also playing or recording sound. For example the servo may control the mouth of a robot while playing the speech. The two switches at the right of the chip are for recording and playback. Just below them is the microphone.
The face next to the circuit board is taken from a broken toy. It has got a switch at its chin and gives a signal to the circuitry to begin playing the recorded sound; "What? What now? Why are you touching me all the time! Don't you have work to do?". The loudspeaker is a tiny one hidden behind the toy face. In fact a part of the broken toy.
Read on for more....
Recording begins when both switches at the right side of the circuit are pressed. This mode ends when the buttons are released. Playing begins when the right button is pressed once. It plays untill all sound or voice is played. This button pressings can be done by a microcontroller very easily. So we can make a robug which can record and play sound whenever it wants to. The voice data at the memory is nonvolatile and doesn't get lost even if the power stays off for a long time (the product data says 100 years). Sound quality is quite high.
The full code of the IC can be seen at the circuit schematic.
This is the circuit schematic.