waveshare USB TO UART/I2C/SPI/JTAG محول

waveshare USB to UART/I2C/SPI/JTAG دليل تعليمات المحول

Comprehensive guide for setup, operation, and maintenance of your waveshare multi-interface converter.

1. انتهى المنتجview

The waveshare USB to UART/I2C/SPI/JTAG Converter is a versatile tool designed for developers and enthusiasts working with various communication protocols. It supports conversion from USB to 2-channel UART, or USB to 1-channel UART + 1-channel I2C + 1-channel SPI, or USB to 1-channel UART + 1-channel JTAG. This device offers high-speed communication, flexible voltage selection, and robust protection features, making it suitable for a wide range of embedded system development and debugging tasks.

المميزات الرئيسية:

2. حزمة المحتوى

The package for the waveshare USB to UART/I2C/SPI/JTAG Converter typically includes the following items:

waveshare USB to UART/I2C/SPI/JTAG Converter and accessories

الشكل 2.1: Contents of the waveshare USB to UART/I2C/SPI/JTAG Converter package, showing the main unit, USB cable, and jumper wires.

3. الإعداد

Follow these steps to set up your waveshare USB to UART/I2C/SPI/JTAG محول:

3.1 تثبيت برنامج التشغيل

Before connecting the device, ensure the necessary drivers are installed on your operating system. Drivers are typically available for Windows and Linux. Refer to the official waveshare product page or included documentation for specific driver download and installation instructions.

Driver installation instructions for Windows and Linux

الشكل 3.1: Example of driver installation guides for Windows and Linux operating systems, showing command line instructions and device manager views.

3.2 اتصال الأجهزة

  1. الاتصال بالكمبيوتر الشخصي: Use the provided USB-B cable to connect the converter to a USB port on your computer. The PWR indicator LED should light up, indicating power.
  2. Select Operating Voltage: Use the onboard toggle switch (labeled 5V/3V3) to select the appropriate operating voltage (3.3V or 5V) for your target device. Ensure this matches the voltage requirements of the device you are connecting to prevent damage.
  3. حدد وضع التشغيل: Configure the DIP switches (S1, S2) on the back of the device to select the desired communication mode. Refer to the table below for mode configurations:
    Table 3.1: Operating Mode Selection
    Mode (M0-M3)S2S1وظيفة
    M0عنعنUART0 + UART1
    M1عنONUART1 + I2C + SPI
    M2ONعنUART1 + I2C + SPI
    M3ONONUART1 + JTAG
  4. Connect Target Device: Use the appropriate jumper wires to connect the converter's interface pins (UART0, UART1, I2C, SPI, JTAG) to your target device according to the selected mode. Pay close attention to pin assignments (VCC, GND, TXD, RXD, SCL, SDA, SCK, MISO, MOSI, CS, TDI, TDO, TCK, TMS, TRST).
waveshare USB to UART/I2C/SPI/JTAG Converter with jumper wires connected to a target device

الشكل 3.2: The converter connected to a target device via jumper wires, illustrating a typical setup for communication.

Detailed diagram of interface and mode descriptions on the waveshare converter

الشكل 3.3: مفصل view of the converter's interface and mode description, including indicator lights and DIP switch settings.

4. تعليمات التشغيل

Once the hardware is connected and drivers are installed, you can begin using the converter for communication with your target device.

4.1 مصابيح مؤشر

The converter features several indicator lights to provide feedback on its status:

4.2 Using UART Interfaces

In M0 mode (UART0 + UART1), both UART channels are active. Use a serial terminal program on your computer to communicate. Configure the baud rate, data bits, parity, and stop bits to match your target device. The converter supports baud rates up to 9Mbps with hardware flow control (CTS/RTS).

4.3 Using I2C and SPI Interfaces

In M1 or M2 mode (UART1 + I2C + SPI), you can utilize the I2C and SPI interfaces. Dedicated software tools or custom scripts are typically used to interact with I2C EEPROMs, OLEDs, sensors, or SPI slave devices. The SPI interface provides two chip select pins (CS0, CS1) for controlling multiple slave devices.

4.4 Using JTAG الواجهة

In M3 mode (UART1 + JTAG), the JTAG interface is enabled. This is primarily used for debugging and testing microcontrollers or FPGAs. Tools like OpenOCD can be used in conjunction with the JTAG interface. Users should verify compatibility and functionality with their specific JTAG debugging setup.

فيديو 4.1: An official waveshare video demonstrating the features and usage of the USB to UART/I2C/SPI/JTAG converter, highlighting its multi-interface capabilities and application in IoT development.

5. المواصفات

Below are the detailed technical specifications for the waveshare USB to UART/I2C/SPI/JTAG محول:

الجدول 5.1: مواصفات المنتج
ميزةوصف
واجهة المضيفUSB
مزود الطاقةUSB port, 5V
مستوى التشغيل3.3V/5V (selectable via onboard switch)
موصل أوسبيو إس بي-بي
حماية الواجهةResettable fuse, ESD protection
UART Channels2 (M0 mode: UART0 + UART1)
موصل UART6PIN IDC connector
UART معدل الباود1200bps ~ 9Mbps
التحكم في التدفق UARTCTS and RTS
I2C Channel1 (M1/M2 mode)
موصل I2C12PIN IDC connector (first 4 pins are I2C)
SPI Channel1 (M1/M2 mode)
SPI Connector12PIN IDC connector (last 8 pins are SPI)
JTAG قناة1 (M3 mode)
JTAG موصل12PIN IDC connector (last 8 pins are JTAG)
أبعاد86.0 × 48.0 × 27.6 ملم
وزن العنصر5.6 أونصات
الشركة المصنعةوايفشير
Outline dimensions of the waveshare USB to UART/I2C/SPI/JTAG محول

الشكل 5.1: Technical drawing showing the outline dimensions of the converter in millimeters.

6. الصيانة

Proper maintenance ensures the longevity and reliable operation of your waveshare converter:

7. استكشاف الأخطاء وإصلاحها

If you encounter issues with your waveshare converter, refer to the following troubleshooting tips:

8. الضمان والدعم

For warranty information, technical support, and additional resources, please visit the official waveshare website. You can find detailed documentation, driver downloads, and contact information for customer service there.

While the product is from waveshare, some related products from DSD TECH offer at least 12 months of warranty and lifetime technical support. Please refer to the specific product's warranty details provided by waveshare for accurate information regarding this converter.

لمزيد من المساعدة، يمكنك أيضًا الرجوع إلى waveshare Amazon Store.