Abstract

This chapter explores the possibility to produce audio signals using the Output Compare modules of the PIC32. In Pulse Width Modulation (PWM) mode, and in combination with a more or less sophisticated low-pass filter, the Output Compare modules can be used effectively as DACs to produce an analog output signal. By modulating the analog signal with frequencies that fall into the range recognized by the human ear, between approximately 20 Hz and 20 kHz, sound is produced. Any “human” interface can be greatly enhanced by using sound to provide feedback, to capture the attention of the user with alerts and error messages, or, simply to enhance the user experience.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call