Virtual Cluster Progress!

Kinja'd!!! by "Nick Has an Exocet" (nickallain)
Published 06/10/2017 at 23:32

No Tags
STARS: 3


I’ve been kicking around the idea of a Raspi3 virtual gauge cluster for the Miata. I decided to mock up some UI today using HTML5 Canvas and PixiJS. Still working on how I want to get the sensors hooked into this but it’s a fun project. Building UI is fun.

Kinja'd!!!

* Note that the actual thing is super smooth. It just looks choppy because it’s been screencapped and gif’d.


Replies (6)

Kinja'd!!! "Jake - Has Bad Luck So You Don't Have To" (murdersofa)
06/10/2017 at 23:36, STARS: 0

OBD2-based?

Kinja'd!!! "Nick Has an Exocet" (nickallain)
06/10/2017 at 23:41, STARS: 0

Currently, no.

NA Miata is OBD1 which is mostly diagnostic. Need to read the pulses for tac/speed from the speedo cable and coilpack respectively. Ultimately, I’d like to expand the project to OBD2 but even OBD2 doesn’t have a high enough poll rate on RPM to be smooth on something like this.

Kinja'd!!! "Jake - Has Bad Luck So You Don't Have To" (murdersofa)
06/11/2017 at 00:14, STARS: 0

This is true. So you’re just going to use the GPIO pins and splice into the coil pack signal and speed sender? What about that gear indicator?

Kinja'd!!! "Nick Has an Exocet" (nickallain)
06/11/2017 at 00:41, STARS: 0

Yep - exactly. I’m thinking that I will probably have to rig up some kind of shifter position sensor for gear indicator. I don’t think it’s something I can get readily from anywhere.

Kinja'd!!! "AestheticsInMotion" (aestheticsinmotion)
06/11/2017 at 02:02, STARS: 1

I’ve had no speedo for two years, the stock dummy oil gauge that’s completely useless, and a coolant temp gauge that’s about as accurate as rolling a 20 sided die with random temps corresponding to each number.

Kinja'd!!!

Have been seriously considering reaching out to these guys to make a custom cluster with all the info I want, arranged how I want it. But more power comes first....

Kinja'd!!! "TA4K" (ta4k30)
06/11/2017 at 03:37, STARS: 1

The way some ECU’s do it is a calculation based on driven wheel speed vs rpm. That then falls into a range that is expected for a certain gear, if it isn’t in the expected range for any gear then it’s neutral.