The alarm module of this design uses the wt588d voice chip for voice broadcast and alarm prompt. When ultrasonic waves detect a distance or below the safe distance STC89C52 microcontroller control voice chip to broadcast the current content.<br>The following image is the language chip circuit pin diagram, the speaker is the speaker used to broadcast the voice, p02 is the reset pin can not be connected, only P03 mouth is the data pin, Wt588d voice chip he is through the external minu downloader to download the corresponding voice files, such as broadcast welcome, then we need to edit this voice welcome through the minu downloader. Then generate an address, when the microcontroller needs to broadcast this end of the voice, will send instructions to wt588d, voice broadcast.<br>When using the upper computer software to burn the voice program of SPI-FLASH memory 25PXX, select the first-line serial control mode. I/O port P03 is defined as the DATA data input, the microcontroller controls the WT588D voice module through the DATA data port. Other I/O port P00, P01, P02, P04, P05, P06, P07, P10, P111 can be used as keys, detailed can be seen WT588D voice chip key control mode application circuit. The P17 end is the BUSY busy signal output, which can be set to play state LED lights up and playback state LED off. SPI-FLASH memory 25PXX voltage range is to ensure that in 2.8V to 3.5V, VDD-SIM is the WT588D voice chip serial power management input, 25PXX VCC connected to this end, can automatically balance the 5WT88D and 25PXX between the serial port voltage. The PWM output end prohibits connecting capacitors to ground or direct ground, and the PWM-DAC and PWM-ends are protected against short circuits.<br>After selecting "First-line Serial Mode" in the options interface, click OK. The engineering document is in a first-line serial mode.<br>Click on "Operation" and "Key Settings" to see the default status of "Key 1" and "Key 10" for each I/O port, where "Key 4" (corresponding I/O port is P03) option has been locked by the system, P03 is data data foot in first-line serial mode, so it cannot be used as a key, the rest of the I/O port can still be used as keys, in each key (I/O port) 15 trigger ingesting methods, such as pulse repeatable, pulse non-repeatable, level non-hold loop, level hold loopable, play/stop, next song not loopable, previous song not loopable, next song can be cycled, previous song can be looped, level hold non-loop, pause, volume plus, -, stop" and so on.<br>Each of the keys (I/O ports) that the system defaults to use is a rerepeatable way for pulses.
正在翻译中..