Help with programming a simple injector flow tester

Hi there I am in the process of building a little diy fuel injector tester/flow bench. I have next to no programming experience but have managed to piece together some code that has gotten a relay to pulse and some potential for feedback on an OLED. I'd like to add a few features but I don't really know where to start, I was wondering if I could have 2 different pulsing modes activated by a switched input. Also if there is a way to adjust the frequency/duty cycle through a potentiometer would be incredibly helpful. Any assistance is greatly appreciated, Thanks!

flowbenchv2.ino (2.49 KB)

Where on the planet are you located?

-jim lee

Google is your friend. There are many examples of this. Give it a go. If/When you get stuck, post your code and your specific question

Hi,
Welcome to the forum.

Please read http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :slight_smile:

There are examples in the IDE that will show you how to read digital and analog inputs. That should be a basis for the stuff you want to do.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.