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
DEF in the fuel tank of 2013 F250 6.7
Latest: Crazy Canuck
Yesterday at 12:05 PM
6.7 Tech
I
Tuning the 7.3 in current times
Latest: INFRNL
Yesterday at 9:28 AM
7.3 Aftermarket
2000 f350 dually lariat
Latest: ju015dd
Yesterday at 8:19 AM
7.3 Aftermarket
Best turbo upgrade in current times?
Latest: 6.0 Tech
Sunday at 11:01 PM
7.3 Aftermarket
6.4 s366.73 91 turbo questions
Latest: Blitzin247
Sunday at 7:09 PM
6.4 Tech
Members online
No members online now.
Forums
Power Strokes
7.3 Aftermarket
Flow bench?
Top