CAN bus communication to and from a Pi - Raspberry Pi Forums


hello, attempting turn pi, model yet chosen, simple plc using can bus protocol.

wondering if pi supports can communication?

also, planing on using c++ programing language execution speed. wondering if knows of libraries interpret can?

~ben

the usual way use can controller (eg. mcp2515) connected spi interface pi.
example :
http://www.industrialberry.com/canberrydual-v2-1/

can bus supported in linux kernel socketcan , appears network interface.
https://en.wikipedia.org/wiki/socketcan
https://www.kernel.org/doc/documentatio ... ng/can.txt

there test / debugging programs socketcan here :
https://github.com/linux-can/can-utils

there usb can interfaces available when last looked more expensive , intended used windows pc's.
hope helps started.

darren.


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'