Menu

all about electronic and microcontrollers

Thursday, August 11, 2011

Lesson nr.20-Sound generation

In this experiment we will work with sounds. I'll show how to generate and make sound helped by microcontroller and some buttons.
Communication with the buzzer will be performed  at PORT RB3 ( as PWM mode). The Push buttons are connected to PORT RA4 (generates Tone1), RA6 (generates Tone2) and RA7(generates melody2). Of course we need pull-up resistors (4k7 is required).





..read more.

No comments:

Post a Comment

If you do not understand something, or if you make some aplication helped by this blog, let me know.