# Minimizing Digital Pins Used on Pololu DRV8825

**URL:** https://forum.pololu.com/t/minimizing-digital-pins-used-on-pololu-drv8825/5955
**Category:** Motor controllers/drivers and motors
**Created:** [June 3, 2013, 7:45am UTC](https://forum.pololu.com/t/minimizing-digital-pins-used-on-pololu-drv8825/5955 "2013-06-03T07:45:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![blzalewski](https://forum.pololu.com/user_avatar/forum.pololu.com/blzalewski/32/608_2.png) [@blzalewski](https://forum.pololu.com/u/blzalewski)
#### Post date: [June 3, 2013, 7:45am UTC](https://forum.pololu.com/t/minimizing-digital-pins-used-on-pololu-drv8825/5955/1 "2013-06-03T07:45:34Z")

</div>

Hi, can I attach MS1, RESET, and SLEEP to one digital pin on the Arduino? How much current is necessary to drive those 3 HIGH?

---

<div class="post-metadata">

### Author: ![blzalewski](https://forum.pololu.com/user_avatar/forum.pololu.com/blzalewski/32/608_2.png) [@blzalewski](https://forum.pololu.com/u/blzalewski)
#### Post date: [June 3, 2013, 7:47am UTC](https://forum.pololu.com/t/minimizing-digital-pins-used-on-pololu-drv8825/5955/2 "2013-06-03T07:47:28Z")

</div>

Right now I have pin 7 connected to both SLEEP and RESET and it appears to work… can I go ahead and solder in MS1 too? How about MS2 too?

---

<div class="post-metadata">

### Author: ![Derrill](https://forum.pololu.com/user_avatar/forum.pololu.com/derrill/32/555_2.png) [@Derrill](https://forum.pololu.com/u/Derrill)
#### Post date: [June 3, 2013, 11:34pm UTC](https://forum.pololu.com/t/minimizing-digital-pins-used-on-pololu-drv8825/5955/3 "2013-06-03T23:34:27Z")

</div>

Hi.

The Arduino’s digital outputs can each comfortably source/sink up to around 20 mA, so one output should have no problem driving four of those pins simultaneously. You should also be able to connect MS1 and MS2 permanently to VCC, but if you find it more convenient to connect them to the Arduino, that is fine as well.

-Derrill
