After updating the offered Arduino code and PC Application, it is possible to read and show on PC 8 temperatures... |
For Arduino boards: NANO - UNO - MEGA |
Arduino pins are used: see connections - (used Sensor(s)=DS18B20 - Lnk1 - Lnk2 ) |
|
Electrical & other notes: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 ) |
Used pins are connected to 5V via resistors (R1-R8: 3K3-4K7 (if the sensor does not have a built-in resistor))... |
Only power from the computer's USB port can be used (an external power source (9V) is not required but is recommended) |
Temperatures are in celsius (in one decimal digit form). For long-distance to sensors can use shielded cable. |
If some sensors are not connected, the measured value is -127. In PcApp1 can this convert to zero or some other number. |
|
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..): PCT108DS-m328 |
2. uc AtMega2560 (Mega(ATMEGA2560)......): PCT108DS-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 all values (return Vxx=X (xx=01-08 X=-50.0-120.0) |
RVxx - reading single value xx (xx=01-08) (returns Vxx=-50.0-120.0) |
|