Seeking advice in wiring knowledge

This is my first wiring and I'm unsure if it's correct, wondering if some of you nice fellow members can help me out .

I got arduino uno r3, nema 23, Router TB6600, 3 push buttons, 2 solenoids and 2 limit switches.

Any chance some one can draw on one of those images below, show me the correct wiring if it's wrong.
Update picture.


You can't power all that with the USB connection from one Arduino.

1 Like

I don’t want to be negative, but that drawing, while not too bad, doesn’t really help with circuit design.. Its main purpose is to help you push jumper wires into numbered holes.

As a beginner, the first skill you should work on, is the ability to draw a circuit diagram - a schematic - that not only communicates ‘what connects to where’, but also the ‘why’. It also helps you visualise the project concept, operation and power wiring when that becomes important.
It bears very little resemblance to the physical assembly.

Ideally, power rails are shown with +v at the top to -v at the bottom, with 0V/ground somewhere in between (or at the bottom if there are no - voltages).
‘Dirty power’, for motors solenoids etc is typically run separate to clean supplies for logic etc.

If that’s all to fussy, a block diagram to cover the whole project, then a separate schematic for each section of the overall block.

Signal flow from inputs, switches and sensors on the left, to outputs, motors etc on the right
There may be exceptions, but they should be clearly called out.

Minimal wires crossing over where possible - for a reason.

Annotations (pin. numbers, signal names) are FREE, don’t be afraid to use them!
This will be your project reference for future repairs and revisions.

The same ideas relate to your source code as well - logical, orderly, commented and fail-safe. A bit OCD, but it helps !

2 Likes

Good to know, thank you.

there are some tutorials on line to understand how to drive a solenoid

first google hit: Controlling a Solenoid Valve from an Arduino. Updated. – Martyn Currey

it will show the use of transistor, diode etc

Sorry I do not have the parts that match your pictures. An annotated schematic would be a lot easier to follow. While waiting for that I will spend the time helping somebody else.

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