MEGAsquirt A place to collectively sort out this megasquirt gizmo

Raspberry Pi 3 and Tunerstudio

Thread Tools
 
Search this Thread
 
Old 02-09-2017, 09:54 AM
  #41  
Newb
 
eiton's Avatar
 
Join Date: Aug 2016
Location: Deerfield Beach
Posts: 40
Total Cats: 2
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?
eiton is offline  
Old 02-09-2017, 09:55 AM
  #42  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
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.
aidandj is offline  
Old 02-09-2017, 10:02 AM
  #43  
Junior Member
 
Frenchmanremy's Avatar
 
Join Date: Nov 2011
Location: Ottawa, Ontario, Canada
Posts: 161
Total Cats: 5
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.
Frenchmanremy is offline  
Old 02-09-2017, 10:04 AM
  #44  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
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.
aidandj is offline  
Old 02-09-2017, 10:20 AM
  #45  
Junior Member
 
Frenchmanremy's Avatar
 
Join Date: Nov 2011
Location: Ottawa, Ontario, Canada
Posts: 161
Total Cats: 5
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...
Frenchmanremy is offline  
Old 02-09-2017, 10:33 AM
  #46  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

It might be fine for VEAL, never tried it.
aidandj is offline  
Old 02-09-2017, 10:40 AM
  #47  
Senior Member
iTrader: (1)
 
acedeuce802's Avatar
 
Join Date: Dec 2010
Location: Farmington Hills, MI
Posts: 1,218
Total Cats: 175
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.
acedeuce802 is offline  
Old 02-10-2017, 09:32 AM
  #48  
Junior Member
 
Teejay187's Avatar
 
Join Date: Jul 2013
Location: Norway
Posts: 85
Total Cats: 48
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!
Teejay187 is offline  
Old 02-10-2017, 10:21 AM
  #49  
Junior Member
 
Frenchmanremy's Avatar
 
Join Date: Nov 2011
Location: Ottawa, Ontario, Canada
Posts: 161
Total Cats: 5
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.
Frenchmanremy is offline  
Old 02-10-2017, 10:28 AM
  #50  
Junior Member
 
Gimpster's Avatar
 
Join Date: Aug 2016
Location: Miami Beach, FL
Posts: 65
Total Cats: 7
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:
Gimpster is offline  
Old 02-12-2017, 07:51 PM
  #51  
Junior Member
 
Barton's Avatar
 
Join Date: Jun 2015
Location: VIC, Australia
Posts: 182
Total Cats: 58
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.
Barton is offline  
Old 02-13-2017, 10:32 AM
  #52  
Junior Member
 
Teejay187's Avatar
 
Join Date: Jul 2013
Location: Norway
Posts: 85
Total Cats: 48
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.
Teejay187 is offline  
Old 02-20-2017, 07:17 AM
  #53  
Junior Member
 
Teejay187's Avatar
 
Join Date: Jul 2013
Location: Norway
Posts: 85
Total Cats: 48
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: 7128
Size:  212.6 KB
Teejay187 is offline  
Old 04-02-2017, 07:28 PM
  #54  
Junior Member
 
Barton's Avatar
 
Join Date: Jun 2015
Location: VIC, Australia
Posts: 182
Total Cats: 58
Default

Any update on this?
Barton is offline  
Old 04-02-2017, 09:53 PM
  #55  
Junior Member
 
Morello's Avatar
 
Join Date: Jul 2009
Location: Orange County, CA
Posts: 419
Total Cats: 45
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.
Morello is offline  
Old 08-17-2017, 11:01 AM
  #56  
Senior Member
 
G3ML1NGZ's Avatar
 
Join Date: Aug 2012
Posts: 550
Total Cats: 91
Default

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

https://www.mausberrycircuits.com/co...-supply-switch
G3ML1NGZ is offline  
Old 06-11-2018, 04:16 PM
  #57  
Newb
 
azmartin's Avatar
 
Join Date: 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
azmartin is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
c.r.harmon
Meet and Greet
6
04-01-2017 11:52 PM
Chowcow
MEGAsquirt
2
05-14-2015 05:21 PM
btabor
MEGAsquirt
6
10-27-2014 02:27 PM
miataspeed1point6
MEGAsquirt
10
04-25-2013 10:11 PM



Quick Reply: Raspberry Pi 3 and Tunerstudio



All times are GMT -4. The time now is 06:22 AM.