Uploaded August 2020 | Updated September 2026, 5 hours ago
YOMIXさんが小型液晶で幕回しをされているのを見て私も作ってみました。
使った模型はHOゲージの485系、ディスプレイは0.6インチのOLEDです。
このOLEDは64×64ドットの表示ができるのですが、模型の方向幕の穴から見えている部分は40×40ドット(約6.5×6.5mm)だけです。
操作は安価なMP3プレーヤーに付属していたリモコンで行います。
リモコンの1~9のボタンに各方向幕を割り当て(LEDタイプは1~3の3種類)、Modeボタンで幕とLEDタイプの切り替え、音量ボタンで明るさの調整ができるようにしました。
マイコンとOLEDの通信方法はSPIです。
画像データは40×40ドットのBMP画像をGIMPや自作のプログラムを使ってRGB233(赤2bit,緑3bit,青3bitの8bit 256色)に変換してから、マイコンに合うようHファイルに変えました。
これらのデータはマイコンのSRAMに入り切らないのでプログラムメモリに入れています。
このためHファイルにした画像データはプログラムのmain.cファイルと同じフォルダに置いてビルドする必要があります。
※映像に出てくる回路図のインダクタ(コイル)の数値が間違っています。正しくは10μHです。下記のリンクの回路図は訂正済です。申し訳ありません。
Mr.YOMIX made the rollsign of a model railroad using a small LCD, so I made it too.
My model is HO scale 485 series, and the display is 0.6 inch OLED.
The OLED can display 64x64 pixels, but the part visible from the hole in the model is only 40x40 pixels (about 6.5x6.5mm).
The operation is performed using the remote control that came with the inexpensive MP3 player.
Each rollsign is assigned to the buttons 1 to 9 on the remote controller(3 types from 1 to 3 LED sign), the rollsign and LED type can be switched with the Mode button, and the brightness can be adjusted with the volume button.
The communication method between the microcontroller and OLED is SPI.
40x40 pixels BMP image was converted to RGB233 (8bit 256 colors of red 2bit, green 3bit and blue 3bit) using GIMP and self-made program, and converted into an H file to match the microcontroller.
Since these image data cannot be stored in the SRAM of the microcontroller, they are stored in the program memory.
Therefore, it is necessary to put all H files in the same folder as the main.c file of the program and build it.
* The value of the inductor (coil) in the circuit diagram shown in the video is incorrect. The correct value is 10μH. The circuit diagram of the link below has been corrected. I'm sorry.
YOMIXさんのツイート
twitter.com/YOMIXtrains/status/1283011734953852934
【Circuit Diagram】
drive.google.com/file/d/1Qia2v5zrSm7eF1a_k1ZgFzGbKBV2iug0/view?usp=sharing
【Program】
drive.google.com/file/d/13K1UfzExmFZC6UT_GI6gXh4i9ZPrZUF3/view?usp=sharing
【Rollsign Image Data(zip)】
drive.google.com/file/d/1CP_n5BraeJqhOAcPKWXxjDw2IjV13PbY/view?usp=sharing
NHD-0.6-6464G Datasheet
drive.google.com/file/d/1EH_DopbbBcSPWaa_CXC0QHwHkCBiJp69/view?usp=sharing
SSD1357 Technical Data
drive.google.com/file/d/1lcKN6JQs9CoaeM8bFmoVpZLTazT4Ha4q/view?usp=sharing
ATmega328P Datasheet
drive.google.com/file/d/1WprIE4iQ44UWOJwr4xKxN__OYKwcKRcM/view?usp=sharing
MT3608 Datasheet
drive.google.com/file/d/11aQWzOoJkTMo8kWQvksDKjeUkQceH4FQ/view?usp=sharing
BGMはbeco様の「空を見上げれば」を使わせていただきました。
soundcloud.com/baron1_3/sora_wo_miagereba
0:00 OLED接続回路
1:22 メイン基板
3:21 プログラムの書き込み
4:45 動作確認
5:32 車両への取り付け
7:23 完成・動作確認
.
YOMIXさんが小型液晶で幕回しをされているのを見て私も作ってみました。
使った模型はHOゲージの485系、ディスプレイは0.6インチのOLEDです。
このOLEDは64×64ドットの表示ができるのですが、模型の方向幕の穴から見えている部分は40×40ドット(約6.5×6.5mm)だけです。
操作は安価なMP3プレーヤーに付属していたリモコンで行います。
リモコンの1~9のボタンに各方向幕を割り当て(LEDタイプは1~3の3種類)、Modeボタンで幕とLEDタイプの切り替え、音量ボタンで明るさの調整ができるようにしました。
マイコンとOLEDの通信方法はSPIです。
画像データは40×40ドットのBMP画像をGIMPや自作のプログラムを使ってRGB233(赤2bit,緑3bit,青3bitの8bit 256色)に変換してから、マイコンに合うようHファイルに変えました。
これらのデータはマイコンのSRAMに入り切らないのでプログラムメモリに入れています。
このためHファイルにした画像データはプログラムのmain.cファイルと同じフォルダに置いてビルドする必要があります。
※映像に出てくる回路図のインダクタ(コイル)の数値が間違っています。正しくは10μHです。下記のリンクの回路図は訂正済です。申し訳ありません。
Mr.YOMIX made the rollsign of a model railroad using a small LCD, so I made it too.
My model is HO scale 485 series, and the display is 0.6 inch OLED.
The OLED can display 64x64 pixels, but the part visible from the hole in the model is only 40x40 pixels (about 6.5x6.5mm).
The operation is performed using the remote control that came with the inexpensive MP3 player.
Each rollsign is assigned to the buttons 1 to 9 on the remote controller(3 types from 1 to 3 LED sign), the rollsign and LED type can be switched with the Mode button, and the brightness can be adjusted with the volume button.
The communication method between the microcontroller and OLED is SPI.
40x40 pixels BMP image was converted to RGB233 (8bit 256 colors of red 2bit, green 3bit and blue 3bit) using GIMP and self-made program, and converted into an H file to match the microcontroller.
Since these image data cannot be stored in the SRAM of the microcontroller, they are stored in the program memory.
Therefore, it is necessary to put all H files in the same folder as the main.c file of the program and build it.
* The value of the inductor (coil) in the circuit diagram shown in the video is incorrect. The correct value is 10μH. The circuit diagram of the link below has been corrected. I'm sorry.
YOMIXさんのツイート
twitter.com/YOMIXtrains/status/1283011734953852934
【Circuit Diagram】
drive.google.com/file/d/1Qia2v5zrSm7eF1a_k1ZgFzGbKBV2iug0/view?usp=sharing
【Program】
drive.google.com/file/d/13K1UfzExmFZC6UT_GI6gXh4i9ZPrZUF3/view?usp=sharing
【Rollsign Image Data(zip)】
drive.google.com/file/d/1CP_n5BraeJqhOAcPKWXxjDw2IjV13PbY/view?usp=sharing
NHD-0.6-6464G Datasheet
drive.google.com/file/d/1EH_DopbbBcSPWaa_CXC0QHwHkCBiJp69/view?usp=sharing
SSD1357 Technical Data
drive.google.com/file/d/1lcKN6JQs9CoaeM8bFmoVpZLTazT4Ha4q/view?usp=sharing
ATmega328P Datasheet
drive.google.com/file/d/1WprIE4iQ44UWOJwr4xKxN__OYKwcKRcM/view?usp=sharing
MT3608 Datasheet
drive.google.com/file/d/11aQWzOoJkTMo8kWQvksDKjeUkQceH4FQ/view?usp=sharing
BGMはbeco様の「空を見上げれば」を使わせていただきました。
soundcloud.com/baron1_3/sora_wo_miagereba
0:00 OLED接続回路
1:22 メイン基板
3:21 プログラムの書き込み
4:45 動作確認
5:32 車両への取り付け
7:23 完成・動作確認
.

