Final Project

Fab Train

Interactive STEM Train Kit with Modular Wooden Rails, Smart Station, Embedded Control and Real-Time Dashboard

1. Final Project Checklist

2. Project Overview

Fab Train is an interactive STEM train kit that combines digital fabrication, electronics, embedded programming, wireless communication and interface design. The system includes modular wooden rails, a 3D printed train, a wagon, a smart station, custom electronics, WiFi communication and a real-time dashboard made with Blynk.

The objective of the project is to create a demonstrative and educational kit where the user can assemble a rail circuit, place the train and the station, start the system from a dashboard, and observe how the train interacts with the station. When the station detects the train using a Sharp distance sensor, it sends a stop command. The train stops and waits until the user presses the Blynk button again to continue.

Fab Train was designed as a possible STEM learning platform. It can be used to explain modular design, digital fabrication, electronics, sensors, actuators, dashboards, IoT communication and system integration in a hands-on way.

Fab Train final project overview
Final overview of Fab Train as an interactive STEM train kit.

3. What Does It Do?

Fab Train works as a modular train kit. The user can build a rail circuit using CNC-machined MDF rail pieces, place the train and wagon on the track, connect the smart station, and control the system from a Blynk dashboard.

The train contains a XIAO ESP32-C6, a motor driver, a DC motor, LEDs, a battery voltage reading circuit and a battery supply. The station contains another XIAO ESP32-C6, a Sharp distance sensor and LEDs. Both systems communicate through WiFi using the Blynk platform.

4. Final Slide and Video

The final project slide and video are included as required for the final presentation. The slide summarizes the project, the student information, the Fab Lab, the assignments used, and the main system features. The video presents the final project concept, fabrication, assembly and operation.

Fab Train final presentation slide
Final project slide. File name: presentation.png.
Final project video. File name: presentation.mp4.
Open presentation.png Open presentation.mp4

Image source: The image presentation.png was generated with an AI image generation tool.

Final Slide Generation Workflow

For the final project slide, I created a horizontal summary image with the required Fab Academy presentation format. The slide was prepared at 1920 × 1080 px in a 16:9 aspect ratio, and it was exported as presentation.png.

The slide was designed to communicate the complete Fab Train system in one image. It includes the project name, my name, Fab Academy 2026, ZOI Lab identity, the final packaging, train, wagon, station, rails, dashboard and the main assignments used to develop the project.

Prompt — Final project slide

Create a professional high-impact horizontal 16:9 final presentation slide for a Fab Academy 2026 final project called “FAB TRAIN”. The slide must be exactly 1920 × 1080 px. Use a clean white background with a premium educational product style. Show the complete interactive STEM train kit as the central focus: a yellow and orange 3D printed train with wagon on modular wooden rails, a smart station, a real-time IoT dashboard, and the final packaging box. Include the project title “FAB TRAIN”, subtitle “Interactive STEM Train Kit”, tagline “Build • Learn • Connect”, student name “Diego Zhindon”, Fab Academy 2026, and ZOI Lab logo. Add a section titled “Assignments Used” listing Week 02 Computer-Aided Design, Week 03 Computer-Controlled Cutting, Week 04 Embedded Programming, Week 05 3D Scanning and Printing, Week 06 Electronics Design, Week 07 Computer-Controlled Machining, Week 08 Electronics Production, Week 09 Input Devices, Week 10 Output Devices, Week 11 Networking and Communications, and Week 15 Interface and Application Programming. Add small feature icons for STEM learning, modular and expandable rails, real-time connectivity, hands-on building, smart station and electronics, and dashboard monitoring. The composition should look polished, modern, readable, visually balanced, high resolution, professional, and suitable for a Fab Academy final project presentation.

After generating the slide, I verified that the final image matched the required horizontal format and used it as the final presentation.png file.

Video source: The video presentation.mp4 was generated with an AI video generation tool to communicate the general concept of the final project.

Video Production Workflow

For the final project video, I used a combination of my own real images and real footage of the Fab Train packaging, assembly and operation. The main video was edited in FlexClip, where I organized the sequence, transitions, timing and final export.

