Files in undroid/tclcan/arduino/ of tip
Not logged in

Files in directory undroid/tclcan/arduino from the latest check-in

  • MCP_CAN_lib
  • candown.sh
  • canup.sh
  • looptest.tcl
  • README
  • slcan.ino
  • wiring.jpg

El-cheapo Linux SocketCAN interface
===================================

Parts required:

	1 Arduino (Uno, Nano, ...)
	1 MCP2515 breakout board
	1 USB cable
	7 wires for Arduino to MCP2515 wiring

Software required:

	Linux development system with USB interface
	Arduino IDE
	Linux package can-utils

The slcan.ino Arduino sketch implements a serial line to CAN converter
which can be configured as CAN network interface to a Linux system
using the slcand utility. See canup.sh and candown.sh how this works.

The looptest.tcl is a serial line only test programm to verify basic
operation of the Arduino.