Shop OBEX P1 Docs P2 Docs Learn Events
rctime issuse — Parallax Forums

rctime issuse

krustykrusty Posts: 3
edited 2006-01-19 00:08 in BASIC Stamp
my project has a problem....

i am trying to read values from the lm35 temp sensor, a humidity sensor cap and an ldr, then display the results on the·velleman lcd (at least that works!!)

i am using a·stamp bs2, connected to the components via·the RCTime·idea, with 1k resistors and 0.1uf caps··(tried both ways round vcc + vdd) and i dont get any steady readings.shakehead.gif
example of humidity sensor using debug screen (same as on lcd..)
cycle 1 = 7668
cycle 2 =·7383
cycle 3 = 6951 etc etc etc.....

any experts care to share a little knowledge?

best regards

krusty

Comments

  • NewzedNewzed Posts: 2,503
    edited 2006-01-18 22:38
    What kind of readings are you getting on the LM35?· Are they stable?

    Sid
  • krustykrusty Posts: 3
    edited 2006-01-18 22:52
    mmm how is it best configured for your mind? capacitor on vcc or vdd?

    br
    krusty
  • NewzedNewzed Posts: 2,503
    edited 2006-01-18 23:10
    If the above post was for me, the LM35 should have a 1K resistor in series with the sensing lead and a .1uf bypass on the ADC pin that is reading the LM35.
  • krustykrusty Posts: 3
    edited 2006-01-18 23:52
    @newzed

    TEMP IS READING 202 - 209 with cap on data and gnd pins.

    humidity is giving readings of 5183 upto 7916.

    these readings were taken over 30 seconds

    the LDR also has a wide variation of readings, but this isnt a problem.
  • NewzedNewzed Posts: 2,503
    edited 2006-01-19 00:08
    What ADC are you using?· How many bits?

    Sid
Sign In or Register to comment.