BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email: botronik@gmail.com

Arduino required accessories:  
TM1637 LED display - 1 - 2 - 3
 
 
 
 
 
connections (click to enlarge)
additional accessories
 

VOM2: 2x Volt (0-5.0V) or Percent (0-100.0) meter and display on 2x 7 segments TM1637 LED display - FREE!
 
Electrical and practical notes:
Uses 9V/1A external power supply (VIN/GND) on DC plug
Display of the both measured value is in the form of one decimal digit.
Use specified type of 7 segments display with decimal points only (not clock dots).
S1/S2 Switch selector for shown percentage or voltage
If you don't want to use second measuring input and display, just don't connect it.
MEASUREMENT PRECISION AND STABILITY DEPEND ON THE QUALITY OF THE INTERNAL ARDUINO VOLTAGE REGULATOR!
 
Download the HEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uc ATmega328-16MHz-5V (NANO,UNO...) - VOM2code1-m328
2. uc AtMega2560 (Mega(ATMEGA2560).....) - VOM2code1-m2560