Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 7th July 2008, 04:23 AM   (permalink)
Default measuring microcontroller perfomance

Hi, i would like to know how to choose a microcontroller , i've tried the 89S52 (8051) , avr , pic , but how do i know if my 89S52 wont handle a task like reading encoders , reading 8 digital sensors and do a line following algorithm then do some PID calculations using floats ..etc ? how to know if my mcu can handle this and if it cant ?
ahmedragia21 is offline  
Old 7th July 2008, 09:52 AM   (permalink)
Default

Most will do most jobs, it's more a question of how well, or how badly, you write the program - and of course choosing devices with the hardware you need.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 7th July 2008, 05:36 PM   (permalink)
Default

A significant factor is the time you have to do the task. If the amount of time to do the task is not critical then just about any uC will likely work. Of course some have more built in functions and/or more I/O pins then others, which affects the number of periphial chips you need.

If time is important then you could write the program or make an estimate of it's length and then calculate the time it takes to do the tasks based upon the time it takes to perform each program command for a particular uC. That's generally a function of the clock speed and the number of clock cycles required per instruction. Obviously a somewhat tedious task but I don't know of any shortcuts.
__________________
Carl
crutschow is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
HOW TO INTERFACE A MICROCONTROLLER TO PIC17C44 microcontroller alsa7er Micro Controllers 2 4th February 2008 08:43 PM
how to interface a ADC 0809 TO MICROCONTROLLER AND THEN MICROCONTROLLER TO DECODER praneeth22 Micro Controllers 1 9th March 2007 07:20 PM
Measuring ScuzZ General Electronics Chat 29 31st December 2006 04:35 PM
measuring 12V or 24V fan RPM using pic16f84 GraveYard_Killer Micro Controllers 6 29th August 2004 10:55 PM
Signal Level Measuring using Microcontroller ruwan Micro Controllers 1 25th July 2003 02:29 PM



All times are GMT. The time now is 08:51 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker