Skip to main content

Husarion - CAN01 USB CAN Interface

The Husarion CAN01 USB CAN Interface is a device that allows your PC or single-board computer (SBC) to communicate with a CAN (Controller Area Network) bus. This interface enables users to monitor, analyze, and send data within a CAN network, which is especially useful in automotive, industrial, robotics, and automation applications where CAN is a standard communication protocol.

usb-to-can-interface

Getting started

The detailed description of a hardware of the Husarion - CAN01 USB CAN Interface can be found in the Panther's manual. To run the device, you must meet certain requirements listed below:

Software

Hardware

  • The Husarion CAN01 USB CAN Interface

Demo

Thanks to this demo you will be able to communicate via CAN bus. You will learn how to setup the Husarion CAN01 USB CAN Interface and how to send and read messages.

Start guide

  1. Connect the Husarion CAN01 USB CAN Interface to a computer using USB cable.

  2. Check if a new serial device appears in your computer. For Linux based systems you can list USB devices using a command below and look for ID 0483:5740 STMicroelectronics Virtual COM Port:

lsusb

Additionally you can check if serial port appears:

ls -al /dev/ttyACM*
  1. If you see the device enable can interface with following commands and remember to choose a proper serial port:
sudo apt install can-utils
sudo slcand -o -s6 -t hw -S 3000000 /dev/ttyACM0
sudo ip link set up can0 type can bitrate 500000

Result

When everything is already set up you can check the communication. Open first terminal and listen to a CAN bus:

candump can0

In the second terminal write a message 1337 on an ID 13:

cansend can0 013#1337

The message should appear in the first terminal.

Summary

Thanks to this demo, you can communicate over the CAN bus using the Husarion CAN01 USB CAN Interface. This setup enables efficient data exchange and control within CAN networks, making it ideal for testing and development in automotive, industrial, robotics and automation applications.


Need help with this article or experiencing issues with software or hardware? 🤔

  • Feel free to share your thoughts and questions on our Community Forum. 💬
  • To contact service support, please use our dedicated Issue Form. 📝
  • Alternatively, you can also contact our support team directly at: support@husarion.com. 📧