Question about programming speaker to PIC 18F4520

Status
Not open for further replies.

Dallas

New Member
Hi all, this is my 1st post just a question.

Is there a way to program speaker to 18f4520? like using C language or something?
 
program a speaker?

all the speakers I've worked with are pretty much plug and play, no programming required.
 
I think Dallas is asking how to generate sound using speaker. By generating different frequency squarewaves it should be possible generate different sounds.
 
I did a design using the smaller PIC12F675 and used MPLAB assembler language.
My circuit can generate 8 different tones. Used as Normal and
Critical alarm annunciation in Power Station Control room
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…