USB > RS485 > 8 Channel Relay Controller



Similar documents
USB Eight Channel Relay Board 12V

Installing the drivers for the Current Cost Data Cable

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

AXE027 PICAXE USB CABLE

Current Cost Data Cable User Guide. Installing and configuring the data cable

SAPIP GUI INSTALLATION. Table of Contents

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

Select Correct USB Driver

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

USB Port Extender Kit

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

Bluetooth HC-06 with serial port module Easy guide

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

USB PC Adapter V4 Configuration

USER MANUAL for USB to serial converter (PL2303)

1 INTRODUCTION. This document describes the procedure to upgrade LTMR.

1-Port R422/485 Serial PCIe Card

User Manual (DA-70155)

PMS. Energy management and monitoring software. Installation and operation instructions

USB TO SERIAL CONVERTER

Installing the Gerber P2C Plotter USB Driver

STIM202 Evaluation Kit

Computer Programming Software Start Guide

PP8X Printer Driver Installation Instruction

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008

Windows XP.. ELITE Firmware Update procedures.. v1.41

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

2-Port RS232/422/485 Combo Serial PCI Card

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

TN DTUSB Information for Existing DT80 Series Users 1 Overview

[USING THE NM150 WITH ADULTICIDING] July 13, 2015

Software User Guide UG-461

RS485 Adapters. User Manual October 26, 2008 V1.02 Copyright Light O Rama, Inc. 2006, 2007, 2008 SC485 USB485B USB485 USB485-ISO

PL-2305 USB-to-Printer Cable User Installation Guide

User's Guide DylosLogger Software Version 1.6

User Manual. EtherUSB

Using a USB to Serial adapter and Terminal Emulator in Windows 7 to communicate with a DM101

OWNERS MANUAL. WattsVIEW. Power Monitor Model: DC WattsVIEWTM. Models: DC Serial DC-1000 USB DC-25000

User Manual. Thermo Scientific Orion

s!nus-elektrotechnikai bt. Industrial IT & Automation

Driver Installation and Hyperterminal Operation of iload Digital USB Sensors

KTA-223 Arduino Compatible Relay Controller

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

Cypress CY7C64225 USB-to-UART Setup Guide Version 1.3

PPS usable by timing applications via serial port emulation

MSR605. Programmer s Manual. Magnetic Stripe Card Reader/Writer (High & Low Coercivity) Revision B

Application Note CTAN #374

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

Network/Floating License Installation Instructions

Installing Java (Windows) and Writing your First Program

USB Driver Installation for Windows XP

ABB solar inverters. Installation and setup instruction Aurora Manager TL software and ABB PVI-USB-RS232_485 adapter

Ash Capture Control User Guide

BASLER ACE QUICK INSTALLATION GUIDE

Installing PowerLink on Windows 7 64-bit

User Manual. AS-Interface Programmer

Shearwater Research Dive Computer Software Manual

netduino Getting Started

Application & Quick-Start Guide

Keep it Simple Timing

Customer VFD pole display JP-8034 USB OPERATION MANUAL

FTDI VCP DRIVER (free) (WIN/MAC/LINUX)

ioptron ASCOM 3.11 PC Control Application Note

SheevaPlug Development Kit README Rev. 1.2

US-122L/US-144 Release Notes

COPYRIGHT TOP NOTCH TABLETS LLC HOW TO: Install the Drivers to your PC so you can Flash Firmware to your RK3066 Powered Tablet.

Transferring Scans from your Dolphin into Destiny

Installation of the USB to RS 485 Converter

RN-XV-RD2 Evaluation Board

Waspmote IDE. User Guide

Version User Manual. USB 3.0 to Gigabit Ethernet Adapter DUB-1312

CMP-102U. Quick Installation Guide

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Schneider OS-Loader usage via Ethernet or USB.

Complete Train Control. Run Your Trains, Not Your Track! 1 PR3 Programmer 1 USB Cable 1 This Instruction sheet

TS1 Ultra Sonic Tank Sender Training. 27 November 2007

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Connecting your Omega/BetaPAT PLUS to a PC via a USB

Pwn Plug Community Edition 1.1 Installation Guide

Universal Serial Bus (USB) to DH-485 Interface Converter

USB232CONV Installation. Version Copyright IFTOOLS GbR

USB TO SERIAL ADAPTER

Configuring the Switch with the CLI Setup Program

Current Monitoring Kit

1. TIB388 about the Windows compatibility of all Mutoh devices subdivided in

SNMP Web Management. User s Manual For SNMP Web Card/Box

User Manual. 2 ) PNY Flash drive 2.0 Series Specification Page 3

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

DSX Master Communications

PMS. Energy management and monitoring software. Installation and operation instructions. BMR trading Horní lán Olomouc Czech Republic

User Manual. USB2.0 to IDE and SATA Adapter Cable. Model: DA-70202

Using HyperTerminal with Agilent General Purpose Instruments

Pen Drive 2.0 Specification

BMV-602 Data Link Manual

The GV-I/O Box 8 Ports provides 8 inputs and 8 relay outputs, and supports both DC and AC output voltages.

Future Technology Devices International Ltd. USB NMC-2.5m. USB to USB Null Modem Cable. Datasheet

Application/Connection Examples

E-Blocks Easy Internet Bundle

Transcription:

