Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New profile posts
Latest activity
New showcase items
New showcase comments
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Showcase
New items
New comments
Latest content
Latest reviews
Latest updates
Search showcase
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Power Strokes
7.3 Aftermarket
Flow bench?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="N2GN2, post: 1316008, member: 7309"] I know just enough to get myself in trouble. My brother-in-law is the one who can code. Here's where I'm at if anyone was interested. [code] //Powerstroke Diesel Flow Bench Controller #include <digitalWriteFast.h> #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); const int FDCSpin = 13; // Fuel Delivery Control Signal const int CIPin = 10; // Cylinder Identification const int buttonPin = 2; // Start Button const int speakerPin = 8; //Speaker bool buttonState = LOW; // Button is off double RPM = 1000; double PW = 1.5; double FDCSoffus = int(1000/(RPM/60)/4 - PW); int PWus = int(PW*1000); int ciCnt; int totalCnt; bool CIState = HIGH; void setup() { lcd.begin(16, 2); lcd.print("READY TO TEST"); // Waiting for button press pinMode(FDCSpin, OUTPUT); // Fuel Delivery Control Signal pinMode(CIPin, OUTPUT); // Cylinder Identification pinMode(buttonPin, INPUT); // Start Button digitalWriteFast2(FDCSpin, LOW); digitalWriteFast2(CIPin, LOW); } void loop() { buttonState = digitalReadFast2(buttonPin); // Read Start Button State if (buttonState == HIGH) runInjectorTest(); // Button is pressed } void runInjectorTest() { lcd.print("TEST RUN"); tone(speakerPin, 500, 500); delay(700); tone(speakerPin, 500, 500); delay(700); tone(speakerPin, 500, 500); delay(700); tone(speakerPin, 2000, 500); while (totalCnt < 2000) { digitalWriteFast2(CIPin, CIState); while (ciCnt < 4) { digitalWriteFast2(FDCSpin, HIGH); delayMicroseconds(PWus); digitalWriteFast2(FDCSpin, LOW); delayMicroseconds(FDCSoffus); ciCnt++; } CIState = !CIState; ciCnt = 0; totalCnt++; } lcd.print("TEST FINISHED"); // LCD after loop is complete tone(speakerPin, 2000, 500); delay(700); tone(speakerPin, 2000, 500); delay(700); tone(speakerPin, 2000, 500); delay(700); tone(speakerPin, 500, 500); totalCnt = 0; } [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Random media
Latest posts
9
OEM LED sport headlights
Latest: 99fordman18
Today at 8:15 AM
2017+ 6.7 Aluminum Super Duty
10R140 failure
Latest: PSD-BLACK-CLOUD
Friday at 1:04 PM
2017+ 6.7 Aluminum Super Duty
2010 headunit
Latest: glog
May 7, 2025
6.4 Tech
D
Turning off the Auxiliary powertrain control module
Latest: donaldtfreeman
May 6, 2025
6.0 Tech & FAQ
4r100 P0715/P0717 trouble codes.
Latest: Tiha
May 6, 2025
7.3 Tech & FAQ
Members online
No members online now.
Forums
Power Strokes
7.3 Aftermarket
Flow bench?
Top