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 |
RFCID 4out1ds1dht2Ain: RF (radio freq.) ID+Status control of up to 4 outputs + 2Sensors + 2 Ain from PC by Text commands... | ||||
---|---|---|---|---|
Shm: |
Xloader: |
Termite-PC side: |
accessories: | |
TB shield: 1 - 2 - 3 | ||||
Reley shield: 1 - 2 - 3 | ||||
HC-12 : 1 - 2 - 3 | ||||
HC-12 data | ||||
USBtoTTL: 1 - 2 - 3 | ||||
Download the HEX codes below, unpack, and upload to the proper Arduino board (Use a free net tool for example XLoader) |
1. ATmega328-16MHz (NANO, UNO...........): HexCode-m328 |
2. AtMega2560 (Mega(MEGA2560)..........): HexCode-m2560 |
Sensor1: DS18B20 |
Sensor2: DHT22 |
Ain1: measured voltage input range 0-5Vdc |
Ain2: measured voltage input range 0-5Vdc |
Note: If you use Ain inputs, you must use a 5,0V or 9V power supply on the VIN pin (or on dc jack). |
Based on the offered Text commands, you can develop your PC, PLC ... communication code, and applications... |
Available TEXT commands: Test uploaded code using some free serial software such as Termite |
Note: Arduino=Baud 9600 HC-12: Default settings |
Added ID (identifier) defined by S1-S3 jumper state (0=open 1=close) |
ID=0 (S1=0 S2=0 S3=0) ID=1 (S1=1 S2=0 S3=0) ID=2 (S1=0 S2=1 S3=0) ID=3 (S1=0 S2=0 S3=1) |
TEXT commands: (ENTER+COMMAND+ENTER) |
ID+AT - returns OK (eg. for ID=0: 0AT) |
ID+OA - returns the status of all outputs |
ID+Ox - returns status of single output x (x=1-4 H=5V L=0V) |
ID+OxH - set single OUTx at HI(5V) level - eg. for ID=1: 1O1H |
ID+OxL - set single OUTx at LO(0V) level - eg. for ID=2: 2O2L |
ID+OAH - set all outputs at a high (5V) level |
ID+OAL - set all outputs at a low (0V) level |
ID+V01 - returns value of Sensor1 (temperature (C)) |
ID+V02 - returns value A of Sensor2 (temperature (C)) |
ID+V03 - returns value B of Sensor2 (humidity (%RH)) |
ID+V04 - returns value of Ain1 (voltage in adc: 0v=0 5v=1023) |
ID+V05 - returns value of Ain2 (voltage in adc: 0v=0 5v=1023) |
vb22PcApp1: Download and unpack. Always use app in folder. | |
Try version limited to 2h of operation. Then must be restarted. | |
For final version you need software pasword (SPass1). Contact us for price. | |