'16C84 application questions'
|Harrison Cooper (dax.sim.es.com) wrote: hcooper
>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
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
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
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.
Andrew Warren - ix.netcom.comfastfwd
Fast Forward Engineering, Vista, California
More... (looser matching)
- Last day of these posts
- In 1995
, 1996 only
- New search...