A small example project that sweeps a hobby servo back and forth using an Arduino Uno (or compatible board). The project uses the built-in Arduino Servo library and is configured for PlatformIO.
サーボモーターを動かしたいとき、ライブラリを使用すれば簡単にそれが実現するが、ライブラリである以上何かしらの制約が存在する。例えば、Arduino UNOではピン9と10のPWMが無効となってしまう。また、他のライブラリとの競合が発生してしまうかもしれない。 サーボモーターからの3本線を ...
Arduinoを使った電子工作で人気の「自動制御」。今回は、安価で入手しやすい「超音波距離センサー(HC-SR04)」と「サーボモーター」を使い、前方の障害物を検知して自動でハンドル(舵)を切る、障害物回避システムの作り方をステップバイステップでご ...
This was developed to control a Moog/Pelco Quickset PTZ antenna platform. Documentation of the protocol, the serial interface board, wiring, and PTZ are in a folder included. Several pelco ...