by davidalecmcinnes » Thu Apr 03, 2008 12:43 pm
by davidalecmcinnes
Thu Apr 03, 2008 12:43 pm
I seemed to be having a bad keyboard day the other day re. spelling. From a Servo power pin (middle pin) I have 2 x 4k7 resistors in series to the 0V pin (top pin of A-D port). The mid point of the two resistors I have wired to the A-D input (bottom pin of A-D port). An integer A-D read of the port gives 613 at 6.0V from which I subtract 13 to produce a x10 robot voltage figure.
I seemed to be having a bad keyboard day the other day re. spelling. From a Servo power pin (middle pin) I have 2 x 4k7 resistors in series to the 0V pin (top pin of A-D port). The mid point of the two resistors I have wired to the A-D input (bottom pin of A-D port). An integer A-D read of the port gives 613 at 6.0V from which I subtract 13 to produce a x10 robot voltage figure.