Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Raspberry Pi 3 and Tunerstudio (https://www.miataturbo.net/megasquirt-18/raspberry-pi-3-tunerstudio-90545/)

eiton 02-09-2017 09:54 AM

Ahh, that's unfortunate. I was under the impression that you could have one of the connections set to broadcast only (which is what I want anyway for the rpi) and the other could be used normally for tuning at the same time. Not a deal breaker but that is a slight annoyance.


Originally Posted by acedeuce802 (Post 1391522)
This is what I'm doing as well. I'm using MS3pro so I just don't have the db9 to USB, but it still has 2 USB's (for serial and USB connection). The serial will go to Raspberry, and USB will go to a bulkhead connector ready to plug into a laptop. As Aidan said, I'll kill power to the Pi and then plug into the laptop.

How'd you go about connecting the db9 to the pi? usb converter, external board or some sort of gpio magic?

aidandj 02-09-2017 09:55 AM

You can broadcast CAN and tune at the same time. So you could to that route.

Again the ms3pro has 2 USB connectors and no db9. But a db9-usb should work fine.

Frenchmanremy 02-09-2017 10:02 AM

How does everyone find the reliability of bluetooth on MS2 vs wired connection?
I've had issues with my wired connection dropping signal, not sure if due to shitty laptop or shitty wires, or EM noise....

I plan on building an RPI, just looking for a screen that has a volume knob that can be wired in, I'd essentially want GPS, audio, and Tunerstudio all in one.

aidandj 02-09-2017 10:04 AM

Bluetooth works great for the connection between my phone and ms3. Almost no issues. I run msdroid over it all the time. It has gotten better on my Mac. I think windows might work a bit better, but it is noticeably slower for tuning and connecting than a wired connector.

Frenchmanremy 02-09-2017 10:20 AM

So It shouldn't be used for VEAL Autotune, but is fine for display purposes?
FYI, I'm using an MS2E, don't know if that matters. Need to find a reliable bluetooth adapter now...

aidandj 02-09-2017 10:33 AM

It might be fine for VEAL, never tried it.

acedeuce802 02-09-2017 10:40 AM

I used it with VEAL with success. Though I'll primarily be using a wired connection now. For a Raspberry Pi that's mounted in the vehicle, I don't see why bluetooth would be considered.

Teejay187 02-10-2017 09:32 AM

You can tweak the GUI to suit the Pi screen, and you have the ability to fullscreen the VEAL menu so you can see all the cells etc. It works really well!

Frenchmanremy 02-10-2017 10:21 AM

Yeah, I know nothing of coding.
I just struggled to learn how to tune and turbo my car without asking redundant or stupid questions on this forum.

More research is needed, or a stable GUI image I can download and use out of the box with minor modifications to suit my needs.
I'll be over here reading and learning until that time. :)

Gimpster 02-10-2017 10:28 AM

I'd certainly be interested in a full write up if you had the time! Speaking or myself, my Miata is 25 years old and just over 100,000 miles. In most states, including mine, this means its over its mechanical limits anyway. So an odometer is irrelevant as long as you market it that way if the vehicle was sold.

I'm kinda torn, I love the Pi concept and your project looks great. I wish I had more time in my life to hack on stuff these days, but I would love to do an FPGA based solution. I started to reverse engineer the digital dash a bit in one of my old daily drivers, a 2009 Cobalt SS. It was a pretty cool device and obviously well suited/rugged for the demands. Continental built it for GM. It just parks itself on CAN and watched for PID's from the ECM like you would expect. I ended up having to drop the project due to time constraints.

edit: here are internal pictures of the unit, if you are curious: http://www.ecimulti.org/gallery3/ind...8/album171/RPD

Ex:
http://i44.tinypic.com/2vxg9l3.jpg

Barton 02-12-2017 07:51 PM


Originally Posted by Teejay187 (Post 1391236)

My setup consists of two parts. A case containing the screen/Pi/GPS module, and the frame that the cases slides into. So removal requires only the removal of the hood cover.


http://i182.photobucket.com/albums/x...psnocclvdi.jpg

Any chance you'd be willing to share the CAD for that design and which parts you used? Would love to do the same thing with my dash.

Teejay187 02-13-2017 10:32 AM


Originally Posted by Barton (Post 1392150)
Any chance you'd be willing to share the CAD for that design and which parts you used? Would love to do the same thing with my dash.

Sure! It was designed in Fusion360. I am pretty sure I could export CAD files from that. It needs a bit of cleanup though, so I need to get that sorted first.

Teejay187 02-20-2017 07:17 AM

1 Attachment(s)
Managed to get a close look at the installed unit. Seems like the fitment is good and without any adjustments needed. Starting a write-up this week.

Attachment 181842

Barton 04-02-2017 07:28 PM

Any update on this?

Morello 04-02-2017 09:53 PM


Originally Posted by eiton (Post 1391506)
How are you guys going about connecting the rpi to megasquirt? Just the usual db9 to usb adapter?

I was slowly working on my own dashboard project where I was going to theoretically not use tuner studio and just make my own gauge cluster. I've got the graphics more or less sorted and I'm not just trying to figure out what to use (for a reasonable price) to read can broadcasts from the ms. PiCAN2 and Canberry Pi looked like good solutions but more expensive than I'd like when you can get a board with an mcp2515 chip for $2 from china that almost works.

I'm late to this party but check out the teensy 3.2. I got one up and running with a CAN transceiver, an OLED screen and a circular LED strip to read CAN variables, and also read the digital output from my LC2 to broadcast to the ECU over CAN. I got it all together and working but never build an enclosure. My plan was to simply replace the dummy-light oil gauge with this, but it's still sitting on the desk in my bedroom a year later.

G3ML1NGZ 08-17-2017 11:01 AM

some were asking about safe shutdown. This is the route I'm going for

https://www.mausberrycircuits.com/co...-supply-switch

azmartin 06-11-2018 04:16 PM

Plugin?
 
Hi!

Is anyone of you capable of java development? How about addressing the Pi GPIO Pins by a TunerStudio plugin? I had someting like F1 style shift lights in mind or a segment LED gear display.

best regards

Martin


All times are GMT -4. The time now is 08:38 AM.


© 2024 MH Sub I, LLC dba Internet Brands