使用庫實作步進電機指定角度旋轉
步進電機和驅動器相關的資料
https://pan.baidu.com/s/1udb4MyEOXk4CTO7TKRHj6w
提取碼: fuea
- 步進電機
- TB6600驅動器
- **接線說明:**重點内容!!!!為什麼一寫步進電機就老生常談這個接線問題問題,因為實在太重要了,關系到後面的工作能否繼續開展。
- 強調本實驗采用共陰接線方法!!!
- 示例代碼:
/*
* Simple demo, should work with any driver board
*
* Connect STEP, DIR as indicated
*
* Copyright (C)2015-2017 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* 步進電機驅動器采用共陰極接法
*