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


misc: Wires: (link) 1--2--3
connections (click to enlarge)
- Need additional accessories:

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

PCA208: Status display (open/close) of up to 8 digital (contact) inputs on a PC
The offered code shows the digital status of up to 8 inputs (0 = open 1 = close to 5V)
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 )
Connect each input pin to GND via 10K (3,3K-10K) resistor (R1-R8).
When the input is connected to 5V, state = 1 (Sx closed) is detected. Otherwise state = 0 (Sx open).
It can only use PC-USB power or an external 9V (VIN) power supply. Note: The input pin voltage must not exceed 5V
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..): PCA208-m328
2. uc AtMega2560 (Mega(ATMEGA2560)......): PCA208-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=1/0)
RVxx - reading single status value xx (xx=01-08) (returns Vxx=0/1 0=open (0v) 1=close (5V))

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