TS Dash Pi GPIO help

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

Post Reply
chadillac
MS/Extra Newbie
Posts: 1
Joined: Tue Feb 13, 2024 8:43 pm

TS Dash Pi GPIO help

Post by chadillac »

I purchased Tuner Studio MS and TS Dash Pro with the intentions of creating a digital dash for my race boat. Boat is powered with a 632 BBC carb and distributor with ignition by a MSD box. I want to be able to read 5v sensor voltages (stepped down to 3.3v) on a raspberry Pi 4 GPIO pin. I thought that TS dash could read the voltages but it appears that it can only use digital in and out (high or low). Any solution for tuner studio to read analog voltages via the raspberry Pi? I am aware that I could purchase a MS3 but that would be a waste to run a dash. Possible cheaper controller that can communicate with tuner studio that reads analog signals? Any guidance or direction would be much appreciated. DASH image for bonus points.
Screenshot 2024-02-13 212256.jpg
Screenshot 2024-02-13 212256.jpg (118.72 KiB) Viewed 376 times
:msq:
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: TS Dash Pi GPIO help

Post by LT401Vette »

It seems you would need a MicroSquirt or perhaps an IOExtender.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
E30driver
MS/Extra Newbie
Posts: 1
Joined: Wed Mar 06, 2024 5:50 am

Re: TS Dash Pi GPIO help

Post by E30driver »

Hello

iam looking for a solution to get oil press to my ts dash. are there plans to implement analog gpio to ts dash?
i dont know why there are 30ish digital io. i cant imagine a scenario where someone needs that much digial io.

thanks
tim
Reaper
MS/Extra Newbie
Posts: 8
Joined: Sat Mar 02, 2024 5:16 pm

Re: TS Dash Pi GPIO help

Post by Reaper »

E30driver wrote: Wed Mar 06, 2024 6:01 am Hello

iam looking for a solution to get oil press to my ts dash. are there plans to implement analog gpio to ts dash?
i dont know why there are 30ish digital io. i cant imagine a scenario where someone needs that much digial io.

thanks
tim
So, in order to have analog i/o, you have to have pins with an ADC chip backing them. Iirc, the pi only has two such pins. The pico (a $5 microprocessor) has 4 iirc. So wiring the pi directly for analog sensors isn't going to work the greatest. I suppose some firmware for the pico can be written to use it as a megasquirt in the eyes of tsdash, but you'd need some level shifters (just some mosfets and resistors really) to get any pulse signals that don't use the picos 3.3v rail (like coil - rpm signals). Temp, TPS, ect, can all just use the 3.3v rail as they're basically just variable resistors acting as a self contained voltage divider (at least in the case of 3 wire, 2 wire would need an external resistor I think). VSS can be handled on the 3.3v rail as well as it's just a ppm signal. It's all just a bit of a headache, but I can toss together some example code this weekend, don't think I can get it linked back to tsdash by myself though, would need help from phil or another dev for that.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: TS Dash Pi GPIO help

Post by LT401Vette »

Yes, it is planned to support ADC's. But as mentioned that will take additional hardware. The Pi itself does not have any ADC capabilities.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: TS Dash Pi GPIO help

Post by MS2tester »

Just recently the ms3 mini came out
https://www.diyautotune.com/product/the ... -ecu-only/

Has onboard map and baro with a pulse per meter gps you can do speed and make a custom slip calculation
Post Reply