Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/04/08 08:04
Read: times


 
#151855 - The principles remain the same
Responding to: ???'s previous message
Ben Antonio said:
How can this be done with an 8051?


The principles remain pretty much the same irrespective of what particular microcontroller you use - PIC, 8051, ARM, or whatever!

Your basic requirements are, I think:

  • A time-base to give you your 1s reference;
  • A counter to count up the seconds;
  • A switch input;
  • Something to drive the display.

    To see what features a particular chip has to facilitate these, you need to look at its Datasheet;
    For common features to the 8051 architecture, refer to the so-called "bible" for the 8051:

    Chapter 1 - 80C51 Family Architecture:
    http://www.nxp.com/acrobat_d...ARCH_1.pdf

    Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set:
    http://www.nxp.com/acrobat_d...UIDE_1.pdf

    Chapter 3 - 80C51 Family Hardware Description:
    http://www.nxp.com/acrobat_d...WARE_1.pdf

    There are Tutorials on using the 8051 architecture here:
    http://www.8052.com/tutorial.phtml

    No doubt similar resources are available for other microcontroller families...

  • List of 23 messages in thread
    TopicAuthorDate
    Basic Microcontroller Timer            01/01/70 00:00      
       Very Posible            01/01/70 00:00      
          Basic timer            01/01/70 00:00      
             Basic timer            01/01/70 00:00      
                Basi Timer            01/01/70 00:00      
             I would discourage using a watch battery ...            01/01/70 00:00      
                Basic Timer            01/01/70 00:00      
                   step by step, first steps            01/01/70 00:00      
                   good advice, wrong address            01/01/70 00:00      
                      There are 7-segment LCD's            01/01/70 00:00      
                         no surprise, just a memory jolt            01/01/70 00:00      
                            Basic Timer            01/01/70 00:00      
                               PIC            01/01/70 00:00      
                                  Sorry!            01/01/70 00:00      
                                     table lookup, multiplexing            01/01/70 00:00      
                                     The principles remain the same            01/01/70 00:00      
             You need to learn about specifications            01/01/70 00:00      
          Did Ben ever say what power?            01/01/70 00:00      
             No, but            01/01/70 00:00      
                ?            01/01/70 00:00      
                   Timewarp!            01/01/70 00:00      
          No to point to the competition            01/01/70 00:00      

    Back to Subject List