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

PCC-8ds8out: Up to 8x temperature (sensor DS18B20) + 8 outputs controlled by TEXT commands (from PC, PLC...)

Useful accessories:  
DS18B20: 1 - 2 - 3
 
 
 
 
Note: Out1-Out8= max10mA each -- S1-S8= Sensor DS18B20 (+Resistor 1K-4K7)
Download the HEX codes below, unpack, and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. ATmega328-16MHz (MINI,NANO,UNO...): HexCode-m328
2. AtMega2560 (Mega(ATMEGA2560)......): HexCode-m2560
Based on the offered TEXT commands, you can develop your own PC, PLC ... communication code, and applications...

Available ASCII TEXT commands (Baud=9600): Test uploaded code using some free serial software such as Termite.TextCommamd format: TextCommand + ENTER
AT - attention command (return OK) - example: AT
OxH - set OUTx (x=01-08) at Hi(5V) level - example: O01H
OxL - set OUTx (x=01-08) at Lo(0V) level - example: O02L
VxA - (x=01-08) returns temp. value in Celsius (xxx.x) - example: V01A
VxB - (x=01-08) returns temp. value in Farenheits (xxx.x) - example: V01B

Try and Test with BScada-SScada:
BScada: soon