USB RELAY MODULE WITH ANALOG AND GPIO INTERFACE

Similar documents
16 CHANNEL USB GPIO MODULE

2 Channel USB Powered Relay Module User Guide. Rev 9

1 Channel USB Powered Relay Module User Guide. Rev 9

Features ================================= Auto Detects Programming Hardware and Inserted Devices

DEV16T. LCD Daughter board

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

8 Channel USB SS Relay Module User Guide. Rev 9

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

8:1 Serial Port Expander

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

Grove Digital Extender 0059-GRVDE-DSBT/SF

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

User Guide Feb 5, 2013

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

2 Channel Bluetooth Relay Module User Guide. Rev 9

USB PowerControl 0042-USBPC-DSBT / USBPCNE-DSBT

Chipset Evaluation and Development Loadboard Version 2

Lab3: I/O Port Expansion

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Lab3: I/O Port Expansion

GRAVITECH GROUP

I2CMux Grove Board 0057-GRV4I2CMux-DSBT/ SF

ST SPC58 B Line Emulation Adapter System

keyestudio Keyestudio MEGA 2560 R3 Board

ARDUINO MINI 05 Code: A000087

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

VLSI AppNote: VSx053 Simple DSP Board

TLE9869 Eval.Kit V1.0 Users Manual

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT DC BIT MICROPOWER NO LATENCY DELTA SIGMA ADC LTC2400 DESCRIPTION

SK40C ENHANCED 40 PINS PIC START-UP KIT. User s Manual V1.3. March 2012

S USB-PC Connection (Cable Not Included) S USB Powered (No External Power Supply Required) S Real-Time Data Acquisition Through the USB

USB-to-I2C Basic. Hardware User s Manual.

None. MICROCONTROLLERS III

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication.

Evaluation Board User Guide UG-047

Device: PLT This document Version: 3.0. For hardware Version: 4. For firmware Version: Date: April 2014

Updating Reader Firmware

Adafruit USB Power Gauge Mini-Kit

Getting Started with STK200 Dragon

Manual 601: : USB/RS232. Specifications. Contents. Options

Goal: We want to build an autonomous vehicle (robot)

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

Grove Lightning Detector 0219-MOD1016G-01

ARDUINO MEGA 2560 REV3 Code: A000067

Digital Pins and Constants

Step-by-step guide to unbrick TP-Link Archer C9 v1 and revert to stock using serial recovery

Breeze Board. Type A. User Manual.

Mayhew Labs. Extended ADC Shield User Manual

AAZ 0914A SWR Analyzer -Steps for a quick test

Cookie User Manual. For NuMicro Edition 1.0. Rev. 1.0 Release: forum.coocox.org.

1.6inch SPI Module user manual

Intel Galileo gen 2 Board

DFS/Cutter. Debugging Communication Problems

Prototyping Module Datasheet

USB-to-I2C. Ultra Hardware User s Manual.

PAC5532EVK1 User s Guide

SensorXplorer TM Installation Guide

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

YKUSH 3. User Manual. Yepkit USB 3.1 Switchable Hub. Version 1.0.0

P16105: CubeSat Attitude Determination Control System (ADCS) Testing Apparatus Presents

Manual. Specifications. Contents. Options

Arduino ADK Rev.3 Board A000069

CLCD1 Serial 1 wire RS232 LCD development board

3. The circuit is composed of 1 set of Relay circuit.

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

C8051F700-DK C8051F700 DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup

PP-BOB2-V1.0 PARALLEL PORT BREAKOUT BOARD

PLC Stamp micro EVB Datasheet

Bolero3M Nexus Emulation Adapter 256BGA 176TQ

Thunder Board 0240-THNDRBRD-DSBT

Specification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

PIC32 MX Microcontroller Development Board. User Guide. Rev 9

ET-UARTSWD Users Guide

TurboTaig Instruction Manual

CDN502 HIGH DENSITY I/O ADAPTER USER GUIDE

BC-USB-Kit Manual. First Edition. February, BeatCraft, Inc.

ARDUINO UNO REV3 Code: A000066

Description: 4x 7 segment display module with decimals and colon

USB-to-I2C. Professional Hardware User s Manual.

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

Ca Bling! Pacificon 2011 Norcal Buildathon Project

The BASIC Stamp and other 5 V controllers need an adapter that:

SimPLC. User Manual.

_ V1.2. ione-bt Wireless Debugger. Hardware Reference

Getting Started with your D3000M Series Module

University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

A4988 Stepper Motor Driver Carrier with Voltage Regulators

Anadigm FPAA Solutions Training Class III

HomeVision-Pro Overview for HomeVision Users

Ultratronics v1.0 DATASHEET

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

MX Educational Target User Manual

imcu7100evb User s Guide

Quad-Relay Delay Switch (QRDS) User Manual (v1.0)

Robotic Kits. AVR SWARM Robot Kits

Transcription:

USB RELAY MODULE WITH ANALOG AND GPIO INTERFACE WWW.NUMATO.COM 1 Numato Labs WWW.NUMATO.COM

