CAN bus instrument cluster + +

Post Reply
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

CAN bus instrument cluster + +

Post by joromy »

When you remove the BCM (BMS) some of the gauges and lights on the instruments cluster will not work anymore.

Have made a CAN bus board with high and low side drivers, overkill for the task, but then it can be used for several other projects.

Testing simple CAN bus communication between two boards:
Teensy_breakout_lores.jpg
The board will live inside the IAA module, where all the controls for the instruments are.
The IAA modulule also controls a lot of other stuff, like the cabin heater, so it will be possible to control those to. (like preheat the cabin)

The new "IAA" board will communicate with (for now, only receive) the Simp BMS, Tesla charger and the new TIM (Traction Inverter Module) and put out the SOC, ECONOMY, DTE (distance to empty) on the gauges and also some of the lights like POWER LIMIT.

So it looks like the 20 year truck will be "fully" CAN bus controlled, next up self driving......
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

Have mounted the CAN bus board in the IAA.
in_the_IAA_0.jpg
Got Power Limit light and charge light to work.
DTE gauge is also working with square wave 31Hz to 210Hz (zero to full)

The SOC gauge needs PWM with POS duty from 10% to 75%, at 20kHz.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: CAN bus instrument cluster + +

Post by Kevin Sharpe »

is this open source?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

The breakout board is intended for the Teensy 3.2 or 4.0.
The Teensy 4.0 is very powerful with 3 CAN-bus.

If you have some suggestions/comments please let me know.

Code on github:
https://github.com/jomy-tech/Teensy-CAN ... ller-in-EV

Here is a preliminary manual:
Teensy brkout_1.1_1.0b.pdf
(1.54 MiB) Downloaded 262 times
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

instrument_cluster.jpg

"NEW" lamp function:
EL Hazard lamp:
ON by inverter or BMS, drive not possible. Turn ON by isolation monitor, while charging.
Charge lamp:
ON while charging, blink if plugged in, slow blink if battery heating/cooling.
Power limit lamp:
ON by inverter derating or BMS. Blink if reduced regen (ABS)
MIL lamp:
ON if fault code, from iverter, charger or BMS, blink if CAN comm error.
Low SOC lamp:
ON by BMS at 20% SOC, blink at 10%.
Low oil lamp:
ON if motor oilpump has low pressure, blink if zero pressure.

The gauges have same functions as before, except for ECO gauge. This will show pos/neg power use.
The speedo is controlled directly by inverter.
The temp gauge is controlled by the IAA module, as before.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

IAA to CAN bus modifications.
Water pump and radiator fan control mods, is only needed if you want to add heat exchanger and water heating/cooling of battery pack!
21-feb-20 updated pictures, now easier to mod. (do not use old ver.2)

(right click and "open/save link" to get big picture)
IAA_module_top_label_3.jpg
IAA_module_bot_label_3.jpg
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
rgjones
Posts: 5
Joined: Sun Feb 16, 2020 5:47 pm
Location: United States

Re: CAN bus instrument cluster + +

Post by rgjones »

Very nice work :)
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

rgjones wrote: Wed Feb 19, 2020 9:49 pm Very nice work :)
Thanks, do you have a Ford Ranger EV?
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

Finally I got time to install the box and cover for the main ECU (Teensy 4)
Have made a cad file, if you want to do the same.
Will only fit in the Ford Ranger, without drilling, using existing fixing holes.

Can make it and powder coat it for you, if you don't have equipment to make it.
Teensy_box.JPG
IMG_20200413_234434_5 (1).jpg
There are room for connecting more stuff.....

IMG_20200413_185056_9.jpg
Easy access to connectors, without the cover.

IMG_20200420_222516_6.jpg
Finished, all cables fixed, just put the seats back in.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
sfk
Posts: 289
Joined: Mon Jan 14, 2019 8:29 pm
Location: Wellington, NZ
Has thanked: 2 times

Re: CAN bus instrument cluster + +

Post by sfk »

Very cool. So are you driving the original analog gauge cluster or what there some customisation? I'm not familiar with the Ford Ranger EV. Was this an OEM car or did you do the conversion?
-< Mazda Eunos JC Cosmo rotary -> EV conversion w/ Lexus GS450H gear >-
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

This was a OEM compliance car, result of the California emission legislation.
Its a 1999 model. with only 33k miles.
The instruments are original. Are trying to keep everything to look original.

I don't understand that this is not more popular in the UTE countries.... :)
20150627_163354.jpg
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
sfk
Posts: 289
Joined: Mon Jan 14, 2019 8:29 pm
Location: Wellington, NZ
Has thanked: 2 times

Re: CAN bus instrument cluster + +

Post by sfk »

Drop side tray and all. From factory like that?
Looks like a very useful vehicle.

Yes, would have done really well down here, but obviously the car manufacturers were pushed hard into making these against their will, so had no chance of being offered outside California.

The instrument cluster is mostly analogue?
But CAN operated?
-< Mazda Eunos JC Cosmo rotary -> EV conversion w/ Lexus GS450H gear >-
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

This tray was only on a few special build models. I also managed to get the first Postal version of this truck, I think there where only build a few of them.

The instruments are not originally CAN bus, that's why i modified it to CAN.

