So, I'll be connecting two resistors in series with the positive of my battery before it reaches the arduino.
Between the resistors i'm breaking out to my analogue input.
What happens to the ground indicated in the diagram, is that the negative of my battery or the ground for my analogue pin?
The battery negative and ground on the Arduino (GND
) are functionally the same thing. Also, the battery positive and Vin
are functionally identical; I mention this because it might make your wiring a little neater -- R1 would be between Vin and your analog pin, and R2 would be between your analog pin and GND.