Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

microcontroller USB or FT232

Status
Not open for further replies.

jimkess

Member level 4
Joined
Dec 22, 2016
Messages
76
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
650
Hi,

I want to connect PC to microcontroller using USB for audio/music transfer. There are PIC microcontroller with USB like pic18F4450 and another option is to use AVR with FT232 chip. Would these work for my application? Is 8-bit micro sufficient? Also what bit size DAC should be used if I want to play the audio/music with speaker from the microcontroller.
 

Hi,

why no simple USB - audio device? Cheap and ready to buy. Plug and play.
Or a blouetooth - audio device? Cheap and ready to buy. Plug and play.

Why do you need a microcontroller?
If you want to process the digital audio data somehow, then I recommend a DSP.
If you don´t want to process the data, then I don´t recommend a controller at all.

klaus
 

I need to control the switching of audio/music from different type of source to headset, so using a microcontroller for that. Also I have to play the audio/music on a loudspeaker so a DAC is also required. What DAC is suitable for playing music MP3,MP4? or can i use just anyone?
 

Hi,

Switching audio sources: a little drawing could clarify what exactely you want to do.
(Usually this is done in the PC)

MP3, MP4: I assume there is no DAC that can process this data format directely. I need an MP3/MP4 decoder for this.
(Usually this is done in the PC, too)

Klaus
 

i have attached picture to illustrate what i want to do? I want to listen to music from PC on the headset/headphone or record from headphone mic input in PC. how can I do this, which microcontroller can be used and any other things(IC,DAC etc) I need to add/know about. I am thinking of pic18F4550 for microcontroller. will it work?

thanks

illustrate.jpg
 
Last edited:

There are better and worse options. The ideal choice in my opinion would obviously be a microcontroller with enough capacity of RAM in order to buffer the data received in a FIFO array, such as the ARM or any other which has abundant external volatile memory, since your system must to be previously loaded before playing the music, in case the PC data upload rate is not synchronized with the sampling rate - which is the expected scenario.
 

Hi,

the picture doesn´t say what/how you want to switch audio sources...

Klaus
 

Let's forget about the switching the audio sources for the moment, i would be happy to receive any good advice for the simple diagram above first. what microcontroller, ARM is high end, i think there are other easier microcontrollers that can do the job. i will attach the picture with audio sources later. but i think it is not hard to imagine different audio/music sources that is connected to micro which switches them. For example audio sources from cell phones connected to system via another usb or bluetooth
 

Hi,

Still unclear what you want to achieve.
Why a microcontroller at all? Why not simple USB - audio?

The same questions like in post#4..

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top