Uploaded May 2015 | Updated September 2026, 1 hour ago
HOゲージ用の自動踏切を作ってみました。
津川洋行の踏切キットにチップLEDを組み込んで光らせ、遮断機は小型のサーボで動かしています。
車両の検知は枕木のところに反射型フォトセンサを4か所設置しました。
道床の内部にタクトスイッチをつけて、音の切り替え、音量調整、遮断機の微調整ができるようにしました。 設定した内容はマイコンのEEPROMに記録しているので電源を切っても維持されます。
音は組込みタイプのMP3モジュールを使って鳴らしています。
【使用した主なパーツ】
踏切キット : 津川洋行 HA-5
線路 : KATO ユニトラック
プラスチック板 : ウェーブ プラ=プレート グレー 1.0mm
マイコン : ATmega88V
サーボ : HK-5320
フォトセンサ : GP2A200LCS
MP3モジュール : Sou804-32M-13SU
スピーカー : HDR9350-010020
【プラレール】大きな踏切
youtu.be/IAYHxHn7Odo
Dancing Servo
youtu.be/KvMRsJpcNbw
.
HOゲージ用の自動踏切を作ってみました。
津川洋行の踏切キットにチップLEDを組み込んで光らせ、遮断機は小型のサーボで動かしています。
車両の検知は枕木のところに反射型フォトセンサを4か所設置しました。
道床の内部にタクトスイッチをつけて、音の切り替え、音量調整、遮断機の微調整ができるようにしました。 設定した内容はマイコンのEEPROMに記録しているので電源を切っても維持されます。
音は組込みタイプのMP3モジュールを使って鳴らしています。
【使用した主なパーツ】
踏切キット : 津川洋行 HA-5
線路 : KATO ユニトラック
プラスチック板 : ウェーブ プラ=プレート グレー 1.0mm
マイコン : ATmega88V
サーボ : HK-5320
フォトセンサ : GP2A200LCS
MP3モジュール : Sou804-32M-13SU
スピーカー : HDR9350-010020
【プラレール】大きな踏切
youtu.be/IAYHxHn7Odo
Dancing Servo
youtu.be/KvMRsJpcNbw
.





![【Mustang】LED and DFPlayer Installation【1:43 scale】
I built LED and DFPlayer Mini into 1/43 scale Ford Mustang.
By installing DFPlayer Mini, the sound of engine start and the sound of turn signal sound.
Rear turn signal is sequential type with five SMD LEDs lined up.
There are five types of turn signal sound.
The operation is performed with the infrared remote control(P3-IR21SIL).
The main microcontroller is ATmega88V, but I used ATtiny10 only for the map light because there were not enough pins.
The voltage of the cable that charges the battery is DC5V.
For sound effects, make a folder named 01 on the TF Card, and put the 11 mp3 files contained in the zip file from the [Sound Effect] below into this folder. Do not put regular music files in this folder named 01.
1/43スケールのフォード マスタングにLEDとDFPlayer Miniを組み込みました。
DFPlayer Miniを搭載したことでエンジン始動の音やウインカーの音を鳴らすことができます。
リアのウインカーはチップLEDを5個並べてシーケンシャルタイプにしました。
ウインカーの音は5種類から選べます。
操作は赤外線リモコン(P3-IR21SIL)で行います。
メインのマイコンはATmega88Vですが、ピンの数が足りなかったので室内灯だけはATtiny10を使いました。
バッテリーを充電するケーブルの電圧はDC5Vです。
効果音はSDカードに01という名前のフォルダを作って、下記【Sound Effect】のzipファイルに含まれている11個のmp3ファイルをそのフォルダに入れてください。通常の音楽ファイルはこの01という名前のフォルダには入れないでください。
【Circuit Diagram】
https://drive.google.com/file/d/16hSUrcFCbthav8pywez4q0EO6dtCB36U/view?usp=sharing
【Program】
[ATmega88V] https://drive.google.com/file/d/1L_GcBdEKcKWrcf-QiQNgcTLqUge_63os/view?usp=sharing
[ATtiny10](Map Light) https://drive.google.com/file/d/1tU-Y0DlXZqdFVE9i89Yjx9WFRBWNMPuF/view?usp=sharing
【Sound Effect】
(zip file) https://drive.google.com/file/d/1pLGC-L9xq8UVzV5v3yBI8u-HLFSXiZVI/view?usp=sharing
【BGM】
Victim to Victor https://youtu.be/YCkVKcIOYyE
Chilltronic https://youtu.be/RfHg1pwMMMw
8th World Wonder https://youtu.be/d5BMy0r7kco
Christmas Chores https://youtu.be/yWqYSQVH8x8
Sightlines https://youtu.be/UoyYWS-Lnxc
Inevitable Hope https://youtu.be/KffkxnkYmp4
Cocktail Glass https://dova-s.jp/bgm/play3270.html
Alice
楽しいぞ https://dova-s.jp/bgm/play13440.html
Ahead of there https://dova-s.jp/bgm/play3297.html
0:00 Unboxing
0:45 Disassembly
1:23 Head Light
2:06 Fog Light
2:46 Turn Signal
3:19 Tail Light
4:29 Map Light
4:38 Door Light
5:09 Instrument Panel
6:06 Photoreflector
6:43 2-Color LED, Infrared Receiver
7:11 Speaker
7:46 Electronic Parts
9:08 DFPlayer Mini
9:25 Programming
9:48 Chassis Processing
11:09 Power on, Lighting
12:42 Door opening and closing
13:07 Change the Sound
13:52 Music Box Mode
14:32 Demonstration Mode
15:36 Battery Indicator
16:03 Charging
. 【Mustang】LED and DFPlayer Installation【1:43 scale】](https://i.ytimg.com/vi/oOxyGUN8G1A/mqdefault.jpg)




