RobotSchool-title.gif

二足歩行ロボット
PenguinBot
201901-01.jpg
Elegoo Penguin Bot

elegoo.jpg

sg90-servo.pngサーボモーターは、ぐるぐる回転し続けるモーターと違い、位置や速度等を制御する目的で使用するモーターのことです。特に「RCサーボ」はラジコン用の模型玩具サーボのことで、ラジコンボートや飛行機のラダーや車のステアリング用のものでしたが、最近はロボットの関節として使われます。

servo-test.png

201901-02.jpg
各ZIPファイルをダウンロードして
arduino IDE で開いてください。
PenguinBotに書き込みして実験します。


for arduino IDE
初期のソースコードのセット(PenguinBot.zip)
PenguinBot.ino
IRremote.cpp
IRremote.h
IRremotelnt.h
NeoSWSerial.h
Oscillator.cpp
Oscillator.h



for arduino IDE
前進・後退のソースコードのセット(Lesson 1 Forward_Back.zip)
Forward_Back.ino
Oscillator.cpp
Oscillator.h



for arduino IDE
左回転・右回転のソースコードのセット(Lesson 1 Right_Left.zip)
Right_Left.ino
Oscillator.cpp
Oscillator.h



for arduino IDE
IRリモコンモードのソースコードのセット(Lesson 2 lRremote.zip)
lRremote.ino
lRremote.cpp
lRremote.h
lRremotelint.cpp
Oscillator.cpp
Oscillator.h



for arduino IDE
障害回避モードのソースコードのセット(Lesson 3 Obstacle.zip)
Obstacle.ino
Oscillator.cpp
Oscillator.h



for arduino IDE
音楽再生モードのソースコードのセット(Lesson 4 PlayMusic.zip)
PlayMusic.ino
NeoSWSerial.cpp
NeoSWSerial.h



for arduino IDE
自動追尾モードのソースコードのセット(Lesson 5 Follow.zip)
Follow   →Follow.ino
Oscillator.cpp
Oscillator.h

無題.png