CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

generate door bell sound from a pic?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
piire



Joined: 04 Mar 2009
Posts: 19

View user's profile Send private message

generate door bell sound from a pic?
PostPosted: Tue Aug 24, 2010 10:44 am     Reply with quote

Hi there, is it possible to generate a door bell sound such as a ding dong from a pic microcontroller.

If so, can some guide me on how to go about doing this?

I know you can get separate ic which do this for you but I would like to use the pic to reduce the amount of components.

Thanks
piire.
MikeW



Joined: 15 Sep 2003
Posts: 184
Location: Warrington UK

View user's profile Send private message

PostPosted: Tue Aug 24, 2010 11:22 am     Reply with quote

Search this forum, also do a google on

"Roman Black BTc"

I haven't used it, but I believe it takes a wav sound file, and outputs on a single PIC pin to produce the sound.

here's roman's web site

http://www.romanblack.com/BTc_alg.htm

Mike
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Aug 24, 2010 11:28 am     Reply with quote

Also look at these CCS example and driver files:
Quote:

c:\program files\picc\examples\ex_tones.c
c:\program files\picc\drivers\tones.c

Also use the forum's search page to search the Code Library forum for:
Quote:
tone*
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group