Shin-Yukari
  • Blog
  • Layout Description
  • Track Plan
  • LED Controller
  • Who I am
  • Blog
  • Layout Description
  • Track Plan
  • LED Controller
  • Who I am

​新ユーカリ駅

shin-yukari station

N-gauge Japanese-style Model Train
​nゲージ鉄道模型

Underground catenary system

25/4/2021

0 Comments

 
This is the catenary system for the tunnel section east of the underground station. It is built using Evergreen styrene H columns. The bottom (top on the photo below) is covered with aluminium foil.
0 Comments

Public bathrooms inspired by Shin-Yokohama station's toilets

24/1/2021

0 Comments

 
These bathrooms were scratch built using styrene sheets. The outside walls are printed on photo paper protected by a dull clear coat.
The prototype can be found in front of Shin-Yokohama's station. They have been recently renovated and are part of the Do Amenity network.
0 Comments

Main street roadworks

2/1/2021

0 Comments

 
This is what I have done with the "smallest display in the world"
The display is a tiny 72x40 0.42" OLED display, available from AliExpress here:
https://www.aliexpress.com/item/33026
For this project, I have used a Seeeduino Xiao microcontroller.
https://www.seeedstudio.com/Seeeduino
I highly recommend it. The Seeeduino Xiao is compatible with the Arduino IDE, but it is much more powerful, using a SAMD21 chip with much more memory than an Arduino Nano (for example).
Fitting the display at the back of the truck was not easy. The display's flat cable is hardly long enough to hide the controller board under the street.
0 Comments

Main street with lights

28/9/2020

0 Comments

 
0 Comments

Road safety accessories (2)

30/8/2020

0 Comments

 
0 Comments

Ventilation shaft for the underground station

23/8/2020

0 Comments

 
0 Comments

Fitting cars and trucks with LED headlights

2/8/2020

0 Comments

 
All LEDs are 0402 (0.5 x 1mm) LEDs purchased pre-wired from AliExpress (look for "wired 0402 led"). When fitting the LEDs:
  • I first carve out the space for each LED using a 0.6 mm drill bit. It is important that the LEDs do not sit "outside" of the car body, but are actually embedded into the car plastic body.
  • I drill two 0.3 mm diameter holes for the two wires.
  • The LEDs and wires are secured using one drop of white glue inside the body of the car.
0 Comments

Road safety accessories (1)

29/7/2020

0 Comments

 
The Round Cushion Drums and Barricade Chain Stand KY Blocks have been 3D printed locally. I modelled them taking these sites as reference:
  • ​www.askul.co.jp/p/H887257/
  • www.signmall.jp/item/11360002456.html
I have designed the 3D model using Autodesk Fusion 360
Picture
0 Comments

Construction of the tram terminal station (4)

18/7/2020

0 Comments

 
0 Comments

Construction of the tram terminal station (3)

12/7/2020

0 Comments

 
The design of the main building of the tram terminal station was clearly inspired by the Iwasehama station (岩瀬浜駅​, いわせはまえき), which is a town of the Toyama Port on the Sea of Japan and last station of the Toyama Chihō Railway Toyamakō Line (also called Portram). 
0 Comments

Construction of the tram terminal station (2)

3/7/2020

0 Comments

 
0 Comments

Construction of the tram terminal station (1)

29/6/2020

0 Comments

 
0 Comments

Yukari Marui Building Display first test

21/6/2020

0 Comments

 
​- TFT display is 320x240 (240x320 portrait) ILI9341
- I use fbtft_device to drive the display
- The video is a h.264 mp4 file played by mplayer
0 Comments

Tourist Info Display

21/6/2020

0 Comments

 
​Hardware components used:
* ESP32 (Lolin32) with 4BM Flash memory
* Tourist Information: 0.96" 80x160 RGB IPS display with ST7735 driver (only the top 80x80 pixels are used and visible)
  
  Connections:
  DISPLAY      ESP32
  --------------------
  GND            GND
  VCC             V3
  SCL             SCL       (SPI Clock)
  SDA            MOSI     (SPI Data (to slave))
  RES            GPIO4    (Reset)
  DC              GPIO2    (Data/Command)
  CS              SS/5      (Chip Select)
  BLK            GPIO15

