# ODrive Setup

![](https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-b9b63cf7ac471b3a2197b3293199c6c31277d666%2Fimage.png?alt=media)

{% embed url="<https://discourse.odriverobotics.com/t/odrivetool-could-not-open-usb-device/7230/13>" %}

Just change the Native Interface to libusb-win32 driver solves the problem.

![](https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-cb05071a24a4d549c5c6873e3910eeae175bae2c%2Fimage.png?alt=media)

![](https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-e92fea7d887db59851f11f9329c729f8dc41e53e%2Fimage.png?alt=media)

![](https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-bd21a23734e4abbdd3cd246c722d41c99716bb5e%2Fimage.png?alt=media)

{% embed url="<https://www.aliexpress.com/item/2251832533667878.html?gatewayAdapt=4itemAdapt>" %}

```python
odrv0.axis0.motor.config.pole_pairs = 7

odrv0.axis0.motor.config.torque_constant = 0.024323529411764706

odrv0.axis0.encoder.config.cpr = 2400
```