![1/150 N-scale Rollsign using a 0.42 inch LCD 幕回し Nゲージ
I made a 1/150 N-scale limited express Rollsign and LED Headsign using a tiny TFT LCD.
The LCD is 0.42 inches and capable of displaying 96×54 pixels, but I designed each mark using 50×36 pixels to fit the square opening of approximately 4×3 mm.
The LED Headsign is animated by alternating between two different marks.
The programs for the Rollsign and LED Headsign are separated due to the microcontroller’s memory limitations.
After turning on the power switch under the floor, you can operate it with the remote control (OE13KIR).
Charge the battery through the charging connector.
The programs are for Microchip Studio 7.
小型のLCDを使って1/150 Nゲージ車両のトレインマークを作りました。
LCDは0.42インチで96x54ピクセルの描画ができますが、約4x3mmの角穴に合わせて50x36ピクセルでマークを作りました。
LED方式のトレインマークは2種類の絵柄を交互に切り替えることでアニメーションにしています。
マイコンのメモリーの関係で、幕回しとLED方式のプログラムは別になっています。
床下に設置した電源スイッチを入れた後はリモコン(OE13KIR)で操作します。
充電端子からバッテリーを充電します。
プログラムは「Microchip Studio 7」用です。
[ Circuit Diagram ]
https://drive.google.com/file/d/1BJnyYQSPuFZTMBU96FAf4GOcYq5KBwCV/view
[ Program (Rollsign) ]
https://drive.google.com/file/d/1oAZAV_M93Jo4_4ki3xuWDZfAuNChHnOI/view
[ Program (LED Headsign) ]
https://drive.google.com/file/d/12fdWSiYtcEZ4ntAJ1A4mRSrsMWBXTZWf/view
[ Rollsign Images (h files) (zip) ]
https://drive.google.com/file/d/15-BvhqpnniAN-1FvGBaW6ya1zFXGCjoc/view
[ X ] (Login Required)
https://x.com/hashtag/_rollsign?src=hashtag_click&f=live
[ ER-TFT0.42-1 ]
https://drive.google.com/file/d/1fuQjQ7k65bcrwfMVVJIXmwGGnu5Taj7B/view
[ ST7735P3 ]
http://drive.google.com/file/d/1HVbGFI4zrRcez1Q7MV0MIbK4Cc2V3uNW/view 1/150 N-scale Rollsign using a 0.42 inch LCD 幕回し Nゲージ](https://i.ytimg.com/vi/txQrya-mWVQ/mqdefault.jpg)
![ラジコン鉄道模型の作り方
TWE-Liteを使ってHOゲージの鉄道模型をラジコンで動くようにします。
線路には12~14Vの電圧をかけてください。
回路図に記載した30個のタクトスイッチの番号で、⑤のスイッチを押すとヘッドライトとテールライトが進行方向に合わせて自動で点灯または消灯します。①②⑥⑦のいずれかを押すと車両の走行に関係なくマニュアルの操作となり、自動の点灯が解除されます。
③⑧は常にマニュアル操作の室内灯です。
④⑨⑩⑭⑮を押すと下記のATmega48のピンに3.3Vが出力されます。新たなLEDやスイッチ等、機能を追加する場合にお使いください。
SW : Pin
④ : PB3
⑨ : PB4
⑩ : PB5
⑭ : PB6
⑮ : PB7
効果音はマイクロSDカードに入った15個のMP3ファイルが再生できます。
【回路図】
送信機(Transmitter) https://goo.gl/qgU0cC
受信機(Receiver)[車両側] https://goo.gl/VORmLA
【マイコン用プログラム】
送信機(Transmitter) ATmega88V用 http://yahoo.jp/box/Kl89hV
受信機(Receiver) ATmega48用 http://yahoo.jp/box/ta1_mF
D1UBA80のINPUTに12~14Vをかけるとマイコンの書き込み用ピンソケットの②の端子に3.3Vがかかるようになっています。 ②の端子に直接電圧をかけないでください。
マイコンのプログラムの書き込み方については省略していますので、https://youtu.be/Hks7Z6Ki7zI の動画の5分34秒~7分24秒のところを参考にしてください。
マイコンのヒューズ設定でCKDIV8を解除して8MHzで動作するようにしてください。
【TWE-Lite用プログラム】
TWE-Lite-R用プログラマ https://mono-wireless.com/jp/products/TWE-APPS/LiteProg/index.html
TWELITEプログラマ 0.3.4.3をダウンロードしてください
シリアル通信専用アプリ https://mono-wireless.com/jp/products/TWE-APPS/App_Uart/download.html
v1.2.10 リリース 『TWELITE用は』 からダウンロードしてJN5164の方を書き込んでください
《注意》TWE-001 Liteには絶対3.6V以上の電圧をかけないでください。
電気二重層コンデンサと車体の上側のスペースに全く余裕がないので、車体をかぶせる時に各ケーブルを挟まないよう注意してください。電気二重層コンデンサは別のところに設置したほうがいいかもしれません。
《2019年11月30日 追加》
TWE001にシリアル通信アプリを書き込んだ後、ターミナルソフト(Tera Term等)を使ってインタラクティブモードに入り、2個ともボーレートを38400bpsから9600bpsに変更してください。
[設定順序]
ターミナルソフトのボーレートを38400bpsに設定
↓
「+++」とキーを打ってインタラクティブモードに入る
↓
「b」「9600」「Enter」大文字の「S」と打って変更を確定
↓
変更の確認をするには、ターミナルソフトのボーレートを9600bpsに設定
↓
「+++」と打ってインタラクティブモードに入る
↓
「+++」と打ってインタラクティブモードを解除(最後は必ず解除してください)
接続方法
https://mono-wireless.com/jp/products/TWE-APPS/App_Uart/tutorial.html
インタラクティブモード
https://mono-wireless.com/jp/products/TWE-APPS/App_Uart/interactive.html
《2019年12月2日 追加》
TWE001のボーレートを変更するときは「UART-BPS」端子をGNDにつないでください。
. ラジコン鉄道模型の作り方](https://i.ytimg.com/vi/uWLfCR5oN0g/mqdefault.jpg)
![【鉄道模型】 LED 照明付 ディスプレイケース Display Case Lighting
HOゲージ用の車両展示ケースにLEDを取り付けて、リモコンで明るさを調整できるようにしました。
ついでに線路にも0~12Vの電圧がかかるようにして極性も変えられるようにしたため、モーターが付いていない車両であれば電飾を楽しむことができます。
調整した内容はマイコンのEEPROMに書き込むようになっていますので電源を切っても設定は維持されます。
【Main Parts】
Case : WAVE T-case[WM]
LED : LED Strip Lights 2.5mm Width
Microcontroller : ATmega88V
LED Driver : IR4427
Motor Driver : TA7291SG
Remote Controller : OE13KIR
Power Supply : DC12V 【鉄道模型】 LED 照明付 ディスプレイケース Display Case Lighting](https://i.ytimg.com/vi/uxX1h8RoV6E/mqdefault.jpg)
![楽プラ AE86 トレノ TRUENO 1/32 SNAP KIT TOYOTA
I assembled a 1/32 scale TOYOTA TRUENO snap kit.
Although the kits retractable headlights were meant to be fixed in either the popped-up or closed position, I customized them by installing a stepper motor and gears to make them movable.
I installed a steering mechanism to make it movable, but since I havent added a motor for driving, its a display-only model.
The wires are enameled, so they will not short circuit.
A connector for charging the battery is installed on the underside of the car body.
Operations are performed using a remote control.
[Circuit Diagram]
https://drive.google.com/file/d/1EOfuBcI_3RAzMUZfvdqKbdwqm4fOTLex/view?usp=drive_link 楽プラ AE86 トレノ TRUENO 1/32 SNAP KIT TOYOTA](https://i.ytimg.com/vi/v06kEfqJSVA/mqdefault.jpg)

![1/150 DIY Micro RC Truck & Trailer
I modified TOMYTEC 1/150 scale The Trailer Collection into a radio control car.
The motors are LA4-466FB for both steering and running.
Wireless communication is done with two RN4871U (Bluetooth module).
RN4871U must be set up for communication before assembly.
Wireless communication from trailer head to trailer is infrared remote control.
The transmitter is built on the breadboard.
The microcontroller used is ATmega88V for the transmitter, ATtiny3217 for the trailer head, and ATtiny412 for the trailer.
The power supply for charging the trailer head is DC 5V.
I omitted the trailer charging circuit.
The grid of the cutting mat in the video is 5cm square.
TOMYTECのトレーラーコレクションをラジコンに改造しました。
モーターはステアリングも走行用もLA4-466FBを使いました。
無線通信は2つのRN4871U(Bluetoothモジュール)で行っています。
RN4871Uは組み立てる前に通信の設定をしておく必要があります。
トレーラーヘッドからトレーラーへの無線通信は赤外線リモコンです。
送信機はブレッドボードに組みました。
使用したマイコンは送信機がATmega88V、トレーラーヘッドがATtiny3217、トレーラーがATtiny412です。
トレーラーヘッドの充電用の電源はDC5Vです。
トレーラーの充電回路は省略しました。
動画中のカッティングマットのマス目は5cm四方です。
【FAQ】
[Q] Can I sell your artwork?
[A] I often remove small parts from my creations to reuse in future pieces, so most of what I make no longer functions properly and therefore cannot be sold.
[Q] Wont exposed copper wire short circuit?
[A] The wire is an enamel wire (magnet wire) coated with insulation material on the surface, so it doesnt short circuit.
[Q] Where did you buy the parts?
[A] I often buy electronic components from the online stores of Akizuki Denshi or Marutsu. Additionally, I disassembled a large quantity of junk digital cameras that I acquired from Yahoo Auctions and picked up stepping motors, gears, shafts, photosensors, ultra-small switches, and other components.
[Q] It looks like there are no marking-off line, but are you processing everything by eye?
[A] Its hardly visible on the camera, but I mark them with a needle or cutter.
[Q] Why dont you make printed circuit boards?
[A] Since Im not mass producing, its quicker to use universal boards. Also, to make it smaller, I sometimes have to modify the pins of SOT or SOP packages and solder them, which is difficult to do with a printed circuit board. Also, its common to change electronic components after testing, so a universal board is easier to work with.
[Q] Its difficult to solder chip components even with a loupe, but you do it well.
[A] I solder with a microscope.
[Q] I was disappointed because I thought even the power windows and wipers would work.
[A] Please give me a break...
[Q] How long did it take to create it?
[A] It took several months.
[Q] Can you tell me the cost of materials?
[A] Since I use a lot of parts and junk parts that I already had, there are many items for which I do not know the price.
[Q] Please make a drone.
[A] I do not have the knowledge to make a drone, so I cannot make one. Even if I could make one, I cannot think of any differentiation from those who are currently making drones.
[Q] Please make your micro RC car drift.
[A] As the car gets smaller, its already a challenge just to make it run normally, so theres no room to make it drift.
[Q] Please make the model run faster.
[A] It is difficult to make a small model run slowly, so I intentionally run it slowly. Also, I do not make it run faster because it would look too toy-like and lose realism. Additionally, if the model is driven by a stepping motor, it cannot run faster.
[Q] Please modify a Hot Wheels.
[A] Since many other people are already modifying Hot Wheels, I currently have no plans to do so.
[Q] What is the development environment for microcontrollers?
[A] I write programs in C-language using Microchip Studio 7.0 and run them on AVR microcontrollers.
【Circuit Diagram】
[Transmitter]
https://drive.google.com/file/d/19NR9HoQn_Ajo7xWexEZk9GZIJGTnoXya/view?usp=sharing
[Trailer Head]
https://drive.google.com/file/d/1yxN9QSXDmu7egIEk0obfqL-X80-CFKOv/view?usp=sharing
[Trailer]
https://drive.google.com/file/d/1vKAvi8qkor_5LNY8adczFzF4tB_QXXL7/view?usp=sharing
【Program】
[Transmitter]
https://drive.google.com/file/d/1pmnCovs0yLIUo1ykqs32YOY00YiYG3n7/view?usp=sharing
[Trailer Head]
https://drive.google.com/file/d/1K1Y3ngP8e1bR8Mp9fJsZ3468dvIU293x/view?usp=sharing
[Trailer]
https://drive.google.com/file/d/1OmdNa9jD5POk3AAqoRkOmBivqc88l5J9/view?usp=sharing
【twitter】
https://twitter.com/hashtag/_SuperGreat?src=hashtag_click&f=live
【Setting up RN4871U】
https://twitter.com/search?q=%23_smartfortwo+since%3A2021-09-22+until%3A2021-09-27_17%3A10%3A00_JST&src=typed_query&f=live
【Music】
Broken - Patrik Patrikious
. 1/150 DIY Micro RC Truck & Trailer](https://i.ytimg.com/vi/w7TURoGE7To/mqdefault.jpg)



