Searching \ for '16C84 application questions' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16C
Search entire site for: '16C84 application questions'.

Truncated match.
PICList Thread
'16C84 application questions'
1995\02\16@022155 by Andrew Warren

face
flavicon
face
Harrison Cooper (spam_OUThcooperTakeThisOuTspamdax.sim.es.com) wrote:

>I need to count pulses from one pin, and then calculate the pulses per
>second.  I'll use the AC zero crossing to increment one counter, then
>every sixty/fifty counts read the other counter to get a pulse per
second count.
{Quote hidden}

Harrison:

Yes, the PIC can handle this without even breaking a sweat.  In fact, if
you used an external EEPROM, you could do it with a 16C54.

I assume that the whole point of this thing is to measure the speed of
an AC motor in order to determine how much torque it's generating
(perhaps against an obstacle).  Am I close?

I've been trying for a long time to figure out what it is that separates
hardcode real-time embedded-systems programmers from all those wimps who
write code for desktop machines, and your question #3 seems to be a
perfect example:

98% of programmers would try to find those 10%, 15%, and 20% speeds by
doing a division, and would waste their time and the microprocessor's
doing it.

The 2% of us who do small-microcontroller programming for a living would
probably avoid the division altogether, by just seeing whether it took
67, 71, or 75 seconds to count the number of pulses that originally took
only 60 seconds.

-Andy


--
Andrew Warren - .....fastfwdKILLspamspam@spam@ix.netcom.com
Fast Forward Engineering, Vista, California

More... (looser matching)
- Last day of these posts
- In 1995 , 1996 only
- Today
- New search...