[help needed] Grabbing values over CanBus

It's all about the code!
Post Reply
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Grabbing values over CanBus

Post by mazdee »

Hi all.

I would like to grab some values from rusEFI to print on my display. do I need to send a request or can I just listen in? what nitrate and stuff should I use?

cheers
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Grabbing values over CanBus

Post by puff »

which exactly?
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Grabbing values over CanBus

Post by mazdee »

I would like to read vvt position on my display and (if it's doable) receive map from gpio (akthough mpx4250s are quite cheap so no biggie)

the other alternative is to send serial commands and read in what comes back - not sure what the command is on rusefi though .
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Grabbing values over CanBus

Post by mazdee »

ok I have found the obd2 stuff so I'll have a read. looks like there are only a few pids but good exercise to read those I guess :)
User avatar
AndreyB
Site Admin
Posts: 14332
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Grabbing values over CanBus

Post by AndreyB »

CAN support is a bit experimental and limited. As for serial port see https://github.com/rusefi/rusefi/blob/master/firmware/console/binary/tunerstudio.cpp
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Grabbing values over CanBus

Post by mazdee »

Thats great. seem to be returning some values sending an 'O' ill let you know how it goes.
Post Reply