Table of Contents 1. Introduction 2. Electrical Specification 3. Wiring Details 4. Using the Module 5. Command Reference 6. Frequently Asked Questions 7. Schematics Introduction Numato USB Relay Module is a versatile piece of hardware that is useful for development as well as production purposes. It comes with four on board relays and associated drivers. Apart from relays, the board has 4 General purpose I/Os, and 6 analog inputs (multiplexed with GPIOs). On board ICSP header makes it easy to be used as a development system as well. The board communicates with host PC over high-speed USB link. When connected to PC, the board will show up as a normal serial port in Device Manager. A serial terminal emulation program like HyperTerminal can be used to control individual relays and I/Os. Electrical Specification System Supply Voltage Relay Supply Voltage Microcontroller IO Voltages Analog Input Resolution Max Relay load Current - 5V, USB powered or Externally powered - 12V External - PIC18F14K50-5V Max - 10 Bits - 5A 2 Numato Labs WWW.NUMATO.COM

Wiring Details +12V GND +5V (Optional) Analog0/GPIO0 Analog1/GPIO1 Analog2/GPIO2 Analog3/GPIO3 Analog4/RX SCK/SCL Analog5/SDI/SDA Ground VDD TX ICSP NC C NO NC C NO NC C NO NC C NO USB Using the Module The primary functionality of this module is to control the on-board relays from a PC through USB link. Besides controlling relays, there are digital and analog I/Os available which can be individually read or written according to your requirements. The board s digital circuitry can be powered either from USB or from an external power supply. By default the board is shipped with USB powered configuration (Jumper JP1 pins 2 and 3 connected together). If 3 Numato Labs WWW.NUMATO.COM

the board needs to be powered from an external source, connect pin no. 3 of screw terminal X3 to a +5V supply and move jumper on JP1 to position 1-2. Relay drive circuitry always run on externally supplied +12V supply (Screw Terminal X3 Pin No. 1). It is very important that +12v supply is connected in order for the relays to work. If relays are not used, this supply is not necessary. Screw Terminal X2 gives access to all relay terminals. It is recommended to coat a layer of solder on all tracks that connect relay terminals to corresponding screw terminals (solder mask is kept open on all these tracks) if the board is used to switch more than 3A current. When the Relay Controller Board is connected to a PC for the first time, a window will pop up asking for the drivers. Please follow the wizard and load the necessary driver from the Driver folder in the USBRELAY4 zip package. If everything goes fine, you should be able to see a new serial port in Device manager as in the picture below (The port number can be different on your machine). At this point, the board can be accessed by opening the corresponding serial port using a serial terminal program like HyperTerminal. When configuring the port make sure that flow control is set to none. Rest of the settings can 4 Numato Labs WWW.NUMATO.COM

be left as defaults. Pressing the Enter key should show a command prompt sign (>) where you can enter the commands. Enter ver to see the firmware version. The version should be printed on the console as shown in the picture below. See Command Reference for details of individual commands. Command Reference ver Command Arguments Example Description relay : ver : None : ver : ver : Displays version of the firmware running on the board. Command : relay Arguments : on/off/read, relay number : relay on RelaNum, relay off RelaNum, relay read RelayNum Example : relay on 0, relay off 0, relay read 0 5 Numato Labs WWW.NUMATO.COM

Description : Control individual relays on the board. reset Command Arguments Example : reset : None : reset : reset Description : Resets all relays to off state. However, GPIOs won t be affected by this command. adc Command : adc Arguments : read, channel : adc read channel Example : adc read 0, adc read 1 Description : Reads voltage on the specified analog input. gpio Command : gpio Arguments : set/clear/read, Gpio Number : gpio set gpionum, gpio clear gpionum, gpio read gpionum Example : gpio set 0, gpio clear 0, gpio read 0 Description pin. : Reads or writes a logic state from/to an individual GPIO Frequently Asked Questions 1. Can I program this board with my own firmware? 6 Numato Labs WWW.NUMATO.COM

Yes, as long as you know what you are doing. You can write your own firmware and use it with this board. This board has a PIC18F14K50 microcontroller, so make sure you are building the code for this processor. Use ICSP connector to program the microcontroller. 2. I see green mask is open on some traces on the bottom side, why is it so? Those tracks are kept open intentionally so that user can coat a layer of solder on the track to increase current handling capacity. 3. Can I control the relays from my own application instead of using HyperTerminal or other terminal emulators? Yes. It is possible to control the board with different programming languages/scripts. All that we need to make sure is that the language you choose supports serial port programming. Some possible Tools/Languages are, Visual Basic Visual C++ Perl Python VBA (Word, Excel etc...) And more... 4. Can I power relays from USB instead of external +12V supply? No. It may work sometimes, but not guaranteed to work every time. Moreover, when all relays are energized at the same time, it can draw too much current and cause power surge on the USB port and can even kill you USB port. 7 Numato Labs WWW.NUMATO.COM