# HELP: 2 stepper motors and 2 sensors on an Arduino UNO MEGA

**URL:** <https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379>\
**Category:** Support\
**Created:** [11 September 2020 04:15 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379 "2020-09-11T04:15:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas137198](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Douglas137198](https://forum.core-electronics.com.au/u/Douglas137198)\
**Post date:** [11 September 2020 04:15 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379/1 "2020-09-11T04:15:12Z")

</div>

Hello all,  
I am trying to get two stepper motors to work, and two sensors to give some readings.  
Below are the hardware I plan on using.  
Arduino: [https://core-electronics.com.au/mega-2560-r3-arduino-compatible.html](https://core-electronics.com.au/mega-2560-r3-arduino-compatible.html)

Motor driver: TB6600

Motor: [https://www.makerstore.com.au/product/elec-nema23-635-b/](https://www.makerstore.com.au/product/elec-nema23-635-b/)

Termocouple sensor and module: [https://www.ebay.com.au/itm/Competitive-New-MAX31855-Module-K-Type-Thermocouple-Sensor-for-Arduino-AU/203046995254?hash=item2f468b4536:g:s20AAOSwIFtaISdP&frcectupt=true](https://www.ebay.com.au/itm/Competitive-New-MAX31855-Module-K-Type-Thermocouple-Sensor-for-Arduino-AU/203046995254?hash=item2f468b4536:g:s20AAOSwIFtaISdP&frcectupt=true)

Just wondering if the parts are compatible with each other. Also, would this work with just an Arduino R3? And what power supply should I be after?

Cheers,  
Doug

---

<div class="post-metadata">

**Author:** ![Oliver](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/oliver/32/3315_2.png) [@Oliver](https://forum.core-electronics.com.au/u/Oliver)\
**Post date:** [11 September 2020 06:56 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379/2 "2020-09-11T06:56:21Z")

</div>

Hi Doug,

The [TB6600](https://core-electronics.com.au/tb6600-stepper-motor-driver.html) is a great little stepper driver. The key specifications to check when matching a driver to a stepper is the current rating.

The TB6600 is rated to 4.0A, while your selected motor is 2.8A.  
 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/4/4901bb0da5c344fca6c723a80a0999f784bd7888.png)

~~As your selected stepper voltage is below the operating voltage of the TB6600, this combination won’t work. I was unable to find a stepper driver on our site that can do that low a voltage AND that high of a current.~~

~~If you were to use a different Stepper I’m sure we’d have something available. If you need that specific motor, you’ll have to a bit of shopping around.~~

That thermocouple sensor module looks like it will work just fine with an Uno or a Mega2560.

Regards,  
Oliver  
Support | Core Electronics

---

<div class="post-metadata">

**Author:** ![Douglas137198](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Douglas137198](https://forum.core-electronics.com.au/u/Douglas137198)\
**Post date:** [11 September 2020 07:22 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379/3 "2020-09-11T07:22:58Z")

</div>

Hey Oliver,

Thanks for the heads up. with the DRV8834 I’m unfamiliar with some of its pinouts. What is a microcontroller and logic power supply?

Also I picked TB6600 based on this video: [https://www.youtube.com/watch?v=FggSRQqB\_a4&list=LLqBTiyO4YrYIbP21wF3bnTQ&index=3&t=0s](https://www.youtube.com/watch?v=FggSRQqB_a4&list=LLqBTiyO4YrYIbP21wF3bnTQ&index=3&t=0s)  
What do I need to do to the TB6600 to achieve the same results there or is it not worth?

Cheers,  
Doug

---

<div class="post-metadata">

**Author:** ![Oliver33](https://avatars.discourse-cdn.com/v4/letter/o/a9adbd/32.png) [@Oliver33](https://forum.core-electronics.com.au/u/Oliver33)\
**Post date:** [11 September 2020 08:58 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379/4 "2020-09-11T08:58:40Z")

</div>

Hey Doug,

NEMA 23 (like NEMA 17) is a mechanical standard, it doesn’t make any electrical specifications.

That said, I think the Core Electronics Oliver has his wires crossed on this one! The voltage rating on steppers is only relevant while the stepper is stationary. Once the stepper is moving it generates a Back EMF which reduces the effective voltage and current.

There’s a really good guide on the Arduino forums here: [https://forum.arduino.cc/index.php?topic=284828.0](https://forum.arduino.cc/index.php?topic=284828.0)

So you should be able to drive that motor with a TB6600. The key thing with steppers is the rated current. The TB6600 will handle the current control to stop the high voltage supply burning out the motor.

A microcontroller is kind of like a very simple computer. The most well known example in the maker world is the ATMega328P used on the Arduino Uno. The logic power supply is the logic level power supply - ie. 3.3v or 5v depending on what you’re using (as opposed to the power supply for the stepper which might be up at 40V).

---

<div class="post-metadata">

**Author:** ![Oliver](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/oliver/32/3315_2.png) [@Oliver](https://forum.core-electronics.com.au/u/Oliver)\
**Post date:** [13 September 2020 23:19 UTC](https://forum.core-electronics.com.au/t/help-2-stepper-motors-and-2-sensors-on-an-arduino-uno-mega/8379/5 "2020-09-13T23:19:53Z")

</div>

Hi Doug and Oliver,

Oliver is absolutely right, that Stepper and motor driver combo will work fine. Sorry! Not sure what I was thinking when I wrote that up on Friday afternoon - long day!

Regards,  
Oliver  
Support | Core Electronics
