Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nopnop2002/arduino-canbus-monitor

mcp2515 canbus module to Monitor Canbus traffic
https://github.com/nopnop2002/arduino-canbus-monitor

arduino canbus mcp2515 monitoring windows

Last synced: 3 months ago
JSON representation

mcp2515 canbus module to Monitor Canbus traffic

Awesome Lists containing this project

README

        

# Arduino-CANBus-Monitor
MCP2515 canbus module to Monitor Canbus traffic.

- V7.10
![USBCAN-001](https://user-images.githubusercontent.com/6020549/86521937-b7b74c80-be91-11ea-90c4-9585b1489965.jpg)

- V7.20
![USBCAN-V720](https://user-images.githubusercontent.com/6020549/86580056-25aa6380-bfb9-11ea-8e86-93f299703551.jpg)

- V8.00
![USBCAN-V800](https://user-images.githubusercontent.com/6020549/86580074-2cd17180-bfb9-11ea-99b5-16e32ab5cc47.jpg)

# Background

Windows application for monitoring CANBus is published [here](https://github.com/SeeedDocument/USB-CAN_Analyzer/tree/master/res/USB-CAN%20software%20and%20drive(v7.10)/Program).
This tool is designed to be used with this hardware.
![bazaar487719_1](https://user-images.githubusercontent.com/6020549/86521939-b9811000-be91-11ea-8dfc-2bc8e24d7f0c.jpg)

So, I made the hardware side with Arduino UNO+MCP2515 canbus module.

# Application structure
```
+-------------+ +-------------+ +-------------+
| Windows | | | | MCP2515 |
| Application |<--(USB)-->| Arduino-UNO |<--(SPI)-->| canbus |<--(CAN BUS)-->CAN Network
| | | | | module |
+-------------+ +-------------+ +-------------|
```

# Hardware requirements

1. Windows PC
Windows applications can be downloaded here.
- [V7.10](https://github.com/SeeedDocument/USB-CAN_Analyzer/tree/master/res/USB-CAN%20software%20and%20drive(v7.10)/Program)
- [V7.20](https://github.com/SeeedDocument/USB-CAN-Analyzer/tree/master/res/V7.20)
- [V8.00](https://github.com/SeeedDocument/USB-CAN-Analyzer/tree/master/res/Program)

2. Arduino UNO
It also works on ATMega32u4 and ATMega2560.

3. MCP2515 canbus module
You can get it from AliExpress or eBay for under $2.
![MCP2515_CAN_MODULE](https://user-images.githubusercontent.com/6020549/86521994-7ffcd480-be92-11ea-9248-8a3f06a0ae2f.JPG)

# Dependent libraries

- MCP_CAN lib
You can download from [here](https://github.com/coryjfowler/MCP_CAN_lib).

# Connection with CAN bus module

|Module||UNO|
|:-:|:-:|:-:|
|INT|--|Pin#2|
|SCK|--|Pin#13|
|SI|--|Pin#11|
|SO|--|Pin#12|
|CS|--|Pin#10|
|GND|--|GND|
|VCC|--|5V|

# How to use

- Add MCP2515 canbus module to CanBus.
- Write Arduino Code on UNO.
- Start a Windows application.

# Windows application User manual
See [here](https://github.com/nopnop2002/Arduino-CANBus-Monitor/tree/master/User%20Manual).

Official document is [here](https://github.com/SeeedDocument/USB-CAN-Analyzer/tree/master/res/Document).

# Trouble shooting
Use hardware serial for USB communication.
Therefore, the Arduino-IDE serial monitor cannot be used.
Debug uses software serial.
```
SoftwareSerial mySerial(4, 5); // RX, TX
```
![USBCAN-Debug](https://user-images.githubusercontent.com/6020549/86526011-6d51c200-bec9-11ea-9588-002a8790f681.jpg)