Sound Command with 12-bit MCU's


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2003
    Posts
    2,358

    Default Sound Command with 12-bit MCU's

    In trying to hit the correct resonant frequency for a Piezo Beeper with a 12-bit MCU, I ended up plotting the values for the SOUND command using a 12F675 running on it's internal oscillator.

    There was a vain hope that the sounds produced may be useful to have my PIC play a tune and spread some happiness whilst it went about it's lonely industrial tasks... yeah well - dream on...

    Still, I've got 600 bytes and a heap of EEPROM space to use up... looks like I'll resort to some homebrew routines for that...

    The SOUND value Table meanwhile is appended for anyone who may find a use for it.

    Melanie
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I was determined to have the PIC in my design play a tune - if only to use up a heap of unused memory... and to unexpectedly startle the user instead of a boring Alarm Beep... I'm having a devilish phase this weekend...

    If anyone else fancies a play... here's a fun program as a starter... and hey - absolutely NO derogatory remarks about my musical talents... what do you expect for twenty minutes of coding...

    Melanie
    Attached Files Attached Files

  3. #3
    bobthebud's Avatar
    bobthebud Guest


    Did you find this post helpful? Yes | No

    Wink

    Aren't you the little minx. Nice one .. but .. my clients would probably complain and get me fired,however it will go down a treat when I incorporate a little music into my sister's kids toys!
    Thanks
    Bobthe bud

  4. #4
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Any More tunes

    Hello Melanie

    Excellent piece of tune, Do you have any more of that ?

    For a Security Alarm Project , I am looking for a Siren tune and Error tune.

    Looking for more contributors.

    regards

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 06:28
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  4. Real Time Clock & Eeprom
    By smart_storm in forum General
    Replies: 8
    Last Post: - 17th February 2006, 19:03
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 1

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