Tag archives for Sound
The ability to generate sound is very important in embedded applications. A small buzzer could be used to generate specific sounds or beeps for audible alarms or status. In an electronic piano or electronic toys for example, different tones and melodies could be generated electronically. There are countless of electronic applications that can require sound or just a small beep. Most microncontrollers have a CCP module which stands for Capture/Compare/PWM, this peripheral is used to time and control different events and generate PWM signals. This article explains the concept behind generating sound from the PIC microcontroller using MikroC Pro for PIC Sound Library which simplifies everything.