SERIN is not constant
Archiver
Posts: 46,084
Hello,
I try to read voltage from a ADC0832, based on the Experiment #27 (of
course, I adapt for the original 831 to 832).
But the reading are fluctuating: 0, then 128, then 255...
I try to get the Data (where the SERIN is performed) unhooked: same
reading.
Did I damage my BS2X? Should the SERIN returns always 0 if the pin in
not connected?
Thank you for your advice,
Worried Eric
I try to read voltage from a ADC0832, based on the Experiment #27 (of
course, I adapt for the original 831 to 832).
But the reading are fluctuating: 0, then 128, then 255...
I try to get the Data (where the SERIN is performed) unhooked: same
reading.
Did I damage my BS2X? Should the SERIN returns always 0 if the pin in
not connected?
Thank you for your advice,
Worried Eric
Comments
with the data pin, to reduce the current which happens
when the Stamp has told the 0832 to start talking, but
has not released the pin to input.
2. The big difference between the 0831 and 0832 is you
have to select which pin you are monitoring -- you have
to command the 0832 which pin value to use. This is
very different from the 0831, where the command is
'listen only'
3. It sounds like you have not correctly told the
0832 which pin to monitor yet.
--- In basicstamps@yahoogroups.com, "ericgibert" <ericgibert@y...>
wrote:
> Hello,
>
> I try to read voltage from a ADC0832, based on the Experiment #27
(of
> course, I adapt for the original 831 to 832).
>
> But the reading are fluctuating: 0, then 128, then 255...
>
> I try to get the Data (where the SERIN is performed) unhooked: same
> reading.
>
> Did I damage my BS2X? Should the SERIN returns always 0 if the pin
in
> not connected?
>
> Thank you for your advice,
>
> Worried Eric