---
+ Post New Thread
Results 1 to 13 of 13
  1. #1
    Newbie level 5
    Points: 1,113, Level: 7

    Join Date
    Jan 2007
    Posts
    9
    Helped
    0 / 0
    Points
    1,113
    Level
    7

    sound pic24

    What i need to save a sound in the PIC microcontroller,and how?


    I want to save my sound like "right" word.

    thanks

  2. #2
    Advanced Member level 4
    Points: 11,875, Level: 26
    bobcat1's Avatar
    Join Date
    Jul 2002
    Posts
    1,292
    Helped
    96 / 96
    Points
    11,875
    Level
    26

    play sounds with pic microcontrollers and sd card

    Hi

    You will need a PIC with A/D, lot of memory (flash) and D/A converter (you can also use PWM)

    You will also need to use some compress and decompress algorithm like A-low or u-low etc in order to save space on the flash memory

    there are lots of program to save analog audio over flash memory on a microcontroller -serach microchip site for demo

    You will also need to use the 16 bir PIC like the PIC24 or PIC30 family - for better performance

    All the best

    Bobi


    1 members found this post helpful.

    •   Alt20th April 2008, 10:34

      advertising

        
       

  3. #3
    Newbie level 5
    Points: 1,113, Level: 7

    Join Date
    Jan 2007
    Posts
    9
    Helped
    0 / 0
    Points
    1,113
    Level
    7

    store for all sound to a microcontroller

    thank u Bobi

    I Asked if can u help me,to programming EEPROM (Read,write), with the PIC microcontroller .



  4. #4
    Full Member level 5
    Points: 4,494, Level: 15

    Join Date
    Apr 2005
    Location
    Pakistan
    Posts
    283
    Helped
    60 / 60
    Points
    4,494
    Level
    15

    pic30 sd card

    Hi!
    You need a PIC microcontroller with an ADC and a little bit of analog circuitry (Mic+amplifier) to sample and digitize the sound. For storing the sound i would recommend you to use the SD card instead of an EEPROM. The SD card is very fast and has a lot of capacity at a comparatively low cost. e.g in Pakistan the cost for a 1GB card is only Rs.350. At a sampling rate of 4KHz a 1GB card will store up to 69 hours of sound. Isn't it great.
    In order to playback the sound you will need a D/A converter (PWM can also be used) and a simple amplifier to regenerate the sound.
    If this does not solve your problem feel free to ask.
    Regards.



  5. #5
    Newbie level 5
    Points: 1,113, Level: 7

    Join Date
    Jan 2007
    Posts
    9
    Helped
    0 / 0
    Points
    1,113
    Level
    7

    sound microcontroller

    thank u waseem;

    Can u draw to me the circuite diagram?

    My project is a process of converting a remote control for a machine (car,..etc) to sound commands.

    I have PIC16f877A, amplifier,SD card, and I can get to any other components.

    Thanks



    •   Alt21st April 2008, 10:31

      advertising

        
       

  6. #6
    Full Member level 5
    Points: 4,494, Level: 15

    Join Date
    Apr 2005
    Location
    Pakistan
    Posts
    283
    Helped
    60 / 60
    Points
    4,494
    Level
    15

    pic microcontroller sd card sound

    Hi!
    Yes, I will try my best. How much time you have got for the project? I will try to design the schematic. Initially you can start simulating your program in proteus software.
    Are you from Pakistan?.
    Regards.



    •   Alt21st April 2008, 12:33

      advertising

        
       

  7. #7
    Newbie level 5
    Points: 1,113, Level: 7

    Join Date
    Jan 2007
    Posts
    9
    Helped
    0 / 0
    Points
    1,113
    Level
    7

    sound from pic

    thanks

    Ok, i have 1 week to do this project.

    and i am jordanian .



  8. #8
    Newbie level 5
    Points: 1,113, Level: 7

    Join Date
    Jan 2007
    Posts
    9
    Helped
    0 / 0
    Points
    1,113
    Level
    7

    microcontroller sound store and compare pic

    Hi

    I am Asking How can I controlling the ADC's time in PIC16F877A?



  9. #9
    Full Member level 5
    Points: 4,494, Level: 15

    Join Date
    Apr 2005
    Location
    Pakistan
    Posts
    283
    Helped
    60 / 60
    Points
    4,494
    Level
    15

    how to save audio to pic24

    Assalam-o-alikum!
    U mean how to control the conversions per secound i.e the sampling frequency?
    ***** hafiz.



  10. #10
    Advanced Member level 3
    Points: 12,110, Level: 26

    Join Date
    Jan 2004
    Location
    USA
    Posts
    864
    Helped
    94 / 94
    Points
    12,110
    Level
    26

    pic microcontroller audio sample

    You can use this technique to efficiently store sounds in a small I2C EEPROM and play it .

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



  11. #11
    Full Member level 1
    Points: 3,115, Level: 13

    Join Date
    Jan 2004
    Posts
    113
    Helped
    15 / 15
    Points
    3,115
    Level
    13

    sound interface with pic microcontroller

    There is a complete sample in the Proteus Samples directory (with a PIC24) using ADPCM encoding and a sallon-key filter for output. Could be useful to get you going...

    Iain.



  12. #12
    Advanced Member level 5
    Points: 14,575, Level: 29
    blueroomelectronics's Avatar
    Join Date
    Sep 2006
    Location
    Toronto, Canada
    Posts
    1,682
    Helped
    179 / 179
    Points
    14,575
    Level
    29

    pic microcontroller audio playback

    Quote Originally Posted by ateyah
    thanks

    Ok, i have 1 week to do this project.

    and i am jordanian .
    That week has come and gone.



  13. #13
    Newbie level 4
    Points: 1,595, Level: 9

    Join Date
    Apr 2005
    Posts
    7
    Helped
    0 / 0
    Points
    1,595
    Level
    9

    pic microcontroller sound playback

    Thank you very much



+ Post New Thread
Please login