cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1908
Views
10
Helpful
2
Replies

CANbus with IR809

gabrijels
Level 1
Level 1

Hi,

 

I was trying to find some documents/code-snippets or repositories which demonstrate how to use CANbus with iOx platform. However, I was not successful in finding any relevant resource on the topic. Could anyone point me in the right direction?

 

Best regards,

Gabrijel

2 Replies 2

suressan
Cisco Employee
Cisco Employee

For CANbus connectivity, the configuration is similar for anyother serial connectivity. Please refer this link for configuring IOS to access serial port in IOx.

 

https://community.cisco.com/t5/cisco-iox-documents/accessing-serial-interface-on-ir829-through-gos/ta-p/3657013

 

You can follow any generic canbus over serial access tutorial for linux.

ANDREA GELATI
Level 1
Level 1

Hi Gabijel,

 

I evaluated a similar use case for experimental purpose in automotive context, but using IR829.

I have drawn the following conclusions:

  • You need a CAB Bus converter to RS-232 or LAN (the only available interfaces options on Cisco IR devices)
  • You need to develop an IOX app to do following:
    • interact with the converter (they usually use a proprietary communication protocol)
    • decode CAN message (in my case, SAE J1939)
    • basic data elaboration (ie: filtering), store and forward.

Take a look here for an interface conversion example:

https://davranetworks.atlassian.net/wiki/spaces/HOWTO/pages/49578010/Cisco+829+Router+with+OBDII+or+J1939+Key+from+BB+Advantech+-+Hardware+Setup

 

I found some CAN converters like these:

 

BB Smartworx CAN J1939 to RE-232 Converter (automotive) - 100$

http://advdownload.advantech.com/productfile/PIS/BB-HD3-A3/Product%20-%20Datasheet/HD3-A3_4717ds20171215230254.pdf

https://buy.advantech-bb.com/Telematics-OBD/Heavy-Duty-Vehicle-Converters/model-BB-HD3-A3.htm

 

mOByDic 7100 Dual J1939 CAN BUS Module CAN J1939 to RE-232 Converter (automotive) - 40€

https://www.ozenelektronik.com/arac-takip-cihazi-can-p.html

 

Copperhill Technology - SAE J1939 to RS232 & USB Gateway With 9-Pin Deutsch Connection Cable - 199$ (provides library for communication protocol)

https://copperhilltech.com/sae-j1939-to-rs232-usb-gateway-with-9-pin-deutsch-connection-cable/

 

Vscom - NetCAN Plus 110 - Converter Ethernet/WLAN to CAN Bus - 149€ (provides API/library for communication and Node-Red plugin)

http://www.vscom.de/netcan-plus-110.html#

 

There is also a lot of CAN to USB converter on the marker (cheaper, faster and easier to connect than RS-232), it could be suitable to have a chance to use USB serial port on IR router.

Theoretically it is possible, as documented below, but I don't know if anyone has ever tested this configuration:  

https://developer.cisco.com/docs/iox/#!usb-device-usage/universal-serial-bus-usb

 

Best regards,

Andrea