新ユーカリ駅
shin-yukari station
N-gauge Japanese-style Model Train
nゲージ鉄道模型
nゲージ鉄道模型
Two years and five months ago, I managed to control a Tomytec bus by using an electromagnet under the road. I am now happy to report that I have finally been able to move the modules of the main street, bus interchange and Iwasehama station to the layout. All the wires for the bus control blocks, the hundreds of LED lights, the signals and the tracks are connected and everything seems to work fine. Well, not everything. There are still so many things to improve. These buses sometimes seem to have a mind of their own! Next (major) step: finish the tram layout, and make sure that trams and buses don't collide! For that, I'll have to teach the Raspberry Pi Python application controlling the buses to talk to Rocrail! Interesting challenge.
0 Comments
Next step: the bus interchange. I have built a switch for the bus: a servo motor moves the guide wire towards one of the two positions. It works 🙂 Today, I have started the integration of the system into the python application that runs on the raspberry pi (the same one that controls all the LEDs on the layout). I have added a screen to control the busses, it looks like that: Each bus block is a white rectangle. The block is highlighted
The application makes sure that there is no collision. The video below shows the results of very the first test: For more than a year now I am trying to control the Tomytec busses (fitted with a BM-01, BM-02 or BM-03 motor). My ultimate goal is to make the street at the centre of my layout look like this: There will be
They will all be connected to a Raspberry Pi, which will be able to control the traffic flow. All of this is still under development, but this weekend I have been able to connect eight bus blocks, and this is the result (that I find really encouraging):
In this first test, I used a 13x27 12V 1W 10N (size 13x27mm, 12 volts, 1 watt, 10 newton force) electromagnet that can easily be purchased from AliExpress (look for solenoid, electromagnet, or follow this link). Its power consumption is about 100mA, which is reasonable, and the heat dissipation is not too high. The bus stops when the electromagnet is powered, then restarts when I switch off the power supply.
|
Categories
All
Latest recap videosArchives
December 2024
|