Hi everybody,
I'm trying to take a 0-24v DC input and scale it down to 0-5v DC for the Arduino to monitor. The idea is to monitor some PV solar panels (0-24v) and send that to an Arduino analog-in to rate it between 0-1023 for output to the user.
That is, if the solar panels are generating 24 volts, the Arduino will see 5v, if they're doing 12v, Arduino will see 2.5v, and so on.
I intend to use a separate power supply to power the Arduino itself, unless it happens to be easy to use the scaling one to do that too.
Any advice on how to go about this?
Thanks!