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

Nano
Uno
Mega

Resistors: 1 - 2- 3
Power supply: 9V/1A
 
 
misc: Wires: (link) 1--2--3
 
Arduinos
connections (click to enlarge)
- Need additional accessories:

Free Hex & Exe code! Arduino source code available on email request only (copy and send next text): PCV1082-ARDSC: Price=10 Euro

PCV1082: Up to 8 DC voltmeters with PC display (measured range 0-50V - can be multiplied by users multiplier in PcApp1)
After updating the offered code shows up to 4 DC voltage meters range 0-50V (one decimal digit)
For Arduino boards: NANO - UNO - MEGA
Arduino pins are used: see connections
 
Electrical note: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 )
The input DC voltage (U1-U8) must not exceed 50V!
Connect each input pin to GND via resistor (R1B-R8B=10K/0,5W/1% or 0,1% ).
Add resistor between input pin and input voltage signal (R1A-R8A=100K/0,5W/1% or 0,1%).
An 9V external power supply (VIN/GND=DC Plug) is required for accuracy! Not USB power only!
Measurement accuracy depends on the internal Arduino 5V voltage regulator (must be 5,0V)! If not , can correct with a multiplier in PcApp1.
 
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 (MINI,NANO,UNO..): PCV1082-m328
2. uc AtMega2560 (Mega(ATMEGA2560)......): PCV1082-M2560
 
Description of HexCode commands ( You can test the uploaded code using some free serial communication software such as Termite (select: Append CR)):
AT command (ASCII characters + ENTER) - Baud 9600,8 Data bits, None Parity,1 Stop Bit
AT - attention command (returns OK)
I? - software code info (return ucAppName)
RVA - reading status of all values (return Vxx=X (xx=01-08 X=voltage)
RVxx - reading single status value xx (xx=01-08) (returns Vxx=voltage)
 

PC Application(s) for offered Hex code (for WINDOWS):
In order for the offered PC applications to work, it is necessary to download and install (one time only) VB6RunTimePlus2.2
Download the PC application, unpack, and start (allow windows to start applications - see HOW) enter the COM port number where the Arduino is connected and test it...

Download: PcApp1
Some features:
- PcApp makes a PcApp1Log folder (in application path) with stored measured values.
- Log files named in format (yy mm dd - Year Month Day).
- This data later can be analyzed from some other software to create graphs (eg Excel)
- Log File format - comma delimited
- DATA in Log FILE(S): 1=TIME 2-9=V01-V08