Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Mic -> microcontroller -> speaker

Status
Not open for further replies.

adiaa84

Newbie level 2
Joined
Aug 14, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
microcontroller speaker

I am a newbie in microcontrollers.
I want to know how to interface a MIC and a speaker to a dspic microcontroller
 

vandelay

Advanced Member level 4
Joined
Aug 16, 2007
Messages
119
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Location
Norway
Activity points
2,351
mic microcontroller

MIC->opamps->16-bit ADC->dsPIC->16-bit DAC->opamps->speaker amp->speaker

You should probably use a dsPIC33 with DMA, as it will save alot of resources in such an application.
 

adiaa84

Newbie level 2
Joined
Aug 14, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
microcontroller+speaker

for the ADC and the DAC, can i use 12-bit instead of 16-bit
 

vandelay

Advanced Member level 4
Joined
Aug 16, 2007
Messages
119
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Location
Norway
Activity points
2,351
speaker interface microcontroller

I don't know your sound quality requirements but 12 bits sounds like an awfully low resolution for audio.. Just remember to use a chip with DMA (not all dsPIC33 has it), or else your chip will be busy just moving the digital data, and you will have no free resources for signal processing.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top