Help With BS2 and ADC0838?
Litefire
Posts: 108
Hey, i'm using the BS2 as part of a robot i'm making, and am planning on using an ADC0838. What i'm planning on doing is using all 8 channels of the chip and comparing them on the BS2.
Does anybody have any code/help for how to communicate between the uP and the ADC? That seems to be where i'm having issues, but the shifted serial interface is giving me issues [noparse]:([/noparse]
Thanks for any help!
~~Brian Beatty
p.s. the Data sheet for the 0838 is the same as the one for the 0831 (which can be found under the 0831's page here on parallax)
Does anybody have any code/help for how to communicate between the uP and the ADC? That seems to be where i'm having issues, but the shifted serial interface is giving me issues [noparse]:([/noparse]
Thanks for any help!
~~Brian Beatty
p.s. the Data sheet for the 0838 is the same as the one for the 0831 (which can be found under the 0831's page here on parallax)
Comments
Sure do - look down about 12 threads - there is some dialog and sample code for the ADC0834 which should help you.