ICStation team introduce you this APR9600 voice recording and playback system used in elevator based on the ICStation Mega2560 compatible with Arduino. It uses DC5V voltage to work. When you press the different keys, the loudspeaker will sound that which floor you arrive. This design uses a APR9600 voice chip as the core of the circuit and realizes the function of auto recording and playback. It uses power amplifier chip JRC286D to amplify the audio and enhance the volume. The voice recording and playback circuit is widely used in everyday life. For example, the leaving message and response of the telephone, game machine, and toy voice recording and playback, telling time of the clock or alarm, selling products and control of the household appliance, etc. The designed circuit control is easy ,high-quality sound and big volume. It can be recorded and played for many times and has strong ability of portability. It can be used in other ares for a little modification.The voice recording and playback using the APR9600 chip as the core has the advantage on the price.It is worth of promoting.

Functions:

1.When you press the key NO.1 to NO.5, the loudspeaker will sound the different floor arriving.

2.When you press the key NO.6 and NO.7, the loudspeaker will sound the "go upstairs" and "go downstairs"

3.When you press the NO.8 key, the loudspeaker loudspeaker will sound "close the door"

Code for your reference:

http://www.icstation.com/newsletter/eMarketing/APR9600_voice_record.txt

Step 1: Components List:

1.ICStation ATMEGA2560 Mega2560 R3 Board Compatible Arduino

2.830 Point Solderless PCB Bread Board MB-102 Test DIY

3.2K 202 Blue White Resistance Adjustable Resistor

4.APR9600 voice chip

5.JRC386D power amplifier chip

6.Electret condenser microphone

7.Breadboard Plug Wire Cable Tire

8.Dupont 20cm Color Cable Line 1p-1p Pin Connector

9.+5 DC power supply

10.8Ω 0.5W Small Trumpet 36mm Diameter Loudspeaker

11 9PCS 6X6X5mm Tact Switches 4 Legs

12.2mm Pitch 8 Pins 4 Position Slide Type DIP Switch

13. 2PCS LED Light Emitting Diode

14.220uF 25V 105°C Radial Electrolytic Capacitor

15.100uF 50V Radial Electrolytic Capacitor

16.0.047UF 50V 473 Ceramic Capacitor DIP

17.10UF 25V Radial Electrolytic Capacitor

18. 2PCS 47UF 25V Radial Electrolytic Capacitor

19.4.7UF 50V Radial Electrolytic Capacitor

20. 6PCS 0.1UF 275V Polypropylene Safety Capacitor

21.5PCS 1K-100K 400 1/4w Resistance

22 2PCS 1K ohm 1/4W 1% Accuracy Metal Film Resistor

23.4.7k ohm 1/4W 1% accuracy Metal Film Resistors

24.470K ohm 1/4W 1% Accuracy Metal Film Resistor

25.43K ohm 1/4W 1% Accuracy Metal Film Resistor

Step 2: Schematic Diagram

Step 3: Hardware wiring program

Step 4: The connection of the potentiometer and power amplifier chip

According to the schematic diagram, connect the pin3 of the 1K potentiometer to the ground and the pin2 connects the JRC386D power amplifier chip. At the same time, connect the pin2 and pin4 of JRC3680 power amplifier chip to the ground.

Step 5: The connection of the capaciptor C1,C9,C11


1.The connection of the capaciptor C1

According to the schematic diagram, put the 0.1uF capacitor C1 and make the capacitor connect the pin1 of the 1K potentiometer. Connect the pin6 of JRC386D power amplifier chip to the anode of the power supply.

2.The connection of the capaciptor C9

Put the 10uF capacitor C9 and make one end of it to the pin7 of the JRC368D

3.The connection of the capaciptor C11

Put the 0.1uF capacitor C11 and make one end connect the capacitor C9. Then the other end connect to the anode of the power supply

4.And then connect the 10uF capacitor C9 and 0.1uF capacitor C11 to the ground

Step 6: Connection of capacitor 15 , 13

1.Connection of capacitor 15

According to the schematic diagram, put the 47nF capacitor C15 and 10K resistor R20 to the bread board. And according to the schematic diagram to connect the pin5 of JRC386D to 10K resistance R20 and 47nF capacitor C15. And connect the other end of 47nF capacitor to the ground.

2.Connection of capacitor 13

Put the 220uF capacitor C13, and make one end of it connect the resistor R20.

Step 7: The soldering and connection of speaklouder

The soldering of the speaklouder. The anode solers to the blue wire and cathode solders to the gray line.

Connect the anode of the speaklouder which is soldered well to the 220uF capacitor C13, and connect the cathode to the ground. And then plug into the the GND of power supply line. And then plug into the other end of connecting line about the 0.1uF capacitor.

Step 8: The overall connection of the power amplifier module

Step 9: The connection of APR9600 voice chip

According to the schematic diagram, put the 1K resistor R3 and LED D1.The cathode of the LED D1 connects the pin10 of the APR9600.Connect the anode of LED D1 to the 1K resistor R3 and the other end of 1K resistor connects the anode of power supply. The pin11 of APR9600 voice chip to connect the anode of power supply. Pin 12 and pin13 of APR9600 voice chip to the ground.

