+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 16

Thread: Wireless Sound

  1. #1
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default Wireless Sound

    Hey guys i have a mp3 player and was woundering if it would be wise to use something like:

    MRF24J40MA

    I want to send the audio from player to this and then send receive it on another. I know i need a pretty fast pic ie: 16bit - 32bit to handle it correct?

    So my main question is can i use the above transceiver module and a fast pic to do it all?
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange


  2. #2
    nickelflippr Good nickelflippr Good nickelflippr Good nickelflippr Good
    Join Date
    Oct 2006
    Location
    Oregon, USA
    Posts
    487

    Default

    The data rate will be limited by the module rated at 250kbs, and not by the type of PIC used. If you could do it with an 18f, and a hardware uart at that rate, then go ahead and try it with the modules. Otherwise save yourself the money.

  3. #3
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    heh thanks... what would u recommend?
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

  4. #4
    nickelflippr Good nickelflippr Good nickelflippr Good nickelflippr Good
    Join Date
    Oct 2006
    Location
    Oregon, USA
    Posts
    487

    Default

    Have never messed with mp3, so no recommendation there. But if you could make it work with the uart, there is a shot I would think. I have seen wireless speakers so it must be doable in some form or another.

    Only slightly frustrated with the MRF24J40MA, because have not been able to get the slave/node2 to connect up with Microchips precompiled MIWI & P2P demos. Probably something stupid on my part, like trying to breadboard these things, don't know. The demos are based on the 18LF4620 and 24F, 32F 3V chips.

  5. #5
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    cool ! i think the breadboard would not be a good idea but im going to try it too heh... i dont have no modules as of yet but i might order today. or tomorrow ...

    Im not dealing with MP3 data. Im dealing with audio from a mp3 player. So ADC is needed but fast... then on the other side DAC...

    Since i just want to turn the audio into digital data then send the data wireless to the other one and turn the digital data back to analog audio.
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

  6. #6
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    Sort of like a FM transmitter/receiver but FM sux in my opinion. heh
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

  7. #7
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    so nice audio is about 128kbs (i think) so 250 should be a nice overkill to have since i have to do a ADC then send it out then repeat. I should be able to do it fast enough. There may be a small delay in music changing and stuff but heh it will be worth it
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

  8. #8
    nickelflippr Good nickelflippr Good nickelflippr Good nickelflippr Good
    Join Date
    Oct 2006
    Location
    Oregon, USA
    Posts
    487

    Default

    O.K. then, the 18f adc won't be fast enough, can see that now.

    Sounds challenging Best of luck.

  9. #9
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,728

    Default

    Quote Originally Posted by AtomSoft View Post
    so nice audio is about 128kbs (i think) so 250 should be a nice overkill to have since i have to do a ADC then send it out then repeat. I should be able to do it fast enough. There may be a small delay in music changing and stuff but heh it will be worth it
    128kps is MPEG compressed, not plain audio - half that for stereo, you're down to 64kps, which is only 6400 bytes per second. Assuming you're only using 8 bit data, that's about a 3KHz bandwidth - a very poor AM radio.

    Do the maths!.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  10. #10
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,757

    Default

    You can buy nice pre-made stereo FM transmitters made just for this purpose.

    I know you said you didn't want to use an FM transmitter but it's looking better and better...

  11. #11
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,728

    Default

    Quote Originally Posted by Mr RB View Post
    You can buy nice pre-made stereo FM transmitters made just for this purpose.

    I know you said you didn't want to use an FM transmitter but it's looking better and better...
    It always did!

    It's a nice idea to build a digital one, but people don't think about it first.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  12. #12
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    Nigel and RB I just hate the noise that it has. Is it possible the ones i dealt with were too cheap and crap.

    So if i build one you think it will be better? Any links to some?

    Also nigel what kinda speed would i need to send stereo quality audio wireless?
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

  13. #13
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,728

    Default

    Quote Originally Posted by AtomSoft View Post
    Nigel and RB I just hate the noise that it has. Is it possible the ones i dealt with were too cheap and crap.
    The quality is normally excellent, were you trying to use them over too great a range?.


    So if i build one you think it will be better? Any links to some?

    Also nigel what kinda speed would i need to send stereo quality audio wireless?
    CD quality is sampled at 44.1KHz and 16 bits per channel, so that's 1.76mbs, assuming 10 bit data bytes as per RS232.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  14. #14
    Oznog Excellent Oznog Excellent Oznog Excellent Oznog Excellent Oznog Excellent
    Join Date
    Apr 2004
    Location
    Austin, Tx
    Posts
    2,764

    Default

    And note that 1.764mb/sec is beyond the capabilities of the PIC18F to generate. The DSP chips, maybe not.

    Now COMPRESSED data MP3/Ogg/whatever is far more practical. However, even the DSP chips have only limited ability to do the necessary math. There are many decompressor chips for MP3, but compressors are quite rare.

    So, you can start with an MP3 file on flash card and beam that to a receiver with an MP3 decoder on board. That's straightforward. It's within the bandwidth of higher performance hardware like Bluetooth. But... starting with an analog input, you've got no straightforward way to compress the data with any useful quality.

    I have noted abuse of the term "codec" chip for these compression formats. "codec" means "coder" AND "decoder". Most claiming to be codecs are in actuality decoders. Some have an ADC to encode incoming audio into uncompressed digital data, which may be a useful task to some, but it is NOT MP3/Ogg/etc encoding and it's misleading to term this an "Ogg codec" when it does not encode into Ogg.
    I thought what I'd do was I'd pretend I was one of those deaf-mutes.

  15. #15
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,726

    Default

    heh i might just use some ARM mcu's. Im thinking of some cheap $5 LPC2103's to do that stuff for me
    AtomSofts eBay Store
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My BLOG | My YouTube Videos!
    My Favorite Store:
    dipmicro Electronics
    Trading and Selling...? Check out Dipmicro Trading/Selling Forum:
    Electronic Components & Tools Exchange

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. Microwave Making Buzzing Sound [Sound Clip Included]
    By ParkingLotLust in forum Repairing Consumer Electronics
    Replies: 20
    Latest: 1st October 2009, 09:35 PM
  2. wireless door bell into wireless driven relay-query
    By gudu in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 28th February 2009, 05:55 AM
  3. sound on PC
    By mpj111 in forum General Electronics Chat
    Replies: 1
    Latest: 23rd October 2006, 07:32 AM
  4. Sound Vs Anti-sound?
    By Megamox in forum General Electronics Chat
    Replies: 3
    Latest: 20th February 2005, 11:38 PM
  5. sound
    By -=GST=- Nemisis (cs/cz) in forum Electronic Projects Design/Ideas/Reviews
    Replies: 17
    Latest: 9th October 2004, 11:53 PM

Tags for this Thread