- Home
- Learn Linux
- Learn Electronics
- Raspberry Pi
- Programming
- Projects
- LPI certification
- News & Reviews
The projects in this page are all based around maker projects involving model railways. This includes indoor model railways such as OO and HO, and larger outdoor model railways using G-Scale 45mm track.
This project is a bit different to the others in that it isn't just about computing and electronics. This is an ongoing project to build a G-Scale Model Railway in our garden. It's a project involving myself and my son, with some electronics, 3D printing as well as traditional woodworking and other crafts. I have previously created indoor model railways at OO scale, but this is my first go at larger outdoor model railways.
This is an introductory video showing you around my outdoor layout.
Please Subscribe and click the bell icon to be notified of my future videos.
I've automated my model railway layout using a Raspberry Pi with a motor controller. It's possible to run trains in either track using full automation (station start and stop), IoT (web based control) or traditional analog controller.
I have created a YouTube video series explaining the different aspects of controlling the model train. The first video is shown below. For the full series (as released) see the Model Railway Automation page. Alternatively go to YouTube Model Railway playlist.
The first aspect is getting track installed into the garden. We started with a basic model G-Scale set from LGB. It can with an oval of track with simple analogue controller. I wanted to take this further than a basic oval and have created bridges to take part of the track around the garden.
The garden is used for multiple purposes and I people to have to step over the track. Our garden is on a steep hill. The area where the main part of the garden railway is installed is reasonably level (compared with the rest of the garden), but is reached by going up some steps. Rather than having people step over the track I took the railway into a section of garden that is lower down and created new wooden stairs which are mounted over the top of the existing concrete steps. The track goes through the steps forming a tunnel. There is a similar arrangement at the top of the garden for moving into the next part of the garden where the garden sheds are located.
More details of the challenges we face and how we overcome them will be included in future.
In this project I've created 3D printed lineside signal lights for my G-scale model railway.
The lights can be controlled by a custom ATMEGA328p based circuit (like the Arduino UNO) which can be controlled by a Raspberry Pi. It can also be controlled by a Raspberry Pi Pico using the RP2040 micrcontroller.
I've also created a model railway station departure board. This uses an OLED display mounted into a 3D printed stand.
The departure time can be updated based on a time sequence, or it could be integrated into the automation.
I have been creating some items for the railway using a 3D printer. So far most of the 3D printing designs have been based around simple models (see Creating 3D printer models in blender), but we are now looking at the tools used to create our own designs to scale.
The first is a small building which includes a smoke generator to give the effect of smoke coming out of the chimney.
This is a Scout campsite model created in TinkerCAD. It includes a campfire with LEDs controlled using an Arduino.
I've also created other accessories including G-Scale traffic lights for my outdoor railway.
I've also added some adapters and other features designed for 3D printing.
For the latest updates please:
Subscribe to the PenguinTutor YouTube Channel
and
Follow @penguintutor on Twitter
Please view the copyright information regarding use of the circuits.