This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 simple counter - Help

The weak sign from the sensor need to be amplified and counted by 8051 counter, then displayed on LED. How would I do this?
I would appriciate it if someone can display the code in order for me to program my at89s52.

Thank You for your help,
J.Bradshaw

Parents
  • As ever, the approach is to break the project down into smaller, simple parts:

    "The weak sign from the sensor"

    I presume you mean "signal"?

    "need to be amplified"

    Part 1: design an amplifier.
    Sites such as Analogue Devices, National Semoconductor, Texas Instruments, et al have a wealth of information on sensor signal conditioning.

    "counted by 8051 counter"

    Part 2: design a counter
    You need to decide how your 8051 will recognise the sensor "events" (interrupt? polling? other?), and then just count 'em

    "then displayed on LED"

    Part 3: design an LED display

Reply
  • As ever, the approach is to break the project down into smaller, simple parts:

    "The weak sign from the sensor"

    I presume you mean "signal"?

    "need to be amplified"

    Part 1: design an amplifier.
    Sites such as Analogue Devices, National Semoconductor, Texas Instruments, et al have a wealth of information on sensor signal conditioning.

    "counted by 8051 counter"

    Part 2: design a counter
    You need to decide how your 8051 will recognise the sensor "events" (interrupt? polling? other?), and then just count 'em

    "then displayed on LED"

    Part 3: design an LED display

Children