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 / Delay program

Delay program

|

Microcontroller › 8051 › Delay program

  • This topic has 8 replies, 4 voices, and was last updated 14 years, 9 months ago by Kunal.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 10, 2011 at 5:08 am #919
    Kunal
    Participant

    Hello,

    Will u please help me to make 10 min dealy programing for 8051??

    and if there is any possiblity to make 10 min delay? if yes then help me to make code for that….

    May 10, 2011 at 6:17 am #6131
    dagakshay
    Participant

    do you know how to make 1 second delay???

     

     

    for (j=0;j<10;j++)     // this loop wil provide you 10 min delay

      {

       for(i=0;i<60;i++)     // it will porvide you 1 min delay

         // make a dealy for 1 sec (write its code);

      }

    May 10, 2011 at 7:39 am #6133
    Kunal
    Participant

    thanx for reply but i really want programing in asm language.. so please suggest me in asm format,

    thank you very much..

     

    May 10, 2011 at 6:25 pm #6140
    SaLMAN Ahmed Khan
    Participant

    MOV TMOD,#10

     

    REPT:MOV RO,#28

     

    BACK:MOV TL1,#0

                MOV TH1,#0

                SETB TR1

     

    AGAIN: JNB TF1,AGAIN

                  CLR TR1

                  CLR TF1

                   DJNZ RO,BACK

                 SJMP REPT

     

     

     

     

    THIS WILL BEFORE UC HAVING 22 MHZ FREQUENCY…. U CAN INCREASE THE NUMBER OF REPITION AT REG R0, OT GET UR DESIRED DELAY  

     

                

    May 11, 2011 at 10:12 am #6149
    Kunal
    Participant

    Thank you very very much for your response. smiley

     

    I want to ask you can we make delay for 1hour in programing????

     

    And if possible then would you help me to make it ?

     

     

    May 11, 2011 at 2:14 pm #6151
    romel emperado
    Participant

    I suggest you to make use of timer interrupt instead of using big loops if you want a delay of 1 hour

    May 11, 2011 at 7:23 pm #6162
    SaLMAN Ahmed Khan
    Participant

    yes i agree romel with you 

    May 13, 2011 at 12:24 am #6175
    romel emperado
    Participant

    just search some tut in the net about timer interrupt. im sure you’ll fine some/..

    May 13, 2011 at 5:28 am #6180
    Kunal
    Participant

    Okay my friend thanx a lot for ur kind help..smiley

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

RSS Recent Posts

  • Harman Kardon radio module BMW noise February 16, 2026
  • Arduino standalone minimal February 16, 2026
  • analog logic of shmidt trigger bjt circuit February 16, 2026
  • CR2/CR123A Batteries In Projects February 16, 2026
  • Math problem February 15, 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