Waveshare USB-CAN-A

Waveshare USB to CAN Adapter Model A Instruction Manual

Model: USB-CAN-A

1. บทนำและเรื่องอื่นๆview

The Waveshare USB to CAN Adapter Model A is a versatile device designed for communication between a computer and a CAN bus network. It utilizes an STM32 chip solution, ensuring stable and reliable performance. This adapter supports both CAN2.0A (standard frame) and CAN2.0B (extended frame) protocols, with a configurable CAN baud rate ranging from 5Kbps to 1Mbps. It offers multiple working modes and data sending/receiving options, making it suitable for various applications including data acquisition, analysis, and monitoring of CAN bus networks. The device is compatible with multiple operating systems, including Windows and Linux.

2. เนื้อหาบรรจุภัณฑ์

เมื่อเปิดบรรจุภัณฑ์ โปรดตรวจสอบว่าประกอบด้วยสิ่งของต่อไปนี้ทั้งหมด:

Waveshare USB to CAN Adapter Model A package contents including the adapter, USB cable, and screwdriver.

Image: Package contents of the Waveshare USB to CAN Adapter Model A.

  • USB-CAN-A Adapter (x1)
  • USB Cable (~1.5m) (x1)
  • ไขควง (x1)

3. คุณสมบัติหลัก

The Waveshare USB to CAN Adapter Model A offers a robust set of features for efficient CAN bus communication:

Waveshare USB to CAN Adapter Model A with a list of its key features.

ภาพ: เหนือview of the Waveshare USB to CAN Adapter Model A and its features.

  • Supports CAN2.0A (standard frame) and CAN2.0B (extended frame).
  • CAN baud rate is configurable from 5Kbps to 1Mbps.
  • Features 4 working modes: normal, loopback, silent, and silent loopback.
  • Supports multiple CAN data sending modes: single frame, multiple frames, manually, regularly, and cyclic sending.
  • Supports multiple CAN data receiving modes: configurable to receive data from a specific ID or automatically answer with configured data.
  • Data can be saved in TXT or Excel formats.
  • Includes CAN bus detection for status checking.
  • Sending/receiving CAN data with time scale for sequential display.
  • USB virtual COM port baud rate configurable from 9600 to 2000000bps (2000000bps by default).
  • Working parameters can be set via configuration software or serial command and saved after power off.
  • Adopts STM32 chip solution for stable and reliable communication.
  • ทีวีออนบอร์ด (Transient Voltage Suppressor) to effectively suppress surge voltage และสไปค์ชั่วคราว voltage.
  • Comes with master computer software for Windows system.
  • Easy for secondary development by modifying sending and receiving commands.

4. การอัพเกรดเวอร์ชั่น

The Waveshare USB to CAN Adapter Model A has undergone a design upgrade, transitioning from an open board design to a more robust, dedicated case. This enhancement improves durability and protection for the internal components.

Comparison of the old version (without case) and new version (with dedicated case) of the Waveshare USB to CAN Adapter Model A.

Image: Visual comparison of the previous and current versions of the adapter.

5. ความเข้ากันได้ของระบบ

The adapter is designed for broad compatibility with various operating systems, facilitating integration into diverse development and testing environments.

Screenshots showing the Waveshare USB to CAN Adapter Model A compatible with Windows and Linux systems, including Raspberry Pi OS and Ubuntu on Jetson Nano.

Image: Demonstrates compatibility with Windows and Linux systems.

  • วินโดวส์ XP/7/8/10/11
  • Linux Systems (e.g., Raspberry Pi OS, Ubuntu on Jetson Nano)

6. Primary Functions

The primary function of the USB to CAN Adapter Model A is to collect data from a CAN bus and transmit it to a PC via USB. This enables transceiver control, data analysis, acquisition, and monitoring of the CAN bus network.

Diagram illustrating the primary function of the USB to CAN Adapter Model A, connecting a Windows PC, Raspberry Pi, or Jetson Nano via USB to a CAN device.

Image: Diagram of the adapter's primary function in a CAN network.

7. CAN Baud Rate Configuration

The CAN baud rate of the adapter is highly flexible and can be configured to suit various application requirements, supporting a wide range of speeds for different CAN bus setups.

Diagram showing the configurable CAN baud rate range of the Waveshare USB to CAN Adapter Model A, from 5Kbps to 1Mbps.

Image: Illustration of the configurable CAN baud rate range.

The CAN baud rate is configurable within the range of 5Kbps to 1Mbps.

8. Multiple Working Modes

The adapter supports four distinct working modes to cater to different testing and operational scenarios:

Diagrams illustrating the four working modes of the Waveshare USB to CAN Adapter Model A: Normal Mode, Loopback Mode, Silent Mode, and Silent Loopback Mode.

Image: Diagrams explaining the four operational modes.

  • โหมดปกติ: Standard CAN communication for sending and receiving data to and from the CAN bus.
  • โหมดย้อนกลับ: Data sent to the CAN bus is internally looped back to the receiver. Useful for self-testing without affecting the external CAN bus.
  • โหมดเงียบ: The adapter can receive data normally but will not transmit any implicit bit reports. This mode is used for analyzing CAN bus activity without interfering with the network.
  • Silent Loopback Mode: A combination of silent and loopback modes, used for 'warm self-testing' where the device can test its own transmission and reception capabilities without affecting the CAN bus network.

9. Interfaces Introduction

The adapter features several indicators and controls for easy operation and monitoring:

Labeled diagram of the Waveshare USB to CAN Adapter Model A showing TX indicator, PWR indicator, RX indicator, Reset button, and 120Ω resistor switch.

Image: Labeled diagram of the adapter's interfaces.

เลขที่Interface/Indicatorคำอธิบาย
1ตัวบ่งชี้ TXBlinks when CAN data is being transmitted.
2ตัวบ่งชี้ PWRLights up red when the USB port is connected and powered.
3ตัวบ่งชี้ RXBlinks when CAN data is being received.
4ปุ่มรีเซ็ตPress before power on, then release after power on to restore factory settings.
5120Ω resistor switchSwitch to the CAN terminal side to enable the 120Ω resistor; switch to the other side to disable it.

10. STM32 Chip Solution

The Waveshare USB to CAN Adapter Model A integrates the original STM32F103 chip, which is central to its stable and reliable communication capabilities. This microcontroller provides the processing power necessary for efficient CAN bus operations.

ภาพระยะใกล้ view of the STM32F103 chip on the Waveshare USB to CAN Adapter Model A board.

ภาพ: รายละเอียด view of the STM32 chip on the adapter.

11. ขนาดโดยรวม

Understanding the physical dimensions of the adapter is important for integration into various setups.

Diagram showing the outline dimensions of the Waveshare USB to CAN Adapter Model A in millimeters.

Image: Outline dimensions of the adapter.

The adapter measures approximately 78.52mm in length, 18.36mm in width (USB side), and 8.87mm in width (terminal side).

12. การตั้งค่าและการติดตั้ง

Follow these steps to set up your Waveshare USB to CAN Adapter Model A:

  1. การติดตั้งไดร์เวอร์: Before connecting the adapter, install the necessary USB virtual COM port drivers on your computer. These drivers are typically available on the Waveshare product page or included with the software package.
  2. เชื่อมต่อกับพีซี: Plug the USB-CAN-A adapter into an available USB port on your computer (PC, Laptop, Raspberry Pi, Jetson Nano).
  3. ไฟแสดงสถานะพลังงาน: Verify that the PWR indicator on the adapter lights up red, indicating successful power connection.
  4. CAN Bus Connection: Connect the CAN H, CAN L, and GND terminals of the adapter to your CAN bus network. Ensure correct polarity.
  5. ตัวต้านทาน 120Ω: If your adapter is at either end of the CAN bus, enable the 120Ω termination resistor using the onboard switch. For mid-bus connections, disable the resistor.
  6. การกำหนดค่าซอฟต์แวร์: Launch the provided master computer software (for Windows) or use serial commands (for Linux) to configure the CAN baud rate and other working parameters.
  7. ทดสอบการสื่อสาร: Initiate a test communication to ensure the adapter is correctly sending and receiving data on the CAN bus.

13. คู่มือการใช้งาน