Step 10: The connection of resistor R4,R2,

1.The connection of resistor R4

According to the schematic diagram, put the 43K resistor R4. One end to connect the pin7 of APR9600 voice chip and the other ground.

2.The connection of resistor R2

Put the 1K resistor R2 and LED D2.Make the cathode of LED D2 to the pin22 of APR9600 voice chip.Connect the anode of the LED D2 to the 1K resistor R2, and the other end of 1K resistor to the anode of power supply. Connect The pin26 APR9600 voice chip to the ground.

Step 11: The connection of Pin28 APR9600 voice chip and C10 and C11 two capacitors

According to the schematic diagram

According toe the schematic diagram, put two pins of the 0.1uF capacitor C4 to the bread board and connect to the pin20 and pin 21 of the APR9600 voice chip.

, put the 47uF capacitor C10 and 0.1uF capacitor C11, and make this two capacitors in parallel. And make the pin28 of APR9600 voice chip connect the other end of he C10 and C11 these two capacitors and then connect the anode of power supply.

Step 12: Put into the 0.1uF capacitor C4

According toe the schematic diagram, put two pins of the 0.1uF capacitor C4 to the bread board and connect to the pin20 and pin 21 of the APR9600 voice chip.

Step 13: The connection of capacitor C3, resistor R5 and capacitor C14,15

1.The connection of 4.7uF capacitor C3 and 470K resistor R5

According to the schematic diagram, put the 4.7uF capacitor C3 and 470K resistor R5 in parallel. And connect one end of these two products in parallel to pin19 of the APR9600 voice chip. And connect the other end to the ground.

2.The connection of 0.1uF capacitorC14 and 100uF capacitor C15

Put the 0.1uF capacitor C14 and 100uF capacitor C15 in parrel.And connect one end of these two products in parallel to pin15 of the APR9600 voice chip. And connect the other end to the ground.

Step 14: Put into the resistor R0,R6,R7,R1, capacitor C5, electret microphone


34.jpg

1.Put into the resistor R0

According to the schematic diagram, put the 0.1uF capacitor C1the the bread board and connect one end to the pin18 of APR9600 voice chip.Put the 4.7K resistor R0 in the bread board. Connect one end to the o.1uF capacitor C1 and the other end to the ground.

2.Put into the resistor R6

Put the 4.7K resistor R6 into the bread board and make one end to connect the 0.1uF capacitor C2

3.Put into the resistor R7

Put 1K resistor R7 into the bread board and make one end connect the 4.7K resistor R6. The other end connect the anode of the power supply.

4.Put into the resistor R1
According to the schematic diagram, put the 100K resistor R1 on the bread board and make one end connect pin23 of APR9600 voice chip. And then connect another end to the ground.

5.Put into the resistor C5

Put the 47uF capacitor C5 into the bread board.And make one end connect the 4.7K resistor R6.

6.Put into the resistor electret microphone

Put the electret microphone to the bread board. And make both ends of it to connect 0.1uF capacitor C1 and o.1uF capacitor C2, and make the 47uF capacitor C5 to the ground.

Step 15: Put switch S9 into the bread board

According to the schematic diagram, put the switch S9 into the breadboard.Make one end of it connect the pin23 of voice chip APR9600.And connect the other end to the anode of power supply.

Step 16: Connect the pins of APR9600 to the dials of dip switch

According to the schematic diagram , put the Dip swith into the bread board.Connect 4 legs of one end of the dip switch to the ground. And the other end of 4 legs connect the 100K resistor, also the anode of power supply.

1.Connect the pin27 of APR9600 to the No.1 dial of dip switch.

2.Connect the pin24 of APR9600 to the No.2 dial of dip switch.

3.Connect the pin25 of APR9600 to the No.3 dial of dip switch.

4.Connect the pin9 of APR9600 to the No.4 dial of dip switch.

Step 17: Connect pins of APR9600 to the I/O interface of Development board

Connect the pins 1、2、3、4、5、6、8、9 of APR9600 voice chip respectively to the I/O interface of 1、2、3、4、5、6、8、9 of the ICStaton Mega 2560 development board compatible with Arduino.

Step 18: Connections of 8 switches

According to the diagram, connect the 30、31、32、33、34、35、36、37 I/O interface respectively to those 8 switches. And then connect the 8 switches to the ground.

Step 19: The connection of JRC368D power amplifier module

Connect anode and cathode of the JRC386D power amplifier module to the anode and cathode of te power supply.

According to the schematic diagram, connect the 0.1uF capacitor C1 among the JRC368D power amplifier module to the pin14 of the APR9600 voice chip.

Step 20: Plug into the power supply wire and ground wire from ICStation Mega 2560

Plug into the +5V power supply and GND of ICStation Mega development board to the bread board. And the blue bread wire as the power supply and white bread wire as the ground line.

Step 21: Video to show the actual effect