# Kvaser Can interface

**URL:** <https://discourse.nodered.org/t/kvaser-can-interface/78916>\
**Category:** Hardware\
**Created:** [3 June 2023 07:42 UTC](https://discourse.nodered.org/t/kvaser-can-interface/78916 "2023-06-03T07:42:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hubert11](https://avatars.discourse-cdn.com/v4/letter/h/ee59a6/32.png) [@hubert11](https://discourse.nodered.org/u/hubert11)\
**Post date:** [3 June 2023 07:42 UTC](https://discourse.nodered.org/t/kvaser-can-interface/78916/1 "2023-06-03T07:42:09Z")

</div>

Hello I am looking for posiblility to geather data from CAN - network to node red. Is there any one who used usb interface like kvaser to read out information from CAN?  
Are there any hardware solutions to geather information from can network using red note libraries.

---

<div class="post-metadata">

**Author:** ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)\
**Post date:** [4 June 2023 06:52 UTC](https://discourse.nodered.org/t/kvaser-can-interface/78916/2 "2023-06-04T06:52:45Z")

</div>

Glad to see the application demand of CAN.  
We company will release a linux hardware in Q3 2023 with built-in CAN function working in Node-RED.  
The device is under developing now.

---

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [4 June 2023 08:05 UTC](https://discourse.nodered.org/t/kvaser-can-interface/78916/3 "2023-06-04T08:05:38Z")

</div>

So I use this [device](https://fr.aliexpress.com/item/1005003965794616.html?spm=a2g0o.order_list.0.0.343b5e5boz4aaP&gatewayAdapt=glo2fra) to connect to the CAN bus.  
To retrieve data from a raspberry or Linux machine, you need to install the following tools:

```auto
sudo apt install can-utils

```

or have a look at this place: [GitHub - linux-can/can-utils: Linux-CAN / SocketCAN user space applications](https://github.com/linux-can/can-utils)

Then in NR it's pretty simple, there's a node for that. [node-red-contrib-socketcan](https://flows.nodered.org/node/node-red-contrib-socketcan)

On the other hand, you absolutely **must have documentation** on how the information in the received frames is coded. Otherwise, it's going to be very complicated. Everything is encoded to take up as little space as possible, unlike a .json file.

Example:  
 ![CAN-dump-1-depuis-NR](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/901439440a6e271985cadfb03105cc0ba3652448.gif)

and a full flow exemple:

 ![capture_20230604-100212](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/7/874e4ec025ba20a6f548e72e41a0bf09e752a4ca.png)

don't forget the 120 ohm end-of-line resistor

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 August 2023 08:06 UTC](https://discourse.nodered.org/t/kvaser-can-interface/78916/4 "2023-08-03T08:06:18Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
