The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: email@example.com (Grahame Olney)
Subject: Re: Which Microcontroller to use?
X-Newsreader: Forte Free Agent 1.21/32.243
Date: Thu, 19 Sep 2002 19:39:10 GMT
NNTP-Posting-Date: Thu, 19 Sep 2002 12:39:10 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
> Derek Agar wrote:
> I am an EE student involved in a Senior Design class.
An 8051 with the PCA will handle all your needs and simplify your
programming. I'd use assembly language - C will just waste your time
on syntax issues and annoying compilation problems. As a student, you
can justify not knowing assembly but the guru designers require it. C
programmers of microcontrollers do most of the unchallenging work.
The PCA (programmable counter array) is only in some 8051 models; many
chip manufacturers have dropped it from their chip because too few
microcontroller circuit designers are not smart enough to understand
it. Philips and Atmel make fine PCA versions.
It will generate your Khz outputs automatically... simply choose an
appropriate crystal, then load the counters for the frequency you
require. Then use one bit to turn it on and off as needed. Big Wow!
The PCA will also time your input. It can be programmed to count and
generate an interrupt with a captured counter value on any signal
edge. I'd recommend letting that counter free-run and do the math on
the captured counts to deal with wrap-around issues (the math is
You can use the other PCA channels for your PWM motor control.
Your project merely becomes the challenge to configure the 8051 and at
runtime, its merely turn this on and turn that off logic. Very
simple... maybe 2 or 3 pages of assembly language.
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup