I need to select the 8-bit microcontroller for Audio player. If I select one of the controllers, in which pins have to select for the Audio.
What kind of audio are you talking about?
I am talking about audio signal. The audio input signal which is coming from mike and in order to select the microcontroller and write the c programme for to get the audio output on the speakers.
The mic signal needs to be amplified so that the peak to peak amplitude is about 5V. It also needs to be biased at 2.5V. An opamp preamp can do this job. The AVR a/d converter can take readings fast enough for speech quality, but not fast enough for hi quality music. If you use a mega1284 AVR with 16K of ram, you can only catch about 2 seconds of speech! To play it back, you can use a pwm output into an RC lowpass filter, but then you need an amplifier like an LM386 to drive an 8 ohm speaker.
Imagecraft compiler user
Dumb question time......
Why do you need a micro controller to do this?:
The audio input signal which is coming from mike and in order to select the microcontroller and write the c programme for to get the audio output on the speakers
You do not ned a micro to get audio from a mic to the speakers. Connect the mike to an amplifiers input and the speaker(s) to it's output(s)
TaDa, no c programming required.
I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie
"The critical shortage here is not stuff, but time." - Johan Ekdahl
"Step N is required before you can do step N+1!" - ka7ehk
"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman
"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?" - Lee "theusch"
Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-) - Source Unknown
Please Read: Code-of-Conduct
Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user
Are you talking about digitization so the audio can be recorded digitally? If so what sample rate are you hoping for? (which is kind of what I was asking in the first place!).
we have a goal/skill ratio problem here.
?/0 = infinity
Ross McKenzie ValuSoft Melbourne Australia
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
+1 Internets to you dear sir...
Put your flame suits on ye naysayers. You are about to be taken to the woodshed Yet Again by Eric The Terrible. What part of Play Nice dont you guys understand?
One can do fun things with a DSP, like capturing samples and playing them backwards.
Leon Heller G1HSM
hcum pleh t'nseod sseleulc gnieb PO
I think that there is a serious mismatch between what microcontrollers are good at, and what this project attempts to do.
IMHO, what madhu needs is just an old fashioned "audio amplifier". Why?
1. Anything that a micro can output will need an amplifier, anyway, to drive a speaker.
2. The OP has not given any desired features that could really benefit from conversion to digital and back to analog, again. Such features MIGHT include recording, frequency emphasis, and such. But, all that was given was microphone in and loudspeaker out. In this simple case, there is nothing that benefits from digital conversion.
Until Black Lives Matter, we do not have "All Lives Matter"!
Nevertheless, up to now, the big bottleneck to using an AVR as an audio gizmo has been lack of ram. The RuggedCircuits 512K ram card for the mega arduino just about ends this problem.
Why bother with that when 16-bit dsPICs with plenty of RAM and a lot more performance are available. Here is an old design of mine intended for amateur radio applications:
I'm updating it with the newer 40 MIPS dsPIC33FJ128GP802 device - cheaper, smaller, and with a lot more RAM. It actually has a 12-bit ADC and a dual-channel 16-bit DAC, but I'm using a codec with it. It's available in 28-pin SDIP, which makes prototyping easy.
Why bother with that when 32-bit ARMs with plenty of RAM and a lot more performance are available.
Oh, wait, isn't this the AVR forum?
It's General Electronics!
dsPICs are easier to use than ARMs for this type of application, and will work out cheaper.
Here is a little single-sided board suitable for making at home that I've just designed:
Daughter boards with codecs, or microphone and speaker interfaces, can be plugged in to it.
Except Atmel doesnt make dspics, and you are just about to hit the ice that's Real Thin.
Can you come up with an easier and cheaper way to do audio processing?
Xmegas have 12 bit differential a/ds that run at pro sample rates and have dma, and they are made by Atmel, that for some reason still hasn't revoked your username for shilling for their competition. Knock it off and/or Get Lost.
In addition to the Xmega, I'm looking forward to getting my hands on the new Arduino DUE. It rocks an ATMEL SAM3U, an ARM Cortex M3 clocking in at 96MHz...
I actually have an audio project in the pipeline for it.
The Xmega lacks DSP capability, and doesn't have a 16-bit DAC. It also lacks a codec I/F.
You are just crusin for a brusin aren't you? Ever been to Yosemite with a big bag of marshmellows? Try it.
On this occasion I have to side with Leon - he's not promoting a competitor product that's in direct competition to the Atmel product line. AFAIK Atmel don't produce small DSP micros and you would want to use a DSP for a DSP-centric job.
They are unique devices. The only other small audio DSPs I know of are those from Wavefront:
and they are rather difficult to use (I couldn't get them to work, anyway). There is a warning about not using them for new designs, perhaps they have stopped making them. They have never been all that popular.
© 2021 Microchip Technology Inc.