BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email: botronik@gmail.com
What you need to install or have installed before on your PC: see HERE

PcTimer4o8c: Control up to 4 outputs in one TEXT command...

connections (click to enlarge)

XLoader exsample

Termite test...

Useful accessories:  
RelayShield1
SSR module:
 
 
 
 
 
 
Download the Free! HEX codes below, unpack, and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uC m328 (NANO - UNO ): Hex-m328
2. uC m2560 ( Mega2560 ): Hex-m2560
Based on the offered TEXT commands, you can develop your own PC, PLC ... communication code, and applications...

Available ASCII TEXT commands (Default: ID=no ID Baud=9600): Test uploaded code using some free serial software such as Termite.TextCommamd format: ID(device identifier) + TextCommand + ENTER
1111- set Out1+Out2+Out3+Out4 to Hi level
0000- set Out1+Out2+Out3+Out4 to Lo level
 

Some PcApp:
PcApp1: