Close
0%
0%

Musical Doorbell PIC12F1822

3 sec sound EEPROM and PIC12 doorbell

Similar projects worth following
The EEPROM 24C512 is 512Kbits and it can store up to 3 seconds wave file of 22.050KHz, 8 bits, mono.
The PIC reads the ROM bytes in a sequential read mode and stream each byte to the PWM generator at a rate of about 22 KHz. The I2C bus works at 400 KHz for the purpose of managing to process 22 Kbits per second. Changing the bus frequency changes the speed of the sound.

Converting sound file to hex:

Convert sound file to .wav PCM  22.050KHz, 8 bits, mono,
Change the file name extension from wav to bin and load the bin file to the EEPROM Programmer or PICKIT.

x-zip-compressed - 12.29 kB - 05/06/2023 at 11:34

Download

  • 2 × 2.2K resistor
  • 1 × 47uF 10V cap
  • 1 × PIC12F1822 Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontrollers
  • 1 × 24C512 EEPROM
  • 1 × speaker

View all 7 components

  • 1
    Circuit

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates