Giter Club home page Giter Club logo

Comments (11)

aljini avatar aljini commented on August 29, 2024

16460049875668623075985759149584

from candrive.

aljini avatar aljini commented on August 29, 2024

1646005215468472967837503308132

from candrive.

SubhranshuSharma avatar SubhranshuSharma commented on August 29, 2024

16462197524707691360950157312861
Same

from candrive.

aljini avatar aljini commented on August 29, 2024

So its not working with you either did you try to send some messages back ?

from candrive.

SubhranshuSharma avatar SubhranshuSharma commented on August 29, 2024

If you mean sending packets into can bus, then still not successful

from candrive.

adamtheone avatar adamtheone commented on August 29, 2024

Hello.
We'll need more information to debug this. The worked for several other people, so I suspect either a hardware problem or something else. First, I highly recommend to try out the CAN examples codes just with the arduino. With that, you can make sure that your connection are fine and bus is working properly. Then, take a look at the ardunio raw serial output and see if that looks correct or not. Only try to debug the GUI as the last step, as the issue is somewhere before that, probably.

from candrive.

aljini avatar aljini commented on August 29, 2024

Everything seems fine in examples can recovering and sending and also i get rpm readings from the car so on the Arduino side everything is fine
But i suspect that there is a problem
(can drivers)
(Or in the GUi )
i dont know how to debug these
I really need it to work because i am converting my car to electric and this is process is needed in the conversion

So please help me fix that
I have attached some photos of what errors i am getting these errors come when i try to send only i can receive data and also decided some codes but when sending the decoded messages back i get these errors and the gui stops running

IMG_20220307_231824

IMG_20220307_234137

IMG_20220307_234140

IMG_20220307_234154

IMG_20220307_234533

from candrive.

aljini avatar aljini commented on August 29, 2024

Today i found out that i can send some codes and the car recives it but the terminal says wrong paket and the sniffing stops it gives the command and the car recives it and it opens the door lock after that the sniffing stops and i cant recive or send anything to the car unless i disconnect it and connect it again

Somehow i only got the door lock runing but the gui stops working i dont know why

from candrive.

adamtheone avatar adamtheone commented on August 29, 2024

The arduino serial output proves that it is not a GUI issue, because the packets are already corrupted when they exit the arduino. Are you sure that you are using the correct CAN bus speed?

from candrive.

SubhranshuSharma avatar SubhranshuSharma commented on August 29, 2024

The arduino serial output proves that it is not a GUI issue, because the packets are already corrupted when they exit the arduino. Are you sure that you are using the correct CAN bus speed?

yes the can speed is 500e3 i know that as the engine rpm example works fine for me, is it possible that the car(i10 2013 in my case) doesnt have the can bus responsible for core functionality in the obd2 plug, is it possible that the cars brakes/stearing cant be controlled by the can bus on obd2 plug, another possibility is that the 500000 baud rate is not enough for 500e3 can speed so during python and arduino communication some packets are missing, hence wrong package error.

from candrive.

adamtheone avatar adamtheone commented on August 29, 2024

I have no issues with 500mbaud, so I don't think that it is a bug in my code. It's absolutely possible that you cannot access certain modules in your car, a lot of newer vehicles have "firewalls" on the can bus to protect those devices from attackers. I'm not sure if this is the case in your situation.

from candrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.