https://github.com/wms784/int_sensor
This is code for arduino
https://github.com/wms784/int_sensor
arduino arduino-library sensor slam
Last synced: about 2 months ago
JSON representation
This is code for arduino
- Host: GitHub
- URL: https://github.com/wms784/int_sensor
- Owner: WMs784
- Created: 2022-03-26T16:26:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T05:30:34.000Z (over 4 years ago)
- Last Synced: 2025-09-02T11:50:03.078Z (10 months ago)
- Topics: arduino, arduino-library, sensor, slam
- Language: C
- Homepage:
- Size: 526 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()を利用
- 角位置センサは不使用