EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / counter interrupt programming

counter interrupt programming

|

Microcontroller › 8051 › counter interrupt programming

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 1 month ago by AJISH ALFRED.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 13, 2013 at 4:23 pm #2401
    Tejminder kaur
    Participant

    hello

    i am using p89v51rd2 controller to calculate rpm of motor using gear tooth sensor.

    output of sensor is in pulses and is act as interrupt input to microcontroller .

    can you please guide in programming of this.

     

    May 14, 2013 at 4:25 am #9740
    AJISH ALFRED
    Participant

    Hi Tejminder,

    Configure any counter in the ‘event counting mode’ which can count the pulses. Use another counter which can fire after 1second and when it does it will output the evnt counter value. Now multiply tha value with 60 and you will get the RPM.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Why can't I breadboard this oscillator? June 15, 2025
  • Failure of polypropylene motor-run capacitors June 14, 2025
  • a point I can't understand about the sinc expression June 14, 2025
  • Quick advice on remote car starter? June 14, 2025
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz June 14, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise