Hi there!
I had ordered a sample of ADS7813 and tried to get work with an Arduino board. And my problem is i cant get out a better resolution than two decimal place. The first 10 bit seems ok, from MSB, but the last 6 bit is bouncing pell-mell. Here are some conversion results:
The first column values is in voltage the second columns values is the conversion result.
I bulid the circuit in a bread-board i used the same capacitors as in the datasheet i tried another input values and i got the same results.
here is my code in Arduino (same as C):
digitalWrite(CLOCK,LOW); digitalWrite(CONV,LOW);
Hi Robert,
Could you possibly post a schematic showing your connections to the ADS7813? The 'C' code is really not going to impact the last 6 LSBs toggling, that would be caused by you power, reference and/or the actual analog input circuitry.
Regards,
Tom
Here is the wiring diagram:
I used the USB power i dont use any adapter. I tried a battery in place of the potentiometer and i got a same result.
Best regards
Robert
Hi again,
So no one can help me?
Take a look over these articles:
Designing SAR ADC drive circuitry, Part I: A detailed look at SAR ADC operation. Analog Zone. Download at: http://www.analogzone.com/acqt0221.pdf
Designing SAR ADC drive circuitry, Part II: Input behavior of SAR ADCs. Analog Zone. Download at: http://www.analogzone.com/acqt1003.pdf
Designing SAR ADC drive circuitry, Part III: Designing the optimal input drive circuit for SAR ADCs. Analog Zone. Download at: http://www.analogzone.com/acqt0312.pdf
Hi Robert, can you please help me about using ADS7813 with arduino?
I try to use these codes but it dont work, i need immediately help.
thanks.