KMtronic USB, RS485, RS232 BAT file control example

 

 

 

 

FILE: ON.bat


 

D:\KMtronic\USBRelay.exe -c:5 -r:1#1

 


 

 

 

Wednesday, 27 May 2015 06:28

Control KMtronic relays via BAT files

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

Download ZIP file
www.info.kmtronic.com/KMtronic-BAT-Control.zip



Unzip in any folder
in example "D:\KMtronic"


Quick help
USBRelay.exe -c:<COM port> -r:<RELAY>#<STATE> -b:<BROADCAST> -q

-c: Com port
-r: Relay(s)#State(s)
-b: Broadcast/output on successful sent
-q: Silence mode


Commands examples
USBRelay.exe -c:5 -r:1#1 (this will turn on channel 1 board connected to COM:5)

USBRelay.exe -c:5 -r:1#0 (this will turn off channel 1 board connected to COM:5)

USBRelay.exe -c:8 -r:4#1 (this will turn on channel 4 board connected to COM:8)
USBRelay.exe -c:8 -r:4#0 (this will turn off channel 4 board connected to COM:8)

 


Examples are configured to work with default settings
- COM:5



BAT file examples

ON command
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-01.html

OFF command
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-02.html

10 sec Timer
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-03.html

Menu control
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-04.html

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Domoticz now supports the KMTronic USB, RS485 and TCP(Web) relay boards

 

 

 

www.Domoticz.com

 

 

 

Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.

 


 

Domoticz now supports the KMTronic USB, RS485 and TCP(Web) relay boards


 

 

 
www.domoticz.com/forum/viewtopic.php?f=17&t=6456

 

 

 

 

 

 

 


 




www.AcmeSystems.it

http://www.acmesystems.it/aria

 

 

KMtronic Relays and AcmeSystems Aria G25

 

KMtronic Relays and AcmeSystems Aria G25

 

KMtronic Relays and AcmeSystems Aria G25

 

KMtronic Relays and AcmeSystems Aria G25

 

 

 

 

 


 
 
 
 

 


 

Tuesday, 19 May 2015 08:09

USB DS18B20 Measuring temperature

 


KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer 

 

Drivers:
Driver-KMTronic-DS1820-USB-Thermometer.zip

 

 KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer


KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

 

 

 



Features:
• Fully assembled and tested.
Fully powered from USB
• Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
Support up to 8 temperature sensors

Complete including:
- 1x USB 1-Wire Adapter
- 1x DS18S20 Temperature Sensor (~20 cm cables)

Dimensions:
60 mm / 20 mm

Typical Applications:
 - Home automation
 - Industrial automation

Drivers:
Driver-KMTronic-DS1820-USB-Thermometer.zip

Communication Parameters:
8 Data, 1 Stop, No Parity
Baud rate: 9600

Hyperterminal file (COM5):
Hyperterminal-KMTronic-DS1820-USB-Thermometer-file.zip

 

 

 

 

 

 




 

 



Features:
• Fully assembled and tested.
Fully powered from USB
• Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
Support up to 8 temperature sensors

Complete including:
- 1x USB 1-Wire Adapter
- 1x DS18S20 Temperature Sensor (~20 cm cables)

Dimensions:
60 mm / 20 mm

Typical Applications:
 - Home automation
 - Industrial automation

Drivers:
Driver-KMTronic-DS1820-USB-Thermometer.zip

Communication Parameters:
8 Data, 1 Stop, No Parity
Baud rate : 9600

Hyperterminal file (COM5):
Hyperterminal-KMTronic-DS1820-USB-Thermometer-file.zip

 

 

 

 

Monday, 18 May 2015 16:18

Temperature Monitoring

 

 

 

 

 




LAN Temperature Monitoring


LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

 

 


 

 

 

kmtronic domoticz ds1820 temperature

 

 

Domoticz lua script to convert XML output from KMTronic DS1820 LAN module

www.info.kmtronic.com/domoticz-lua-script-to-convert-xml-output-from-kmtronic-ds1820-lan-module.html

 

 


 

LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

www.info.kmtronic.com/lan-ds18b20-temperature-monitor.html


1-Wire Digital Temperature Monitor for Long Line 1-Wire Network

www.info.kmtronic.com/lan-ds18b20-temperature-monitor-resistors-scheme.html

 




CSHARP EXAMPLES


LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor

 

LAN DS18B20 Temperature Monitor CSharp Example (incl. source code) Control KMtronic USB, RS485 and TCP(Web) relay boards by Domoticz

www.info.kmtronic.com/lan-ds18b20-csharpe-example.html

 


 

EXCEL EXAMPLES

