Uploaded August 2017 | Updated December 2026, 3 hours ago
透明なアクリル板をHOゲージの車両に見立てて、小型のサーボを載せました。
操作はリモコン(OE13KIR)で行います。
回路は以前パンタグラフを動かすときに作ったものの改良型で、部品を見直してさらに低い電圧から動作するようにし、基板も小型化しました。
線路にかける電圧が約4V以上で安定して動作します。
また、赤外線受信モジュールを2個使用することでリモコンからの死角を減らしました。
赤外線の出力が強力な学習リモコンなどを使えばさらに安定した操作ができます。
リモコンの動作モードは3種類です。
↖↗キー : 押しているときだけ動く
←→キー : 一度押すと反対側まで動く
真ん中のキー : 押すたびに交互に動く(押したままだと連続で動作)
↑↓キー : スピードの設定(7段階のスピードが設定可能)
電気二重層コンデンサの充電が十分であれば電圧がかかっていなくてもサーボを10回程度動かすことができます。
(動画の56秒以降は説明のため機関車を外して線路に約5Vの電圧をかけています)
プログラムの上から7行目の変数minとmaxの値を変更することでサーボが動く範囲を変えることができます。
HK-5320は動く角度が最大120°で、minとmaxの値の範囲は52~130です。
180°動くサーボを使う場合は値を30~152で設定してください。
ATtiny85のFUSE設定は8MHz動作にして、BODLEVELは1.8Vにしてください。
LEDは動作を分かりやすくするために付けているだけなので、なくても構いません。
I put a small servo on the transparent acrylic board as a HO scale train.
Operation is done with the remote control (OE13KIR).
The circuit was an improved version of what I made moving the pantograph, I reviewed parts to make it operate from a lower voltage and miniaturized the circuit board.
It operates stably at about 4V or more applied to the rail.
Also, it reduced the blind spots from the remote control by using two infrared receiving modules.
By using a learning remote control etc. with powerful output of infrared rays, you can perform even more stable operation.
There are three operation modes of remote control.
↖↗ key: Moves only when pressed
← → Key: Press once to move to the opposite side
Middle key: Moves alternately when pressed (Works continuously when keep pressing)
↑ ↓ key: Speed setting (7 speeds can be set)
If the electric double layer capacitor is sufficiently charged, you can move the servo about 10 times without passing electricity.
(From 56 seconds of video, about 5V voltage is applied to the rail without the locomotive for the explanation)
By changing the values of the variables min and max in the seventh line of the program, it is possible to change the range in which the servo moves.
HK-5320 has a maximum moving angle of 120°, and the values of min and max are in the range of 52 to 130.
To use a servo that moves 180°, set the value to 30 to 152.
Set FUSE setting of ATtiny85 to 8MHz operation and BODLEVEL to 1.8V.
LED are only attached to make the operation easier to understand. So there is no problem even if there are no LED.
【Circuit Diagram】
goo.gl/jQWyY6
【Program】
yahoo.jp/box/WCw149
Dancing Servo
youtu.be/KvMRsJpcNbw
.
透明なアクリル板をHOゲージの車両に見立てて、小型のサーボを載せました。
操作はリモコン(OE13KIR)で行います。
回路は以前パンタグラフを動かすときに作ったものの改良型で、部品を見直してさらに低い電圧から動作するようにし、基板も小型化しました。
線路にかける電圧が約4V以上で安定して動作します。
また、赤外線受信モジュールを2個使用することでリモコンからの死角を減らしました。
赤外線の出力が強力な学習リモコンなどを使えばさらに安定した操作ができます。
リモコンの動作モードは3種類です。
↖↗キー : 押しているときだけ動く
←→キー : 一度押すと反対側まで動く
真ん中のキー : 押すたびに交互に動く(押したままだと連続で動作)
↑↓キー : スピードの設定(7段階のスピードが設定可能)
電気二重層コンデンサの充電が十分であれば電圧がかかっていなくてもサーボを10回程度動かすことができます。
(動画の56秒以降は説明のため機関車を外して線路に約5Vの電圧をかけています)
プログラムの上から7行目の変数minとmaxの値を変更することでサーボが動く範囲を変えることができます。
HK-5320は動く角度が最大120°で、minとmaxの値の範囲は52~130です。
180°動くサーボを使う場合は値を30~152で設定してください。
ATtiny85のFUSE設定は8MHz動作にして、BODLEVELは1.8Vにしてください。
LEDは動作を分かりやすくするために付けているだけなので、なくても構いません。
I put a small servo on the transparent acrylic board as a HO scale train.
Operation is done with the remote control (OE13KIR).
The circuit was an improved version of what I made moving the pantograph, I reviewed parts to make it operate from a lower voltage and miniaturized the circuit board.
It operates stably at about 4V or more applied to the rail.
Also, it reduced the blind spots from the remote control by using two infrared receiving modules.
By using a learning remote control etc. with powerful output of infrared rays, you can perform even more stable operation.
There are three operation modes of remote control.
↖↗ key: Moves only when pressed
← → Key: Press once to move to the opposite side
Middle key: Moves alternately when pressed (Works continuously when keep pressing)
↑ ↓ key: Speed setting (7 speeds can be set)
If the electric double layer capacitor is sufficiently charged, you can move the servo about 10 times without passing electricity.
(From 56 seconds of video, about 5V voltage is applied to the rail without the locomotive for the explanation)
By changing the values of the variables min and max in the seventh line of the program, it is possible to change the range in which the servo moves.
HK-5320 has a maximum moving angle of 120°, and the values of min and max are in the range of 52 to 130.
To use a servo that moves 180°, set the value to 30 to 152.
Set FUSE setting of ATtiny85 to 8MHz operation and BODLEVEL to 1.8V.
LED are only attached to make the operation easier to understand. So there is no problem even if there are no LED.
【Circuit Diagram】
goo.gl/jQWyY6
【Program】
yahoo.jp/box/WCw149
Dancing Servo
youtu.be/KvMRsJpcNbw
.










