DSD TECH SH-UR01A

DSD TECH SH-UR01A USB Relay Controller User Manual

Model: SH-UR01A

1. Pengenalan

The DSD TECH SH-UR01A is a 1-channel USB Relay Controller designed for controlling switches via a personal computer or laptop. This device utilizes a Silicon Labs CP2102N serial chip, which creates a virtual serial port on your computer, allowing you to send commands for relay operation. It features an OMRON G5V-1 relay, suitable for various switching applications.

This manual provides essential information for setting up, operating, maintaining, and troubleshooting your SH-UR01A USB Relay Controller.

2. Produk Lebihview

The SH-UR01A USB Relay Controller is a compact device that connects to your computer via a standard USB Type-A male connector. It features a single relay channel with screw terminals for connecting external circuits.

Labeled diagram of the DSD TECH SH-UR01A USB Relay Controller showing its components.

Rajah 2.1: Component Diagram of SH-UR01A. This image highlights the 5V DC Relay, Normal Open (NO), Common (COM), Normal Close (NC) terminals, and the USB Type A Male connector.

2.1 Ciri-ciri Utama

  • USB Relay Control: Enables switching operations directly from your PC or laptop.
  • Silicon Labs CP2102N Serial Chip: Provides a virtual serial port interface for command-based control.
  • OMRON G5V-1 Relay: Rated load of 0.5A at 125 VAC; 1A at 24 VDC. Maximum switching voltage of 125 VAC, 60 VDC.
  • Keserasian Luas: Supports Windows 7, 8, 10, and various Linux OS and Mac OS.
Berbilang views of the DSD TECH SH-UR01A USB Relay Controller.

Rajah 2.2: Various angles of the SH-UR01A USB Relay Controller, showcasing reka bentuknya yang padat.

DSD TECH SH-UR01A USB Relay Controller connected to a USB extension cable.

Rajah 2.3: The SH-UR01A connected to a USB cable, illustrating its typical connection method.

3. Arahan Persediaan

3.1 Pemasangan Pemandu

Before using the SH-UR01A, you must install the appropriate driver for the Silicon Labs CP2102N serial chip. This is typically required only for the first use. Once installed, a virtual serial port will appear on your computer, enabling communication with the device.

  1. Muat Turun Pemandu: Obtain the latest Silicon Labs CP2102N driver from the official DSD TECH website or Silicon Labs webtapak.
  2. Pasang Pemacu: Follow the on-screen instructions to install the driver on your operating system.
  3. Sambungkan Peranti: Plug the SH-UR01A USB Relay Controller into an available USB port on your computer.
  4. Sahkan Pemasangan: Check your computer's Device Manager (Windows) or equivalent system information (macOS/Linux) to confirm that the virtual serial port (e.g., COM port on Windows, /dev/ttyUSBx on Linux) is recognized.

3.2 Keserasian Sistem

The SH-UR01A USB Relay Controller is compatible with the following operating systems:

  • Windows 7
  • Windows 8
  • Windows 10
  • Various Linux OS (e.g., Ubuntu)
  • Mac OS
DSD TECH SH-UR01A USB Relay Controller connected to a laptop.

Rajah 3.1: The SH-UR01A connected to a laptop, demonstrating a typical setup.

4. Arahan Operasi

The SH-UR01A is controlled by sending specific AT commands to its virtual serial port. You can use any serial terminal program (e.g., PuTTY, Realterm, Tera Term) or custom software to send these commands.

4.1 Tetapan Port Bersiri

The default UART settings for communication are:

  • Kadar baud: 9600
  • Hentikan Bit: 1
  • Pariti: tiada
  • Bit Data: 8

4.2 Senarai Perintah AT

Use the following commands to control the relay:

Table of AT commands for the DSD TECH SH-UR01A USB Relay Controller.

Rajah 4.1: AT Command List for SH-UR01A.

PerintahPenerangan
ATTest Command. The device will respond with "OK" if communication is successful.
AT+CH1=1Closes the relay of channel 1 (activates the relay).
AT+CH1=0Opens the relay of channel 1 (deactivates the relay).
AT+BAUD=115200Modifies the baud rate to 115200. (Other baud rates may be supported; refer to advanced documentation if available).

4.3 Cthample: Python Demo Code

The following Python code snippet demonstrates how to communicate with the SH-UR01A using the pyserial library. This example shows how to open the serial port, send commands to turn the relay off and on, and then close the port.

Python demo code for controlling the DSD TECH SH-UR01A USB Relay Controller.

Rajah 4.2: Python Demo Code for SH-UR01A.

#This demo code is issued by DSD Tech Team exclusively for the SH-UR01A USB Relay
import serial
import time
import serial.tools.list_ports

ports_list = list(serial.tools.list_ports.comports())

if len(ports_list)<=0:
print("no serial port")
else:
print("serial port as follow:")
for comport in ports_list:
print(list(comport)[0],list(comport)[1])

ser=serial.Serial('COM101',9600,timeout=0.5) # please modify your uart port name such as COM10

if ser.is_open:
print("open sucess")
print(ser.name)
else:
print("open failed")

mylen = ser.write('AT+CH1=0') # Relay Off
time.sleep( 3 )

mylen = ser.write('AT+CH1=1') # Relay ON

ser.close()
print("serial close")

Nota: Gantikan 'COM101' with the actual serial port name assigned to your SH-UR01A device (e.g., COM3, /dev/ttyUSB0).

5. Penyelenggaraan

