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

    • For these last 7 years of ownership, I've always had to use a small scissor jack under one of the front tow hooks to raise the front just enough so my low-profile jack fits under to reach my subframe jack point. I'm beginning to get annoyed of always having to do this. Are there any lower low-profile jacks that fit under the gtr lip on a dropped car?
    • Seat of the pants assessment of the new intake: The car is way less "doughy" when hitting the loud pedal, especially off idle when stopped or in traffic, I did use a cheapo lazer thermal thingo to measure the temp around where the pod filter got its air, it was between 55 - 60°C, in saying this the car was shut off and not moving, so the OEM intake pipe was not supplying any fresh air to where the pod was when the car was at least moving A weird bonus was induction noise on the throttle in the cabin increased a bit,  I was worried that I was actually going to lose some of that induction noise I love so much, outside though, when I got the daughter to do a WOT drive by pass for me, the induction noise has increased alot when on the throttle, not quite ITB doort, but well up there I'm extremely happy with the results and have been exploring the country roads in the region  As for house mods: 1.New front fence is up and is awesome, it really upgraded how the joint looks from the street, and the added security is nice 2. Electricians have replace some interior lights, and with more lighting in the garage, a few new motion detecting lights out the front above the garage, front room, and at the front door, which I have already found heaps helpful coming and going, also now has fancy pants CCTV all round the house The only hold point for power though is the solar and batteries due to supply issues, although this will happen over the next few weeks 3. I have done a heap of landscaping out the front and I'm almost ready to do a new small retaining wall with some nice blocks to replace the brick and cemented in rocks around the raised garden beds cemented in river stone "was the fashion at the time" the house was built. I currently have a pallet of retaining wall blocks and 2 bulka bags of 20mm blue metal to replace the wood chip that is in the raised garden beds around the house 4. I now have 3 big raised garden beds for out the back to grow some vegetables, about 70cm high, 200cm long and 100cm wide 5. My 2 compost bins are already pretty full with brown, green and kitchen waste from the landscaping I'vedone so far, but they will probably take a few months to break down, so anything else that gets chopped, trimmed, and kitchen waste will just start filling the base of the raised garden beds to about 30cm before I start throwing 40cm of good compost, and stuff, for the vegetables to grow in, I'll need a few ton of compost and soil, but the local supplier can sent me bulka bags of the stuff Basically the logs, wood chips and a few strategically placed rocks for drainage, will give the beds some good organic materials down low to break down over time, and they will hold moisture during the warmer months to save the water in my big arse water tank if we don't get alot of rain So, all in all, the car and house mods are going well, and I'm really enjoying being retired, I sleep in too 0700 and slowly plod around inside until I feel like actually doing anything, and only work in the yard for as long as want, which has actually been alot over the last few weeks,  although when you look at it, it seems that not a huge amount of work has been done,  until I look at the before I started the work pics Happy days and good times indeed 
    • hahaha yeah. Plan is to get side skirts and probably just rear pods. But going to do them one-by-one. I've got a set that I really like from RHDJapen, but that one isn't shipped to AU. So need to find someone who can get it for me
    • Here's an idea, answer the questions I asked you as they are trying to work out WHY the LSD will be binding up in a straight line.
×
×
  • Create New...