Week 18

Applications and Implications / Project Development

Planning, documenting and evaluating Fab Train as a complete final project that integrates design, fabrication, electronics, programming, IoT, system integration and packaging.

1. Checklist

2. Nueval Evaluation Mapping

This table maps the Fab Academy project development questions to the sections of this documentation. I organized the page this way so that each evaluation point can be reviewed clearly.

Nueval / Fab Academy question Where it is addressed Short answer
What will it do? Section 4 Fab Train moves on wooden rails, interacts with a smart station, communicates through WiFi and shows data in Blynk.
Who has done what beforehand? Section 5 I reviewed Adrián Torres' Fab Academy train project, educational train kits, STEM kits, IoT toys and dashboard-based monitoring systems.
What sources will you use? Section 6 I used Fab Academy documentation, GitLab, Blynk, XIAO ESP32-C6 references, educational toy references and component datasheets.
What will you design? Section 7 I designed rails, train, wagon, wheels, axles, PCBs, station, packaging and dashboard configuration.
What materials and components will be used? Section 8 The project uses MDF, PLA, XIAO ESP32-C6 boards, battery, motor, sensor, PCBs, LEDs, resistors, jumpers, vinyl and hardware.
Where will they come from? Section 9 The BOM identifies the source or origin of each material and component.
How much will they cost? Section 9 The BOM includes estimated unit costs and subtotals for the final prototype.
What parts and systems will be made? Section 10 The project includes rails, train, wagon, station, train PCB, station PCB, Blynk dashboard, packaging and final integration.
What processes will be used? Section 11 The project uses 2D/3D design, CNC machining, 3D printing, electronics design, PCB production, embedded programming, WiFi, Blynk and packaging.
What questions need to be answered? Section 12 The main technical questions were about movement, battery monitoring, station detection, WiFi communication, dashboard visualization and packaging.
How will it be evaluated? Section 13 The project is evaluated by testing movement, sensing, communication, dashboard data, packaging, repeatability and user interaction.
Uploaded summary slide and video clip Section 15 This page links to Week 20, where the final presentation.png and presentation.mp4 are documented.

3. Project Overview

My final project is called Fab Train. It is an interactive STEM train kit where a 3D printed train moves on CNC-machined wooden rails, communicates with a smart station through WiFi, controls motor and LED behavior, and sends data to a Blynk dashboard.

The project integrates several Fab Academy skills into one system: 2D and 3D design, CNC machining, 3D printing, electronics design, electronics production, embedded programming, input devices, output devices, networking, interface design, system integration and packaging.

The current version is documented as a completed final project. The train has already been tested on the wooden rail circuit. The project includes the train, wagon, rail system, smart station, electronics, dashboard and final packaging. The station detects the train using a Sharp distance sensor, updates data in Blynk and interacts with the train through WiFi.

General overview of the Fab Train final project
General overview of Fab Train as a complete educational and interactive system.

4. What Will It Do?

Fab Train is a modular train system designed for STEM learning. The user can assemble different rail configurations, place the train on the track, turn it on and observe how the train moves through the circuit.

The train includes an internal PCB with a XIAO ESP32-C6, motor control, LEDs and battery monitoring. The station includes another XIAO ESP32-C6, a Sharp distance sensor and LEDs. Both systems communicate through WiFi and their states are visualized in Blynk.

When the train reaches the station, the station detects the train using the distance sensor. The station updates the distance value in Blynk, changes LED states and sends a stop command. The train stops until the user presses the Blynk button again to resume movement.

The Blynk dashboard allows the user to view and control the system. It shows motor state, train LED state, station distance, station stop command, battery voltage, battery percentage and motor PWM speed. The motor speed can be adjusted from the dashboard.

5. Who Has Done What Beforehand?

Before developing Fab Train, I reviewed different types of existing projects and products related to educational trains, STEM kits, interactive toys and IoT dashboards. These references helped me understand what already exists and how my project could combine these ideas through digital fabrication.