To improve the opening part of the video, I also used Gemini to generate two short cinematic video extracts based on real reference images and videos of my packaging. These generated clips were used only as support material for the initial packaging presentation, while the rest of the video uses my own real project images and functional test footage.

The first generated extract shows the Fab Train box as a product-style packaging shot. The second generated extract shows the packaging being opened and revealing the internal components. After these opening clips, the video continues with real footage of the project operation, including the train, rails, station and dashboard.

Prompt 1 — Packaging cinematic shot

Cinematic close-up of the specific 'FAB TRAIN' cardboard toy packaging box from image_66.png. Resting on a premium dark wood surface under warm, inviting studio lighting. Highly detailed, clean design, shallow depth of field, 4k. The camera does a slow, smooth panning shot

Prompt 2 — Packaging opening shot

A child's hands carefully opening the lid of the 'FAB TRAIN' box from image_66.png. Reveal the organized interior compartments holding the yellow 3D-printed train, wagon, and station components. Bright commercial lighting, extreme detail, photorealistic, 8k.

This workflow allowed me to create a more professional introduction for the final video while still keeping the technical content based on my real fabricated prototype, real packaging and real system operation.

5. Who Has Done What Beforehand?

Educational train kits, wooden rail systems, STEM toys and IoT learning platforms already exist in different forms. Traditional wooden train toys are commonly used to teach assembly, spatial reasoning and creativity. Other STEM kits use sensors, motors and microcontrollers to teach programming and electronics.

Fab Train combines ideas from these areas, but adapts them to the Fab Academy workflow. The project is not only a purchased kit; it is a digitally fabricated system where the rails, train parts, station, electronics, dashboard and packaging were designed and developed as part of the final project process.

The difference is that Fab Train connects traditional hands-on play with digital fabrication and IoT monitoring. It becomes both a physical kit and a connected prototype that can be expanded for future STEM education activities.

6. What Did I Design?

The project required the design of several mechanical, electronic and visual elements. The final design was developed progressively through the weekly assignments.

Rail design and fabrication process
Design and fabrication process of the modular rail system.

7. Rail System

The rail system was designed in 2D using AutoCAD. The objective was to create a modular wooden rail set that could be assembled in different configurations. I designed straight rails in different lengths, curves at different angles, and bifurcation pieces for more flexible layouts.

The rails were fabricated using CNC machining on 12 mm MDF. The internal channels for the train wheels were machined with an end mill, and the external profile was cut through the complete material thickness. After machining, the rails were removed, cleaned and sanded to improve the final finish and fit.

Final rail system with Fab Train
Final rail system assembled with train, station and packaging.

8. Train and Wagon

The train and wagon were designed in 3D and fabricated using 3D printing. The train body was designed to contain the main electronics, motor, wiring, LEDs and power system. The wagon was designed as an additional modular part that follows the train on the rail circuit.

Several prototypes and dimensional tests were necessary to improve the fit between the wheels, the rail channel and the train body. This process demonstrated the importance of iterative 3D printing for mechanical validation.

3D printed train and wagon on rails
3D printed train and wagon tested on the modular MDF rail system.

9. Electronics

Fab Train uses two XIAO ESP32-C6 boards. One controls the train and the other controls the station. The train PCB includes the microcontroller, motor control, LEDs, battery voltage reading and power regulation. The station PCB includes the microcontroller, Sharp distance sensor connection, LEDs and external 5 V power input.

The PCB design process was developed in EasyEDA. The boards were fabricated in FR4 using CNC milling and then soldered with through-hole and SMD components. During testing, continuity and voltage levels were checked to avoid connection problems and to protect the XIAO inputs.

10. Inputs and Outputs

The main input device is the Sharp distance sensor in the station. It is used to detect when the train reaches the station. The train also reads the battery voltage using an analog input and a voltage divider, allowing the dashboard to show the battery condition.

The main output devices are the DC motor and the LEDs. The DC motor moves the train, while the LEDs provide visual feedback for the system states. These outputs are also represented in the Blynk dashboard.

Subsystem Input / Output Function
Station Sharp distance sensor Detects train arrival at the station.
Train Battery voltage reading Monitors battery voltage and percentage.
Train DC motor Moves the train through the rail circuit.
Train and station LEDs Show visual status of the system.

