Menu

ADC on 16F15323 doesn't work

Help
Frank
2017-12-05
2018-01-21
<< < 1 2 3 (Page 3 of 3)
  • Frank

    Frank - 2017-12-09

    Hi to all,

    now the code I posted in my first entry works as expected! :-) I get stable values from 2-1023!
    (Why from 2 ??? - but I can live with that)

    MANY THANKS TO ALL OF YOU!!

    (...and now for something completely different - I have seen that this chip has an internal temperature sensor that can be read with the AD. Did anybody know how I can do this???)

     
    • Anobium

      Anobium - 2017-12-09

      Excellent.

      Create a new post re the temp sensor please.

       
  • Frank

    Frank - 2017-12-11

    Just out of interest: Why do I get values of 2... 1023 with the AD and get values of 0... 1023 with PBP3? Is it possible that there are still problems with the AD or is it normal?

     
    • Anobium

      Anobium - 2017-12-11

      No issue with the library. I get 0 to 1023 here on the Great Cow BASIC board.

      Check 0v/grounding. Check all connections. I will let others go into the details of this.

       
  • Frank

    Frank - 2017-12-11

    Ok, I soldered my input directly to GND and tried another chip => 0
    Then I soldered my Poti again => values from 0 to 1019.
    Then I tried a 3rd not yet used chip: 2..1023. Same as the first chip...

    The values are all very stable!

    Is that normal?

     
<< < 1 2 3 (Page 3 of 3)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.