Reference area Example / source What I learned Difference in Fab Train
Fab Academy train project Fab Train Model — Adrián Torres Adrián Torres developed a Fab Academy train-related project based on modular railway model elements, train detection and an automated level crossing. My Fab Train focuses on an educational STEM kit with CNC-machined wooden rails, a 3D printed train, a smart station, WiFi communication, Blynk dashboard monitoring and final packaging.
Interactive train toys BRIO Smart Tech Sound Interactive train systems can combine play, movement, sounds, lights and user interaction. Fab Train is digitally fabricated, documented openly and integrates custom PCBs, WiFi and dashboard visualization.
IoT dashboards Blynk IoT Platform Blynk allows connected devices to send data to a dashboard and receive control commands from widgets. Fab Train uses Blynk to visualize and control a physical educational train and station system.
Connected microcontrollers Seeed Studio XIAO ESP32-C6 Compact microcontrollers with WiFi can be used for small IoT projects with limited space. Fab Train uses two XIAO ESP32-C6 boards, one inside the train and one inside the station.
STEM education kits General educational robotics and maker kits Educational kits work best when users can build, test, modify and understand the system. Fab Train is a modular kit that combines physical assembly, electronics and dashboard interaction.
Wooden train systems Modular wooden toy rail systems Modular rail systems allow users to create different paths and layouts. Fab Train uses custom CNC-machined MDF rails designed and fabricated as part of the final project.

6. What Sources Will I Use?

The project uses different types of sources: Fab Academy documentation, component datasheets, software documentation, existing educational products and my own design and fabrication files.

Source Use in the project
Fab Academy documentation Used as the main framework to document weekly processes and final project development.
GitLab repository Used to host the documentation, source files, code and design files.
Component datasheets Used to review pinout, voltage limits, current requirements and connection rules.
Blynk documentation and platform Used to configure datastreams, dashboard widgets and IoT communication.
XIAO ESP32-C6 references Used to understand WiFi connectivity, pins and embedded programming requirements.
Educational train and STEM kit references Used as inspiration for the educational and interactive direction of the project.
My own weekly assignments Used as the technical base for CAD, CNC, 3D printing, electronics, programming, inputs, outputs, networking and interfaces.

7. What Will I Design?

For the final project, I designed the complete Fab Train system instead of buying a finished product. The project includes custom mechanical parts, custom rail geometry, custom electronics, custom station parts and custom packaging.

Designed and fabricated MDF rail system
Custom rail system designed in 2D and fabricated in MDF using CNC machining.

8. What Materials and Components Will Be Used?

The project uses materials for digital fabrication, electronic components, mechanical assembly components and packaging materials. The following table summarizes the main material groups used in the final project.

Category Material / component Quantity / used amount Use
Fabrication 3 mm MDF and 12 mm MDF Boards Packaging, support parts and CNC-machined wooden rail system.
3D printing PLA filament, 1.75 mm Approx. 440 g used Train body, wagon, wheels, axles and station components.
Electronics XIAO ESP32-C6, PCBs, resistors, capacitors, regulator and headers Several units Train and station control systems.
Power and motion 9 V battery, DC motor and L9110S H-bridge driver Several units Train power and movement.
Input and output Sharp distance sensor and LEDs Several units Station detection and visual feedback.
Mechanical assembly Magnets, M3 screws, nuts and jumpers Several units Assembly, connections and internal wiring.
Packaging Matte white adhesive vinyl 0.5 m Final packaging graphic finish.

9. Where Will They Come From and How Much Will They Cost?

To answer both the origin and cost questions clearly, I created an integrated Bill of Materials. The table includes the quantity, source, use in Fab Train, estimated unit cost and subtotal for each material or component.

The costs are based on real local prices when available. For small electronic components without an exact purchase price, I used a reasonable local electronics market estimate. Workshop consumables such as CNC end mills, sandpaper and general tools are not included because they are not part of the final kit.

Item Quantity / used amount Source / origin Use in Fab Train Unit or used cost (USD) Subtotal (USD)
3 mm MDF board, 1.22 m × 1.22 m 1 board Local material supplier / Fab Lab stock Packaging and support parts 8.00 8.00
12 mm MDF board, 1.22 m × 2.44 m 1 board Local material supplier / Fab Lab stock CNC-machined wooden rails 30.00 30.00
PLA filament, 1.75 mm Approx. 440 g used Fab Lab / local 3D printing supplier Train, wagon, wheels, axles and station parts 25.00 per kg 11.00
XIAO ESP32-C6 2 units Electronics supplier Main microcontrollers for train and station 17.00 34.00
9 V battery 1 unit Local electronics supplier Train power source 4.50 4.50
DC motor with dual shaft gearbox 1 unit Local electronics supplier Train movement 3.00 3.00
L9110S H-bridge motor driver 1 unit Local electronics supplier DC motor control 3.50 3.50
Sharp distance sensor 1 unit Local electronics supplier Train detection at the station 12.50 12.50
5 mm LEDs, red and green 4 units Local electronics supplier / Fab Lab stock Visual feedback for train and station 0.10 0.40
Resistors, through-hole and SMD Several units Local electronics supplier / Fab Lab stock LED protection and voltage dividers Estimated 0.50
Two-position switch 1 unit Local electronics supplier Train ON/OFF control 1.00 1.00
Female-female and female-male jumpers 16 total Local electronics supplier / Fab Lab stock Testing and internal wiring Estimated 1.60
FR4 single-sided PCB boards, 10 cm × 10 cm 2 units Electronics production inventory / supplier Train and station PCB fabrication 2.00 4.00
Male pin header strip, 40 pins 1 strip Local electronics supplier PCB and module connections 0.75 0.75
Female pin header strips, 40 pins 2 strips Local electronics supplier XIAO and module sockets 1.00 2.00
1117 5 V regulator 1 unit Local electronics supplier Voltage regulation 0.50 0.50
Capacitors and SMD LED Several units Local electronics supplier / Fab Lab stock PCB support components Estimated 1.20
Neodymium magnets, 8 mm × 2 mm 6 units Local supplier / maker inventory Magnetic coupling or assembly support 0.25 1.50
M3 screws and nuts 10 sets Local hardware supplier / Fab Lab stock Mechanical assembly 0.10 1.00
Matte white adhesive vinyl 0.5 m Local printing / signage supplier Final packaging graphic finish Estimated 3.00
Estimated total 124.95

