Audio to Digital - any sample around?


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891

    Default Audio to Digital - any sample around?

    Hello,

    I would like to use HOPE's RFM70 RF transceiver modules as multiple headphone system - kind of audio "broadcasting" system for museum's visits or so (one sender, multiple receivers).

    I have found quite a lot of (complicated) information all around internet, but no simple example.

    Some sites propose to use TI LM4811 or more complex chips such as DIX4192 chips.

    Did anyone make a project based on a PIC and that could share his information?

    Thanks
    Roger

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Re: Audio to Digital - any sample around?

    Hello again,

    Does nobody have done any audio to digital converter project up to now?
    Roger

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: Audio to Digital - any sample around?

    Audio to digital is fairly simple.
    Any PIC with an AD will convert the analog audio signals to digital (numerical value).
    Simply take the reading at the preferred frequency (interval) for samples per second and select the AD whether 12 bit or 8 bit etc.

    When received use a digital to analog converter to convert back.
    I think some PIC's now have a basic built in DAC.
    Add a pot for volume control, amp and a speaker.

    I have done this successfully on a few designs.


    Norm
    Last edited by Normnet; - 29th November 2012 at 22:16.

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Re: Audio to Digital - any sample around?

    Thanks Norm,

    If you can share this, would you have a simple example of what you have made?

    I would really appreciate a high level schema for the audio amp, for the mic and its input schema.

    I think I can make it with the code ;-)

    Did you do something like having two PICs connected via I2C; one is the "mic" and the other is the "loudspeaker"?
    Roger

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Audio to Digital - any sample around?

    First a clarification - why PIC? is it really needed?

    To me, this looks like a classic radio broadcast problem. A straightforward solution (assuming the PIC is not needed) is to use a FM broadcast unit that you would connect to a TV/audio system and send the broadcast on the FM band.

    My reply may be useless if there is a specific purpose to ADC the audio and then transmit via PIC. This however, IMHO, can be very under performing. The audio quality may be un-intelligible. Just off-the-cuff impressions.

  6. #6
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: Audio to Digital - any sample around?

    Jerson has a point.
    Unless you are storing or reading from memory digitizing isn't required as the mic and speaker are both analog.
    Also much more bandwith required for digital transfer.
    Analog is roughly either amplitude modulation (AM) or frequency modulation (FM) which is just a signal where as digital requires many bits of information depending on the resolution whether it be 8 bit or 16 bit.

    I you wish to digitize however I have a very complete example of reading audio posted at PIC iPod wav player

    I started with just a mic to a preamp to an amp to a speaker.
    From their I digitized the pre amped mic signal on a PIC and then returned the signal to analog then to an amp and speaker with the same PIC.
    Wired or wireless transfer of the digitized data between 2 PIC's would be next.

    Audio is cool because you can hear the results.


    Norm

Similar Threads

  1. Replies: 5
    Last Post: - 16th October 2009, 18:29
  2. Digital audio delay
    By RussMartin in forum Schematics
    Replies: 1
    Last Post: - 7th July 2008, 20:55
  3. PIC Audio
    By toofastdave in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 27th June 2007, 13:49
  4. Pic driven digital audio delay
    By skimask in forum Off Topic
    Replies: 12
    Last Post: - 19th April 2007, 20:42
  5. Audio D/A idea
    By Radiance in forum General
    Replies: 1
    Last Post: - 21st July 2003, 21:39

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