In car multigauge

What are you developing?
User avatar
RogerClark
Posts: 6890
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: In car multigauge

Post by RogerClark » Wed Mar 08, 2017 9:07 pm

Cool...

But the picture in the last post isnt visible

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Wed Mar 08, 2017 9:19 pm

Hopefully it's working now.
-------------------------------------
https://github.com/BennehBoy

User avatar
RogerClark
Posts: 6890
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: In car multigauge

Post by RogerClark » Wed Mar 08, 2017 9:29 pm

Yes. Its working now.

BTW.
Did yiu start your PCB design yet ?

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Wed Mar 08, 2017 9:36 pm

No, I've not even begun to look at learning kicad.

I really should.

I've got all manner of other projects in mind.
-------------------------------------
https://github.com/BennehBoy

Zebedee68
Posts: 7
Joined: Wed Mar 08, 2017 9:32 pm

Re: In car multigauge

Post by Zebedee68 » Wed Mar 08, 2017 10:00 pm

Looking good Ben!

User avatar
rexnanet
Posts: 203
Joined: Wed Mar 16, 2016 10:34 am

Re: In car multigauge

Post by rexnanet » Thu Mar 09, 2017 9:28 am

Nice work there! :)

I've also managed to get my KW1281 code to work properly! :)
I can now get fuel consumption data! But I'm going to use a ILI9341 on my setup. It's hasn't got ideal visualization properties but it's cheap and nice color and resolution for the purpose :) OLED would have been perfect for auto environment but... maybe latter lol

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Thu Mar 09, 2017 9:49 am

Ah nice one.

I've not yet stuck the latest code on github, I may fork it off so that the ELM version and this can coincide.

I'm also going to split the Ecu emulator out into it's own repo as I'll be adding much more PID recognition into that and the ability to adjust outbound info using a menu system.

I'm now considering building a transmission control module for the ZF4HP24 automatic gearbox used in these land rovers - the factory controllers have less than optimal transition points and TC lockup... but that will be a whole other level of difficulty.
-------------------------------------
https://github.com/BennehBoy

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Thu Mar 09, 2017 12:37 pm

Forked the code on github -> https://github.com/BennehBoy/LRDuinoTD5

ECU Emulator split into it's own repo -> https://github.com/BennehBoy/TD5EcuEmulator

@Rexnanet, it would be interesting to see your PID payloads and expected responses, I can perhaps look to code them into the ECU emulator then?
-------------------------------------
https://github.com/BennehBoy

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Sat Mar 11, 2017 10:56 am

74HC154 ready to rock...

Image
-------------------------------------
https://github.com/BennehBoy

User avatar
BennehBoy
Posts: 420
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: In car multigauge

Post by BennehBoy » Sat Mar 11, 2017 1:37 pm

Just slapped my forehead in realisation that I'll have to edit the adafruit_ssd1306 library to use the mux code and not set the CS pins directly.

Another plus side of using the demux chip is that I can mount it on the display daughter board which means less wires to be run to it (it's ~ 75cm away from the controller).

I'm now also thinking about how to mux my button inputs up - I have 5 buttons but would possibly add a sixth if I can multiplex them, it doesn't matter if they block one another.

Obviously complexity levels go up but it's only marginally.
-------------------------------------
https://github.com/BennehBoy

Post Reply