CanBus reading
Posted: Sat Dec 29, 2018 1:23 pm
Hopefully this is the right sub forum to ask this - I emailed support over 2 weeks ago but no reply yet...
i'm looking for some help with the canbus output I am sending to a custom dash ...
background data:
kPro4 on a Honda k20a2
sensor is a digital pressure sensor and displays correctly in kmanager.
reference data:
custom sensor configured in kmanager as pressure in psi
0.47v = 0 Bar
4.95v = 10.3Bar
sensor reads 0.6psi (0.04 bar) or 0.49v and is connected to analog 2 input
canbus:
Canbus is configured as hondata protocol @ 500 kbit.
connected on the canbus is an arduino uno with seedstudio canbus shield.
canbus sniffing results in 0x667 frameid, position byte 4 & 5 (analog 2) give me an integer of 1 and 143 respectively.
I am confused with the notes in help that report "Analog (16 bits) - voltage (volts) x 819.2"
taking the canbus values of (1+143) * 819.2 = 117964.8 - what does this number represent ?
the help notes don't speak of any offset values or any other math to reach 0.6 psi value or in bar???
OR does the kpro take the voltage of 0.49v then multiply by 819.2 and send 401.408 over the canbus in bytes 4 & 5?
but how would this translate to 0.6 psi ???
please could you provide more info / help ???
many thanks, Barry
Sydney, Australia
i'm looking for some help with the canbus output I am sending to a custom dash ...
background data:
kPro4 on a Honda k20a2
sensor is a digital pressure sensor and displays correctly in kmanager.
reference data:
custom sensor configured in kmanager as pressure in psi
0.47v = 0 Bar
4.95v = 10.3Bar
sensor reads 0.6psi (0.04 bar) or 0.49v and is connected to analog 2 input
canbus:
Canbus is configured as hondata protocol @ 500 kbit.
connected on the canbus is an arduino uno with seedstudio canbus shield.
canbus sniffing results in 0x667 frameid, position byte 4 & 5 (analog 2) give me an integer of 1 and 143 respectively.
I am confused with the notes in help that report "Analog (16 bits) - voltage (volts) x 819.2"
taking the canbus values of (1+143) * 819.2 = 117964.8 - what does this number represent ?
the help notes don't speak of any offset values or any other math to reach 0.6 psi value or in bar???
OR does the kpro take the voltage of 0.49v then multiply by 819.2 and send 401.408 over the canbus in bytes 4 & 5?
but how would this translate to 0.6 psi ???
please could you provide more info / help ???
many thanks, Barry
Sydney, Australia