Once the adapter is set up, you can begin operating it for CAN bus communication:

  • เลือกโหมดการทำงาน: Choose the appropriate working mode (Normal, Loopback, Silent, Silent Loopback) based on your application requirements using the configuration software.
  • Configure Baud Rate: Set the desired CAN baud rate within the 5Kbps-1Mbps range.
  • ส่งข้อมูล: Use the software to send CAN data frames. You can choose between single frame, multiple frames, manual, regular, or cyclic sending modes.
  • Receive Data: Monitor incoming CAN data. Configure the receiving mode to filter by specific IDs or to automatically respond to configured data.
  • การบันทึกข้อมูล: Save received CAN data to TXT or Excel files for later analysis.
  • CAN Bus Detection: Utilize the CAN bus detection feature to check the status and health of the CAN network.
  • การพัฒนามัธยมศึกษา: For custom applications, modify the sending and receiving commands as needed.

14. การบำรุงรักษา

To ensure the longevity and optimal performance of your Waveshare USB to CAN Adapter Model A, follow these maintenance guidelines:

  • รักษาความสะอาด: Regularly clean the adapter with a soft, dry cloth. Avoid using harsh chemicals or solvents.
  • พื้นที่จัดเก็บ: Store the adapter in a cool, dry place away from direct sunlight, extreme temperatures, and humidity when not in use.
  • จัดการด้วยความระมัดระวัง: Avoid dropping or subjecting the adapter to physical shocks.
  • การจัดการสายเคเบิล: Ensure USB and CAN cables are not bent sharply or under excessive strain to prevent damage.
  • การอัปเดตซอฟต์แวร์: Periodically check the Waveshare website for updated drivers or software to ensure compatibility and access to the latest features.

15 การแก้ไขปัญหา

If you encounter issues with your Waveshare USB to CAN Adapter Model A, refer to the following troubleshooting tips:

  • ไม่พบอะแดปเตอร์:
    • Ensure USB cable is securely connected to both the adapter and the computer.
    • Verify that the PWR indicator on the adapter is lit.
    • Check if the USB virtual COM port drivers are correctly installed and recognized by your operating system. Try reinstalling them.
    • Test with a different USB port or computer.
  • No CAN Communication:
    • Confirm that the CAN H, CAN L, and GND connections to the CAN bus are correct and secure.
    • Verify that the CAN baud rate configured in the software matches the baud rate of the CAN bus network.
    • Check the 120Ω termination resistor switch setting. It should be enabled if the adapter is at the end of the bus, and disabled otherwise.
    • Ensure the CAN bus itself is operational and other devices on the bus are functioning correctly.
    • Try different working modes (e.g., Loopback mode for self-testing).
  • ความเสียหาย/ข้อผิดพลาดของข้อมูล:
    • Check for electromagnetic interference (EMI) near the adapter or CAN bus cabling.
    • Ensure proper grounding of the CAN bus and the adapter.
    • Verify cable quality and length; excessively long or poor-quality cables can introduce errors.
    • Confirm that the CAN bus is properly terminated at both ends.
  • ปัญหาด้านซอฟต์แวร์:
    • Ensure you are using the latest version of the master computer software.
    • รีสตาร์ทซอฟต์แวร์และ/หรือคอมพิวเตอร์ของคุณ
    • Consult the software's documentation or help files for specific error messages.

If these steps do not resolve the issue, please contact Waveshare technical support for further assistance.

16. ข้อมูลจำเพาะ

Detailed technical specifications for the Waveshare USB to CAN Adapter Model A:

ข้อมูลจำเพาะค่า
หมายเลขรุ่นUSB-CAN-A
CAN Protocol SupportCAN2.0A (standard frame), CAN2.0B (extended frame)
อัตราการถ่ายโอนข้อมูลสามารถ5Kbps - 1Mbps (configurable)
USB Virtual COM Port Baud Rate9600 - 2000000bps (2000000bps by default)
โหมดการทำงานNormal, Loopback, Silent, Silent Loopback
ชิปโซลูชั่นSTM32
การป้องกันทีวีออนบอร์ด (Transient Voltag(ตัวลดเสียง)
อุปกรณ์ที่รองรับPersonal Computer, Laptop, Raspberry Pi OS systems
ฮาร์ดแวร์อินเตอร์เฟซยูเอสบี
ขนาดแพ็คเกจ4.21 x 3.19 x 1.14 นิ้ว
น้ำหนักสินค้า2.82 ออนซ์ (0.08 กิโลกรัม)
ผู้ผลิตเวฟแชร์
วันที่พร้อมใช้งานครั้งแรก17 พฤศจิกายน 2022

17. การรับประกันและการสนับสนุน

Waveshare products are designed for reliability and performance. For specific warranty details, please refer to the official Waveshare website or the documentation included with your purchase. For technical assistance, support resources, and additional information, please visit the Waveshare support portal or contact their customer service team. Keep your purchase receipt for warranty claims.

เอกสารที่เกี่ยวข้อง - USB-CAN-A

พรีview Waveshare USB to UART/I2C/SPI/JTAG คู่มือการใช้งานตัวแปลง
สำรวจความสามารถของ Waveshare USB to UART/I2C/SPI/JTAG ตัวแปลงสัญญาณ คู่มือนี้จะอธิบายรายละเอียดเกี่ยวกับคุณสมบัติ โหมดการทำงาน และวิธีการใช้งานสำหรับ UART, I2C, SPI และ JTAG อินเทอร์เฟซบน Windows และ Linux
พรีview คู่มือผู้ใช้ USB-CAN-B
คู่มือผู้ใช้ที่ครอบคลุมสำหรับอะแดปเตอร์บัส CAN อัจฉริยะ Waveshare USB-CAN-B ซึ่งมีรายละเอียดคุณลักษณะ ข้อมูลจำเพาะ ขั้นตอนการติดตั้งสำหรับระบบปฏิบัติการ Windows การใช้งานซอฟต์แวร์ และการทดสอบตัวเอง
พรีview คู่มือการใช้งานอะแดปเตอร์ USB-CAN-FD ประสิทธิภาพสูงสำหรับงานอุตสาหกรรม Waveshare: อะแดปเตอร์ USB เป็น CAN FD
คู่มือฉบับสมบูรณ์สำหรับ Waveshare USB-CAN-FD อะแดปเตอร์ USB to CAN FD ระดับอุตสาหกรรม เรียนรู้เกี่ยวกับข้อกำหนด การติดตั้งไดรเวอร์ คุณสมบัติซอฟต์แวร์ การทดสอบลูปแบ็ก และแหล่งข้อมูลต่างๆ
พรีview คู่มือผู้ใช้ Waveshare USB to RS232/485/TTL
คู่มือผู้ใช้นี้ให้ข้อมูลโดยละเอียดเกี่ยวกับตัวแปลง USB เป็น RS232/485/TTL แบบแยกส่วนสำหรับงานอุตสาหกรรมของ Waveshare ครอบคลุมผลิตภัณฑ์มากกว่า...viewรวมถึงคุณสมบัติ ข้อมูลจำเพาะ การติดตั้งไดรเวอร์ และขั้นตอนการทดสอบสำหรับอินเทอร์เฟซ RS232, RS485 และ TTL (UART) ตัวแปลงสัญญาณนี้ใช้ชิป FT232RL และมีวงจรป้องกันที่แข็งแรง
พรีview รีเลย์ Modbus RTU: คู่มือผู้ใช้และคู่มือทางเทคนิค
คู่มือฉบับสมบูรณ์เกี่ยวกับรีเลย์ Modbus RTU ครอบคลุมคำแนะนำด้านความปลอดภัย การเชื่อมต่อฮาร์ดแวร์ การตั้งค่าซอฟต์แวร์ด้วย SSCOM และ Modbus Poll และโปรโตคอลคำสั่งโดยละเอียดสำหรับการทำงานต่างๆ รวมถึงตัวอย่างampไฟล์สำหรับ Raspberry Pi, STM32, Arduino และการรวมเข้ากับ PLC
พรีview 2inch LCD Module with ST7789 SPI Interface - Technical Guide
Technical documentation and usage guide for the 2inch LCD Module with ST7789 controller, featuring SPI interface, 240x320 resolution, and compatibility with Raspberry Pi, STM32, and Arduino platforms.