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: about 2 months ago
JSON representation
mcp2515 canbus module to Monitor Canbus traffic
- Host: GitHub
- URL: https://github.com/nopnop2002/arduino-canbus-monitor
- Owner: nopnop2002
- Created: 2020-07-04T21:48:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-04T05:00:29.000Z (over 1 year ago)
- Last Synced: 2025-03-17T09:06:30.187Z (2 months ago)
- Topics: arduino, canbus, mcp2515, monitoring, windows
- Language: C++
- Homepage:
- Size: 29.3 KB
- Stars: 33
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arduino-CANBus-Monitor
MCP2515 canbus module to Monitor Canbus traffic.- V7.10
- V7.20
- V8.00
# 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.
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.
# 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
```
