Tunerstuido, RPi3, and the 7" touch screen

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Tunerstuido, RPi3, and the 7" touch screen

Postby toyotaspeed90 » Fri Apr 07, 2017 9:58 am

I wanted to post some interesting 'issues' I had and how I had to fix it, just in case someone else runs across this.

It should be noted - there may be a much easier way through Terminal or modifying a file, but I did attempt to do that and couldn't find it which included changing the resolution in pi (multiple times). I'm relatively new to RPi and Linux.... however I'm pretty comfortable with coding (if not at the very least reading and understanding it).

This is an RPi3, 64gb MicroSD, I loaded Raspbian with PIXEL.

Originally I completed the install using HDMI to a 19" screen. I loaded Tunerstudio and got it working with the MS no problem.

The 7" screen arrived, and installed as needed. Everything was as expected - except when Tunerstudio loaded.

It would open/load with the bottom right 1/3 (or so) of the main page viewable, and no sliders - whether using the touch screen nor mouse I couldn't get anything else to show. Through luck, I was able to use some F keys to have the menus show up, but nothing that allowed resizing of the window.

My assumption is that when Tunerstudio is first loaded/executed through Terminal, there's something that sets what the resolution is, and it becomes hard coded (I could be wrong, but that's how it acted).

Since the MicroSD was otherwise blank, I rewrote Raspbian over (formatted and reloaded the OS), then with the 7" screen, re-downloaded/ran Tunerstudio through Terminal and all is working well.


Now if I could only get my hands on a 12V maussberry circuit (or maybe someone on here is smart enough to know how to build something similar with Digikey components....). RPi needs to be properly shut down - and it's power source is a 5V 3a USB port. There are lots of stepdown USB boards for 12V applications, but nothing that delays the power shutdown (and sends a signal) to RPi to shut down properly. Essentially what happens is the circuit has 12V constant, and when 12V switched is turned off, the board sends a signal to RPi to shut down, then I'm guessing through a timer power is cut completely to the RPi. I would have no problem buying/using the Maussberry circuit, but they seem to always be out of stock.
toyotaspeed90
Helpful MS/Extra'er
 
Posts: 45
Joined: Mon Feb 14, 2005 2:33 pm
Location: Bellingham, WA

Re: Tunerstuido, RPi3, and the 7" touch screen

Postby toyotaspeed90 » Fri Apr 07, 2017 10:29 pm

Should add some bench (desk) testing...
But is connected to my MS1 here...

Image
toyotaspeed90
Helpful MS/Extra'er
 
Posts: 45
Joined: Mon Feb 14, 2005 2:33 pm
Location: Bellingham, WA

Re: Tunerstuido, RPi3, and the 7" touch screen

Postby stanglx2002 » Fri Apr 21, 2017 6:20 am

Great build you have there. I have been looking at doing the same thing. I have run into the same issue that you did as well. I haven't been able to find a good way to "gracefully" shutdown the rpi.

I have been looking at the PowerBoost 1000 with a Lipo-Battery, so when you turn off the car the rpi will still have power to execute the shutdown process

Also was looking at trying to find a large enough capacitor to have enough power for the rpi shutdown process
88 Mustang GT 331 Stroker w/ AOD, MSPNP Gen2 (MS2/Extra 3.4.2) w/ LC-2 WB running TFI ignition
stanglx2002
MS/Extra Newbie
 
Posts: 12
Joined: Wed Dec 28, 2016 7:16 am

Re: Tunerstuido, RPi3, and the 7" touch screen

Postby old guy » Fri Apr 21, 2017 1:30 pm

I know nothing about a Pi , but is this what you are looking for?
https://lowpowerlab.com/shop/product/91
old guy
Experienced MS/Extra'er
 
Posts: 317
Joined: Thu Jan 24, 2008 9:20 am
Location: North Carolina

Re: Tunerstuido, RPi3, and the 7" touch screen

Postby stanglx2002 » Wed Apr 26, 2017 7:22 am

I have been doing hours and hours of more research on the shutdown process with nobody having a clearcut way of doing it. Upon further research of just a timer to cut power I ran across using a 555 timer circuit. Researching this I found this prebuilt timer that does just what I have been looking for.

I hope it helps you with your project

https://www.amazon.com/Timer-Delay-Rela ... RBDCRA8FXT
88 Mustang GT 331 Stroker w/ AOD, MSPNP Gen2 (MS2/Extra 3.4.2) w/ LC-2 WB running TFI ignition
stanglx2002
MS/Extra Newbie
 
Posts: 12
Joined: Wed Dec 28, 2016 7:16 am

Re: Tunerstuido, RPi3, and the 7" touch screen

Postby jsiedlicki » Wed Apr 26, 2017 5:02 pm

I am also using a Pi to run my digital dash. The safe shutdown is an issue. You do not want to simply cut power to the Pi, at some point it will corrupt the SD card and you'll have to reload everything. If you are not afraid of some soldering and DIY circuitry, these two articles outline how to build a UPS and an auto-shutdown circuit that will shutdown the Pi when the key is turned off.

http://homediyelectronics.com/projects/raspberrypi/ups/

https://www.raspberrypi.org/forums/viewtopic.php?t=102015
MS3-Pro (6 cyclinder Subaru EZ36R)
MS2-extra (8 cyclinder Ford 347 stroker)
jsiedlicki
Helpful MS/Extra'er
 
Posts: 92
Joined: Sun Jun 23, 2013 3:52 pm


Return to Tuner Studio

Who is online

Users browsing this forum: No registered users and 2 guests