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 / external interrupt interval

external interrupt interval

|

Microcontroller › 8051 › external interrupt interval

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 8 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 10, 2012 at 6:36 am #1908
    imran mahmood
    Participant

    how many times external interrput can be executed in 1 second,infact i made cloth measuring meter using wheels and sensor.it works fine at 1000 pulses/min but when i give it  2000 pulses/min it does not show actual value,it seems hardly can count 1200 pulses /min.i am using 12 mhz crystal

     

    i am using external interrupt ,can someone tell me the frequency of exteral interrpt in 1 second or solution for my problem

    August 10, 2012 at 6:18 pm #8440
    AJISH ALFRED
    Participant

    I think, it depents on how long your ISR takes to finish executing.

    At 2000 pulses per second, may be you are generating the next interrupt before the previous interrupt’s ISR returns.

    August 11, 2012 at 6:33 am #8444
    imran mahmood
    Participant

    I AM USING 2000 PULSES PER MINUTE NOT PER SECOND.MY MECHNICAL WHEEL GIVE 10 PULSES AFTER 1 METER CLOTH PASSED.I WANT A SPEED 200 METER PER MINUTE.CAN I DO IT WITH EXTERNAL INTERRUPT?

    August 13, 2012 at 4:26 pm #8451
    AJISH ALFRED
    Participant

    Thats more than 30 pulse per second. Which controller are you using?

    What all things are you doing in the ISR? If possible, share the code in your interrupt ISR.

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

RSS Recent Posts

  • Beginner Questions About CNC Machines – G-code, Control Systems & Accuracy April 21, 2026
  • S1MJ ? April 20, 2026
  • timing delay code statements using Swordfish April 20, 2026
  • Selection Criteria and Safe Usage of Cable Ties in Electronics Applications April 20, 2026
  • properly producing TDR on PNA network analyzer N5224B April 20, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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