MyLab-odyssey / ED_BMSdiag

Retrieve battery diagnostic data from your smart electric drive EV.
MIT License
50 stars 19 forks source link

ERROR when INT pin differs from pin 2 #34

Closed nighteagle1974 closed 10 months ago

nighteagle1974 commented 10 months ago

Have build together Tool - all is working - Can-Bus Cable still also work but some functions not working like BMS and ofter F#1

Car is ED3 from 2014

Here:


--- ED Battery Management Diagnostics --- --- v1.0.5 ---

Connect to OBD port - Waiting for CAN-Bus .CONNECTED

NLG6 detected

........Reading data.........F#1


Battery VIN: WME45139014513901 Time [hh:mm]: 00:00, ODO : 0 km

SOC : 82.5 %, realSOC: 0.0 % HV : 0.0 V, 0.00 A, 0.00 kW LV : 0.0 V

ENTER command... (? for help) CMD >>

New Start of Tool - how can i get back from submenue?


--- ED Battery Management Diagnostics --- --- v1.0.5 ---

Connect to OBD port - Waiting for CAN-Bus .CONNECTED

NLG6 detected

........Reading data.........F#1


Battery VIN: WME45139014513901 Time [hh:mm]: 00:00, ODO : 0 km

SOC : 82.5 %, realSOC: 0.0 % HV : 0.0 V, 0.00 A, 0.00 kW LV : 0.0 V

ENTER command... (? for help) CMD >>

CMD >>nlg6 NLG6 >>?

nighteagle1974 commented 10 months ago

Problem solved!!!!

I use the cheaper keyestudio CAN-Shield for the Arduino UNO. And if you read the connection-overview you see the Pin8 is INT instead of the Sparkfun-Can-Shield it uses PIN2. So i have replace all 8 places the

digitalRead(2)

with

digitalRead(8)

Now it works.

I think is better to make Pin-Definitions on the beginning of the Sources - so everybody can change it one time - and make some comments for different boards. I will check if i can do this.

My decision was the keyestudio board costs around 9 € on ebay and the Sparkfun 37 €.

So the next is to have the new version installed i found 1.0.8 here: https://github.com/jim-sokoloff/ED_BMSdiag/releases/tag/v1.0.8

MyLab-odyssey commented 10 months ago

Glad that you got it to work. There are plenty of hints about the correct PIN definitions and I will not provide support anymore. Hopefully you can get it from Jim in the future...