# Mounting and wiring

How the driver goes onto the motor and what gets connected to it: the encoder magnet on the shaft, the board on
the motor's back, the two coils to the motor terminals, the supply and the CAN bus, and the thermistor. Do the
pages in order; the magnet first, because it is the one thing you cannot check from the outside later.

<figure markdown="span">
  ![Hardware setup video](https://img.youtube.com/vi/60UMc95H8iE/hqdefault.jpg){ width="480" }
  <figcaption><a href="https://youtu.be/60UMc95H8iE">The motor hardware setup video</a> shows the whole procedure on a NEMA 17 motor.</figcaption>
</figure>

## In this chapter

- [The encoder magnet](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/magnet/)
- [Mounting on the motor](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/mounting/)
- [Wiring the stepper](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/wiring/)
- [Power and the CAN daisy chain](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/power-and-can/)
- [Thermistor](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/thermistor/)

When all of it is done, continue with [First setup](https://docs.source-robotics.com/STEPFOC-docs/108/05-setup/).
