Skip to main content

Timeline for Beginner A to D Converter

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Mar 18, 2014 at 18:35 comment added Andy aka I'm not a code man but if you post the circuit how you connect signals into the PIC (aka bluetooth thing) then I might be able to tell you why there are discrepancies and non-linearities.
Mar 18, 2014 at 18:31 comment added user3385015 It is 2160 at 2 volts or relatively close. At 3.3 volts it maxes out 003 255. Any higher and it repeats the same thing. Should I post my code?
Mar 18, 2014 at 18:21 comment added Andy aka @user3385015 - the numbers don't stack up dude. Lets say 1V = 1080 (averaged), then I'd expect 2V to be 2160 but it looks a tad light on the numbers. I can't explain why. It's just an observation that things aint what they should be either numerically or linearly. The "range" of numbers for 1V represents maybe +/-1% is also a little high so I guess you should check how you feed volts into the ADC.
Mar 18, 2014 at 18:15 comment added user3385015 I use docklight to receive my results. I get two results for each voltage reading. My impression is the first set of digits is the ADRESH and the second set of digits is ADRESL. For example, when my input voltage was 1 volt. On docklight, I saw the result, 001 090 or 001 073 or 001 078 or 001 086. When I set it to 2 volts. The output was 002 133 or 002 145 or 002 156 etc.
Mar 17, 2014 at 22:28 comment added Scott Seidman Could be a left-justified 10 bit
Mar 17, 2014 at 21:48 history edited Andy aka CC BY-SA 3.0
added 24 characters in body
Mar 17, 2014 at 20:49 history answered Andy aka CC BY-SA 3.0