https://github.com/wms784/arduino_uno
https://github.com/wms784/arduino_uno
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wms784/arduino_uno
- Owner: WMs784
- Created: 2022-03-14T07:48:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T07:17:27.000Z (over 4 years ago)
- Last Synced: 2025-01-19T06:26:45.535Z (over 1 year ago)
- Size: 533 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arduino_uno
## Pin Number
echoPin1 = A0 前方距離センサ
echoPin2 = A1 後方距離センサ
trigPin = A2 距離センサ
LED = A3
PWMa = A4 モータaのPWM
PWMb = A3 モータbのPWM
motor11 = 2
motor12 = 3
SD_ChipSelectPin = 4; SDカードのチップセレクト
motor22 = 5
motor21 = 6
pinA = 7 ロータリーエンコーダーのCLK
pinB = 8 ロータリーエンコーダーのDT
SV_PIN = 9 サーボモータ
SD…11,12,13 SDカード
## Memo
- 旋回があまり上手くできない(磁気センサの応答性の問題?)
- 角度-179~180で扱う mod_theta()を利用
- 角位置センサは不使用