Voltage divider lab
Two resistors in series share the supply voltage in proportion to their resistance: Vout = Vs · R2 / (R1 + R2). Use it to bring a renewable-energy source voltage down into the Arduino's 0–5 V input range.
Analyse
Design
Method from the slides: RT = Vs/I, then R2 = Vout/I and R1 = RT − R2.
Scale for the Arduino
Pick the maximum voltage your source can produce and the voltage you want at that maximum (≤ 5 V). Choose R2; R1 follows from the ratio.
Circuit
Total resistance RT
Current I = Vs/RT
V across R1
Vout (across R2)
Power: R1 / R2
Arduino reading
analogRead()