#body:
I want to make a project, I want to meter voltage from 4 sources, on 2 small oled screens, each displaying 2 separate voltages of .001-.999 vdc I'd like a parts list, wiring diagram, and code. I know it's a lot, but any help is appreciated. Thank you.
I found that I can monitor and meterr the four sources through a0 a1 a2 and A3. I also heard I can use a built-in 1.1 volt as a reference. I also heard that I could change the Oled hex addresses in code?
If you try to use 2 OLED screen with an arduino Nano, you are likely to run out of memory. OLED displays consume a fair chunk and a nano does not have a lot. I would start with 1 screen.
yes, you need to set two different I2C addresses (assuming there is enough memory)
the 1.1V internal reference is a possibility, ensure you share GND with whatever you are measuring.
(my code does not set the font etc, so might need more work, I was just testing instantiating 2 screens - but you can look at the code for reading the analog pins)
float voltage1 = (analogRead(A0) / 1023.0) * 1.1; // Convert to voltage using the 1.1V reference
float voltage2 = (analogRead(A1) / 1023.0) * 1.1;
float voltage3 = (analogRead(A2) / 1023.0) * 1.1;
float voltage4 = (analogRead(A3) / 1023.0) * 1.1;
ideally you would read twice and throw one read away, maybe something like