CANBus logger using Arduino + MCP2515 with GUI in Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ObjectListView
canbus_logger_mcu
.gitignore
README.md
logger.py
process.py
serial_interface.py

README.md

CANBus logger using Arduino and MCP2515/MCP2551.

Hardware

  • Arduino Duemilanove
  • MCP2551 CAN transceiver
  • MCP2515 CAN controller

I used schematics based on SparkFun's CANBus shield: http://www.sparkfun.com/datasheets/DevTools/Arduino/canbus_shield-v12.pdf

Software

GUI requirements

  • Python 2.7
  • pyserial
  • wxpython

Hardware connections

  Arduino pin   MCP2515 pin (DIP18)
  2				reset, 17

  SPI interface
  10 			cs, 16
  11 			si, 14
  12 			so, 15
  13			sck, 13

Usage

  • Connect hardware
  • Upload Arduino program. I use scons build system, so I don't know (nor care) if it compiles in brain-dead Arduino IDE.
  • Launch GUI by running python logger.py. Select serial port, CAN bitrate and connect.

Credits