spirometer

Discussion in 'Programmer's Corner' started by hvc123, Oct 2, 2012.

  1. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    i m making the spirometer using ir led & sensor... a fan is in between them.. when a person blow to the fan... it will rotate nd there will be change in ir sensir output... when the flap of the fan cuts the ir ray there is pulse genrated on output side... now i have to count this pulses using 89c51 microcontroller and display it on lcd...
    i m ready with my sensor part... pls help me with controller part... about circuit, interfacing with lcd nd programing....
     
  2. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    help me...
     
  3. wayneh

    Expert

    Sep 9, 2010
    12,139
    3,054
    If it was me, I'd use a bicycle computer. Cheap and built just for this type of thing, with lots of ready-made features.
     
  4. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    Since you have the sensor part, it looks like this you are looking for uC and LCD interface and programming. Maybe the forum moderators will move this to the appropriate forum...Embedded Systems and Microcontrollers.

    Ken
     
  5. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    how can i get bicycle computer?? what is it?
     
  6. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    is freq to voltage converter is usefull after sensor part??
    pls reply me
     
  7. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    There should not be a need for an external frequency to voltage converter. You can do the frequency-to-flow rate conversion in software.

    Ken
     
  8. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    in which software?
     
  9. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    2,574
    230
    You said you were using a 89c51 microcontroller. Do you not know how to program it? I can't help you with that. Maybe you can explain what you have for resources and your knowledge level.

    Ken
     
  10. hvc123

    Thread Starter New Member

    Aug 2, 2012
    21
    0
    freq to flow rate conversion can not done by 89c51... i dnt knw whwt to do... :(
     
  11. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,347
  12. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    why cant it be done?