1. You can now buy finished microcontroller project from us, Check out the Store for the complete list of projects.
  2. Need a custom project, Send us some details about your project. So that we can quote the price for it.

Automatic Room light Controller with Visitor Counter (AT89S52)

Discussion in 'Doubts in My Projects' started by Binu, Jun 2, 2007.

  1. roshani_anj

    roshani_anj New Member

    Likes Received:
    0
    Trophy Points:
    0
    Sir. I want to do project on 'Automatic room light contoller with visitor counter'. But the circuit is not clearly visible to me. So can u send me clear circuit?

    r.d.anjariya
  2. Binu

    Binu Administrator

    Likes Received:
    138
    Trophy Points:
    63
  3. pravvish

    pravvish New Member

    Likes Received:
    0
    Trophy Points:
    0
    sir, i am a beginner .. i would like to know how this counter works ? also why there are two sensors. and also on how to program the ic ?


    PRAVVISH
  4. Binu

    Binu Administrator

    Likes Received:
    138
    Trophy Points:
    63
    There are 2 sensors, one for up counting and other for down counting.
    To program the IC you need a microcontroller programming kit. please visit our kits page for more details.

    J.Binu
    Click here to get free blog
  5. msmuneer

    msmuneer New Member

    Likes Received:
    0
    Trophy Points:
    0
    hello,
    i am really confuse in the connection of 7 segment display with the microcontroller. please help me. i mean to say 'a' of 7segment is connected to which pin of microcontroller etc
  6. msmuneer

    msmuneer New Member

    Likes Received:
    0
    Trophy Points:
    0
    I cannot understand the purpose of using DS 1 in the coding. i cannot find about it in any book. can you tell me any web from which i can learn concept of ds in assembly.
  7. Binu

    Binu Administrator

    Likes Received:
    138
    Trophy Points:
    63
    DS Directive

    The DS Directive is used to reserve space in the currently
    selected segment in byte units. It can only be used when ISEG,
    DSEG or XSEG are the currently active segments. The location
    counter of the segment is advanced by the value of the directive.
    Care should be taken to ensure that the location counter does not
    advance beyond the limit of the segment.

    The format for the DS Directive is: optional label, followed by
    one or more spaces or tabs, followed by DS, followed by one or
    more spaces or tabs, followed by a number, arithmetic expression,
    or previously defined symbol (no forward references allowed),
    followed by an optional comment.

    Below is an example of using the DS Directive in the internal
    Data Segment. If, for example, the Data Segment location counter
    contained 48 decimal before the example below, it would contain
    104 decimal after processing the example.

    DSEG ;Select the data segment
    DS 32 ;Label is optional
    SP_BUFFER: DS 16 ;Reserve a buffer for the serial port
    IO_BUFFER: DS 8 ;Reserve a buffer for the I/O


    Taken from the 8051 Assembler mannual from metalink assembler.

    J.Binu
    Click here to get free 8051 Codes
  8. msmuneer

    msmuneer New Member

    Likes Received:
    0
    Trophy Points:
    0
    hello,
    sir what is the purpose of using reg_51.pdf file as a header in coding. and u havent define the connection of 7segment. please mark a b c d e f g connection on the coding.
  9. msmuneer

    msmuneer New Member

    Likes Received:
    0
    Trophy Points:
    0
    .hello,
    sir i cannot open the file reg_51.pdf because adobe reader is giving error that it is either not supported or file is damage.please give another link
  10. Binu

    Binu Administrator

    Likes Received:
    138
    Trophy Points:
    63
Loading...

Share This Page

Loading...