Raspberry Pi 3 to replace Miata cluster

tell us why standalones are better than piggybacks...
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/04/16 @ 18:24

Hi gaise!

I was asked to build a carputer for tuning megasquirt and for replacing the gauge cluster in a Miata NA.

I did some research and found that the Raspberry Pi should do the trick. My local electronics store stocked both the Pi and the needed 7" touch screen (800x640px).


The build

Difficult as hell. 1 flat cable and 4 screws to mount the Pi to the screen. And everything works straight out of the box! You can supply power to the screen from the Pi with two wires (+5V and GND), or separately with microUSB.

image


Setup

It is pretty straight forward. Load Raspbian to a MicroSD card, insert it to the Pi and you are good to go! I plugged in a keyboard/mouse combo and it worked right away. Connected to WiFi and updated the Pi. That should be all.

TunerStudio

I downloaded the new 3.0 Beta since compatibility is pretty good with the PI. I had a few issues with the resolution of the screen, but managed to get past the problems with some adjustments to the code of TunerStudio. After fiddling with the serial ports and stuff, I got the thing running finally!

image
image


Replacing the cluster

I got a pretty sweet case off of Thingiverse. Thinking of making a slide-in solution for the cluster panel.

image
image

Done a mock-up for the cluster. Not sure how I want to lock it in, but I am thinking rubber band for the simplicity of it. I measured and there is space for two 52mm gauges as well! Fuel and voltage indicators for example..

image

Future plans

-Add GPS for speedometer in TunerStudio. 10hz minimum requirement. Use it for datalogging as well if possible.
-Add accelerometer for use with datalogging.
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/12/16 @ 05:51

GPS module arrived today! Excited to start tinkering with it!

image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/15/16 @ 03:35

Connected the adafruit module, scratched my head for 10-15 hours and finally got it communicating. meow I am having issues getting it to connect to any satellites. Looking into it!
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/15/16 @ 06:30

Got the GPS working properly with gpsd. Getting a fix and pretty decent update times. Got TunerStudio to connect and show GPS coordinates and speed, but updates are really infrequent.

image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/18/16 @ 08:22

More issues. Seems like the Raspberry Pi engineers took some shortcuts with the design. Need to get the serial port figured out to be able to run higher refresh rates it seems.

Starting over with a fresh image meow to give it a shot!
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/19/16 @ 07:22

Started printing the cluster. One half at a time!

image
image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/20/16 @ 08:55

Second part of the frame is meow finished! meow we need some glue!

image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 07/27/16 @ 14:46

Finished and tested in the car! First test fit. Glad I used PLA so I could use a knife and a lighter to make adjustments!

image
image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 02/04/17 @ 18:20

Time to pick up the thread again.

Finished up the second version of this. I was told to do whatever I felt like with the design.

image
image
image
99' Miata
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 02/13/17 @ 04:59

Next project should be to design a new set of gauges for the dash!
99' Miata
user avatar
phillyb™
//banned
posts: 5560
joined: 10/01/13 @ 16:06
contact:

Re: Raspberry Pi 3 to replace Miata cluster

postby phillyb™ » 02/14/17 @ 11:50

Dude, that's really cool!
You selling these to people?
don't get caught
user avatar
Teejay187
site admin
posts: 1321547
joined: 10/01/13 @ 14:08
location: Oslo, Norway

Re: Raspberry Pi 3 to replace Miata cluster

postby Teejay187 » 02/15/17 @ 08:40

Yeah, I have sold a couple so far. When I got more time I am thinking of making a few and sell them.
99' Miata
user avatar
phillyb™
//banned
posts: 5560
joined: 10/01/13 @ 16:06
contact:

Re: Raspberry Pi 3 to replace Miata cluster

postby phillyb™ » 02/15/17 @ 10:02

Awesome.
don't get caught

return to “engine management”

who is online

users browsing this phorum: no registered users and 1 guest