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 / 8051 Timer as a Counter

8051 Timer as a Counter

|

Microcontroller › 8051 › 8051 Timer as a Counter

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 9 months ago by Osama Mohammed.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 19, 2014 at 10:04 pm #3050
    Osama Mohammed
    Participant

    I want to ask you a question about using Timer as a counter for external events ..

     

    Does the counter increases if the feeding signals is a high to low pulse ? ,or it must be a low to high pulses ? 

     

    I am currently using 89C51 

    April 22, 2014 at 9:42 pm #11616
    Osama Mohammed
    Participant

    Please help guys 

    April 23, 2014 at 12:27 pm #11619
    Sunil Hiremath
    Participant

     

    Hi osama,

     

    Yes. If you are using Timer as a counter, it starts counting external events as the pulses it gets through its corresponding input pin. You can count the pulses.

    April 23, 2014 at 9:57 pm #11622
    Osama Mohammed
    Participant

    Yeah but in my circuit i am using a 555 timer ,and the output of the 555 timer is a high to low pulse , and I want to count these pulses ,but I am not sure if the 8051 counter increase with high to low pulses ,

    April 25, 2014 at 4:41 pm #11632
    Ashutosh Bhatt
    Participant

    counter can increase on any edge transition. if you want low to high transition from IC555 use transistor at the output

    May 3, 2014 at 5:20 pm #11673
    Osama Mohammed
    Participant

    I didn’t get it

    how could I use a transistor

    could you please expalin to me  

    May 3, 2014 at 5:28 pm #11674
    Ashutosh Bhatt
    Participant

    you can give trigger to counter directly by IC555. if your counter does not count then there is a problem in your program. or in your hardware circuit

     

     

    May 3, 2014 at 5:39 pm #11676
    Osama Mohammed
    Participant

    Okay it works well in Proteus ,I just wanted to make sure before implement my circuit 

     

     

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

RSS Recent Posts

  • RC Electronic Speed Control Capacitors February 11, 2026
  • CR2/CR123A Batteries In Projects February 11, 2026
  • Variable audio oscillator February 11, 2026
  • XLR splitter to mono. February 11, 2026
  • To couple or decouple February 10, 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