Project .. House bell |
Display part: These are writings (Surnames) that alternate with a pleasant effect. Naturally, having to enter your surnames, I cannot provide the HEX, it is therefore necessary to compile it with the various programs available (MPASM). It is clear that if one of the surnames exceeds 8 characters it is necessary to use the 16 character display. The two LEDs (or a two-colour one) flash, but have no particular functions. Sound part: The inspiration is taken from Nuova Elettronica Riv.220 which explains how to insert PCM audio files in wav format into an Eprom and then listen to them. In short, it involves extracting only the part containing the data from these files: in practice, the first part (red zone) is eliminated with an editor (I use UltraEdit32) from 00000 to 0002C, taking care to read the location of the data term in hexadecimal notation (yellow area). The address must be read from location 00028 ( E.g. 14 02 01 00 means that the data ends at location 00010214 ). Once the file recognition data has been eliminated (at the beginning and at the end), the data remains to be downloaded to the EPROM (green area). I used, as per the diagram, a 27C512 to have 64K available for storage but by reducing the length of the file you can also use the 27C128 or 27C256 (be careful though they are not pin/pin compatible). There are a lot of wav files on the Internet so we can customize the sound as we like, not least the possibility of recording your own voice with the Windows 'Sound Recorder' program. From the original scheme I managed to use the PIC as a sound generator Clock and 4040 binary counters to reduce size. Again for the same reason the circuit is divided into two parts of the same width as the LCD to be sandwiched and therefore fit into the available space. As you can see the circuit is powered by 8V: if you want to power it by 12V it is necessary to dissipate the 7805. |