Jump to content
SAU Community

Recommended Posts

Hi all, looking for suggestions,

I'm hooking into my Links G4 can bus with a home brew module consisting of a PIC micro controller + CAN controller / transceiver that will give me up to 8 x 0-5V analog outputs and a few digital in / outs. Sum total of parts $15. (Programming and development..... lots of hours, but my time is free)

I have tested a VDO oil pressure gauge and I can successfully mimic the operation of the sender via PWM and 1st order filtering to a transistor that provides the current sink for the gauges sense terminal. 

It's not an elegant solution but it works. What I am looking for is a gauge that takes 0-5V and is available in a range of common display types like oil / water temp, oil press etc.

I've been googling around, but nothing is coming up? I have seen dedicated canbus gauges but they are so overpriced and I am not sure if the Link CANBUS operates to a particular automotive standard for its peripherals that I already have hanging off the bus so they may not work.

Any suggestions for 0-5V or something similar?

Edited by hjtrbo
Link to comment
https://www.sau.com.au/forums/topic/474968-diy-canbus-gauge/
Share on other sites

modern "three wire" oil pressure transducers are often 0-5v (0.5 to 4.5). so a guage designed for that could work for you.

iirc on a 32 the factory nissan boost gauge is 0-5v as is the ATTESA front torque gauge.

if you can build the gauge from scratch  then switec low current stepper motors are popular for this sort of thing and can often be driven directly from the mcu (used on GM cars).

I built a can guage to work with my link g4+ a couple of years back and used a 1.5" oled display rather than analogue gauges.

On 9/19/2018 at 3:28 PM, alexj said:

switec low current stepper motor

OK, good advice.

I pulled apart my VDO moving coil gauge. Looks ripe for one of those steppers.

Let me play and i'll update the thread in due course.

20180920_140339.thumb.jpg.2d52fa51ac6d67296678008ff6fcc082.jpg

20180920_140433.thumb.jpg.d3bd587e70e15076f0b3a96f8aac3b6e.jpg

 

 

Edited by hjtrbo
  • Like 1
  • 2 weeks later...

OK, good progress.

Data is getting sucked out of the Link and the stepper motor moves. Just got to link the two together in software with a bit of scaling and position tracking, add a bit of glue in the back of the gauge, press on the needle, and she's done! DIY can bus gauge, best $30 (so far) ever spent.

https://au.rs-online.com/web/p/microcontrollers/8802680/

https://www.ebay.com.au/itm/MCP2515-CAN-Bus-Module-TJA1050-Receiver-SPI-Module/302496093646?hash=item466e2c15ce

https://core-electronics.com.au/automotive-gauge-stepper-motor-x27-168.html

20181005_123330.thumb.jpg.5c622251c3a316856fc55b3e1c3b2cf1.jpg20181005_123445.thumb.jpg.bfe2721a665fa1c7a36c1f4e650057c2.jpg

20181005_122352.thumb.jpg.5ffbc4cb8f4ac507e2b9e7e660ab7ccd.jpg20180930_162012.thumb.jpg.0478a87f10a36a8060431a3d05e8611b.jpg

  • Like 2
  • 3 weeks later...
  • 3 weeks later...

You don't need extra senders etc on the engine for multiple gauges. Just pull the data out of the ECU. Saves a few hundred dollars and it's fun to learn about something new. 

My boards have arrived from China. Will be soldering them shortly. Will post pics and you can pm me if you want to buy one.

  • Like 1

Ok, got the first board soldered up. The canbus module (blue board) then piggy backs onto the board. Still waiting for the mounting standoffs to arrive.

The 4 way terminals are for 2 x stepper motors (2 gauges are supported per board) & 2 x current sinking optically isolated general purpose IO (e.g square drive for RPM or speedo, ECU fault light, shift light etc etc.)

The 2 way terminal is 12V in, and the 3 way terminal is for programming the PIC microchip. There is a jumper to select between run and program modes.

There is a 5V on board regulator with high frequency bypass pass caps for the IC's and large 2 x 470uF decoupling capacitors to help provide a solid power supply to the board. Reverse polarity protection is by the simple inline diode method. 

Still got to get the gauges assembled then hook it all up for a decent test.

20181124_131006.thumb.jpg.dc0afc6d829c7d736eff678a49a1e61e.jpg20181124_131015.thumb.jpg.645b85e7b399833cd498d8bc6844012e.jpg20181124_131030.thumb.jpg.b2352275e1f7411d11c80cea7c091170.jpg
 

  • Like 2
  • 2 weeks later...

