CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

MCU suggestion

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
BensMicro
Guest







MCU suggestion
PostPosted: Wed Apr 25, 2007 9:48 am     Reply with quote

Good afternoon.

I need one suggestion about my PCB design.
I need to work with microphone and buzzer, and beside this i need to make the RTC. What kind of MCU would you suggest ?

Im looking for some cheap and trusted/tested MCU.

Ben
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 25, 2007 11:38 am     Reply with quote

16F628 or 16F88.
octal



Joined: 15 Jan 2007
Posts: 39

View user's profile Send private message Visit poster's website

PostPosted: Wed Apr 25, 2007 3:08 pm     Reply with quote

for the same price you can have the 18F1320 with more memory and more devices and more speed Smile
_________________
http://www.pocketmt.com the GLCD Font Creator home Smile
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Apr 26, 2007 2:42 am     Reply with quote

Quote:
I need to work with microphone and buzzer, and beside this i need to make the RTC.
What is your application supposed to do with the microphone and buzzer? For example if you are going to implement an MP3 player with voice recognition it would be a very different processor from the type used in a simple alarm clock.
BensMicro
Guest







PostPosted: Thu Apr 26, 2007 3:55 am     Reply with quote

The app is used for detecting when the user has start to talk and when he has ended the conversation and the timer is counting conversation time....
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Apr 26, 2007 6:44 am     Reply with quote

How are you going to detect if 'speech' is present? I recommend you to do this with an analog electronic filter as this is the easiest solution. The alternative would be to digitize the signal from the microphone and do some frequency analysis in software, but this requires a much more powerful processor.

Assuming you do the speech detection by an analog circuit than the required processor could be any simple 8 bit processor with about 4kb program memory. Popular processor families are the 8051, Microchip PIC and Atmel AVR.

The 8051 is a good processor but not very popular anymore in new designs. I don't know why.
The PIC and AVR processors are very similar in capabilities and price setting. In my opinion the AVR is slightly easier to learn and gives a fractional higher performance at the same clockrate. The differences are small but once you decide for a processor platform it will be difficult to switch as the price of development platform is expensive and learning curve is high.

For the Atmel AVR processors there is the free open source GCC compiler available. Microchip provides a free compiler version for the PIC (it's called Student version but is full featured except for code optimization).

If you decide on the PIC processor then I suggest to go for the PIC18 series as these chips are more powerfull at almost equal prices to the PIC16. Note that the PIC16 and PIC18 require different compilers and you don't want to buy a new compiler for your next project.
Guest








PostPosted: Fri Apr 27, 2007 3:11 am     Reply with quote

Quote:
analog electronic filter

Can you suggest which model would you use ?

I will take the PIC18 series.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group