Raspberry Pi 3 and Tunerstudio
Hi all,
I'm looking for an easy solution to integrate a 2 DIN touch screen in the dashboard in order to run Tunerstudio and Tune Analyze Live in my miata. Do you know if the Rasberry Pi 3 can run Tune Analyze Live ? I have read that Tunerstudio worked on the Raspberry Pi 2 but Tune Analyze Live had some issues.. Thanks for the help. |
I've been playing with the idea of doing something similar. I would probably go with something a bit more powerful like a banana pi since they're not much more expensive.
|
I can't even begin to image how frustrating it would be to use tuner studio on a small touch screen. It's bad enough with a keyboard and mouse.
|
Keep one of these in the trunk for serious work
https://cimg0.ibsrv.net/gimg/www.mia...53c01d20be.jpg |
I know this doesn't answer your questions, but FWIW: I tried and tried to force myself to use a mounted 10.1" Windows Tablet for tuning over the past year (HPTuners on a GM mostly). The issue is... none of the applications I've seen are setup well for touch. I kept a bluetooth keyboard very similar to what thenuge26 posted, but at that point it didn't make much sense. It did work great for a digital dash though, just getting around menus etc was a real drag.
|
See I had a touch screen laptop for tuning (well I still have one it's just a different one) and it was brilliant in that it's still easier to get around those menus with a touch screen vs a touch pad (even a large one like the one in my pic). I was able to turn off my "fixed 10° timing" setting I had turned on to check the timing while going 60mph down I-465. There's no way I could have done that with the touchpad.
But that may just be my preference. |
It's possible that the touch resolution of your laptop is waaaay better than my $99 tablet too :)
|
I have an RPi3 at the shop I can play with, I'll see if it's plug n play.
I'd played around with the idea of using the CAN on the MS to play with data that way, but having tunerstudio around would be much more slick |
-doublepost-
|
Any news on this?
Has anyone found a UI that'll have tunerstudio, Radio and GPS working? |
Another aspect to take into consideration is what double din device are you using that integrates with the RP, something like a carpc would work, and eliminate the need for a RP entirely, granted that's significantly more expensive, but already comes with windows, so theres that.
|
Well, I've gotten Tunerstudio to run quite well on my RPi3.
I was just going to use a GPS USB dongle, a small amplifier for the speakers, the RPi3, a Bluetooth Dongle, and a 7" tactile screen. Just looking for a UI that'll work with TunerStudio AND audio... |
Has anyone been using the standard Raspberry Pi 7" touch screen in the car? I'm mostly curious about glare and reliability of using it as an instrument cluster. My current plan is to have my Racepak IQ3s as my instrument cluster, and have a Raspberry Pi in my radio area. Now having the Racepak almost seems unnecessary since I'll be taking all the data through Megasquirt and transferring it over CAN to Racepak... why not just put the Pi in the cluster and not even worry about CAN transmission?
I've been looking into switching options, I found two sources that will take 12V inputs, but one of them has production on hold for a redesign. They use both constant and switched power, and safely shut down the Pi when switched power is removed. MoPower UPS designed for the Raspberry Pi ASSEMBLED AND TESTED MOPOWER-UPS-V1.00-ASSEMBLED-TESTED - All Spectrum Electronics 3A Car Supply / Switch ? Mausberry Circuits |
Originally Posted by acedeuce802
(Post 1381795)
Has anyone been using the standard Raspberry Pi 7" touch screen in the car? I'm mostly curious about glare and reliability of using it as an instrument cluster. My current plan is to have my Racepak IQ3s as my instrument cluster, and have a Raspberry Pi in my radio area. Now having the Racepak almost seems unnecessary since I'll be taking all the data through Megasquirt and transferring it over CAN to Racepak... why not just put the Pi in the cluster and not even worry about CAN transmission?
I've been looking into switching options, I found two sources that will take 12V inputs, but one of them has production on hold for a redesign. They use both constant and switched power, and safely shut down the Pi when switched power is removed. MoPower UPS designed for the Raspberry Pi ASSEMBLED AND TESTED MOPOWER-UPS-V1.00-ASSEMBLED-TESTED - All Spectrum Electronics 3A Car Supply / Switch ? Mausberry Circuits |
Originally Posted by aidandj
(Post 1381833)
Hit me up if you decide to not use that iq3s
I bought this dash. That's what got me thinking of using the Raspberry Pi as the instrument cluster. Now that I'm using a 0-5V oil pressure sensor on the LS1, I'd either have to use dual sensors to feed the Racepak, use a separate gauge somehow, or just use a warning light to get the reading in front of me. Having the Pi as a cluster would give me access to all warnings, CEL's, gauges, etc. The Racepak also wouldn't be able to display AFR2 since I'm using a wideband on each bank. |
Originally Posted by aidandj
(Post 1381833)
Hit me up if you decide to not use that iq3s
:bigtu: |
1 Attachment(s)
|
Originally Posted by Teejay187
(Post 1391036)
|
Yes, it is. It is the only thing left to wire up. Tested GPS as a speedometer in TS and it works wonderfully on the track.
|
Awesome, I can't wait to get mine thrown in as well. What is the refresh rate of the GPS module that you used?
|
I used the 10Hz module from Adafruit. It works great!
|
Originally Posted by Teejay187
(Post 1391047)
I used the 10Hz module from Adafruit. It works great!
|
Yep. I am thinking of doing a write-up of the setup. Gauging interest..
|
I would certainly be curious to find out what your workaround for the odometer is. Do you intend to go without an odometer or are you going to use wheel speed sensors to make something else work?
|
I'm excited to see more people doing this! I'll have my final mount done tonight hopefully.
Has anyone been using an OS other than Raspbian Jessie? I've been playing around with dietpi to try to run a lightweight headless OS, but I'm super new to Linux so right now I'm just playing around with no success lol. Or if you are using Jessie, anything specific you've done to cut down boot times? How are you guys handling power and shutdown? |
fwiw you should be able to just kill the system by pulling the plug without too many issues.
|
Originally Posted by acedeuce802
(Post 1391077)
I'm excited to see more people doing this! I'll have my final mount done tonight hopefully.
Has anyone been using an OS other than Raspbian Jessie? I've been playing around with dietpi to try to run a lightweight headless OS, but I'm super new to Linux so right now I'm just playing around with no success lol. Or if you are using Jessie, anything specific you've done to cut down boot times? How are you guys handling power and shutdown? For power I use a 3A micro USB adapter connected to switched power. More specific I used the cigarette lighter circuit. |
I've heard of issues with pulling the plug without commanding a safe shutdown. There is chance of corrupting the SD card. My current solution is to have a momentary button that goes to GPIO to command a shutdown. The Mausberry car circuits have been out of stock for a while.
|
what about wiring the pi to an always hot connection. And having ignition trigger a relay that sends a GPIO pin high or low.
|
Possibly. I'll have to look into that.
Just got the final mount panel waterjet. I just need to clean up the plastic that got a little tarnished in the waterjet. https://c1.staticflickr.com/1/430/31...332a9f98_b.jpg https://c1.staticflickr.com/1/358/32...922193e4_b.jpg |
Originally Posted by acedeuce802
(Post 1391114)
Possibly. I'll have to look into that.
Just got the final mount panel waterjet. I just need to clean up the plastic that got a little tarnished in the waterjet. https://c1.staticflickr.com/1/430/31...332a9f98_b.jpg https://c1.staticflickr.com/1/358/32...922193e4_b.jpg |
3 Attachment(s)
For powering the unit, I used one of these. Micro USB Trasformatore Convertitore Alimentatore DC12V a DC5V 3A Impermeabile eBay
It is a 3A 5V Micro USB adapter that runs on 12V. Also the angled plug makes it easier to use, at least for my application. Regarding problems with a "dirty" shutdown, I have had none. I use small SD-cards and if a dirty shutdown causes a volume check, it takes like 2 seconds more at boot. Unless you are logging, there should be minimal writing to the SD-card and no reason for corrupting data. Ace, that panel looks sweet! I am really curios on these LEDs and buttons. 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. Attachment 181945 Attachment 181946 Attachment 181947 |
Originally Posted by Teejay187
(Post 1391236)
For powering the unit, I used one of these. Micro USB Trasformatore Convertitore Alimentatore DC12V a DC5V 3A Impermeabile eBay
It is a 3A 5V Micro USB adapter that runs on 12V. Also the angled plug makes it easier to use, at least for my application. Regarding problems with a "dirty" shutdown, I have had none. I use small SD-cards and if a dirty shutdown causes a volume check, it takes like 2 seconds more at boot. Unless you are logging, there should be minimal writing to the SD-card and no reason for corrupting data. Ace, that panel looks sweet! I am really curios on these LEDs and buttons. 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...psnyvxtvv3.jpg http://i182.photobucket.com/albums/x...psnocclvdi.jpg http://i182.photobucket.com/albums/x...psqmscxdcg.jpg |
That's awesome! I am going to do a full write-up on both software and hardware in the near future. Attaching the 3D-files for the frame/case as well, so people can use a 3Dhub near them to get it printed. That should make for a sub $400 dash replacement that is actually easy to set up.
|
Nice enclosure, very cool!
Even though the thick plastic on mine isn't the best solution, it's a super efficient way to make it. I would probably sell my setup for $275 including the pi, screen, 5V regulator, and plates to mount it. Maybe $325 for $350 with LED's, buttons, and fully wired with a connector. It takes no extra time to change around LED or button location, and changing the type of LED or button requires just the diameter of the shaft, and packaging space. Updating the dxf for waterjet takes a few seconds as well. The 3 LED's on either side of the screen are a sequential tachometer. Just using 3 different programmable outputs from Megasquirt. The one to the side is a coolant warning light. I shouldn't need these with the screen displaying all the data, but I felt it'd be nice to have these redundant and in your face with really bright LED's. The red guys are button/light combo's. The lights in them are turn signal indicators. One of the buttons commands a safe shutdown through the GPIO. No function for the other button yet. |
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. |
Ms3pro doesn't have a db9. Has a USB connector.
|
My plan was to use an MS3x and try to make use of the db9 connector it has and leave the USB connector open for tuning on a laptop. The rpi dash is mainly just for aesthetitcs and I didn't planning on having it do more than just read in values and make shapes on a screen. The db9 connector sounds like it lends itself better to wiring a short cable exactly the length I need vs trying to find a properly sized usb cable. Also, I don't completely know what I'm doing and outside figuring out the graphics side of things, everything is still theoretical for me on this.
|
You could probably do that. Keep in mind they both cannot be connected at the same time.
|
Originally Posted by eiton
(Post 1391518)
My plan was to use an MS3x and try to make use of the db9 connector it has and leave the USB connector open for tuning on a laptop. The rpi dash is mainly just for aesthetitcs and I didn't planning on having it do more than just read in values and make shapes on a screen. The db9 connector sounds like it lends itself better to wiring a short cable exactly the length I need vs trying to find a properly sized usb cable. Also, I don't completely know what I'm doing and outside figuring out the graphics side of things, everything is still theoretical for me on this.
|
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.
|
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. |
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. |
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.
|
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... |
It might be fine for VEAL, never tried it.
|
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.
|
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!
|
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. :) |
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 |
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 |
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.
|
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 |
Any update on this?
|
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. |
some were asking about safe shutdown. This is the route I'm going for
https://www.mausberrycircuits.com/co...-supply-switch |
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 07:50 AM. |
© 2024 MH Sub I, LLC dba Internet Brands