I have a truck for sale if interested, without batteries and motor/inverter.
Was thinking to fit it with a Tesla drivetrain, but time and money...

This is a perfect truck for battery upgrade, since it has a huge battery box.
viewtopic.php?f=16&t=226#p3385

And "easy" to fit a Tesla motor since it already have the fixture for the Siemens motor. Lots of room for the drivetrain.
20150403_163725.jpg
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
sfk
Posts: 289
Joined: Mon Jan 14, 2019 8:29 pm
Location: Wellington, NZ
Has thanked: 2 times

Re: CAN bus instrument cluster + +

Post by sfk »

joromy wrote: Sun Apr 26, 2020 7:19 am The instruments are not originally CAN bus, that's why i modified it to CAN.
The vehicle was CAN but instruments not?
Or the vehicle and instruments not CAN?

You are using CAN EV components and translating their control data to analogue to drive the gauges?
-< Mazda Eunos JC Cosmo rotary -> EV conversion w/ Lexus GS450H gear >-
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

sfk wrote: Sun Apr 26, 2020 8:17 am The vehicle was CAN but instruments not?
No, nothing was CAN bus.
sfk wrote: Sun Apr 26, 2020 8:17 am You are using CAN EV components and translating their control data to analogue to drive the gauges?
Yes. Now it is with the Openinverter, Tesla charger and Teensy board, all with CAN.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
Greenbeast
Posts: 115
Joined: Sat Dec 26, 2020 5:44 pm

Re: CAN bus instrument cluster + +

Post by Greenbeast »

What do you mean when you refer to IAA board? Is that the larger board that your teensy add-on communicates with?
Where is that from, the stock car?
nuffz
Posts: 21
Joined: Sat Dec 12, 2020 6:22 pm

Re: CAN bus instrument cluster + +

Post by nuffz »

very clever indeed
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

Greenbeast wrote: Fri Jan 01, 2021 7:34 am What do you mean when you refer to IAA board? Is that the larger board that your teensy add-on communicates with?
Where is that from, the stock car?
The IAA module is originally controlling the instrument cluster, and a lot of other tings like cabin heat radiator fan.
I think it's called IAA module in Ranger ICE truck to.
But many of this functions will not work when the original BCM (BMS) is removed.
That why I made the Teensy board.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

nuffz wrote: Fri Jan 01, 2021 8:51 pm very clever indeed
I get more and more clever, for every time I blow something up! :o
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
nuffz
Posts: 21
Joined: Sat Dec 12, 2020 6:22 pm

Re: CAN bus instrument cluster + +

Post by nuffz »

joromy wrote: Fri Jan 01, 2021 10:19 pm
nuffz wrote: Fri Jan 01, 2021 8:51 pm very clever indeed
I get more and more clever, for every time I blow something up! :o
if you dont make smoke a few times then you're not trying hard enough :)
Greenbeast
Posts: 115
Joined: Sat Dec 26, 2020 5:44 pm

Re: CAN bus instrument cluster + +

Post by Greenbeast »

joromy wrote: Fri Jan 01, 2021 10:15 pm
Greenbeast wrote: Fri Jan 01, 2021 7:34 am What do you mean when you refer to IAA board? Is that the larger board that your teensy add-on communicates with?
Where is that from, the stock car?
The IAA module is originally controlling the instrument cluster, and a lot of other tings like cabin heat radiator fan.
I think it's called IAA module in Ranger ICE truck to.
But many of this functions will not work when the original BCM (BMS) is removed.
That why I made the Teensy board.
Aha I understand, I'm not quite sure how my cluster is currently run and there's nothing else 'connected' in my project vehicle, so I guess I'm looking at something similar to your project but a step more basic. A way to translate CAN data from the new drive components into actual lights and dial movement.
106electric
Posts: 4
Joined: Wed Jul 14, 2021 7:59 pm
Has thanked: 5 times
Been thanked: 1 time

Re: CAN bus instrument cluster + +

Post by 106electric »

joromy wrote: Wed Dec 18, 2019 11:16 pm The breakout board is intended for the Teensy 3.2 or 4.0.
The Teensy 4.0 is very powerful with 3 CAN-bus.
If you have some suggestions/comments please let me know.
Code on github:
https://github.com/jomy-tech/Teensy-CAN ... ller-in-EV
Here is a preliminary manual:
Teensy brkout_1.1_1.0b.pdf
Hello Joromy

This project is awesome. Where can we find the teensy breakout board ? I would like to do a similar project with my car to Controller non CAN cluster.
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: CAN bus instrument cluster + +

Post by joromy »

106electric wrote: Wed Aug 25, 2021 10:46 am
Hello Joromy

This project is awesome. Where can we find the teensy breakout board ? I would like to do a similar project with my car to Controller non CAN cluster.
I have not any more left, could order 10 boards if you are interested. EUR 20 for one PCB only.
I don't have enough orders to make them populated.
Do you have a Ford Ranger electric?
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
106electric
Posts: 4
Joined: Wed Jul 14, 2021 7:59 pm
Has thanked: 5 times
Been thanked: 1 time

Re: CAN bus instrument cluster + +

Post by 106electric »

Hi Joromy

I do not have an electric ranger but a small peugeot 106 (french city car).
Just realized that you are based in California so shipping will be probably more than the PCB itself.
Post Reply