The estimated total cost of the final prototype is approximately 124.95 USD. This value can change depending on local suppliers, available inventory, shipping costs and material waste.

10. What Parts and Systems Were Made?

Fab Train is made from several subsystems that were designed, fabricated and integrated into one final product.

System Parts made Function
Rail system Straights, curves and bifurcations in 12 mm MDF Creates the modular path for the train.
Train Locomotive body, wheels, axles and internal PCB Moves through the track and communicates with the system.
Wagon 3D printed wagon and wheels Complements the train as part of the educational kit.
Train electronics Custom PCB, XIAO ESP32-C6, motor driver, voltage divider, LEDs and power circuit Controls motor, LEDs and battery monitoring.
Station Station structure, sensor mount, LEDs and custom PCB Detects the train and sends stop/status information through WiFi.
Dashboard Blynk template, datastreams and widgets Visualizes train and station data and controls motor speed.
Packaging Box structure, Illustrator artwork and adhesive vinyl Turns the project into a finished educational product.
Train and wagon tested on the wooden track
Train and wagon tested on the CNC-machined wooden rail system.

11. What Processes Were Used?

The final project integrates additive, subtractive, electronic and digital processes. Each process was connected to a specific part of the system.

Process Tool / machine Application in Fab Train
2D design AutoCAD and Illustrator Rail geometry, packaging graphics and box design.
3D design Autodesk Inventor Train, wagon, wheels, axles and station components.
CNC machining CNC router and Aspire Vectric Fabrication of the MDF rail system.
3D printing Bambu Lab X1E Fabrication of the train, wagon and mechanical details.
Electronics design EasyEDA Train PCB and station PCB design.
Electronics production PCB milling / fabrication and soldering Fabrication and assembly of custom PCBs.
Embedded programming Arduino IDE Programming the train and station XIAO ESP32-C6 boards.
Input devices Sharp distance sensor and analog battery reading Train detection at the station and battery monitoring.
Output devices DC motor and LEDs Train movement and visual state feedback.
Networking WiFi communication Train and station interaction through connected microcontrollers.
Interface Blynk dashboard Visualization and control of the final system.
Packaging Laser cutting, Illustrator and adhesive vinyl Final product presentation and storage box.

12. What Questions Were Answered?

During development, the project answered several technical and design questions related to movement, electronics, sensing, communication and user experience.

Question Answer / result
Can the train move on CNC-machined MDF rails? Yes. The train was tested on the rail system and can move through the track.
Can the 3D printed train fit the rail geometry? Yes. Several prototypes were printed and adjusted to improve the fit with the rails.
Can the custom train PCB control motor and LEDs? Yes. The PCB controls motor behavior and LED states.
Can the battery be monitored safely? Yes. A voltage divider allows the battery voltage to be read safely by the XIAO ESP32-C6.
Can the station detect the train? Yes. The station uses a Sharp distance sensor to detect the arrival of the train.
Can the train and station communicate through WiFi? Yes. Both devices use WiFi and their data is visualized together in Blynk.
Can the user monitor the system from a dashboard? Yes. Blynk shows motor state, LEDs, distance, battery voltage, battery percentage and PWM speed.
Can the project be presented as a finished educational kit? Yes. The project includes packaging, modular rails, train, wagon, station, electronics and dashboard.

13. How Will It Be Evaluated?

The evaluation of Fab Train is based on functionality, integration, reliability and presentation as a finished product.

