Page 1 of 1

CAN bus instrument cluster + +

Posted: Tue Dec 10, 2019 11:55 am
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......

Re: CAN bus instrument cluster + +

Posted: Wed Dec 18, 2019 1:20 am
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.

Re: CAN bus instrument cluster + +

Posted: Wed Dec 18, 2019 11:59 am
by Kevin Sharpe
is this open source?

Re: CAN bus instrument cluster + +

Posted: Wed Dec 18, 2019 11:16 pm
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 261 times

Re: CAN bus instrument cluster + +

Posted: Thu Dec 19, 2019 9:44 pm
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.

Re: CAN bus instrument cluster + +

Posted: Sat Dec 21, 2019 1:51 am
by joromy

Re: CAN bus instrument cluster + +

Posted: Mon Feb 17, 2020 4:57 pm
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

Re: CAN bus instrument cluster + +

Posted: Wed Feb 19, 2020 9:49 pm
by rgjones
Very nice work :)

Re: CAN bus instrument cluster + +

Posted: Fri Feb 21, 2020 10:42 am
by joromy
rgjones wrote: Wed Feb 19, 2020 9:49 pm Very nice work :)
Thanks, do you have a Ford Ranger EV?

Re: CAN bus instrument cluster + +

Posted: Wed Apr 22, 2020 11:44 am
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.

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 5:38 am
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?

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 5:50 am
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

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 6:06 am
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?

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 7:19 am
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

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 8:17 am
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?

Re: CAN bus instrument cluster + +

Posted: Sun Apr 26, 2020 8:30 am
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.

Re: CAN bus instrument cluster + +

Posted: Fri Jan 01, 2021 7:34 am
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?

Re: CAN bus instrument cluster + +

Posted: Fri Jan 01, 2021 8:51 pm
by nuffz
very clever indeed

Re: CAN bus instrument cluster + +

Posted: Fri Jan 01, 2021 10:15 pm
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.

Re: CAN bus instrument cluster + +

Posted: Fri Jan 01, 2021 10:19 pm
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

Re: CAN bus instrument cluster + +

Posted: Fri Jan 01, 2021 10:23 pm
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 :)

Re: CAN bus instrument cluster + +

Posted: Sat Jan 02, 2021 7:28 am
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.

Re: CAN bus instrument cluster + +

Posted: Wed Aug 25, 2021 10:46 am
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.

Re: CAN bus instrument cluster + +

Posted: Wed Aug 25, 2021 8:40 pm
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?

Re: CAN bus instrument cluster + +

Posted: Fri Aug 27, 2021 8:02 am
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.