I have an arduino uno, plugged in to some 16 channels relay module which is powered by a 5v 3A power cord. for some reason, when i try to program them on software such as Vixen or Bottango, sometimes the relays or the arduino misses a frame or get stuck longer on one, i was wondering that maybe the speed of the arduino might be the problem, if not, please help me out.
I will take a stab at it.
Relays getting stuck, short time or permanent, is a common problem when the builder has forgotten to use snubber circuits across the relay contacts.
Any inductive load will case sparks across the relay contacts, pitting them and/or welding them together.
Look at the LEDs on the relays and see if they behave correctly.
Leo..
- We need to see your schematic.
- We need to see your actual wiring.
- We need to see your sketch.
No clue as to what the power cord does?
You can spend weeks spinning your wheels, or you might get lucky and solve your problem quickly. To avoid unnecessary delays, it’s crucial to provide an annotated schematic of your circuit as you have it wired, showing all connections, including power, ground, and power supplies. I recommend it be in English, you can translate before posting if needed.
Why Detailed Information Matters:
Annotated Schematics: These are essential because they show exactly how your circuit is set up. Without them, it's difficult for anyone to understand what you’ve done, which makes troubleshooting nearly impossible. Fritzing diagrams or unclear pictures are not enough.
Technical Information: Many modules look similar and may even have the same name, but they can function differently. This is why we always ask for links to detailed technical information—not just sales pages like those on Amazon, which often lack the specifics we need.
Post your Software Without that we do not have a clue as to how it is expected to operate. Be sure to use code tags.
Show All Connections: It’s important to include every connection, especially power, ground and power sources in your schematic. Missing these details makes it hard to determine if a setup issue might be causing your problem.
My Process:
When I see a question, I spend a moment assessing it. If it’s missing critical information, I might ask for it. However, if it's repeatedly lacking important details, I may assume the questioner is not serious and move on to another query.
What You Need to Consider:
We don’t know your skill level or what resources you have available. If you’re missing key technical details or seem unprepared, it may indicate that you need to spend more time learning the basics before starting your project.
Providing the right information upfront will help you get the best possible assistance and avoid the frustration of running into dead ends. Let us help you by sharing what you have clearly and completely!
- Assume the coils on in the valves are 12DC.
If so, they need a kickback diode across each coil.
Inductive Kickback: Use a flyback diode across the solenoid coil to protect the control circuit from voltage spikes when the solenoid is de-energized.
I count 12 relays, but only 10 solenoids. Did you forget and program for 12 solenoids? What pattern of powering the solenoids did you program? One at a time, or multiples or all on at once? Your 3A supply may not be enough for some combinations.
yes thank you. but it also does that when no solenoids are connected
i program them one at a time on Bottango then, when i play it back, it does this
Ah, welcome to the world of maintenance of your project. Plan ahead for device failures that can be quickly swapped out for new devices.
the problem is that everything is brand new
- We need to see your actual wiring.
- We need to see your sketch.
If these are 12VDC solenoid values, you need the kickback diodes across “each” coil.
not all valves are connected here
yes exactly





