diorama111
パンタグラフ 電動化 上昇 下降 HOゲージ【鉄道模型】HO scale Electric Pantograph
updated
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] Won't exposed copper wire short circuit?
[A] The wire being used is enamel wire (magnet wire) coated with insulation material on the surface, so it doesn't 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] It's hardly visible on the camera, but I mark them with a needle or cutter.
[Q] Why don't you make printed circuit boards?
[A] Since I'm not mass producing, it's 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, it's common to change electronic components after testing, so a universal board is easier to work with.
[Q] It's 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, it's already a challenge just to make it run normally, so there's 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]
drive.google.com/file/d/19NR9HoQn_Ajo7xWexEZk9GZIJGTnoXya/view?usp=sharing
[Trailer Head]
drive.google.com/file/d/1yxN9QSXDmu7egIEk0obfqL-X80-CFKOv/view?usp=sharing
[Trailer]
drive.google.com/file/d/1vKAvi8qkor_5LNY8adczFzF4tB_QXXL7/view?usp=sharing
【Program】
[Transmitter]
drive.google.com/file/d/1pmnCovs0yLIUo1ykqs32YOY00YiYG3n7/view?usp=sharing
[Trailer Head]
drive.google.com/file/d/1K1Y3ngP8e1bR8Mp9fJsZ3468dvIU293x/view?usp=sharing
[Trailer]
drive.google.com/file/d/1OmdNa9jD5POk3AAqoRkOmBivqc88l5J9/view?usp=sharing
【twitter】
twitter.com/hashtag/_SuperGreat?src=hashtag_click&f=live
【Setting up RN4871U】
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
.
灯火類は進行方向に合わせて自動で切り替わります。
灯火類と室内灯は任意のところで消灯させることができます。
最高速度はスケールスピードで70km/h程度です。
The rail is always kept at 7V DC and operated by a remote control (OE13KIR).
Lights are automatically switched in accordance with the direction of travel.
Lights and Coach lighting can be turned off at any point.
The maximum speed is about 70km/h at scale speed.
【Circuit Diagram】
drive.google.com/file/d/1ujCcQKa_4FoIgAvpHUdibiQaPtfNWIft/view?usp=sharing
【Program】
drive.google.com/file/d/1-atz598hKeS3zTQNsvCkGiExyJOq3d-x/view?usp=sharing
【Music】
Broken - Patrick Patrikios
【twitter】
twitter.com/hashtag/_DB20?src=hashtag_click&f=live
.
The steering is operated by 3.9mm diameter stepper motor and the drive by 4.1mm diameter DC motor.
Wireless communication is performed by two Bluetooth modules(RN4871U).
The RN4871U must be configured for communication before assembly.
The transmitter is built on the breadboard.
The microcontroller used is ATtiny3217 on the transmitter and ATtiny1616 on the receiver(the car side).
When the car decelerates from a running state, the brake lights light up automatically.
Headlights and turn signals are operated manually.
When the voltage of the Li-Po battery becomes 3.4V or less, the turn signals stay on instead of blinking.
The power supply for charging is DC 5V.
Even if Bluetooth communication is interrupted, it will be automatically reconnected.
The grid of the cutting mat in the video is 5cm square.
1/87スケールのBUSCH製 Smart Fortwoをラジコンに改造しました。
ステアリングは直径3.9mmのステッピングモーター、駆動は直径4.1mmのDCモーターで動作させています。
無線通信は2つのBluetoothモジュール(RN4871U)で行っています。
RN4871Uは組み立てる前に通信の設定をしておく必要があります。
送信機はブレッドボード上に組みました。
使用したマイコンは送信側がATtiny3217、受信側(車体側)がATtiny1616です。
走行している状態から減速すると自動でブレーキランプが点灯します。
ヘッドライトとウインカーはマニュアルで操作します。
車体に搭載したLi-Poバッテリーの電圧が3.4V以下になるとウインカーが点滅ではなく点灯したままになります。
充電用の電源はDC5Vです。
Bluetoothの通信が途切れても自動的に再接続されます。
動画の中のカッティングマットのマス目は5cm四方です。
【Circuit Diagram】
[Transmitter]
drive.google.com/file/d/1kYulnFUp_SE5g1iWo48XC_vb0DrJRUhr/view?usp=sharing
[Receiver]
drive.google.com/file/d/1EVsUQJD8Xr0gJ4Sn-jpohW7VCMT3IaOO/view?usp=sharing
【Program】
[Transmitter]
drive.google.com/file/d/1oV91lzbdBoMB_alOo9xWH8YTl80KbpYE/view?usp=sharing
[Receiver]
drive.google.com/file/d/1Iatp4nZt678My9lqaaH1ObrsE3ehcoxt/view?usp=sharing
【twitter】
twitter.com/hashtag/_smartfortwo?src=hashtag_click&f=live
【Setting up RN4871U】
twitter.com/search?q=%23_smartfortwo%20since%3A2021-09-22%20until%3A2021-09-27_17%3A10%3A00_JST&src=typed_query&f=live
【Music】
Wolf Moon - Unicorn Heads
Press Fuse - French Fuse
Tropic Fuse - French Fuse
Fast and Run - Nico Staf
.
使ったICはタイマーICのNE555Nです。
150kΩの抵抗と47μFのコンデンサの容量でミュートになる時間が決まります。
パワーアンプの8002の1番ピンから伸びているパターンの一部をカットします。
電源が入っているときにМ型のボタンを押したり、SDカードを抜いてBluetoothを接続した場合は声が流れます。
I made the circuit that mutes the device for about 8 seconds after turning it on.
The IC is the timer NE555N.
The mute time is determined by the value of the 150kΩ resistor and the 47μF capacitor.
Cut a part of the pattern extending from 1-pin of the audio power amplifier 8002.
When the power is on and you press the М type button or remove the TF Card and connect Bluetooth, the voice will be played.
【Circuit Diagram】
drive.google.com/file/d/1fIIPkT0-EFzCFvYrOb0Q7aZn6ruoqNCb/view?usp=sharing
【Music】
Stellar Wind - Unicorn Heads
URL Melt - Unicorn Heads
Wolf Moon - Unicorn Heads
Night Run Away - An Jone
オオカミ少年 - beco soundcloud.com/baron1_3/wolfboy
ensolarado - Kyaai dova-s.jp/bgm/play1344.html
Family Montage - Biz Baz Studio
【twitter】
twitter.com/hashtag/_bluetooth_speaker_mute?src=hashtag_click&f=live
.
使った車両はNゲージのKATO E233系です。
スピーカーは大きさが23×16×4.6mmの楕円のタイプです。パワーアンプはPAM8302Aです。
電源スイッチは壊れたデジカメから取り外した超小型プッシュスイッチを使いました。
充電はDC 5Vを接続します。Micro USBコネクタは取り外しました。
パソコンとのペアリングは電源スイッチを長押しすると画面にBTMELという名前が出てきます。
画面のペアリングを押して、車体の電源を切って入れ直すと「Connected」という声が流れて青と赤のLEDの点滅が消えます。
また、近くに無線LANルーターがあるとペアリングしにくいみたいです。この場合はペアリングをする時だけルーターから離すか、パソコン側でWi-Fiの接続を切ればつながります。
このBluetoothモジュールは無音が1秒以上続くとパワーセーブのモードになり、音を鳴らしたとき復帰が遅くて音源の頭が切れてしまいます。
これを回避するための改造方法が分からないので、Youtubeで20Hzの正弦波を鳴らしている下記の動画を小音量でずっと再生してパワーセーブの状態にならないようにしています。
I made a Bluetooth sound system by incorporating wireless earphone sold in cheap store into a model train.
The model train is 1/150 scale KATO E233 series.
The speaker is an elliptical type, 23x16x4.6mm in size. The power amplifier is PAM8302A.
For the power switch, I used a small push switch that I removed from a broken digital camera.
DC 5V is connected for charging. The Micro USB connector has been removed.
The pairing with a computer, press and hold the power switch, and "BTMEL" will appear on the screen.
Press pairing on the screen, turn off the train and turn it back on, and you will hear "Connected" and the blue and red LEDs will stop blinking.
It seems to be difficult to pair if there is a wireless router nearby. In this case, you can connect it by disconnecting it from the router only when you want to pair it, or by disconnecting the Wi-Fi connection on the computer side.
This Bluetooth module goes into power save mode if silence continues for more than a second, and when it plays a sound, it is slow to come back and the sound source is cut off at the beginning.
Since I don't know how to modify it to avoid this, I play at low volume all the time the following video on Youtube that plays 20Hz sine wave to prevent it from going into power save mode.
【20Hz Test Tone】
youtube.com/watch?v=qP0lD3njSPU
【Circuit Diagram】
drive.google.com/file/d/1XwLr6h1fGX7428vMZYiCLGbeKhZBkRh9/view?usp=sharing
【BGM】
Broken - Patrick Patrikios (YouTube Studio Audio Library)
Energetic sign (Instrumental)
dova-s.jp/bgm/play3433.html
【twitter】
twitter.com/hashtag/_E233_sound?src=hashtag_click&f=live
.
動力台車は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] drive.google.com/file/d/1w7XAmwDSJRs36TD-sj01_F3cA-otyrc2/view?usp=sharing
[Kumoru145] drive.google.com/file/d/1-P5cI5okx4XlVJzQ-_4Lc8hdfnPKO-iV/view?usp=sharing
[Kuru144] drive.google.com/file/d/1mlBeWq1lGJvtx4wZRP44K1YJJQXJSWN6/view?usp=sharing
【Program】
[Transmitter] drive.google.com/file/d/1EmJELMA_FThj66GoVZjjjNcJcNXb4djr/view?usp=sharing
[Kumoru145] drive.google.com/file/d/11eT2asNrF6C4ynxgDkvXWgq8THplf5a9/view?usp=sharing
[Kuru144] drive.google.com/file/d/1CmG6xHCtzTD8a5mgWHXkmMaRi4cH1bHg/view?usp=sharing
【RN4020 Setting】
drive.google.com/file/d/1j_e0mWDrCpN25edmpEcJSlrbQOt6LnSS/view?usp=sharing
【BGM】
Broken - Patrick Patrikios (YouTube Studio Audio Library)
【twitter】
twitter.com/hashtag/_%E3%82%AF%E3%83%A2%E3%83%AB145?src=hashtag_click&f=live
.
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】
drive.google.com/file/d/16hSUrcFCbthav8pywez4q0EO6dtCB36U/view?usp=sharing
【Program】
[ATmega88V] drive.google.com/file/d/1L_GcBdEKcKWrcf-QiQNgcTLqUge_63os/view?usp=sharing
[ATtiny10](Map Light) drive.google.com/file/d/1tU-Y0DlXZqdFVE9i89Yjx9WFRBWNMPuF/view?usp=sharing
【Sound Effect】
(zip file) drive.google.com/file/d/1pLGC-L9xq8UVzV5v3yBI8u-HLFSXiZVI/view?usp=sharing
【BGM】
Victim to Victor youtu.be/YCkVKcIOYyE
Chilltronic youtu.be/RfHg1pwMMMw
8th World Wonder youtu.be/d5BMy0r7kco
Christmas Chores youtu.be/yWqYSQVH8x8
Sightlines youtu.be/UoyYWS-Lnxc
Inevitable Hope youtu.be/KffkxnkYmp4
Cocktail Glass dova-s.jp/bgm/play3270.html
Alice
楽しいぞ dova-s.jp/bgm/play13440.html
Ahead of there 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
.
drive.google.com/file/d/197Z8-o5EpM0Xnomqyip8m9srVJO5QPw2/view?usp=sharing
【BGM】Family Montage - Biz Baz Studio
youtube.com/watch?v=YKcEC4fMUNg
.
使った模型は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 完成・動作確認
.
When you turn on the power, the beginning of the song you were listening to will be played.
【Circuit Diagram】
drive.google.com/file/d/1R-4X3li_KDBD6xzNaaKsdByLJUFOsN_E/view?usp=sharing
【Program】
drive.google.com/file/d/15bOeBeYcWbesbfhUlTeysUl7p1kb2jx5/view?usp=sharing
【DFPlayer Mini Datasheet】
drive.google.com/file/d/1vo193aeTJjhGgDhHuDpB6NT3UDDYN-5R/view?usp=sharing
【Music】
空を見上げれば soundcloud.com/baron1_3/sora_wo_miagereba
Shall we meet? dova-s.jp/bgm/play2896.html
Alice dova-s.jp/bgm/play11900.html
Cocktail Glass dova-s.jp/bgm/play3270.html
.
Output Voltage : 5V
HT7750A Datasheet
drive.google.com/file/d/1nSVFijF7attzkpmwj9_UpzjMVHLyrOri/view?usp=sharing
BGMはbeco様の「空を見上げれば」を使わせていただきました。
soundcloud.com/baron1_3/sora_wo_miagereba
.
Output Voltage : 5V
HT7750A Datasheet
drive.google.com/file/d/1nSVFijF7attzkpmwj9_UpzjMVHLyrOri/view?usp=sharing
BGMはbeco様の「空を見上げれば」を使わせていただきました。
soundcloud.com/baron1_3/sora_wo_miagereba
.
【Circuit Diagram】
drive.google.com/file/d/1lmq8AIHqy5-W-dpfhwhB11xOM2RMWQ6p/view?usp=sharing
【Program】
drive.google.com/file/d/14FG4th7oloT9GTepgaodLIcXSufUUpsV/view?usp=sharing
.
自作の赤外線リモコンで操作します。
リモコンのフォーマットは独自規格のものです。
車両に搭載した電池はリチウムポリマーバッテリー(3.7V 40mAh)です。
モーターは2つとも振動モーターの重りを外して使いました。
車両側に使用したマイコン(ATtiny1616)にプログラムを書き込むにはATMEL STUDIO 7以降で、UPDIが使える機器が必要です。
私はMPLAB PICkit 4を使いました。AVRISP mkⅡは使えません。
I modified the TOMYTEC "THE Car Collection" 1/150 TOYOTA CROWN to work with a remote control.
The car is controlled by a self-made infrared remote control.
The remote control format is proprietary.
The battery installed in the car is a lithium polymer battery(3.7V 40mAh).
I used motors by removing weights of the vibration motors.
In order to write the program of the microcontroller(ATtiny1616) used on the car, you need ATMEL STUDIO 7 or later and a device that can use UPDI.
I use MPLAB PICkit 4. AVRISP mkII cannot be used.
【Circuit Diagram】
drive.google.com/file/d/1ynx_sC-Qco1kWu8m248hn5V3JQEay_9M/view?usp=sharing
【Program】
[Transmitter]
drive.google.com/file/d/1a1wskudT_gx3sis9LRkEck3jZu6fpTK-/view?usp=sharing
[RC CAR(Receiver)]
drive.google.com/file/d/1Y2flQrH5gef7uaohvKCZGmMYkiZyIJd3/view?usp=sharing
BGMはbeco様の「空を見上げれば」を使わせていただきました。
soundcloud.com/baron1_3/sora_wo_miagereba
0:00 Make Tires
1:34 Steering
4:40 Rear wheels
6:09 Steering Servo
7:49 Electronics Parts
9:17 Programming
10:57 Test Run
.
【BGM】
Family Montage / Biz Baz Studio
youtu.be/YKcEC4fMUNg
.
youtu.be/rbdJnMkaSoQ
.
The PB1 and PB2 pins of the microcontroller are in momentary operation, and the PB3 and PB4 pins are in alternate operation.
The communication protocol of the remote control is original.
The case is TAKACHI PS-65.
No transmitter power switch is required.
BGM is Shimtone's "POP & SMILE".
dova-s.jp/bgm/play11660.html
【Circuit Diagram】
drive.google.com/file/d/1CdC9nx8fOzA_q3_P-xUI4bqRvpGkNHvy/view?usp=sharing
【Program】
Transmitter drive.google.com/file/d/1x36M6jK6sUbWKAwdQLQw2IWi_GGKthQW/view?usp=sharing
Receiver drive.google.com/file/d/16c46_LgvwYaoK8uYdd2SiWyZ545T4Wbb/view?usp=sharing
.
I made an electronic music box.
The material of the box and the speaker enclosure are MDF.
ATtiny13A (microcontroller) controls DFPlayer Mini.
Each time you open the lid, the next song is played.
The green tactile push button switches are for adjusting the volume.
The BGM is "Talking Time"
dova-s.jp/bgm/play1990.html
【Circuit Diagram】
drive.google.com/file/d/1oo0XcsnhpIwQ0ylbEF6-yFA0_ebZpHcw/view?usp=sharing
【Program】
drive.google.com/file/d/1wG9WTUOWezQtcs79JRHAiC81Bmz3GC9x/view?usp=sharing
【Music】
天使が降りてくる季節 dova-s.jp/bgm/play8293.html
ひとりぼっちのオルゴール dova-s.jp/bgm/play7301.html
We Wish You a Merry Christmas dova-s.jp/bgm/play7985.html
Ending~始まりの1ページ~ dova-s.jp/bgm/play8949.html
.
The programmer connection method is TPI(Tiny Programming Interface).
5V is required when writing to ATtiny10.
For this reason, it must be written before connecting the LED.
The sensitivity of the touch switch is adjusted by the capacitance of the capacitor connected to the Touch Pad.
The number of LED can be small.
The BGM is MATSU's "Talking Time".
dova-s.jp/bgm/play1990.html
【Circuit Diagram】
drive.google.com/file/d/1ay2vdwk8xozsBmHq8atnOiYp3ngXGg5b/view?usp=sharing
【Program】
drive.google.com/file/d/1ta3UiRakJiihoi3ure7RAV90qrHnHeVU/view?usp=sharing
【How to connect ATtiny10 and AVRISP mkII】
drive.google.com/file/d/19kktZWgrhON51_HZSlh1-SXlahb0wpMj/view?usp=sharing
.
プラレールアニメ れんけつき
youtu.be/TfddQ15OGdc
.
【プラレール アニメ】連結器
youtu.be/TfddQ15OGdc
.
【プラレール アニメ】れんけつ
youtu.be/X9YgDbvrQTI
.
新幹線を数えよう
youtu.be/OX8nlF1h4j8
.
いろんなものを数えよう
youtu.be/-_inE47Zqzk
.
BGMは伊藤貴章様からお借りしました。
dova-s.jp/bgm/play11121.html
【踏切アニメ】部品が合体!
youtu.be/eAnxJ1YBFC8
【踏切アニメ】プラレール 新幹線の連結
youtu.be/X9YgDbvrQTI
【踏切アニメ】プラレールのいろんな新幹線が通過するよ
youtu.be/EDGempTXoTk
.
BGMはshimtone様からお借りしました。
dova-s.jp/bgm/play10855.html
【踏切アニメ】連結器
youtu.be/TfddQ15OGdc
【踏切アニメ】プラレールのいろんな新幹線が通過するよ
youtu.be/EDGempTXoTk
【踏切アニメ】部品が合体!
youtu.be/acYimO9wpCM
.
The animation that various Shinkansen passes through the railroad crossing.
BGMはTinymemory様からお借りしました。
dova-s.jp/bgm/play11254.html
【踏切アニメ】部品が合体!
youtu.be/eAnxJ1YBFC8
【踏切アニメ】プラレール 新幹線の連結
youtu.be/X9YgDbvrQTI
【改造プラレール】大きな踏切の改造
youtu.be/IAYHxHn7Odo
【プラレール】ホームドアステーションの電動化
youtu.be/HaDUNH4ERLw
.
How to select resistor for a LED (The worlds easiest tutorial)
youtu.be/_w_ura4ucpE
How to measure LED current (The worlds easiest tutorial)
youtu.be/39-4cj11h-Y
Dancing Servo
youtu.be/KvMRsJpcNbw
.
How to select resistor for a LED (The worlds easiest tutorial)
youtu.be/_w_ura4ucpE
Easy Transistor Tutorial with CdS Cell
youtu.be/gCfXnKLgtAQ
Dancing Servo
youtu.be/KvMRsJpcNbw
.
youtu.be/39-4cj11h-Y
Easy Transistor Tutorial with CdS Cell
youtu.be/gCfXnKLgtAQ
Dancing Servo
youtu.be/KvMRsJpcNbw
How to make flashing LED with IC 555 timer
youtu.be/F6S0qif2C1w
Step-up DC/DC Converter
youtu.be/O17OsVjYtfQ
How to build a Room Light and Door Lights for a model car
youtu.be/-0v5XHJuZ94
How to make Angel Eyes
youtu.be/rbdJnMkaSoQ
.
dova-s.jp/bgm/play10964.html
【鉄道模型】サーボで動くパンタグラフ Electric Pantograph
youtu.be/iAx1nH5toaU
【鉄道模型】サーボで動くシングルアームパンタグラフ
youtu.be/-zv0uuY8q_8
【プラレール】ホームドアの電動化
youtu.be/HaDUNH4ERLw
エクシードモデル ザクヘッド EXCEED MODEL ZAKU HEAD
youtu.be/qzF6IQ68BI4
【鉄道模型】 HOゲージ踏切 Model Railroad Crossing
youtu.be/lFKVC9d2vo4
tutorial arduino motor control raspberry pi rc car pic electronic steering drift
フォトセンサは4か所に設置しています。
警報音の種類と音量はリモコンで操作します。
【使用した主な部品】
踏切:プラレール J-21 大きな踏切
線路:プラレール R-07 2倍直線レール
マイコン:ATmega48
サーボ:HK-5320
フォトセンサ:GP2A200LCS
MP3モジュール:DFPlayer Mini
【踏切アニメ】プラレールのいろんな新幹線が通過するよ
youtu.be/EDGempTXoTk
【鉄道模型】HOゲージ踏切
youtu.be/lFKVC9d2vo4
Dancing Servo
youtu.be/KvMRsJpcNbw
.
使ったパンタグラフはTOMIX HO-P26 WPS28A形です。
【鉄道模型】サーボで動くシングルアームパンタグラフ
youtu.be/-zv0uuY8q_8
【鉄道模型】HOゲージ サーボで動くパンタグラフ
youtu.be/iAx1nH5toaU
.
ついでにMP3モジュールで音声が流れるようにしました。
【Main Parts】
Platform Screen Doors : TAKARATOMY PLATFORM SCREEN DOOR STATION
Servo : HK-5320
Microcontroller : ATtiny412
MP3 Module : DFPlayer Mini
Battery : Li-Po 110mA/h
Speaker : STAR 01801NLH-01
Remote Controller : OE13KIR
IR Receiver Module : PIC79603
【プラレール】大きな踏切の改造
youtu.be/IAYHxHn7Odo
【プラレール】パンタグラフをのせてみた
youtu.be/s3rL4YHcqAg
Dancing Servo
youtu.be/KvMRsJpcNbw
.
LEDの電源はバッテリーを積んでいる中間車からとっています。
そこで、リモコンで自由に操作できるようにしました。
マイコンはATtiny24A、モータードライバはBD6211Fです。
バッテリーは300mA/hのLi-Poを使いました。
ギヤのバックラッシュが大きいため、加減速時はぎこちない動きになりやすいです。
.
使用した連結器:KATOカプラー 7-601
踏切等の凹凸がある線路を走らせたらたぶん連結が外れてしまいます。
【参考】1.5V⇒3.3V 昇圧回路
youtu.be/O17OsVjYtfQ
.
The current flowing to one LED should be 10mA or less.
【Circuit Diagram】
goo.gl/uTD2oP
【Program】
yahoo.jp/box/Xc1ud1
《2019年3月8日》
説明文の電流の値を訂正しました。
Corrected the current value in the explanation.
How to install LED lights in 1:18 model car
youtu.be/8p1LnwWfDqU
How to make 1/18 scale meter
youtu.be/4raVK4p599s
How to make flashing LED with IC 555 timer
youtu.be/F6S0qif2C1w
Step-up DC/DC Converter
youtu.be/O17OsVjYtfQ
How to build a Room Light and Door Lights for a model car
youtu.be/-0v5XHJuZ94
How to make Angel Eyes
youtu.be/rbdJnMkaSoQ
.
今回も透明なアクリル板を車両の形にして動きが解りやすいようにしました。
赤外線リモコンでパンタグラフを操作します。
線路にかかる電圧が約4V以上でしばらく走らせると、電気二重層コンデンサが充電されてサーボの動きが安定します。
マイコンのヒューズ設定はBODLEVEL=1.8Vにしてください。
【使用した主な部品】
Pantograph:TOMIX HO-P26 WPS28A
Servo:HK-5320
IR Remote Controller:OE13KIR
Microcontroller:ATtiny13A
【基板の画像】
goo.gl/8w4GGk
【Circuit Diagram】
goo.gl/CD3R2Q
【Program】
yahoo.jp/box/ZNCjzR
Nゲージ 電動パンタグラフ クモハ123-3 動力化
youtu.be/MIAxqQCBhjw
【プラレール】パンタグラフをのせてみた
youtu.be/s3rL4YHcqAg
Dancing Servo
youtu.be/KvMRsJpcNbw
.
ここでは2.3Vに設定しているので、それ以下になったら緑のLEDが消えて赤のLEDが点灯し、黄色のLEDが点滅します。
2.3V以上ではマイコンのPB2ピンからのLEDは点灯、PB3ピンからのLEDは消灯します。
設定電圧を変更するにはプログラムの10行目のvoltの値を変更します。11行目のadjustは微調整のための変数です。
マイコンのVCC端子には5Vより高い電圧をかけないでください。
消費電力を抑えるためにマイコンは常にパワーダウンにしておいて、ウォッチドッグタイマで2秒毎に電圧をチェックします。
消費電流は0.3mA以下です(LEDの電流を除く)。
This is a simple indicator that the LED turns on when the voltage(0-12V) connected to the Probe terminal falls below the set voltage(0-5V).
Since it is set to 2.3V here, when it becomes less than 2.3V, the green LED turns off, the red LED turns on and the yellow LED flashes.
At 2.3V or more, the LED from the PB2 pin of the microcontroller turns on, and the LED from the PB3 pin turns off.
To change the setting voltage, change the value of "volt" on line 10 of the program. "adjust" on line 11 is a variable for fine adjustment.
Do not apply voltage exceeding 5V to VCC pin of microcontroller.
In order to reduce power consumption, the microcontroller is always powered down and the voltage is checked every 2 seconds with the watchdog timer.
Current consumption is 0.3mA or less (excluding LED current).
【Circuit Diagram】
drive.google.com/file/d/1_BLXxu8j568YP9rjcXhvu97q2URE1NPX/view?usp=sharing
【Program】
drive.google.com/file/d/1EAnxGp6f49N4izSediM7nZk-YEmS-dM8/view?usp=sharing
.
You can toggle between LSB first and MSB first with the switch.
"ERROR" is displayed on remote control other than NEC format.
Fuse setting of the microcontroller is unnecessary.
【Circuit Diagram】
goo.gl/hV4Mg1
【Program】
yahoo.jp/box/FLGnlz
.
安価な8ピンのマイコンですがUSARTが付いているので、とりあえずDFPlayer Miniを鳴らしてみました。
プログラムの書き込みに使ったライターはPICkit4です。
PICkit4とATtiny412はUPDIで接続します。
DFPlayer Miniでスピーカーを鳴らす場合は電源の電圧を4~5Vにしてください。
I used ATtiny412 of tiny AVR 1 series.
It is an inexpensive 8 pins microcontroller, but since USART is included, anyway I tried a DFPlayer Mini.
The Programmer is PICkit4.
PICkit4 and ATtiny412 are connected by UPDI.
When you use a speaker, please set the power supply voltage at 4V-5V.
【Circuit Diagram】
goo.gl/x1dTeX
【Program】
yahoo.jp/box/nq7U9H
.
DFPlayer Miniでスピーカーを鳴らすときは電圧を4~5Vにした方が安定します。
Audio Output端子(DAC_L, DAC_R)を使う場合は3.3~5VでOKです。
停止状態でもNextまたはPreviousを押すとその回数だけ曲を送ることができ、Playで曲が始まります。
Pauseで一時停止中にNextまたはPreviousを押すと次の曲または前の曲が再生を始めます。
Intro Searchは曲の最初の5秒間だけを順番に再生します。
Intro Search中はNextとPreviousは有効で、その曲を全部聞きたい場合はPlayを押します。Pauseは無効です。
マイコンのPC0-PC3,PD2-PD5につなぐ16キーは1~16曲目を直接選曲できます。(この動画内では省略しています)
PC4のContinuation or Only One Songは何もつながないと曲を連続で再生し、GNDにつなぐと一曲のみ再生して停止します。
曲順はSDカードに記録した順番です。
SDカードを入れ替えた時は電源を入れ直してください。
正確な曲数が認識されない場合はSDカードをフォーマットしてから曲を記録してください
I made MP3 Player with DFPlayer Mini.
When you use a speaker at DFPlayer Mini, it is more stable to set the voltage at 4V-5V.
When using the Audio Output terminal (DAC_L, DAC_R) it is OK at 3.3V-5V.
Even in the stopped state, pressing Next or Previous will send the songs that many times, and the song will start with Play.
If you press Next or Previous while paused at Pause, the next song or the previous song will start playing.
Intro Search plays back a 5-second segment from the beginning of each song.
During Intro Search Next and Previous are valid, and press Play if you want to listen to all the songs. Pause is invalid.
The 16 keys that connect to the PC0-PC3 and PD2-PD5 of the microcontroller can directly select the 1st - 16th songs. (It is omitted in this video)
PC4 "Continuation or Only One Song" plays songs continuously unless anything is connected, and plays only one song and stops when connected to GND.
The order of the songs is the order recorded on the SD memory card.
Please turn the power off and on again when replaced the SD memory card.
If the microcontroller does not recognize the exact number of songs, format the SD memory card and record the songs.
【Circuit Diagram】
goo.gl/RTiFMK
【Program】
yahoo.jp/box/lYZMFg
.
The current can flow Max 200mA.
The current flowing about 13μA when the switch turned off .
When HT7733A is replaced with HT7750A, the output is 5V.
【Circuit Diagram】
goo.gl/yhFmgm
【HT7733A Datasheet】
goo.gl/mdbN3X
.
youtu.be/MIAxqQCBhjw
LEDを安定して光らせるため三端子レギュレータを追加し、リモコンはオプトサプライのOE13KIRで動くようにしました。
このため回路図とプログラムを少し変更しました。
パンタグラフの動作の微調整はプログラム内の一部の数値を変更することで行っています。
【Circuit Diagram】
goo.gl/ApCCXK
【Program】
yahoo.jp/box/dnx0u4
.
タクトスイッチとLEDを入れているケースはFRISKの容器を加工したものです。
列車の走行する方向にのみ電気が流れる選択式と、ポイントの位置にかかわらずどちらにも電気が流れる非選択式の切り替えはマイコンのPD7のピンにつながったスイッチで行います。
I installed a small stepper motor inside the KATO N-scale Unitrack turnout and made it move slowly.
The case containing the tactile switches and the LED is FRISK one.
The switch connected to PD7 pin of the microcontroller switches between "Power Routing" which electricity flows only in the traveling direction of the train and "Non Power Routing" which electricity flows in both regardless of the position of the turnout.
《 2018年10月22日 》
回路図の中でマイコンのPC2とPC3の位置が間違っていましたので訂正しました。
I corrected the positions of PC2 and PC3 of the microcontroller in the circuit diagram.
【Circuit Diagram】
goo.gl/DShWwL
【Program】
yahoo.jp/box/ML4ZsW
.


