======
The following versions of PHP are supported.
- PHP 7.4
The MIT License (MIT). Please see License File for more information.
CanHacker (lawicel) CAN adapter on Arduino + MCP2515
License: MIT License
======
The following versions of PHP are supported.
The MIT License (MIT). Please see License File for more information.
Здравствуйте, Дмитрий! Подскажите пожалуйста, пытаюсь подключиться к interior can шине mercedes w220 ардуиной мега с can shield, чтобы посмотреть пакеты. Шина работает на частоте 83.333 кбит/с. Программа для просмотра canhacker. Соответственно, там такой скорости нет. На просторах интернета нашел программу mbtime для моего контроллера. Для необходимой скорости она мне выдает следующие параметры tq=8, brp-1=11, osc1=192, %err=83.333 Как их привести к необходимому виду для внесения в ручном режиме в canhacker не могу понять.
How do I capture data with more than 8 DLC as example below, in the case of dtc 1 - dtc 5 it only displays dtc1 with dlc 8 and not able to see dtc 2 unless I clear the first fault.
BO_ 2566834942 DM1: 22 Vector__XXX
SG_ FlashRedStopLamp : 12|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ FlashProtectLamp : 8|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ FlashMalfuncIndicatorLamp : 14|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ FlashAmberWarningLamp : 10|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ MalfunctionIndicatorLampStatus : 6|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ AmberWarningLampStatus : 2|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ RedStopLampState : 4|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ ProtectLampStatus : 0|2@1+ (1,0) [0|3] "" Vector__XXX
SG_ DTC5 : 144|32@1+ (1,0) [0|4294967295] "" Vector__XXX
SG_ DTC4 : 112|32@1+ (1,0) [0|4294967295] "" Vector__XXX
SG_ DTC3 : 80|32@1+ (1,0) [0|4294967295] "" Vector__XXX
SG_ DTC2 : 48|32@1+ (1,0) [0|4294967295] "" Vector__XXX
SG_ DTC1 : 16|32@1+ (1,0) [0|4294967295] "" Vector__XXX
Hello.
Is there any chance to have the library also working for ESP32 + SN65HVD232.
I tried SLCAN I can manage to connect to canhacker but never receive send correct values. ARDUINO NANO +MCP works very well.
I guess there is an issue with the packing/data format of the output can protocol.
I tried to connect to GMLAN (swcan 33.3kbps) but I couldn't. In CANHACKER's settings window there are 10kb 50kb etc but there is no 33.3kbps.
It wants btr0 and btr1 values.
How can I connect to GMLAN with 33.3kbps speed?
When i want to use my Arduino Nano and MCP2515 8MHz with SavvyCan v208, i need to enter manually the command S2 and O to receive the CAN-Messages.
Can anyone help me?
By using CANable there is no problem
is this compatible with my Mega 2560 r3?
Hi,
Thanks for your hard work.
When I send extended can id ex: 0x0CF50401 the CAN MODULE actually sends 0x0EF50401
In CanHacker.cpp changed line 97.
CanHacker::ERROR CanHacker::writeCan(const struct can_frame *frame) {
if (mcp2515->sendMessage(MCP2515::TXB1,frame) != MCP2515::ERROR_OK) { //added MCP2515::TXB1, 0x0CF50401
return ERROR_MCP2515_SEND;
}
return ERROR_OK;
}
PS: Don't know about std ids only use ext.
Добрый день! Дмитрий, когда я запускаю Canhacker, то не вижу сообщения c длинными id, только с трехзначными. При использовании Canreadera все ОК. Я использую скорость 33 kbps.
I can send and receive data only for a brief moment, after 30 seconds everything stops and i have to click disconnect and connect in CANHacker program to start receiving and sending data again. I mainly use this for gauge cluster diagnostics but when i connect this to a can network on my car it works only for 1 second. Is there something i can do to receive data without stopping? Sorry for poor English
I can't find can.h file.
Здравствуйте, Дмитрий. Хотел запустить ваш проект на ESP32, "прикрутить" к нему bluetooth. При компиляции скетча дает ошибку по библиотекам, выбираешь плату Nano3 - ошибок нет. Я так понимаю надо править библиотеку(и)? Возможно сделать версию для ESP32/ESP8266?
Hello. Use two Arduinos: leonardo and mega 2560 with similar shield
For Leonardo in sketch change pins assignment to:
const int SPI_CS_PIN = 9;
const int INT_PIN = 2;
CANHacker successfully connect to arduino, seeing FW version, but there no data from CAN on any speed. Check arduino serial monitor - nothing
Sketch compiled with Arduino IDE 1.8.19
Check this issue, but already have 16MHz oscillator.
Hi
I have made appropriate changes to use 8Mhz crystal but unfortunately, I don't see any data in receiver.
I am not sure what's wrong with my code. Can you please guide me to debug the issue or any ways to figure out the problem.
Just to add: I am using Arduino uno
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.