Page 1 of 1

Tunerstuido, RPi3, and the 7" touch screen

Posted: Fri Apr 07, 2017 9:58 am
by toyotaspeed90
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.

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

Posted: Fri Apr 07, 2017 10:29 pm
by toyotaspeed90
Should add some bench (desk) testing...
But is connected to my MS1 here...

Image

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

Posted: Fri Apr 21, 2017 6:20 am
by stanglx2002
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

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

Posted: Fri Apr 21, 2017 1:30 pm
by old guy
I know nothing about a Pi , but is this what you are looking for?
https://lowpowerlab.com/shop/product/91

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

Posted: Wed Apr 26, 2017 7:22 am
by stanglx2002
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

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

Posted: Wed Apr 26, 2017 5:02 pm
by jsiedlicki
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/view ... p?t=102015

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

Posted: Thu Apr 27, 2017 3:01 pm
by dsmcrzy
I have that shut down circuit made by mausberry. It works very well. Overall I am happy with the pi3 as my indash digital display. The gauges are a bit slow through the transients but overall works very well. Data logs are nice and crisp (have it hard wired to my MS unit via USB.

Besides the ~45 second boot time it's really a nice solution to having a billion gauges through out the car.

The bezel was 3D printed from shapeways using their laser sintering process. This leave a very fine and strong part. Then just used truck bed liner coating to get the stock-ish texture.

You can see pics of it here (they are too big to upload off my phone). If you go a couple pages back I have the pic from the start.

http://www.dsmtuners.com/threads/dsmcrz ... -153641172

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

Posted: Thu Apr 27, 2017 4:23 pm
by toyotaspeed90
I don't have a problem soldering as I've built many a MS units.. been watching for the Mausberry unit (daily) but no change...

I assume I'm reading there's a slight lag - Which would mean auto tune may not be the best choice.....

With the tunerstudio key, and a view that may be more suitable

Image

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

Posted: Thu Apr 27, 2017 5:34 pm
by dsmcrzy
I have had no problems with auto tune. It's more like the graphics end... I still need to tweak a few things and maybe over clock it. Like I said, data logs look just like my laptop took them it's just needle and gauge movement that lags a bit.

If you live anywhere warm, get a case with a built in fan. I was having a few over heating problems. The small fan helped a lot!

Shoot mausberry an email. That's the only way I got mine. They (for some reason) never switch that to 'in stock'.

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

Posted: Fri Apr 28, 2017 7:26 am
by LT401Vette
The render speed will vary with the complexity of the dash. With most dashboards it is quite acceptable with the Pi 3. You may want to play around with different dashboards.