This simplicity allows the use of off-the-shelf Terminal Emulation programs such as Hyper Terminal and PUTTY for controlling the module with a simple set of human-readable commands. Built-in USB to serial conversion allows the module to be used without any USB specific knowledge. Ease of use and wider operating system compatibility are the primary goals behind this product’s design. Enhanced terminal emulation for analysis of RS-232, USB, and TCP/IP communications Facilitates analysis and troubleshooting of device.Numato Lab’s 4 Channel USB Relay Module is a great product for controlling electrical and electronic devices remotely from a PC or Mobile Device over a USB link. This allows you to navigate the menu-driven interfaces found in many routers, firewalls and switches and use text based programs including emacs, vi, and nano as if you were connected over the network.Key Features. Serial is a full-featured terminal emulator supporting Xterm, VT102, and ANSI terminal controls.True colour support.Terminal emulation, powered by Wavelink, extends your enterprise systems to warehouse workers’ mobile devices. Let us look at the features Aminal provides to the terminal lovers out there: Unicode support. 4 Mechanical Relay with contact rating up to 10AAminal is a modern terminal emulator for Mac/Linux/Windows implemented in Golang and utilising OpenGL. In: diskutil list df -Hl echo mount out: /dev/disk0 (internal, physical): : TYPE NAME SIZE IDENTIFIER 0: GUIDpartitionscheme 500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: AppleHFS Macintosh HD 499.4 GB disk0s2 3: AppleBoot Recovery HD 650.0 MB disk0s3 Ff8bb540: /usb-audio-class ff929048: /ata-disk ff92b610: /atapi-disk ff92daf0: /sbp2-disk ff931508: /bootpath-search ff9380f8: /terminal-emulator ok 0. 5 Analog inputs with 10-bit resolution (multiplexed with digital IOs). Add barcode scanning, optimize with automation scripts, even add voice, all without modifying your host system.No vendor specific libraries or APIs requiredSome of the possible uses of this module includeThis product is compatible with the following operating systems: Can be controlled by using standard serial console applications or custom applications Digital circuitry can be powered from USB or external power supply Relay contacts available on easy to access screw terminals As easy as using a serial port, no USB knowledge required
The module communicates with host PC over full-speed USB link. This module also includes General Purpose I/Os, and analog inputs (multiplexed with GPIOs) that can be accessed over USB interface for extended functionality. Visual Basic for Applications (Microsoft Office VBA)A complete list of sample code is available here.This product has four onboard relays and associated drivers capable of controlling a variety of devices including lamps, motors, locks etc… (Please see recommendations for using this product with inductive loads elsewhere in this document). Visual Basic (VB6, VB2008, VB2010 express and other editions) Or any other operating system that supports USB CDC devices.And these are some of the languages that can be used for programming: Sling player for macConnect the device to a USB port on the host system But in no way limited to this software though.Using this product involves the following simple steps. This document has more information about using this device with the following Serial terminal software. It is recommended to use a series resistor with the GPIO/ADC pins when interfacing with other circuits. The ADC can acquire analog signal at the resolution of 10 bits per sample. All IO pins support 5V TTL signals and the ADC input range is 0 to +5V. Five of these pins can be used as Analog to Digital Converter inputs as well. Also we have a large set of sample code to help you with)All aspects of the above steps are covered in the following sections including step by step demonstration.In addition to the onboard relay, this module has 6 General Purpose IO pins that can be used for various custom applications. GPIOThis module uses +5V power supply to function properly. The table below summarizes the GPIO and Analog to Digital Converter input positions on the header. The internal Analog to Digital converter supports 10 bits resolution which is adequate for most applications. It is recommended to use a series resistor to protect the input from stray voltages and spikes. A 470 Ohms series resistor is recommended for current limiting when connecting LED to a GPIO.In contrast to GPIOs, Analog inputs can read voltages at any level between 0 to 5V. So no additional circuitry is needed to drive regular LEDs. It is possible to manage with a smaller power supply if relays are turned on a few at a time compared to turning on all relays at once or by connecting a large capacitor (4000uF or larger recommended) across the +12V rail.Using a product similar to Numato’s DC Barrel Jack Adapter is recommended if the power supply has a Barrel Jack connector (See the image on right).The driver package for Numato Lab’s products can be downloaded from the product page at ttp://numato.com. So it is recommended that the +12V power supply is rated 2 to 3 times the calculated minimum current. But the important thing to keep in mind is that the relays can draw more than 30mA briefly during OFF > ON transition time due to the relay coil inductance. So the minimum amount of current required for the 12V rail can be calculated by using the following equation.Minimum current required for 12V power supply = Number of relays x 30mAThe resultant number will give minimum current required to keep the relays in ON state. Each relay will consume approximately 30mA during ON state. This is separate from the +5V power used for the digital circuitry including the microcontroller on board. Terminal Emulator Usb Install The DriverThe chances of you requiring to rebuild the kernel to include the USB CDC driver is very slim. Fortunately, most Linux distributions (Ubuntu, Redhat, Debian etc.) has this driver pre-installed. The following video demonstrates how to install the driver on Windows 10.To use any device that uses USB CDC protocol with Linux, USB CDC driver needs to be compiled in to the kernel. Cat files present in the driver package downloaded from merely associate this pre-existing driver with the attached Numato Lab device. Exe file as most driver packages do and is expected to be that way. The driver binary necessary in this case is shipped with all copies of windows Desktop/Server editions and gets installed automatically while Windows is installed for the first time. Commands can be sent to the device using any mechanism that is valid for regular serial ports such as screen command or Serial Terminal Emulation applications. Once the device is visible under /dev directory, it can be treated just like any other serial device. The image below shows the result of ls /dev command on a Linux Mint system with a USB GPIO/Relay device attached.In this particular case, the device shows up as ttyACM0(highlighted in orange color) but it could be ttyACM1or ttyACM2etc… depending on the specific system and other connected devices. The name may be different depending on the Linux distribution you have. Usually the name of the device will be ttyACMxor similar. The image below shows the result of ls /dev/*usb* command on a Mac OSX Yosemite system with a USB GPIO/Relay device attached.In this particular case, the device shows up as tty.usbmodem141141(highlighted on orange color) but it could be any name starting tty. The name may be different depending on the Mac OSX version you have. Usually the name of the device will be tty.usbserialportxor similar. When connected to a Mac computer, this product should appear as a serial port under /dev directory. These separate serial devices can be used to control individual devices attached.Mac OSX is usually shipped with USB CDC driver pre-installed.
0 Comments
Leave a Reply. |
Details
AuthorElizabeth ArchivesCategories |