Just getting into the microcontroler stuff. Really cool. I have a project that involves a BS2 and a LTC1298 Analog to digital converter. I got it working but the values coming out are almost unusable. The ADC has 2 channels. They should range from 0 to 4095. When I give an input voltage between 0 and 5 volts I get something like 1740 but the number will jump +/- 20 to 30. Is this normal?
And I'm using it in two-channel mode and not as a differential. Differential is a real mess[noparse]:)[/noparse]
As I do not have an oscilliscope I thought it was my sensor. But then I used a battery and resisters to cut down the voltage to something like 4.7v and it was still all over the place.
Also, channel 0 will not zero out. when connected to ground it should read 1 or 0. Currently it will vary depending on reset from 200 to 800 when grounded. Channel 1 will go to 0 or 1 when connected to ground and 4095 when 5 V. But yes channel 1 is just a jumpy.
Do you think it is a bad ADC or maybe the type in general is twitchy? Should I try the 8-bit? Or can someone recommend a better one.
Also, for my project all I really need is one channel