Nice work...I've been trying to come up with a similar solution for my bus. I plan on using VDO style senders to an Arduino and then digital potentiometers on the output of the Arduino to make the gauges on the original dash work.

I'm going to give your little project a go though...I've got 3 Empty gauge holes that need filling in my Supra and those can-bus ones are really parking expensive!

Incase you're curious, the arduino project of mine can be found here:

https://github.com/hotswapster/bedford330

It will also have stuff you can use on other vehicles swell.

Progress is going well, but I wanted to update the thread with some learnings that I would employ in hindsight...

  • For 12V reg use LM2940 (thanks to alexj for suggestion)
  • No need to remove the air core meter and muck around replacing it with a stepper.
    • Consider this method: Instead, cut the resistors off the internal meter terminals, then bring the 4 terminals outside of the gauge body. Then wire them to a CS8190 Precision Air-Core Tach/Speedo Driver with Return to Zero IC.

Hope this helps others on their google knowledge surf.

 

Edited by hjtrbo
  • Like 1
  • 2 months later...

I redesigned the board to allow for 3 stepper motors, additional IO and changed the colour to match the MCP module off ebay. I used a spare PIC to act as the can bus master to simulate random data. 

This setup is for a Link ECU. I doubt it would take much (if any) modification of the source code to make compatible with Motec. The terminal blocks to the right of the board are provision for switches, shift light, warning light etc etc.

All working now. Car is still getting built so will be a while before they are installed into the dash. 

A short video of them working...

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Latest Posts

    • https://www.facebook.com/share/19kSVAc4tc/?mibextid=wwXIfr
    • It would be well worth deciding where you want to go and what you care about. Reliability of everything in a 34 drops MASSIVELY above the 300kw mark. Keeping everything going great at beyond that value will cost ten times the $. Clutches become shit, gearboxes (and engines/bottom ends) become consumable, traction becomes crap. The good news is looking legalish/actually being legal is slighly under the 300kw mark. I would make the assumption you want to ditch the stock plenum too and want to go a front facing unit of some description due to the cross flow. Do the bends on a return flow hurt? Not really. A couple of bends do make a difference but not nearly as much in a forced induction situation. Add 1psi of boost to overcome it. Nobody has ever gone and done a track session monitoring IAT then done a different session on a different intercooler and monitored IAT to see the difference here. All of the benefits here are likely in the "My engine is a forged consumable that I drive once a year because it needs a rebuild every year which takes 9 months of the year to complete" territory. It would be well worth deciding where you want to go and what you care about with this car.
    • By "reverse flow", do you mean "return flow"? Being the IC having a return pipe back behind the bumper reo, or similar? If so... I am currently making ~250 rwkW on a Neo at ~17-18 psi. With a return flow. There's nothing to indicate that it is costing me a lot of power at this level, and I would be surprised if I could not push it harder. True, I have not measured pressure drop across it or IAT changes, but the car does not seem upset about it in any way. I won't be bothering to look into it unless it starts giving trouble or doesn't respond to boost increases when I next put it on the dyno. FWIW, it was tuned with the boost controller off, so achieving ~15-16 psi on the wastegate spring alone, and it is noticeably quicker with the boost controller on and yielding a couple of extra pounds. Hence why I think it is doing OK. So, no, I would not arbitrarily say that return flows are restrictive. Yes, they are certainly restrictive if you're aiming for higher power levels. But I also think that the happy place for a street car is <300 rwkW anyway, so I'm not going to be aiming for power levels that would require me to change the inlet pipework. My car looks very stock, even though everything is different. The turbo and inlet pipes all look stock and run in the stock locations, The airbox looks stock (apart from the inlet being opened up). The turbo looks stock, because it's in the stock location, is the stock housings and can't really be seen anyway. It makes enough power to be good to drive, but won't raise eyebrows if I ever f**k up enough for the cops to lift the bonnet.
    • There is a guy who said he can weld me piping without having to cut chassis, maybe I do that ? Or do I just go reverse flow but isn’t reverse flow very limited once again? 
    • I haven’t yet cut the chassis, maybe I switch to a reverse flow. I’ve got the Intercooler mounted as I already had it but not cut yet. Might have to speak to an engineer 
×
×
  • Create New...