POWERING UP ARDUINO AND A DRIVER/STEPPER WITH THE SAME POWER SOURCE.

Hi there, I need a little help to better understand if I can do what I have in mind for my project.
I have an Arduino Uno linked to various components on my breadboard, then I have a TB660 driver that runs a NEMA17 stepper.
I wanted to power up everthing with the same 12V 2A transformer.
Now I've red around something about the possibility of doing this and I couldn't find a definitive answer.
Can anybody help? I attach a sketch to show what I have in mind...
Thank you in advance!

Wallybok:
Hi there, I need a little help to better understand if I can do what I have in mind for my project.
I have an Arduino Uno linked to various components on my breadboard, then I have a TB660 driver that runs a NEMA17 stepper.
I wanted to power up everthing with the same 12V 2A transformer.
Now I've red around something about the possibility of doing this and I couldn't find a definitive answer.
Can anybody help? I attach a sketch to show what I have in mind...
Thank you in advance!

In electronics, as in most of life, getting the terms and definitions correct is kind of important. Transformers are used with AC, alternating current, and output ONLY AC. You show + and - for the two wires, so you have something different than just a transformer. Perhaps a power supply, perhaps a "wall wart".

Yes, your drawing looks correct for what you have.

How do you know the power source is 12 volts? best to check it before using it.

Paul

The internal regulator in the Arduino can overheat when supplied by 12V, so it would be better to have a separate stepdown converter between the motor power supply and the Arduino.

If you use a 5V converter like this one, you can power the Arduino through the 5V pin.

Paul_KD7HB:
In electronics, as in most of life, getting the terms and definitions correct is kind of important. Transformers are used with AC, alternating current, and output ONLY AC. You show + and - for the two wires, so you have something different than just a transformer. Perhaps a power supply, perhaps a "wall wart".

Yes, your drawing looks correct for what you have.

How do you know the power source is 12 volts? best to check it before using it.

Paul

Hi Paul yes you're right is an AC/DC "transformer" labelled as 12v 2a. On the multimeter although it gives me 13.5V...

jremington:
The internal regulator in the Arduino can overheat when supplied by 12V, so it would be better to have a separate stepdown converter between the motor power supply and the Arduino.

If you use a 5V converter like this one, you can power the Arduino through the 5V pin.

Hi jremington, maybe is a good idea to use a stepdown converter...also considering that the actual supplied voltage is not exactly 12V (13.5v)

In principle though, is ok what I'm doing, isn't it? I red that some people absolutely won't recommend to use the same power source for both Arduino and the motor...

Wallybok:
Hi jremington, maybe is a good idea to use a stepdown converter...also considering that the actual supplied voltage is not exactly 12V (13.5v)

In principle though, is ok what I'm doing, isn't it? I red that some people absolutely won't recommend to use the same power source for both Arduino and the motor...

In this case, I would use the 12V regulator to supply the Arduino through a regulator and would use the same 12V regulator to supply 2 servo motors through a separate regulator. Especially if the servos are making incremental movements; that's just me. If the servos are expected to make large steps and several servos will be running at near same time, I'd have a separate power source.

I have learned my lesson with sharing a regulator with a servo motor and a uController.

Idahowalker:
In this case, I would use the 12V regulator to supply the Arduino through a regulator and would use the same 12V regulator to supply 2 servo motors through a separate regulator. Especially if the servos are making incremental movements; that's just me. If the servos are expected to make large steps and several servos will be running at near same time, I'd have a separate power source.

I have learned my lesson with sharing a regulator with a servo motor and a uController.

The stepper is just one (NEMA17) and the only thing it does is opening and closing a window in my room twice a day...and maybe some more if I want to close or open the window during the weekend.
Not a big deal I would have thought.

I was thinking to use this voltage regulator:

This for just my arduino, and go into the TB6600 driver with the voltage that comes out my power supply (13.5V).

I red that some people absolutely won't recommend to use the same power source for both Arduino and the motor

Motors (especially brushed motors) create a lot of electrical noise in the power supply leads, which will be taken care of by using a separate 5V regulator between the motor power source and the Arduino.

Wallybok, please go back and modify your original post - using the "More -> Modify" option below the right hand corner of your post - to correct the subject title.

Paul__B:
Wallybok, please go back and modify your original post - using the "More -> Modify" option below the right hand corner of your post - to correct the subject title.

Done

Wallybok:
Done

Much better!
Thanks.

Wallybok:
Done

No!

Go and look at the forum listing.

See why your title looks different to all the others. Please make it so it looks halfway decent!

While you are at it - it is a "stepper", not a "sepper"! :grinning:

ie: spelling and caps. :wink:

Wallybok:
The stepper is just one (NEMA17) and the only thing it does is opening and closing a window in my room twice a day...and maybe some more if I want to close or open the window during the weekend.
Not a big deal I would have thought.

Surprising choice - why not a linear actuator?

xl97:
ie: spelling and caps. :wink:

Spelling my bad, I was in hurry...CAPS is to attract attention :smiley:

MarkT:
Surprising choice - why not a linear actuator?

I dind't find any cheap or suitable solution for my window.
It works quite well with a stepper, I just need to refine the set up and have just one power source to power up the all thing.

Wallybok:
Spelling my bad, I was in hurry...CAPS is to attract attention :smiley:

So you are honestly telling us that you are more important than every other person who posts a question on this forum? :roll_eyes:

Seriously?

Wallybok:
Spelling my bad, I was in hurry...CAPS is to attract attention :smiley:

It's yelling, and a good way to get ignored . . .

It's also grossly inconsiderate of the reader . . .