Analogue sensor signal to CAN bus - How to?

Analogue sensor signal to CAN bus - How to?

Author
Discussion

356DNA

Original Poster:

11 posts

118 months

Saturday 28th March 2020
quotequote all
I have a Caterham 7 than currently runs 3x 0-5v analogue sensors for oil pressure, fuel level and water temp. As part of several projects I have 3 new caterham oil, fuel and water temp gauges. Unfortunately, for me, they are can bus gauges whereas my existing signals and gauges are analogue.

Can anyone advise what I would need or how I would go about converting the analogue signals into a stand alone CANbus network for the 3 new gauges. I'm fairly confident I can get hold of the CAN protocol for the new gauges, but I haven't a clue where to start with an analogue to CAN converter.

Any help or pointers massively appreciated.

David.


Super Josh

139 posts

226 months

Saturday 28th March 2020
quotequote all
Something like this?

Josh

blank

3,579 posts

195 months

Saturday 28th March 2020
quotequote all
The one above looks good value.

You could also make something with a Raspberry Pi but you might spend more than that.


There are lots of other devices available but they're more aimed at industry use so will cost a lot more:
https://www.kasensors.com/en/products/signal-condi...
https://www.accuratetechnologies.com/NetworkAnalys...

Have you got any kit to look at the CAN traffic when it's working? Kvaser and Peak are the cheapest "professional" interfaces to get CAN data displayed on a PC.


Wiring wise you'll need a 120ohm resistor at one end of the network (between CAN H and L). "Proper" networks have one at each end but something short like this will probably work with just one end.

356DNA

Original Poster:

11 posts

118 months

Saturday 28th March 2020
quotequote all
Super Josh said:
Something like this?

Josh
Yes. I saw this but wasn’t certain if I could program it to the protocol of the caterham gauges. Anyone know if this is possible?

Thanks.

rawkyjnr

259 posts

178 months

Tuesday 14th April 2020
quotequote all
Hi all,

I reckon best way to do this is to use an Arduino and an adaptor. Then, you can program it yourself !

https://store.arduino.cc/can-bus-shield-v2