LAN DS18B20 Temperature Monitor CSharp Example
LAN DS18B20 Temperature Monitor
Default:
IP address: 192.168.1.199
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Username: admin
Password: admin
Reset to Default Settings:
Hold Reset button for 10 seconds
Manufacturer:
KMTronic LTD
Model:
--------
Features:
• Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
• Support up to 4 DS18B20 temperature sensors
Specifications:
DS18B20
http://www.maximintegrated.com/sensors-and-sensor-interface/DS18B20.html
Supply:
Requires external 12 volt DC / 600mA power supply
Software examples:
http://www.info.kmtronic.com/temperature.html
Read Status xml KMtronic WEB relays
http://IP/status.xml
<response>
<relay0>0</relay0>
<relay1>0</relay1>
<relay2>0</relay2>
<relay3>0</relay3>
<relay4>0</relay4>
<relay5>0</relay5>
<relay6>0</relay6>
<relay7>1</relay7>
<relay8>1</relay8>
</response>
NOTE: <relay0>0</relay0> Reserved for other function (do not use in user program)
Control KMtronic UDP LAN relays via Packet Sender
Packet Sender
The Free Network Test Utility
Packet Sender is an open source utility to allow sending and receiving TCP and UDP packets. It is available free (no ads / no bundleware) for Windows, Mac, and Linux.
How to Control KMtronic relays via EXCEL
Download example file from:
www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control.zip
Only for 32bit OS!
For 64 bit OS download this example:
www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control-64bit.zip
Copy 'NETComm.ocx' and 'MSCOMM32.OCX' to C:\Windows\System
Open Command Prompt: Start ->type cmd in search field -> press Enter
Type "regsvr32 C:\Windows\System\NETComm.ocx" and ENTER
Type "regsvr32 C:\Windows\System\MSCOMM32.OCX" and ENTER
Open "KMtronic-Excel-USB-Relay-Example.xls" and "Enable Macros"
Set COM port and type "1" A1 cell
Control KMtronic relays via EXCEL
Download example file from:
www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control.zip
Only for 32bit OS!
For 64 bit OS download this example:
www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control-64bit.zip
Copy 'NETComm.ocx' and 'MSCOMM32.OCX' to C:\Windows\System
Open Command Prompt: Start ->type cmd in search field -> press Enter
Type "regsvr32 C:\Windows\System\NETComm.ocx" and ENTER
Type "regsvr32 C:\Windows\System\MSCOMM32.OCX" and ENTER
Open "KMtronic-Excel-USB-Relay-Example.xls" and "Enable Macros"
Set COM port and type "1" A1 cell
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
If IsNumeric(Target) Then
On Error Resume Next
On Error GoTo 0
UserForm1.Show
End If
End If
End Sub
Private Sub UserForm_Activate()
MSComm1.CommPort = Sheets("Sheet1").Range("F1").Value
MSComm1.PortOpen = True
MSComm1.Output = Chr$(255) + Chr$(1) + Chr$(Sheets("Sheet1").Range("A1").Value)
MSComm1.PortOpen = False
Unload UserForm1
End Sub
DMX512 / Art-Net Protocol
KMtronic DMX adapter
kmtronic-dmx-adapter.html
KMtronic DMX test software
kmtronic-dmx-test-software.html
FreeStyler DMX
freestyler-dmx.html
PC_Dimmer DMX
pcdimmer-dmx.html
Q Light Controller DMX
q-light-controller-dmx.html
Q Light Controller Plus DMX
q-light-controller-plus-dmx.html
DMX Control
dmx-control.html
VenueMagic - DMX Lightning Software
venuemagic-classic.html
Vixen Lightning Software
vixen-lightning.html
Madrix - Led Lightning Control
madrix.html
Control DMX512 devices via Raspberry PI
control-dmx512-devices-via-raspberry-pi.html
C# DMX512 code example
c#-dmx512-code-example.html
DMX512 connectors
dmx512-connectors.html
You can find this on eBay
Control KMtronic relays via BAT files Example 04
FILE: Menu.bat
ECHO OFF
:MENU
CLS
ECHO.
ECHO ...............................................
ECHO.
ECHO KMTronic USB Relay Control
ECHO.
ECHO PRESS (1), (2) or (3) to EXIT.
ECHO.
ECHO ...............................................
ECHO.
ECHO (1) - Turn Relay 1 ON
ECHO (2) - Turn Relay 1 OFF
ECHO (3) - EXIT
ECHO.
SET /P M=Type 1, 2, or 3, then press ENTER:
IF %M%==1 GOTO ON
IF %M%==2 GOTO OFF
IF %M%==3 GOTO END
:ON
D:\KMtronic\USBRelay.exe -c:5 -r:1#1
GOTO MENU
:OFF
D:\KMtronic\USBRelay.exe -c:5 -r:1#0
GOTO MENU
:END
D:\KMtronic\USBRelay.exe -c:5 -r:1#0
Control KMtronic relays via BAT files Example 03
FILE: 10sec.bat
D:\KMtronic\USBRelay.exe -c:5 -r:1#1
timeout /t 5
D:\KMtronic\USBRelay.exe -c:5 -r:1#0
Control KMtronic relays via BAT files Example 02
FILE: OFF.bat
D:\KMtronic\USBRelay.exe -c:5 -r:1#0