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

Assembly Codes for frequency Measurement

Hi friends,
I need an assembly language program to test my frequency generator LM331 ,I have written program but cant make it
work ,I need to measure freq from 5khz
to 50khz Please if anyone could help me with hex codes and or assembly codes.

thanks in advance

rakesh

Parents
  • hi mark,
    I have no schematics infact I have made the similar circuit as stated in the
    data sheet of lm331 .pin 3 is freq out
    and pin 7 is voltage in ,the freq varies from around 5khz to 70Khz which is my desired range of interest.I am using timer0 that is pin-13 of 89c51 to
    measure freq input and trying to glow
    7 leds tied to port 1 to see the results
    ie
    p0.0-----glows at freq below 5.9KHZ
    p1.0-----glows at 5.9KHZ
    p1.1-----glows at 8.7KHZ
    p1.2-----glows at 10.2KHZ
    p1.3-----glows at 11.2KHZ
    p1.4-----glows at 15.00KHZ
    p1.5-----glows at 19.5KHZ
    p1.6-----glows at 30KHZ
    p1.7-----glows at above 30KHZ
    This is a college project for Voltage range indicator. I shall be obliged if helped.
    Thanks
    rakesh

Reply
  • hi mark,
    I have no schematics infact I have made the similar circuit as stated in the
    data sheet of lm331 .pin 3 is freq out
    and pin 7 is voltage in ,the freq varies from around 5khz to 70Khz which is my desired range of interest.I am using timer0 that is pin-13 of 89c51 to
    measure freq input and trying to glow
    7 leds tied to port 1 to see the results
    ie
    p0.0-----glows at freq below 5.9KHZ
    p1.0-----glows at 5.9KHZ
    p1.1-----glows at 8.7KHZ
    p1.2-----glows at 10.2KHZ
    p1.3-----glows at 11.2KHZ
    p1.4-----glows at 15.00KHZ
    p1.5-----glows at 19.5KHZ
    p1.6-----glows at 30KHZ
    p1.7-----glows at above 30KHZ
    This is a college project for Voltage range indicator. I shall be obliged if helped.
    Thanks
    rakesh

Children
No data