Arduino novice

Hi all,
I'm new to arduino programming, so here goes.
Im trying to write a simple sketch to switch 3 solenoids on and off in sequence via a 8 channel relay module and then continual loop.
At the moment they are switching on and off at the same time.
It's a project for work.

Any help would be appreciated
Joe

joeian:
Hi all,
I'm new to arduino programming, so here goes.
Im trying to write a simple sketch to switch 3 solenoids on and off in sequence via a 8 channel relay module and then continual loop.
At the moment they are switching on and off at the same time.
It's a project for work.

Any help would be appreciated
Joe

How have you determined they are not switching on and off in sequence?

Paul

(deleted)

Hi,
The 1st solenoid valve is set at 10 bar to dump water , the second at 3 bar and the 3rd at 1 bar all to switch on for 1 minute in sequence and then repeat for 30000 cycles.
All three are switching on at the same.

joeian:
Hi,
The 1st solenoid valve is set at 10 bar to dump water , the second at 3 bar and the 3rd at 1 bar all to switch on for 1 minute in sequence and then repeat for 30000 cycles.
All three are switching on at the same.

I am guessing, but it could be software related.

Paul

joeian:
At the moment they are switching on and off at the same time.

If you show us the code, perhaps we can point out where the sketch is going wrong. See the topic: "How to use this forum - please read" https://forum.arduino.cc/index.php?topic=148996.0

Hi,
I can't remember the code at the moment as its a work project, I will post Monday morning.

Thanks for taking the time to respond.

And, also according to the instructions, a schematic diagram of your circuit and connections, and a couple of photos so we can see how you implemented it.

Mind you, the code may be the main problem. :astonished: