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
You are here: Home / Replies / with timer in 16 bit mode u

with timer in 16 bit mode u

|

Microcontroller › 8051 › CALCULATE 1 SECOND DELAY IN 8051 › with timer in 16 bit mode u

June 28, 2015 at 12:05 pm #13017
Ashutosh Bhatt
Participant

with timer in 16 bit mode u can generate max delay of 65 ms aprox. 

so u need loop to repeat the process

you set timer to count 50000 to generate delay of 50 ms

then just rotate it for 20 times in for loop so u get 20×50 = 1000 ms = 1 sec

RSS Recent Posts

  • Neon Transformers for sale August 9, 2022
  • Can I use an SPDT 5 wire Relay in reverse? August 9, 2022
  • Add a low power indicator LED August 9, 2022
  • LTSpice DC-AC August 9, 2022
  • Is there a discord for this forum? August 9, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

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