鉄道模型に載せたサーボ The servo on a model train @diorama111
鉄道模型に載せたサーボ The servo on a model train  @diorama111
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


.
鉄道模型に載せたサーボ The servo on a model trainATtiny412を使ってみた✅ 楽プラ RX-7 FD3S MAZDA 1/32 SNAP KITHow to measure LED current (The worlds easiest tutorial)IR Protocol Decoder (NEC protocol)【鉄道模型】Nゲージ Bトレインショーティー トーマス号 動力化【プチ電車シリーズ】 C11形蒸気機関車の動力化と各車両のLED加工【鉄道模型】 リバース線の自動運転How to make 1/18 scale meter for scale model car, diecast car【鉄道模型】スローポイント スローアクションポイントマシン3  Slow Motion Turnout Machine  3鉄道模型のラジコン化 2クモル145の動力化  Install motors into Kumoru145
diorama111 |

鉄道模型に載せたサーボ The servo on a model train

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER