Do the micro servos break?

image
because i tested if the motors or the motor driver works at all, i did not connect them to the arduino at first and therefore no code. i don't have the exact data sheet of the motors anymore but i found one which probably corresponds to it. On the photo you can see the circuit but I have tested without connection to the arduino
datasheet_711.pdf (611,2 KB)

My suggestions:

  1. Stronger power supply for the motors
  2. More modern (MOSFET motor driver

I have now kept all the motors I have on different batteries (9V) and have no others at the moment. And none of them worked, is it because of the motors?

Please post proper schematics. Pen and paper usually works.
Detective work to decrypt the picture is not offered.
Measure the voltage of the not connected battery. Then connect a motor and measure the voltage.

Hi @juka_9867,

you may read this

Interfacing L298N DC Motor Driver Module with Arduino (electropeak.com)

and follow the instructions.

If you did not configure/connect the INx pins properly the motor pins will not get switched on.

Good luck!

P.S.: Be aware that the sketches on that page are only basic demonstration and testing code. For useful applications you would have to write different code (e.g. without delays)!

I would like to control 3servos with an Arduino, but I have learnt that the load would be too high for the Arduino and that the servos should be supplied with power separately. I have now created a circuit and am now asking whether this is correct. I don't want to damage my servos or my arduino during testing. I don't have any code yet because I just want to check the hardware. Thanks for any answer :slight_smile:
if this is the wrong way what would be the right one ?


sg90_datasheet.pdf (138,0 KB)
image

Do not power your servos with 9V
They are generally 5V devices (actually 4,8V) as shown in the datasheet that you linked to

if i would regulate the power source to 5 V then the wiring diagram would work or ?

Yes, if the 5 volt power source can provide a few Ampere current, depending on the load of the servo's.

It looks OK as far as I can see but note that the battery shown is not really suitable to power servos as they require a surprising amount of current that the battery is not designed to deliver

I note that you have chosen to use PWM capable pins for the servos. I don't know if that was deliberate or not but you can use any digital pin including the A* pins as they do not need to be PWM capable

Not only is the voltage of the battery too high, it's current is too low. 9V batteries are great for smoke alarms, not Arduino projects, especially those involving motors.

I suggest 4x AA NiMH cells in a holder.

Another mistake is to use a breadboard to distribute power to motors. Breadboards are not designed to carry the high currents that motors draw. Maybe use terminal blocks.

Thank you for all the answers and for the help I had planned to use the 5V output of a L298N motor driver as power supply which I supply with 9V (no batteries but cables) to this motor driver. I also wanted to operate the arduino with the 5v output of the motor driver.

Your motor driver board has a 78M05 regulator. This can only supply 0.5A. That is more than enough for the Arduino, but I'm not sure it will be enough for your servos.

Why not just use a 5V power supply? One with enough current for the Arduino and your servos?

Have you NOT read the topics you started with the same subject?
https://forum.arduino.cc/t/why-is-my-circuit-not-working/1198251

Why did you start another topic with the same subject?
https://forum.arduino.cc/t/why-is-my-l298n-motor-driver-not-working/1199712

Same subject.

@juka_9867

Your two or more topics on the same or similar subject have been merged.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

Hello
I have a question regarding the power supply of Dc Mototr, 3 servos and an arduino via a 9V cable. I have now created a circuit diagram and I am wondering before I break one of these parts due to too high voltage etc.. There is no code yet as I would just like to check the hardware in general. this is the last step of a long project and I would appreciate any answers. Many thanks in advance
sg90_datasheet.pdf (138,0 KB)
datasheet_711.pdf (611,2 KB)

I think you asked this question already.

And please read the moderator advice in your recent topic.

yes but this was just a split of an aother question and i didn't get an exact answer there so i'm trying it again as a new question with all datasheets and schematics so you get a better overview and understand my question better.