MEGAsquirt A place to collectively sort out this megasquirt gizmo

Raspberry Pi 3 and Tunerstudio

Thread Tools
 
Search this Thread
 
Old 02-09-2017 | 10:54 AM
  #41  
eiton's Avatar
Newb
 
Joined: Aug 2016
Posts: 40
Total Cats: 2
From: Deerfield Beach
Default

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
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?
Old 02-09-2017 | 10:55 AM
  #42  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

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.
Old 02-09-2017 | 11:02 AM
  #43  
Frenchmanremy's Avatar
Junior Member
 
Joined: Nov 2011
Posts: 161
Total Cats: 5
From: Ottawa, Ontario, Canada
Default

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 **** that can be wired in, I'd essentially want GPS, audio, and Tunerstudio all in one.
Old 02-09-2017 | 11:04 AM
  #44  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

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.
Old 02-09-2017 | 11:20 AM
  #45  
Frenchmanremy's Avatar
Junior Member
 
Joined: Nov 2011
Posts: 161
Total Cats: 5
From: Ottawa, Ontario, Canada
Default

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...
Old 02-09-2017 | 11:33 AM
  #46  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

It might be fine for VEAL, never tried it.
Old 02-09-2017 | 11:40 AM
  #47  
acedeuce802's Avatar
Senior Member
iTrader: (1)
 
Joined: Dec 2010
Posts: 1,218
Total Cats: 175
From: Farmington Hills, MI
Default

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.
Old 02-10-2017 | 10:32 AM
  #48  
Teejay187's Avatar
Junior Member
 
Joined: Jul 2013
Posts: 85
Total Cats: 48
From: Norway
Default

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!
Old 02-10-2017 | 11:21 AM
  #49  
Frenchmanremy's Avatar
Junior Member
 
Joined: Nov 2011
Posts: 161
Total Cats: 5
From: Ottawa, Ontario, Canada
Default

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.
Old 02-10-2017 | 11:28 AM
  #50  
Gimpster's Avatar
Junior Member
 
Joined: Aug 2016
Posts: 65
Total Cats: 7
From: Miami Beach, FL
Default

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:
Old 02-12-2017 | 08:51 PM
  #51  
Barton's Avatar
Junior Member
 
Joined: Jun 2015
Posts: 182
Total Cats: 58
From: VIC, Australia
Default

Originally Posted by Teejay187

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.


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.
Old 02-13-2017 | 11:32 AM
  #52  
Teejay187's Avatar
Junior Member
 
Joined: Jul 2013
Posts: 85
Total Cats: 48
From: Norway
Default

Originally Posted by Barton
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.
Old 02-20-2017 | 08:17 AM
  #53  
Teejay187's Avatar
Junior Member
 
Joined: Jul 2013
Posts: 85
Total Cats: 48
From: Norway
Default

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.

Name:  IMG_20170216_142709_zpsyaudmrmw.jpg
Views: 7208
Size:  212.6 KB
Old 04-02-2017 | 08:28 PM
  #54  
Barton's Avatar
Junior Member
 
Joined: Jun 2015
Posts: 182
Total Cats: 58
From: VIC, Australia
Default

Any update on this?
Old 04-02-2017 | 10:53 PM
  #55  
Morello's Avatar
Junior Member
 
Joined: Jul 2009
Posts: 419
Total Cats: 45
From: Orange County, CA
Default

Originally Posted by eiton
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.
Old 08-17-2017 | 12:01 PM
  #56  
G3ML1NGZ's Avatar
Senior Member
 
Joined: Aug 2012
Posts: 551
Total Cats: 102
Default

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

https://www.mausberrycircuits.com/co...-supply-switch
Old 06-11-2018 | 05:16 PM
  #57  
azmartin's Avatar
Newb
 
Joined: Oct 2015
Posts: 2
Total Cats: 0
Default 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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
c.r.harmon
Meet and Greet
6
04-02-2017 12:52 AM
Chowcow
MEGAsquirt
2
05-14-2015 06:21 PM
btabor
MEGAsquirt
6
10-27-2014 03:27 PM
miataspeed1point6
MEGAsquirt
10
04-25-2013 11:11 PM




All times are GMT -4. The time now is 04:20 AM.