Generation III External Engine LS1 | LS6 | Bolt-Ons | Intakes | Exhaust | Ignition | Accessories
Sponsored by:
Sponsored by:

Microprocessor (PIC) Based Guage POD for LQ4's in a Boat

Thread Tools
 
Search this Thread
 
Old Apr 5, 2020 | 09:17 PM
  #1  
Cfoss's Avatar
Thread Starter
Teching In
5 Year Member
 
Joined: Mar 2019
Posts: 20
Likes: 4
Default Microprocessor (PIC) Based Guage POD for LQ4's in a Boat

Hi all. I'm putting a pair of LQ4s in my boat. Things are going good with the first one-running well on land at least, converted to 1 bar speed density. Tuning is yet to be performed, but it's idling warm a bit rich with the stock programming.

Anyway, I've been creating a digital guage pod for the rpm, coolant temp and oil pressure, and also to alert me to when the bilge pump is on etc.The PIC uses an 8 bit A-D on a %V base. 5V = 255 counts.

I was going to do separate sensors and all that, but then I thought why do that when i can piggyback on the existing sensors. It actually works pretty well.

I thought I'd share some insights.

For oil pressure, there is lots of info on line that the scaling is .5-4.5V, 0-130psi. This is correct information.


Measured:
Volts Pressure
.5 -.3
1.88 43.6
1.72 39
2.15 52
2.64 68

Formulae:

Pressure = volts(31.92)-17.4

Pressure = (counts-26)*130/204

The way the counts formula breaks down is this:

counts -26 removes the .5V offset in the signal. Then simply multiply this by 130psi, divided by the count representation of 4 volts (4.5V-.5V) and that's it.

Tach:


The tach signal is low active. Without a pullup resistor you get nothing. For the 5V input on the PIC what I did was run 12V to a 2k2 resistor, then the other side of the 2K2 connects to the white ecm wire , the PIC input, and one side of a 1K resistor. The other side of the 1K resistor goes to common. With the high and low tach resolution set to 6 (Stock setting), the formula for rpm is: RPM = Frequency *30.1

In other words if the square wave frequency was 100hz, you would be at 3010 rpm.

This is very accurate throughout the range.

Engine Coolant Temp:


GM pulled a trick here! They have the ECM change up the pullup resistors half way through the temperature range. This is to increase resolution to the PCM a-d over the entire range. The trouble is that when you are just reading the input voltage from the ECM, you can't tell what factor the ECM is on.

Test data:

ECM Volts
(degf)

50 2.764
55 2.498
64 2.234
73 2.0
81 1.8
84 1.68
90 1.47
95 1.37
100 1.27
104 1.2
113 0.97
118 0.9
120 0.8
ECM SWITCH!
120.2 3.7
129.2 3.5
134.6 3.357
143.6 3.281
150.8 3.13
152.6 3.014
154.4 2.982
154.4 2.947
156.2 2.867
174.2 2.462
177.8 2.392


I set the fan output to 120 deg F and use that output as an input to the PIC to tell it when to switch from low to high temp calculations. Pin C1-42, low active. This means I can use exactly the same setup as my tach for resistors. When the voltage is high, the use the low temp curve, when it is 0, use the high temp curve.

I set the enable at 122 and the disable temp at 120 using HP Tuners so if anything the temp looks lower than it should. This keeps it from triggering the alarm setpoints I made, and the transition occurs pretty fast at this temp anyway.


The formula for the low temperature zone (In counts, 5V=255) is:

Temp(f)= -7/10(counts)+144



Chay
Reply




All times are GMT -5. The time now is 10:02 AM.

story-0
Topdon ONE vs. Artidiag 800 BT2: Which is the Diagnostic Tablet For You?

Slideshow: We take a close look at the ONE and Artidiag 800BT2 diagnostic tools from Topdon and the reasons to buy one over the other.

By Pouria Savadkouei | 2026-05-28 11:05:11


VIEW MORE
story-1
Gas Monkey Built a 6-Wheel Ferrari Testarossa With a Corvette LT4 Engine

Slideshow: The controversial Ferrari F6 swaps its original flat-12 for a Corvette Z06-derived LT4 V8 and sends power to four rear wheels through a custom-built drivetrain.

By Verdad Gallardo | 2026-05-26 18:23:54


VIEW MORE
story-2
7 Most Reliable High-Performance Engines GM Has Ever Built

Slideshow:These GM engines didn't just make huge power, they survived abuse, boost, track days, and six-digit mileage with a reputation for refusing to quit.

By Verdad Gallardo | 2026-05-21 16:45:27


VIEW MORE
story-3
Amazing '71 Camaro Restomod Is Modern Muscle Car Under the Skin

Slideshow: This heavily modified 1971 Camaro mixes classic muscle car styling with a fifth-generation Camaro interior and modern LS3 power.

By Verdad Gallardo | 2026-05-12 18:06:42


VIEW MORE
story-4
6 Common C5 Corvette Failures and What's Involved In Repairing Them

Slideshow: From wobbling harmonic balancers to failed EBCMs, these are the issues that define long-term C5 ownership and what repairs typically involve.

By Pouria Savadkouei | 2026-05-07 18:44:57


VIEW MORE
story-5
Retro Modern Bandit Pontiac Trans AM Comes With Burt Reynolds' Autograph

Slideshow: A modern Camaro transformed into a retro icon, this limited-run "Bandit" build blends nostalgia with brute force in a way few revivals manage.

By Verdad Gallardo | 2026-04-21 13:57:02


VIEW MORE
story-6
Top 10 Greatest Cadillac V Series Performance Models Ever, Ranked

Slideshow: Cadillac didn't just crash the high-performance luxury vehicle party, it showed up loud, supercharged, and occasionally a little unhinged...

By Pouria Savadkouei | 2026-04-16 10:05:15


VIEW MORE
story-7
Top 10 Most Powerful Chevy Trucks Ever Made!

Slideshow: Top ten most powerful Chevy trucks ever made

By | 2026-03-25 09:22:26


VIEW MORE
story-8
Hennessey's New Supercharged Silverado ZR2 Has 700 HP

Slideshow: Hennessey has turned the Silverado ZR2 into a 700-hp off-road monster with supercharged V8 power and a limited production run.

By Verdad Gallardo | 2026-03-24 18:57:52


VIEW MORE
story-9
Coachbuilt N2A Anteros Is an LS2-Powered C6 Corvette In Italian Clothes

Slideshow: A one-off sports car that looks like a vintage Italian exotic-but hides a C6 Corvette underneath-just sold for the price of a new mid-engine Corvette.

By Verdad Gallardo | 2026-03-23 18:53:41


VIEW MORE