Evaluation criterion Expected result Status
Rail assembly The user can assemble the rail circuit in different configurations. Completed
Train movement The train moves correctly on the MDF rails. Completed
Motor control The train PCB controls the DC motor and motor state. Completed
Speed control The motor PWM speed can be adjusted from Blynk. Completed
Battery monitoring Blynk shows battery voltage and battery percentage. Completed
Station detection The station detects the train with the Sharp distance sensor. Completed
Train-station interaction The station sends a stop command and the train reacts to it. Completed
Dashboard visualization Blynk displays train and station information at the same time. Completed
Packaging The project is presented as a finished kit with a designed box and vinyl graphic. Completed
User interaction The user only needs to assemble the rails and turn the train on/off; internal electronics are protected. Completed

14. Blynk Dashboard and Data Flow

The interface was created using Blynk. I used the Blynk panel, widgets and datastreams to visualize and control the train and the station at the same time. The programming was done in the Arduino IDE.

The train and station communicate through WiFi and update their values in the Blynk dashboard. This makes the system easier to understand because the user can see what is happening in both devices from one interface.

Blynk dashboard for Fab Train
Blynk dashboard showing motor state, train LED state, station distance, stop command, battery voltage, battery percentage and motor PWM speed.
Virtual pin Datastream / widget Range Function
V0 Button ON / OFF Main control button to start or resume the train.
V1 Battery Percentage 0–100% Shows the estimated battery percentage.
V2 Battery Voltage 0–9 V Shows the train battery voltage.
V3 Motor State 0 / 1 Shows whether the motor is active or inactive.
V4 Train LED State 0 / 1 Shows the state of the train LEDs.
V5 Station Distance 0–80 cm Shows the distance detected by the station sensor.
V6 Station Stop Command 0 / 1 Shows when the station sends a stop command to the train.
V7 Red LED State 0 / 1 Shows the red LED state of the station.
V8 Motor PWM Speed 0–255 Controls the train motor speed. Default value: 100.
Blynk datastream configuration for Fab Train
Blynk datastream configuration used to connect the train and station values to dashboard widgets.

15. Presentation Slide and Video Check

As part of the project development requirement, I prepared and verified the final project presentation files: presentation.png and presentation.mp4. These files are used for the final presentation and are documented in the Final Project Requirements page.

The final slide summarizes the project name, student name, Fab Lab, project image, assignments used, main features and a short description. The video shows the conception, construction and operation of Fab Train.

I also checked that these files are visible from the final project presentation documentation and that the file names match the required convention.

16. Final Project Requirements Mapping

The final project integrates the range of Fab Academy units covered during the program. This table explains how each major final project requirement is included in Fab Train.

Requirement Implementation in Fab Train
2D design Rail geometry, packaging graphics, box design and fabrication drawings.
3D design Train body, wagon, wheels, axles and station parts designed in 3D.
Additive fabrication 3D printed train, wagon, wheels, axles and station components.
Subtractive fabrication CNC-machined MDF rails and fabricated packaging structure.
Electronics design Custom train PCB and custom station PCB designed for the project.
Electronics production PCBs fabricated and soldered with through-hole and SMD components.
Embedded programming Train and station programmed in Arduino IDE using XIAO ESP32-C6 boards.
Input devices Sharp distance sensor and analog battery voltage reading.
Output devices DC motor, LEDs and dashboard state indicators.
Networking and communication WiFi communication between train, station and Blynk dashboard.
Interface and application programming Blynk dashboard with widgets and datastreams.
System integration Rails, train, station, electronics, dashboard and packaging work as a complete system.
Packaging Final box design with adhesive vinyl artwork for a finished product appearance.
Final packaging for Fab Train
Final packaging designed to store and present the project as a complete educational kit.

17. Current Project Status

Fab Train is documented as a completed final project. The rail system, train, wagon, PCBs, station, WiFi communication, Blynk dashboard and packaging are part of the final integrated system.

The user can assemble the rail system according to the desired path, place the train on the rails, turn it on and monitor the system using Blynk. The internal electronics are protected and are not intended to be handled by children during normal use. The interaction is simple: the kit is assembled, the train is powered on, and the dashboard displays the state of the system.

The station currently works with an external 5 V power source connected to the XIAO 5 V pin to power the circuit. A future version could replace this with a rechargeable battery or a dedicated AC/DC power supply with the required voltage regulation. The train uses a 9 V battery, but a future improvement could be to replace it with a rechargeable battery system and include an integrated charging method.

18. Future Improvements

Although the project is complete, there are several possible improvements for future versions:

19. Downloadable Files

The following files are included so the project can be studied, reproduced or modified. The files are organized by code, 3D printed parts, packaging, Gerber files and laser cut designs.

20. Reflection