Botroniks Arduino codes for everyone = PCC1030A: Measurement (DHT22) and display on PC up to 2 temperatures and humidity (%RH) - FREE!


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

Nano
Uno
Mega

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

PCC1030A: Measurement (DHT22) and display on PC up to 2 temperature and humidity (%RH) - FREE!
After updating the offered Arduino code and PC Application, it is possible to read and show on PC 2 temperatures and RH(%)
For Arduino boards:: NANO -- UNO -- MEGA
Arduino pins are used: D4=Sensor1 D5=Sensor2 - (used Sensor(s)=DHT22 - Lnk1 - Lnk2 )
 
Electrical note: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 )
Used pins are connected to 5V via resistor(s) 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 is not required).
 
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-5V (NANO,UNO...): PCC1030A-M328
2. uc AtMega2560 (Mega(ATMEGA2560).....): PCC1030A-M2560
 
You can test the uploaded code using some free serial communication software such as Termite
Description of program commands
AT command (ASCII characters) - 9600 Baud ,8 Data bits,None Parity,1 Stop Bit - AT commands must be uppercase, lowercase invalid
AT - attention command (returns OK)
AT+INF - software code info (returns ucAppName)
AT+RV1A - Reading measured value (sensor=1 value=A (temp. C)) (one decimal digit form))
AT+RV1B - Reading measured value (sensor=1 value=B (RH%)) (one decimal digit form))
AT+RV2A - Reading measured value (sensor=2 value=A (temp. C)) (one decimal digit form))
AT+RV2B - Reading measured value (sensor=2 value=B (RH%)) (one decimal digit form))
 
For those familiar with ArduinoIDE programming: PCC1030A - PCC1030Azip
 
PC Application(s):
PC Application(s) (for WINDOWS): In order for the offered PC applications to work, it is necessary to download and install (only first time): VB6RunTimePlus2.2
Download the PC application, unpack and start (allow windows to start applications - how) enter the COM port number where the Arduino is connected and use that.
 
PC App: PCC1030A-PcApp1
Botroniks