After updating the offered Arduino code and PC Application, it is possible to read and show on PC 4 temperatures and RH(%) |
For Arduino boards: NANO - UNO - MEGA |
Arduino pins are used: see connections - (used Sensor(s)=DHT22 - 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-R4: 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) |
Temperature and humidity are shown in one decimal digit form. For long-distance to sensors can use shielded cable. |
If some sensor(s) are not connected, the measured values are 0 & 0. |
|
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..): PCH104-m328 |
2. uc AtMega2560 (Mega(ATMEGA2560)......): PCH104-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=C & %RH) |
RVxx - reading single value xx (xx=01-08) (xx=01/03/05/07=Temp1-4 xx=02/04/06/08=Humidity1-4) |
|