USB > RS485 > 8 Channel Relay Controller Description : The general purpose of RS-485 Relay Controller. RS-485 BUS can span relatively large distances (up to 4000 feet or just over 1200 meters). Control up to 8 devices using your PC. The required power is 12V DC / minimum 500 ma. Each relay has an LED to indicate when it is operated. For 12V/24V DC 15A or 120V/220V AC at 10A max. The complete includes: - 1x USB to RS485 FTDI interface Board - 1x RS485 to 8 Digitally Outputs controller, RS485 BUS ID: 01, Relays: 1-8 (12V) - 1x 8 RELAY board (12V) - 1x 10PIN flat cable approximate 5cm length Specifications : Relays has Normally Open (NO) and Normally Closed (NC) Contacts rated for voltages: - 12VDC/15A

- 24VDC/15A - 125VAC/15A - 250VAC/10A Relay's datasheed : (relays used : RAS-1215-1C) http://www.sigma-shop.com/information/relay/ras.pdf Windows Server 2008 R2, Windows 7, Windows 7 x64, Windows Server 2008, Windows Server 2008 x64, Windows Vista, Windows Vista x64, Windows XP, Windows XP x64, Windows 2000, Windows Server 2003, Windows Server 2003 x64, Windows ME, Windows 98, Linux, Mac OS X, Mac OS 9, Mac OS 8, Windows CE.NET (Version 4.2 and greater) Required power: 12VDC / minimum 500 ma. Dimensions: Relay board : 120mm / 80mm / 20mm RS485 controller : 40 mm / 60 mm Communication Parameters: 8 Data, 1 Stop, No Parity Baud rate : 9600 Commands: FIRST chanel commands: OFF command : FF 01 00 (HEX) or 255 1 0 (DEC) ON command : FF 01 01 (HEX) or 255 1 1 (DEC)... EIGHT chanel commands: OFF command : FF 08 00 (HEX) or 255 8 0 (DEC) ON command : FF 08 01 (HEX) or 255 8 1 (DEC)

EXAMPLES: 3x 8RELAY controllers connected to PC via RS485 RS485 BUS exsample

You have to download the drivers from FTDI website : http://www.ftdichip.com/drivers/vcp.htm http://www.ftdichip.com/drivers/cdm/cdm%202.04.06%20whql%20certified.zip Unzip it to your own folder When you connect the USB board, the following message appears: FOUND NEW HARDWARE and drives need to be installed. When you connect the USB board to the PC the red and green LED flashes 2,3 times and turn off. When the red LED and the green LED flashes means that there is a communication between the programmer and PC. 1. Drivers' installation:

After the drivers' installed, an additional COM port appears in the Device Manager of Windows- usually it is COM3:

Testing : 1. Download USBRelay_test.exe from : http://www.sigma-shop.com/information/usb_relay/usbrelay_test.exe 2. Connect board to USB and run software. If everything is ok this should appear : If you get this message you see the following error : that means that you do not have the latest version of Microsoft.NET Framework installed on your computer. The program has to be installed on your computer in order to use the software. You can download this from there http://www.microsoft.com/downloads/details.aspx?familyid=333325fd- AE52-4E35-B531-508D977D32A6&displaylang=en

3. Software will detect all COM ports you have and there must be one more (USB Serial COM port) : 4. Choose COM port. Click on OPEN button and using ON and OFF buttons you can test relays. NOTE : USB one relay no support All ON and All OFF buttons

WinExplorer : http://www.sigma-shop.com/information/usb_relay/winexp.zip http://www.sigma-shop.com/information/usb_relay/usb_8relay_test.xvb

Sample VB6 code : Private Sub cmdoff_click() With MSComm1 'make sure the serial port is open If.PortOpen = False Then.PortOpen = True 'send the data.output = Chr$(255).Output = Chr$(1).Output = Chr$(0) End With 'MSComm1 End Sub Private Sub cmdon_click() With MSComm1 'make sure the serial port is open If.PortOpen = False Then.PortOpen = True 'send the data.output = Chr$(255).Output = Chr$(1).Output = Chr$(1) End With 'MSComm1 End Sub Sample C# code : private void button1_on_click(object sender, EventArgs e) { serialport1.write(new byte[] { 0xFF, 0x01, 0x01 }, 0, 3); } private void button1_off_click(object sender, EventArgs e) { serialport1.write(new byte[] { 0xFF, 0x01, 0x00 }, 0, 3); }

Linux : Instructions to install new driver: You may require the sources matching the current kernel to be installed on your system (and built). To install the ftdi_sio driver use the following steps: 1. Create a temporary folder in your linux machine. 2. Extract the files from ftdi_sio.tar.gz file to your temporary folder "gunzip ftdi_sio.tar.gz" "tar -xvf ftdi_sio.tar" 3. Build the driver "make" 4. Plug in your ftdi device 5. Check to see if default driver was loaded "lsmod" - you will see ftdi_sio if a driver is loaded 6. Remove the default installed driver "rmmod ftdi_sio" 7. Install the newly built driver "insmod ftdi_sio.o" NOTES: 1.This driver was adapted from the 2.4.32 kernel to support both the 2232C and 232R chip 2.There is no need to follow this procedure if you want 232R chip supprt. The 232BM driver will be sufficient.changes made to the driver for the 232R chip are purly cosmetic (plug/unplug will appear as a 232R chip in the kernel log). In this case the driver is correctly installed and with the bash's command : --------------------------------- The old kernel's "echo" commands: echo $'\xff\x01\x01' > ttyusb0 the relay 1 go ON. echo $'\xff\x01\x00' > ttyusb0 the relay 1 go OFF. --------------------------------- The new kernel's "echo" commands: echo -e '\xff\x01\x01' > /dev/ttyusb0 the relay 1 go ON. echo -e '\xff\x01\x00' > /dev/ttyusb0 the relay 1 go OFF. ---------------------------------