LAN DS18B20 High-Precision 1-Wire Digital Temperature Monitor 

LAN DS18B20 Temperature Monitor Excel example (1) Control KMtronic USB, RS485 and TCP(Web) relay boards by Domoticz

www.info.kmtronic.com/lan-temperature-monitor-excel-example-01.html


LAN DS18B20 Temperature Monitor Visual Basic xml read example code Control KMtronic USB, RS485 and TCP(Web) relay boards by Domoticz

www.info.kmtronic.com/lan-ds18b20-visual-basic-example.html

 

 


 

PHP EXAMPLES

LAN DS18B20 Temperature Monitor PHP Example (1) Control KMtronic USB, RS485 and TCP(Web) relay boards by Domoticz

www.info.kmtronic.com/lan-ds18b20-temperature-monitor-php-example-1.html

 

LAN DS18B20 Temperature Monitor PHP Example (2) Control KMtronic USB, RS485 and TCP(Web) relay boards by Domoticz

www.info.kmtronic.com/lan-ds18b20-temperature-monitor-php-example-2.html



 

 




USB Temperature Monitoring
 

 

USB DS18B20 High-Precision 1-Wire Digital Thermometer (PCB)

www.info.kmtronic.com/usb-ds18b20-1-wire-digital-thermometer.html


USB DS18B20 High-Precision 1-Wire Digital Thermometer Cable (PCB)

www.info.kmtronic.com/usb-ds18b20-1-wire-digital-thermometer-cable.html



 KMtronic USB DS18B20 High-Precision 1-Wire Digital Thermometer

 

 

USB DS18B20 Measuring temperature

www.info.kmtronic.com/usb-ds18b20-measuring-temperature.html

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

Thursday, 14 May 2015 10:30

USB > RF433MHz > 8 Channel Relay Board






Drivers

are available to work with the following operating systems :
All Windows versions, Linux, Mac OS X, Mac OS 9, Mac OS 8,
Windows CE.NET (Version 4.2 and greater), Arduino, Raspberry Pi ...


Required power:

12VDC / 1000 mA.


Wireless Data Transmittion Module:

CC1101 Low-Power RF Transceiver
(Texas Instruments)


USB Converter:

CDC USB to Serial Converter


Communication Parameters:

8 Data, 1 Stop, No Parity
Baud rate : 9600


Commands (ID01):

FIRST channel commands:
OFF command : FF 01 00 (HEX) or 255 1 0 (DEC)
ON command : FF 01 01 (HEX) or 255 1 1 (DEC)
...
EIGHT channel commands:
OFF command : FF 08 00 (HEX) or 255 8 0 (DEC)
ON command : FF 08 01 (HEX) or 255 8 1 (DEC)

Status read (ID01):
Command - FF A1 00
Reply - FF A1 xx xx xx xx xx xx xx xx
where xx is: 00 if relay is OFF, 01 if relay is ON

 


ID:

Relay board have an option to change the ID (from ID 01 to ID 15) manually
through a DIP Switch placed near power connector.


Distance:

In open area max 350 meters






























KMTronic RF433MHz Relay Boards Installation Guide

KMTronic_RF433_Installation_Guide.pdf





 
 
WEB, Internet , Ethernet controlled relay board: Arduino compatible, RS485, USB 
 
 
 
 

Arduino compatible, fully assembled and tested. Complete Internet/Ethernet board with 4 Optically-Isolated Digital Inputs and 4 Relays. Arduino is an open-source physical computing platform based on a simple i/o board and a user friendly development environment that implements the Processing/Wiring language.

 

Required power:
12VDC / 
minimum 1000 mA.

Features:
- ATMEGA328 Microcontroller
- ENC28J60 Ethernet Controller
- Built-in USB FTDI USB to Serial COM port converter
- Built-in RS-485 converter
- 4 Opto Isolated Digital Inputs
- 4 Relays 220VAC/10Am
- Reset Button
- Code upload via USB with the Bootloader

Specifications:


Relays have Normally Open (NO) and Normally Closed (NC) Contacts each capable of switching max:

- 12VDC/15A
- 24VDC/15A
- 125VAC/15A
- 250VAC/10A

- Microcontroller: ATmega328
- Power Voltage: 12VDC
- Input Voltage: 5-24VDC
- Ethernet Controller: ENC28J60
- Digital Input Pins: 4
- Relays: 4
- Flash Memory: 32 KB (ATmega328) of which 2 KB used by bootloader
- SRAM: 2 KB (ATmega328)
- EEPROM: 1 KB (ATmega328)
- Clock Speed: 16 MHz

 
 
 
 
 
 
 
 

 

 

 

 
 
 

 

Page 4 of 6