Comments (2)
Thank you for your report!
I thought I had straightforwardly designed the circuit so that the upper pin (J3) would be the tilt axis and the lower pin (J2) would be the pan axis.
In fact, the wrong was on firmware side. I've noticed that the pin assignments in the firmware were reversed.
"platforms": {
"esp32/m5stack_core2": {
"config": {
"servo": {
"pwmPan": 27,
"pwmTilt": 19
}
}
}
}
I was able to solve this odd inversion by assigning GPIO 19 to pan and 27 to tilt as shown below.
"platforms": {
"esp32/m5stack_core2": {
"config": {
"servo": {
"pwmPan": 19,
"pwmTilt": 27
}
}
}
}
The wrong motor connection due to the bug can be very dangerous, especially if the tilt axis tries to move beyond its physical limits. I'll merge this change ASAP!
It would be great if you could add some documentation on the cable assembly based on this pin assignment.
from stack-chan.
Should be fixed now. Thank you!
from stack-chan.
Related Issues (20)
- KiCad 5 -> 7にアップデートする HOT 2
- Ubuntu 22.04で`npm run setup`に失敗する HOT 1
- M5Stack Core2 Microphone replace?Schematics have not found replace microphone HOT 1
- Rotation offset for DYNAMIXEL
- AIスタックチャン互換のAPIを実装する HOT 3
- 日本語フォントを使えるようにする HOT 1
- 顔の描画が処理落ちする HOT 1
- Stack-chan fails to build on Moddable v4.2.0 HOT 3
- npm run modに失敗する
- サンプルアプリケーション内で実行結果をチェックできるようにする
- Docker環境でnpm run doctorが動作しない
- 基板v1.0.0rcとSG90の組み合わせで発生するケースの干渉について
- m5stack core2 v1.1でファームウェアが全く機能しません HOT 13
- Dockerイメージでのビルドに失敗する
- 音量を設定できるようにする
- API設定をWebAPIからできるようにする
- ロール設定をWebAPIからできるようにする #244
- WebブラウザからM5Stack CoreS3へのファームウェア書き込みに失敗する HOT 3
- GitHub ActionsのビルドでNode.js v16がdeprecatedになっている HOT 1
- 起動画面を表示する
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stack-chan.