Uploading files to the ESP32 flash:
Install ESP32 Filesystem Uploader in Arduino IDE
https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/
https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/

The size of the ESP32 SPIFFS partition can be set in the IDE as 1Mbyte or 3Mbytes.

Place the video/image files inside the sketch folder, in a folder called "Data".  Then upload all the files in the folder using the Arduino IDE "ESP32 Sketch Data Upload" option in the "Tools" menu.
​
The sketch loads
- an 80x80 pixel background image (back.jpeg) once at the beginning
- a sequence of up to one thousand 40x80 images (videoNNN.jpeg) stored in the built-in flash memory.
  
The videoNNN.jpeg files are built as follows:
- Scale and crop the source video to 40x80 (portrait) with Handbrake
- Extract the .jpeg files with ffmpeg:
    ./ffmpeg -i video.mp4 -s 40x80 -r 10 video%03d.jpeg
0 Comments

Tomytec Bus Automation (5)

21/6/2020

0 Comments

 
​Summary and status on June 21, 2020.
0 Comments

Greenmax 2594 Repeat Signals

7/6/2020

0 Comments

 
Received the new Greenmax 2594 (non working) Repeat Signals. They really look good!
0 Comments

Construction of the main street (4)

25/4/2020

0 Comments

 
0 Comments

Construction of the main street (3)

20/4/2020

0 Comments

 
Picture
0 Comments

Construction of the main street (2)

15/3/2020

0 Comments

 
Trying to fit 0402 LEDs into Kato 23-214 traffic lights. It works, but I am just going to install one LED (either green or red) in each signal.
Picture
0 Comments

Construction of the main street

14/3/2020

0 Comments

 
​Construction of the main street. So many small accessories 😅
Picture
Picture
0 Comments

Tomytec Bus Automation (4)

9/3/2020

0 Comments

 
​This is where the bus guide wire crosses the tram track:
Picture
0 Comments

Tomytec Bus Automation (3)

8/3/2020

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 🙂 
0 Comments

Tomytec Bus Automation (2)

2/2/2020

0 Comments

 
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:
Picture
Each bus block is a white rectangle. The block is highlighted
  • in red if there is a bus arriving or stopped inside
  • in yellow if the bus inside has stopped because of a traffic jam
  • in green if the bus is departing
For bus blocks that are bus stops, there is a timer that shows how long the bus will stop there.
The application makes sure that there is no collision. The video below shows the results of very the first test:
0 Comments

Tomytec Bus Automation

28/1/2020

0 Comments

 
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
  • Two bus lanes (one in each direction), with busses following each other and queuing at the bus stops and traffic lights.
  • Two car lanes, with all cars stopped because of the traffic.
  • The tram lane at the middle.
I have made significant progress in the past weeks and I am now able to
  • reliably detect the busses using hall sensors (placed just below the guiding wire)
  • stop the busses using electromagnets on the right side of the guide wire (the Tomytec busses detect the magnetic field and stop until it is switched off).
Under the bus lane, I will place “bus block” control units (I have built twenty of them so far) wherever I want the bus to (potentially) stop. This is what two bus blocks look like (seen from the bottom):
Picture
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):
0 Comments

Train speed measurement

27/10/2019

0 Comments

 
I used two infrared tracking sensor modules based on the TCRT5000 Reflective Optical Sensor to detect trains and measure their real speed. The sensor modules are "hidden" behind a concrete wall next to the track.
The sensors can be purchased from AliExpress (search for TCRT5000 module). They are connected to two digital input pins of an Arduino, itself connected to a small 128x32-pixel SSD1306-based OLED display.
The Arduino C code and more wiring information are available from my GitHub repository at:
https://github.com/madsing98/Yukari-Speed-Display
Picture
Picture
0 Comments
<<Previous
Forward>>

    Categories

    All
    Buildings
    DCC
    Electronics
    Kato
    Portram
    Rocrail
    Scenery
    Tomix
    Tomytec
    Tomytec Bus System

    Archives

    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    January 2021
    September 2020
    August 2020
    July 2020
    June 2020
    April 2020
    March 2020
    February 2020
    January 2020
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    October 2017
    July 2017
    November 2016
    October 2016
    August 2016
    March 2016
    September 2015

    RSS Feed

Powered by Create your own unique website with customizable templates.