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 / Re: Project MC012 – Problems with code

Re: Project MC012 – Problems with code

|

Microcontroller › 8051 › Re: Project MC012 – Problems with code

  • This topic has 36 replies, 5 voices, and was last updated 14 years, 8 months ago by dagakshay.
Viewing 7 posts - 31 through 37 (of 37 total)
← 1 2 3
  • Author
    Posts
  • March 14, 2011 at 9:01 am #5741
    G Thomas
    Participant

    just a quick question?

    how to modify the present code to display “sec””milisec””milisec”‘milisec” ?

    March 14, 2011 at 9:49 am #5743
    dagakshay
    Participant

    i don’t know about the present code but here i am writing some of the points which might be helpful for you:

    1) use timer0, it is a 16 bit counter….
    2) as the counter value increases by 1 it counts 1.085us (crystal is 11.0592 MHz)…

    1000 micro second will make one mili second….

    all d bst… 

    March 14, 2011 at 9:51 am #5744
    G Thomas
    Participant

    thnx!

    May 18, 2011 at 11:56 am #6272
    Maier Mihai
    Participant

    hey guys,

    i use kiel compiler to obtain a hex code.

    but i wanna be sure about one thing. in the kiel program, when i convert c  in hex code, ( this is the adress in program  “Project/ Option for Target ‘Target one’/ Xtal (MHz)”) the default value for Xtal is 24 Mhz. In the schematic we use a 12 Mhz crystal. I must to change this value  to 12 Mhz, or just leave it at 24 Mhz?

    thanks!

    May 18, 2011 at 12:04 pm #6273
    Maier Mihai
    Participant

    wysiwyg_imageupload:1083:

    June 6, 2011 at 3:30 pm #6325
    Maier Mihai
    Participant

     I made this project, and is true….it jump aprox one second.

    June 16, 2011 at 6:14 am #6348
    dagakshay
    Participant

    hello Mihal,

    i didnt understood yur point… 

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

RSS Recent Posts

  • CR2/CR123A Batteries In Projects February 14, 2026
  • Integrating 0–5V ECU Signals into a Double-DIN Setup – Module vs Custom Head Unit? February 14, 2026
  • Puzzled about a relay February 13, 2026
  • Switch Circut February 13, 2026
  • RC Electronic Speed Control Capacitors February 13, 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