How to get a nice sounding chime tone


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    8

    Lightbulb How to get a nice sounding chime tone

    Hi everyone,

    I've been experimenting with various piezo's and buzzers from Digikey for my PIC project but could not find or generate anything that is pleasing to the ear or to my liking.

    What I want to emit is a sound similar to what comes out of a cordless phone, or a mobile phone. I don't want it to be a song, or anything annoying like an alarm beep so I don't need a voice chip or anything like that. I want the component count, size and price to be as small as possible as well.

    Does anybody have any suggestions or have done this in the past? The sound I need to create should be as loud as a cordless phone's medium/high setting. I've been googling and came up with small 8 ohm speakers but not sure if a) these would be loud enough, b) I can get it to sound like a cordless phone warble type, and c) if PICBasic is able to generate the tone for me.

    Thanks for any help and suggestions.

  2. #2
    Join Date
    Nov 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    What I learned is that I need to generate, say, 2 or 3 tones on different pins, and tie them together.

    I found an interesting example done using another compiler (http://users.picbasic.org/projects/making_music/) and interrupts. In my application, I don't really see the need of using interrupts since gerating this chime will be the only thing that my PIC will be doing.

    What I don't understand is how to do is generate 3 frequencies at the same time on 3 different pins. Any tips on this?

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rookie11 View Post
    What I learned is that I need to generate, say, 2 or 3 tones on different pins, and tie them together.
    I found an interesting example done using another compiler (http://users.picbasic.org/projects/making_music/) and interrupts. In my application, I don't really see the need of using interrupts since gerating this chime will be the only thing that my PIC will be doing.
    What I don't understand is how to do is generate 3 frequencies at the same time on 3 different pins. Any tips on this?
    Well, if you check that code, and take a look at the PBP manual, you'll find they are very similar. Most likely the other code will probably port right over to PBP format with very few changes.

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Rookie11,
    word on the street is square wave output from a PIC is rather harsh, and to put an inductor (choke) in series with the output to soften up the pulse train into something more like a sine wave.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Replies: 4
    Last Post: - 15th January 2016, 12:23
  2. CTCSS Tone Decoder Sample Program
    By sozkarabacak in forum General
    Replies: 0
    Last Post: - 20th October 2009, 06:15
  3. DTMF dial tone
    By lerameur in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 20th October 2007, 01:40
  4. Replies: 14
    Last Post: - 26th September 2007, 05:41

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts