Contains examples of voltage and current measurement with Arduino. The Arduino voltage measurement example reads the voltage through an analog input connected in parallel with resistors R1 and R2. The voltage value is displayed on the Nextion screen. The Arduino current measurement example reads the current through an analog input. The current value is displayed on the Nextion screen.
Arduino Library: To use the Nextion screen, include the nextion-master.zip library from the repository in the Arduino IDE.
Arduino Used: Arduino Uno
Arduino IDE Version: 2.2.0
Arduino Connection Diagram: The Nextion screen is connected to Arduino pins D3 and D4. To measure voltage, Arduino pin A0 is used. To measure current, Arduino pin A1 is used.