The DSD TECH SH-UR01A USB Relay Controller is designed for durability and requires minimal maintenance. To ensure optimal performance and longevity:

  • Keringkan: Elakkan daripada mendedahkan peranti kepada lembapan atau cecair.
  • Bersihkan Perlahan-lahan: If cleaning is necessary, use a dry, soft cloth. Do not use harsh chemicals or abrasive materials.
  • Tangani dengan Berhati-hati: Elakkan daripada menjatuhkan atau meletakkan peranti kepada kesan yang kuat.
  • Storan yang Betul: Apabila tidak digunakan, simpan peranti di tempat yang sejuk dan kering jauh dari cahaya matahari langsung.

6. Penyelesaian masalah

If you encounter issues with your SH-UR01A USB Relay Controller, refer to the following common problems and solutions:

  • Peranti Tidak Dikenali:
    - Ensure the USB cable is securely connected.
    - Verify that the Silicon Labs CP2102N driver is correctly installed. Check Device Manager (Windows) or system information (macOS/Linux) for any driver errors or unrecognized devices.
    - Try connecting to a different USB port or another computer to rule out port or system-specific issues.
  • Relay Not Responding to Commands:
    - Confirm that the correct virtual serial port (e.g., COM port number) is selected in your terminal program or software.
    - Check that the serial port settings (Baud Rate: 9600, Stop Bits: 1, Parity: None, Data Bits: 8) match the device's default settings.
    - Ensure the AT commands are sent correctly, including the exact syntax (e.g., AT+CH1=1). Some terminal programs may require specific settings for sending commands (e.g., appending carriage return/line feed).
    - Test communication with the simple AT command; if it responds with "OK", the communication link is established.
  • Intermittent Connection or Errors:
    - USB cable quality can affect communication. Try a different USB cable.
    - Ensure there are no other applications or processes using the same serial port simultaneously.
    - Electrical noise or interference can affect serial communication. Keep the device away from strong electromagnetic fields.
  • Relay Clicking but Not Switching External Device:
    - Verify the wiring of your external device to the relay terminals (NO, COM, NC).
    - Ensure the external device's voltage and current requirements do not exceed the OMRON G5V-1 relay's rated load (0.5A at 125 VAC; 1A at 24 VDC). Overloading can damage the relay.

If these steps do not resolve the issue, please contact DSD TECH customer support for further assistance.

7. Spesifikasi

CiriPerincian
Nombor ModelSH-UR01A
Dimensi Produk2.56 x 1.46 x 0.63 inci
Berat Barang1.3 auns
PengeluarDSD TECH
Antara Muka PerkakasanUSB 2.0
Peranti SerasiKomputer riba, Komputer Peribadi
Jenis gegantiOMRON G5V-1
Relay Rated Load0.5A at 125 VAC; 1A at 24 VDC
Maks. Menukar Voltage125 VAC, 60 VDC
Serial ChipSilicon Labs CP2102N
Platform yang DisokongWindows 7, 8, 10; Linux; Mac OS
Dimensions of the DSD TECH SH-UR01A USB Relay Controller and its accompanying USB cable.

Rajah 7.1: Physical dimensions of the SH-UR01A and its cable.

8. Waranti dan Sokongan Pelanggan

DSD TECH is committed to providing high-quality products and excellent customer service.

8.1 Maklumat Waranti

This USB Relay Controller comes with a 1-year product replacement service dari tarikh pembelian.

8.2 Sokongan Teknikal

DSD TECH offers permanent technical support for this product. If you have any questions, require assistance with setup, operation, or troubleshooting, please do not hesitate to contact our support team. All inquiries will be addressed within 1 working day.

For support, please visit the official DSD TECH webtapak atau rujuk maklumat hubungan yang diberikan bersama pembungkusan produk anda.

DSD TECH product packaging and warranty information card.

Rajah 8.1: Example of DSD TECH packaging and warranty statement.

Dokumen Berkaitan - SH-UR01A

Praview Approved Bicycle Locks List | Sold Secure Ratings | The Insurance Emporium
Find a comprehensive list of Sold Secure approved bicycle locks for insurance purposes, categorized by Bronze, Silver, Gold, and Diamond ratings. Ensure your bike is protected with the right lock.
Praview ASUS ROG Rampumur VI Senarai Vendor Layak Encore Extreme
Dokumen ini menyenaraikan Senarai Vendor Layak (QVL) untuk peranti yang serasi dengan ASUS ROG Ramppapan induk Age VI Extreme Encore, meliputi bekalan kuasa, storan, audio, rangkaian dan banyak lagi.
Praview Senarai Vendor Layak (QVL) ASUS PRIME B365-PLUS - Komponen Serasi
Dokumen ini menyenaraikan bekalan kuasa, peranti storan, persisian dan komponen lain yang serasi untuk papan induk ASUS PRIME B365-PLUS, seperti yang disahkan oleh ASUS. Ia memperincikan vendor dan nombor model khusus untuk setiap kategori komponen.
Praview ASUS Maximus IX Formula Qualified Vendor List - PC Components
A comprehensive list of qualified vendors and their compatible devices for the ASUS Maximus IX Formula motherboard, including power supplies, hard drives, SSDs, audio devices, controllers, networking cards, and more.
Praview 神港テクノス 製品ガイド:産業オートメーションおよび制御ソリューション
SHINKO TECHNOSの包括的な産業オートメーションおよび制御製品群をご覧ください。コントローラー、センサー、レコーダーなど、様々な産業用途で精度と信頼性を実現するために設計された製品をご紹介します。
Praview SLG Lighting Stock Guide 2023: LED Luminaries & Lighting Solutions
Explore the comprehensive SLG Lighting Stock Guide 2023, featuring a wide range of LED Luminaries, Lighting Controls, and LED Sports Luminaries for commercial, industrial, and sports applications. Discover product specifications, certifications, and warranties.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.