# Duet wifi board with Odrive

**URL:** <https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268>\
**Category:** Projects\
**Created:** [August 12, 2020, 11:54am UTC](https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268 "2020-08-12T11:54:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Picante](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/picante/32/3050_2.png) [@Picante](https://discourse.odriverobotics.com/u/Picante)\
**Post date:** [August 12, 2020, 11:54am UTC](https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268/1 "2020-08-12T11:54:02Z")

</div>

I want to tap out step/dir signals from the Duet 2 Wifi board so that I can feed those into the GPIO of ODrive. But there isn’t any pre-available pinout so that I can tap it out. What should I do?  
A friend of mine suggested to connect the wires from TMC driver chip’s step/dir pins into the Odrive.  
Would that work? Any other suggestions?

pinout diagram of Duet 2 Wifi board : [https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge](https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge)

---

<div class="post-metadata">

**Author:** ![robopilot99](https://discourse.odriverobotics.com/letter_avatar_proxy/v4/letter/r/ea5d25/32.png) [@robopilot99](https://discourse.odriverobotics.com/u/robopilot99)\
**Post date:** [August 13, 2020, 12:04am UTC](https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268/2 "2020-08-13T00:04:21Z")

</div>

I note that the expansion header has a whole host of step direction outputs that I presume are intended to allow the addition of additional stepper motor drivers. These are labeled as axies 5-9. If you can remap X, Y and Z on these axies, you can use these to control an ODrive.

---

<div class="post-metadata">

**Author:** ![Roiki1](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/roiki1/32/2174_2.png) [@Roiki1](https://discourse.odriverobotics.com/u/Roiki1)\
**Post date:** [August 14, 2020, 2:29pm UTC](https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268/3 "2020-08-14T14:29:07Z")

</div>

You connect odrive step/dir inputs to the driver outputs on the expansion header on the duet board and then remap the X and Y axes to the correct drives in the config.

Duet sells a breakout board for the 50 pin connector that breaks out each of the 5 extra drives into separate outputs. I suggest you use that.

---

<div class="post-metadata">

**Author:** ![Manematician](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/manematician/32/3584_2.png) [@Manematician](https://discourse.odriverobotics.com/u/Manematician)\
**Post date:** [November 23, 2021, 11:38pm UTC](https://discourse.odriverobotics.com/t/duet-wifi-board-with-odrive/5268/4 "2021-11-23T23:38:25Z")

</div>

There is also a small break out board for duet 2.  
Not advertised.  
Half the price