11. Networking and Dashboard

The train and station communicate with the Blynk dashboard through WiFi. The dashboard was created using Blynk widgets and virtual pins. It allows the user to start or resume the train, control the PWM motor speed, and monitor the main variables of the system.

The dashboard includes widgets for button control, motor state, train LED state, station stop command, station distance, motor PWM speed, battery voltage and battery percentage.

Fab Train Blynk dashboard
Blynk dashboard used to monitor and control Fab Train in real time.

12. System Integration

System integration was the most important part of the final project because Fab Train had to work as one complete system. The mechanical rail system, the 3D printed train, the station, the custom electronics, the embedded code, the dashboard and the packaging all had to be coordinated.

The final integrated behavior is a loop. The user starts the train from Blynk. The train moves through the rail circuit. When it reaches the station, the Sharp sensor detects the train and sends a stop command. The train stops, and when the user presses the button again, the train resumes movement and the system is ready for the next cycle.

A latch logic was added to the station detection. This was necessary because the train can pass quickly through the sensor zone. With the latch, the station stores the detection event and keeps the stop command active until the user starts the train again.

Fab Train system integration diagram
System integration diagram showing the connection between train, station, WiFi communication and dashboard.

13. Packaging

The packaging was designed to present Fab Train as a complete educational kit. The box stores the train, wagon, station, rails and accessories. The final box dimensions are approximately 50 cm × 31 cm × 10 cm.

The packaging was fabricated using MDF and covered with adhesive vinyl on the visible surfaces. The graphic design communicates the identity of the project, the kit contents and the main learning features.

Fab Train packaging
Final packaging with the Fab Train components organized as a complete kit.

14. Materials and Bill of Materials

The project uses digital fabrication materials, electronic components, mechanical parts and packaging materials. The detailed BOM and cost analysis are documented in Week 18.

Category Main items Use
Fabrication materials MDF 3 mm, MDF 12 mm, PLA filament and adhesive vinyl Rails, train, station and packaging.
Electronics XIAO ESP32-C6, FR4 boards, resistors, capacitors, regulator, pin headers Train and station control boards.
Motion DC motor with gearbox and L9110S motor driver Train movement.
Sensing Sharp distance sensor and battery voltage divider Station detection and battery monitoring.
Assembly Magnets, M3 screws, nuts and jumpers Mechanical and electronic assembly.

The estimated total cost of the final prototype was approximately 124.95 USD, based on the detailed BOM documented in Week 18.

15. Original Design Files

The original design files are included in a downloadable archive. The file package includes 2D design files, 3D printed parts, Arduino code, PCB files, packaging files and other final project resources.

16. What Worked and What Did Not?

Aspect Result Comment
Rail system Worked The MDF rails were successfully machined and assembled.
Train movement Worked The train moved on the wooden rails with PWM motor control.
Train and wagon 3D prints Worked The 3D printed parts were adjusted to fit the rail system.
Station detection Worked after calibration The Sharp sensor detected the train in the station range.
Stop command Worked after logic adjustment A latch was needed so the train could stop even if it passed quickly.
Blynk dashboard Worked The dashboard displayed train and station data in real time.
Battery Worked with limitations The 9 V battery worked, but a rechargeable battery with better current capacity would improve reliability.
Packaging Worked The box stores and presents the project as a complete kit.

17. Questions and Future Development

The final prototype works as a demonstrative educational system, but there are still opportunities for improvement and future development.

18. License and Dissemination

Fab Train is documented openly through the Fab Academy website and GitLab. The intention is to share the design, fabrication process, code and project development so that students, makers and educators can study it, reproduce it or adapt it for educational purposes.

For the documentation, I use a Creative Commons Attribution-NonCommercial approach. The project can be shared and adapted with attribution, but it is not intended for direct commercial use without permission.

19. Acknowledgements

This project was developed as part of Fab Academy 2026 at ZOI Lab. I acknowledge the support of the local instructors, classmates and Fab Lab community during the design, fabrication, electronics and integration process.

I also acknowledge the use of Arduino IDE, Blynk, EasyEDA, AutoCAD, Inventor, CNC machining workflows, 3D printing tools and the open documentation culture of Fab Academy.

20. Final Reflection