Is this correct

Yes there is a reason it will not work.

You have too many servos and you are trying to power them from pins on the Arduino. You also have no decoupling capacitors anywhere.

The power supplies are connected only to buttons, they should be used to power the servos.

I also suspect that you are not getting enough current from the DC/DC converter.

Also you have posted the worst possible diagram, a physical layout diagram, and not a schematic. Schematics are the way of exchanging electronic diagrams.

I'm going to guess: no it isn't correct.

I can't really follow the wiring diagram. It's like a maze puzzle. There could be errors there but I could easily miss them.

A @Grumpy_Mike says, a schematic diagram would be far superior. But even a wiring diagram could have been drawn so much better if you had taken more care with it.

  • Move the components around to make all the wires as short as you can and cross over each other as little as possible.
  • Use consistent colours for the wires and adopt the normal convention of black for ground and red for power.

Some things that I think seem strange and could be errors:

  • The AC-DC power supply, which is not labelled to tell us what DC voltage it outputs, seems to supply only a DC-DC converter. Why not simply use an AC-DC PSU which gives the desired DC voltage? Then the DC-DC converter would not be needed.
  • Why is power to the servo motors switched through relays? These relays seem completely unnecessary to me.
  • Your Relay Module should be powered by an external power supply, definitely not the Arduino.

To summarize that very confusing drawing:

You have an AC-DC supply(what voltage? what current?), which feeds a DC-DC converter(set to what output voltage?), which supplies power to your six servos; each servo’s + supply is switched by an individual relay.

The Arduino’s 3.3V output is jumpered to it’s 5V output, and powers the two button modules. WRONG, this will cause smoke. Remove the 3V3 pin from this hookup.

The Arduino’s 5V output powers the input side and the output side of the relay board, resulting in all relays being powered by the Arduino. WRONG. If the DC-DC is set to 5V output (should be), use this to power the relay coil side of the relay board.

That’s a start. My eyes have crossed looking at that drawing, so there may be more.

Why route power for the servos through a relay.
Can't you simply detach them with code if you want to turn them off.
Why turn them off anyway. A servo already stopswhen it reaches it's final position.
Leo..

Hi, @kinkidcast

Can you please tell us what your project is supposed to do?

Thanks.. Tom.... :smiley: :+1: :coffee: :australia:

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