![クモル145の動力化 Install motors into Kumoru145
TOMIX 鉄道コレクションのクモル145にモーターを組み込んで動力化しました。
動力台車はKATOのDT21、パンタグラフはTOMIXのPS16Pを使用しました。
線路には常にDC5Vの電圧をかけておきます。
送信機からBluetoothでクモル145を制御し、クモル145からは赤外線信号を出してクル144を制御しています。
RN4020は組み立てる前にセントラルとペリフェラルの設定をしておく必要があります。
前照灯・尾灯・室内灯はタクトスイッチで点灯・消灯させることができます。
青いタクトスイッチでパンタグラフを操作します。
走行中にトグルスイッチで方向転換すると、徐々に速度が低下して停止し、その後逆方向に加速します。
赤いタクトスイッチは緊急停止です。運転を再開するには一旦ボリュームを0に戻します。
I built a motor into the Kumoru145 from Tomix Railway Collection and powered it.
The power bogies are KATO DT21, and the pantographs are Tomix PS16P.
Always apply a voltage of 5V DC to the rail.
The transmitter controls Kumoru145 via Bluetooth, and Kumoru145 controls Kuru144 via infrared signal.
RN4020 needs to be configured for central and peripheral settings before assembly.
Headlight, Taillight and Coach Lighting can be turned on and off with the tactile switches.
The blue tactile switches operates the pantographs.
When you change direction with the toggle switch while driving, the speed will gradually decrease and stop, then accelerate in the opposite direction.
The red tactile switch is emergency stop. To resume operation, return the volume to 0.
【Circuit Diagram】
[Transmitter] https://drive.google.com/file/d/1w7XAmwDSJRs36TD-sj01_F3cA-otyrc2/view?usp=sharing
[Kumoru145] https://drive.google.com/file/d/1-P5cI5okx4XlVJzQ 4Lc8hdfnPKO-iV/view?usp=sharing
[Kuru144] https://drive.google.com/file/d/1mlBeWq1lGJvtx4wZRP44K1YJJQXJSWN6/view?usp=sharing
【Program】
[Transmitter] https://drive.google.com/file/d/1EmJELMA_FThj66GoVZjjjNcJcNXb4djr/view?usp=sharing
[Kumoru145] https://drive.google.com/file/d/11eT2asNrF6C4ynxgDkvXWgq8THplf5a9/view?usp=sharing
[Kuru144] https://drive.google.com/file/d/1CmG6xHCtzTD8a5mgWHXkmMaRi4cH1bHg/view?usp=sharing
【RN4020 Setting】
https://drive.google.com/file/d/1j_e0mWDrCpN25edmpEcJSlrbQOt6LnSS/view?usp=sharing
【BGM】
Broken - Patrick Patrikios (YouTube Studio Audio Library)
【twitter】
https://twitter.com/hashtag/_%E3%82%AF%E3%83%A2%E3%83%AB145?src=hashtag_click&f=live
. クモル145の動力化 Install motors into Kumoru145](https://i.ytimg.com/vi/58RiJLrW1I0/mqdefault.jpg)