engineerpervez1
Member level 5
- Joined
- Dec 26, 2010
- Messages
- 84
- Helped
- 15
- Reputation
- 30
- Reaction score
- 14
- Trophy points
- 1,288
- Location
- Lahore Pakistan
- Activity points
- 1,844
I want to measure the RPM of a simple squirrel cage induction motor running at 1500 RPM max.
is ATMEGA8 running at 8MHz can cope such a high speed pulses.
my idea is one timer1 working as 16 bit counting the pulses.
the other timer0 working as "time gate" to ovulate the captured pulses the. timer0 is working 10 ms, 100ms or 1 ses.
period of time which is possible..
These are all my ideas, but i need some practical example code.
another idea is using some pre-scaler to make input pulses train frequency lower.
is ATMEGA8 running at 8MHz can cope such a high speed pulses.
my idea is one timer1 working as 16 bit counting the pulses.
the other timer0 working as "time gate" to ovulate the captured pulses the. timer0 is working 10 ms, 100ms or 1 ses.
period of time which is possible..
These are all my ideas, but i need some practical example code.
another idea is using some pre-scaler to make input pulses train frequency lower.