I'm pretty sure we can come up with some circuits to do it, but there are still a few unknowns I didn't think about.I believe I must add more information for clarity and so that a complete understanding of what I am looking for is more aparent.
Please see attached files. What I need is the sequencer schematic if available.
in addition, here is a list of the known components on the system diagram.
1-It is powered by a 12v DC battery.
2-The valves we are using are Part # 341115-12VDC on the 40 mm AA
3-A simple push button momentary switch mounted on the handle to trigger the operation (one shot or continuous operation)
4-We use a standard automotive coil like the AC Delco U505 or the Emgo 24-7512
5-For the spark plug we use a Champion DJ7Y 14 mm or a 10 mm NGK CM-6 could be used for tight spaces.
On our 40 mm guns, for a LOUD boom, the fill rate is 1 second and the coil is fired 20 ms later. The fill rate would have to be adjustable to allow for a faster fire rate if needed on our smaller 20 mm guns.
View attachment 97281 View attachment 97283
#define solenoidsPin 4
#define sparkcoilPin 5
#define inputPin 6
const int fillRate = 1000;
const int fireDelay = 20;
const int coilDelay = 10;
const int debounceDelay=30;
void setup() {
// put your setup code here, to run once:
pinMode(solenoidsPin, OUTPUT);
digitalWrite(solenoidsPin, LOW);
pinMode(sparkcoilPin, OUTPUT);
digitalWrite(sparkcoilPin, LOW);
pinMode(inputPin, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
boolean Trigger = false;
int inputValue = HIGH;
Trigger=false;
while (!Trigger) {
inputValue = digitalRead(inputPin);
if (inputValue = HIGH) delay(debounceDelay);
if (digitalRead(inputPin) == HIGH) Trigger = true;
}
// Trigger pressed
digitalWrite(solenoidsPin,HIGH);
delay (fillRate);
digitalWrite(solenoidsPin,HIGH);
delay(fireDelay);
digitalWrite(sparkcoilPin,HIGH);
delay(coilDelay);
digitalWrite(sparkcoilPin,LOW);
}
Always another question.Thank you for your help. I think I can help with the attached timing chart.View attachment 97306
Plese don't let it be your LAST word! Once I get something going for the "crew". I would love to pursue your suggestion, for myself, just to get familiar with that system and see what I can do. It sounds like fun.Thanks for your reply. I better understand the environment.
My last word...
Your reply stimulates my imagination. A microprocessor could adjust the firing rates with a screwdriver and be self-contained so no knowledge of computers would be necessary except for the initial construction.
Always another question.
Things are pretty easy, but I want to make sure about the trigger.
My current thinking is that once a cycle starts to let it complete normally rather than try to stop it someplace in the middle when the trigger is released. Is that okay? What that means is if the cool off delay is set to 1 second and the fill time to 1 second there might be a shot 2 seconds after the trigger is released.
The same is true of the start of a trigger. If we want to make sure the cool time is guaranteed we would start with that delay. That means the first shot would take a couple of seconds between the trigger and the boom. I understand the delay between shots will probably be shorter, but it seems like you mentioned making it adjustable.
I'll go down this path. We can always change it.
@jgrupczy
Don't run out and buy parts, but give this a look.
The smaller one shows the timing, the big one easier to read.
I also attached the simulation file for people to play with.
Good eye! Would you believe me if I said it was a test?View attachment 97414
YOU DO GOOD WORK! But, please, I have a quick question. It looks like you open the valves at the same time you initiate the cool time. This would allow gases to enter the chamber before it had time to cool down. I believe we need to wait the full length of the cool down time before we allow the valves to open again. Am I wrong about the timing?