Botroniks Arduino codes for everyone = PCC1054A: Up to 4 DC voltmeters with PC display (measured range 0-50V) - FREE!


BotronikS - Final code for all types of Arduino and PC users: -- HOME -- CONTACT

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:

PCC1054A: Up to 4 DC voltmeters with PC display (measured range 0-50V) - FREE!
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: A0=Input1 A1=Input2 A2=Input3 A3=Input4
 
Electrical note: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 )
Connect each input pin to GND via resistor (R21-R24=10K/0,5W/1%).
Add resistor between input pin and input voltage signal (R11-R14=100K/0,5W/1%).
The input DC voltage (U1-U4) must not exceed 50V!
An 9V external power supply (VIN/GND=DC Plug) is required for accuracy! Not USB power only!
 
Download the FreeHEX 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..): PCC1054A-M328
2. uc AtMega2560 (Mega (ATMEGA2560)...): PCC1054A-M2560
 
You can test the uploaded code using some free serial communication software such as Termite
Description of program commands
AT command (ASCII characters) - 9600 Baud ,8 Data bits,None Parity,1 Stop Bit - AT commands must be uppercase, lowercase invalid
AT - attention command (returns OK)
AT+INF - software code info (returns ucAppName)
AT+RVx - Reading value x (x=1-4) (returns Vx=x.x (V))
 
For those familiar with ArduinoIDE programming: PCC1054A - PCC1054Azip
 
PC Application(s):
PC Application(s) (for WINDOWS): In order for the offered PC applications to work, it is necessary to download and install (only first time): VB6RunTimePlus2.2
Download the PC application, unpack and start (allow windows to start applications - how) enter the COM port number where the Arduino is connected and use that.
 
PC App: PCC1054A-PcApp1
Botroniks