<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Loco.Engineering | Railway Modelling | Blog]]></title><description><![CDATA[ How to make railway layouts more interactiveThoughts, stories and ideas.]]></description><link>https://loco.engineering/blog/</link><image><url>https://loco.engineering/blog/favicon.png</url><title>Loco.Engineering | Railway Modelling | Blog</title><link>https://loco.engineering/blog/</link></image><generator>Ghost 5.80</generator><lastBuildDate>Tue, 10 Feb 2026 17:55:45 GMT</lastBuildDate><atom:link href="https://loco.engineering/blog/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Hot Wheels RC Conversion Kit, v 1.1]]></title><description><![CDATA[<p>After a few months of development, we are excited to introduce our improved <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/hot-wheels-rc-conversion-kit?ref=loco.engineering" rel="noreferrer">Hot Wheels RC</a> conversion kit. If you haven&apos;t heard about the Turbo64 conversion kit before, it&apos;s a DIY kit containing everything you need to convert Hot Wheels and other 1/64 scale diecast</p>]]></description><link>https://loco.engineering/blog/hot-wheels-rc-conversion-kit-v-1-1/</link><guid isPermaLink="false">67810afc0bd81e0001f4e36c</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Wed, 08 Jan 2025 13:00:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-v.1.1.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-v.1.1.jpg" alt="Hot Wheels RC Conversion Kit, v 1.1"><p>After a few months of development, we are excited to introduce our improved <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/hot-wheels-rc-conversion-kit?ref=loco.engineering" rel="noreferrer">Hot Wheels RC</a> conversion kit. If you haven&apos;t heard about the Turbo64 conversion kit before, it&apos;s a DIY kit containing everything you need to convert Hot Wheels and other 1/64 scale diecast cars into remote control cars, excluding the tools required to &quot;open&quot; Hot Wheels (or remove the bottom of the cars). The kit includes a chassis, small components like bearings and screws, motors, electronics, and even parts to build a remote controller with two joysticks. The firmware is open source, allowing you to modify it to add new features.</p><figure class="kg-card kg-video-card kg-width-regular" data-kg-thumbnail="https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit-v.1.1_thumb.jpg" data-kg-custom-thumbnail>
            <div class="kg-video-container">
                <video src="https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit-v.1.1.mp4" poster="https://img.spacergif.org/v1/720x1280/0a/spacer.png" width="720" height="1280" playsinline preload="metadata" style="background: transparent url(&apos;https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit-v.1.1_thumb.jpg&apos;) 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:08</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1&#xD7;</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"/>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            
        </figure><p>Our electronics are designed in-house, and we confidently state that it&#x2019;s the best RC control board for small scales (up to 1/32) available on the market. It features two DC motor drivers, a battery management system, an audio amplifier (just connect a speaker to play sounds from your Hot Wheels), a gyroscope for enhanced drifting control, servo motor controllers, WiFi/BLE connectivity, and open-source firmware. While this sounds impressive, we continue to add new features each month. Here&#x2019;s what we&#x2019;ve introduced in the last month:</p><ul><li><strong>New Gyroscope Logic</strong>: The gyroscope improves control during drifting. Previously challenging with small cars, our RC control board integrates it on the same circuit as the motor driver, servo controller, and RF receiver. All gyroscope settings, including sensitivity, can be updated via a web browser.</li><li><strong>High-Frequency DC Motor Control</strong>: This enhancement results in smoother operation and quieter performance.</li><li><strong>Adaptive Side Holders</strong>: The chassis now includes adaptive side holders for easier mounting of Hot Wheels bodies.</li><li><strong>Low Profile Servo Arm</strong>: The servo arm is only 4mm high, making it suitable for Hot Wheels with limited space.</li><li><strong>LED Connectivity</strong>: You can now connect LEDs to illuminate your RC car.</li><li><strong>New Web App</strong>: A web application has been developed to update car settings.</li></ul><h3 id="how-to-convert-hot-wheels-164-scale-cars-into-an-rc-car">How to Convert Hot Wheels / 1:64 Scale Cars into an RC Car</h3><ol><li><strong>Select a Car</strong>: Choose a car you wish to convert; it can be a Hot Wheels or another 1/64 scale model.</li><li><strong>Order the Kit</strong>: Purchase the Hot Wheels RC conversion kit from our online store.</li><li><strong>Prepare Tools</strong>: Gather a power drill with a 5mm bit (to &quot;open&quot; Hot Wheels cars) and a Dremel tool.</li><li><strong>Remove the Bottom</strong>: Carefully detach the bottom of the car.</li><li><strong>Assemble the Kit</strong>: If you live outside Europe, order a Li-Po battery (80-200mAh depending on your car size). Soldering is not required; all electronics come with pre-soldered wires and connectors.</li><li><strong>Install the Kit</strong>: Fit the assembled kit into the car body.</li><li><strong>Assemble the Remote Control</strong>: Put together the remote control unit.</li><li><strong>Enjoy Racing</strong>: Play and race with friends, family, or enjoy solo sessions.</li></ol><p>The full guide can be found on our website.</p><h3 id="where-to-buy">Where to Buy</h3><p>You can order Turbo64 Hot Wheels RC conversion kits exclusively at <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/hot-wheels-rc-conversion-kit?ref=loco.engineering" rel="noreferrer">our online shop</a>.</p>]]></content:encoded></item><item><title><![CDATA[Building an RC Car with a Custom Remote Control, Light, and Sound]]></title><description><![CDATA[<p>In this guide, I&#x2019;ll show you which electronics you need to build an RC car featuring a servo motor (for steering), a DC motor (to move the car forward and backward), lights, and sound. If you enjoy programming, you can customize the firmware (based on Arduino and ESP32XX</p>]]></description><link>https://loco.engineering/blog/rc-car-hot-wheels-with-custom-remote-and-light/</link><guid isPermaLink="false">676f01960bd81e0001f4e0f3</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Thu, 26 Dec 2024 21:20:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/12/hot-wheels-rc-conversion-kit.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/12/hot-wheels-rc-conversion-kit.jpg" alt="Building an RC Car with a Custom Remote Control, Light, and Sound"><p>In this guide, I&#x2019;ll show you which electronics you need to build an RC car featuring a servo motor (for steering), a DC motor (to move the car forward and backward), lights, and sound. If you enjoy programming, you can customize the firmware (based on Arduino and ESP32XX SOCs). However, if you don&#x2019;t know how to program, you can use <a href="https://loco.engineering/pl/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">Loco.Engineering circuits</a> (or modules) with pre-built firmware.</p><h3 id="electronics-required-for-the-rc-car">Electronics Required for the RC Car:</h3><ol><li><strong>Servo Motor</strong><br>Used to turn the front wheels left or right. If space is limited, you can replace the servo motor with a DC motor and potentiometer.</li><li><strong>Brushed DC Motor</strong><br>Powers the movement of the car forward and backward.</li><li><strong>Control Circuit or Board</strong><br>Receives messages from a mobile device or computer over WiFi, or from a custom remote control.<ul><li><strong>Recommended:</strong> Use the <a href="https://loco.engineering/pl/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">Loco.Engineering RC car module</a>.</li><li><strong>Alternative:</strong> Build your own control board using an ESP32S3/C3 module, a DC motor driver, a battery controller, and an audio amplifier (if sound functionality is desired).</li></ul></li><li><strong>Battery (Li-Poly/Li-Ion, 3.6V)</strong><br>The capacity depends on your car&apos;s scale. For example, 100&#x2013;150 mAh works well for 1:64 scale cars (e.g., Hot Wheels).</li><li><strong>(Optional) Joystick Modules and an ESP32S3/C3 Development Module</strong><br>These are for building a custom remote control. You can also control the car directly from mobile devices or a computer over WiFi.</li></ol><hr><h3 id="connections">Connections</h3><h4 id="locoengineering-rc-board-outputs"><strong>Loco.Engineering RC Board Outputs</strong></h4><p>The Loco RC board includes all the necessary outputs to connect a servo motor, DC motor, lights, and sound. Below is a guide to wiring each component.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/remote-control-car-hotwheels-board-schematic.jpg" class="kg-image" alt="Building an RC Car with a Custom Remote Control, Light, and Sound" loading="lazy" width="1280" height="1156" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/remote-control-car-hotwheels-board-schematic.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/remote-control-car-hotwheels-board-schematic.jpg 1000w, https://loco.engineering/blog/content/images/2024/12/remote-control-car-hotwheels-board-schematic.jpg 1280w" sizes="(min-width: 720px) 720px"></figure><p>If you use a custom RC board, refer to the board&apos;s schematic.</p><h4 id="connecting-a-servo-motor"><strong>Connecting a Servo Motor</strong></h4><p>Servo motors are controlled with PWM and require 5V power.</p><ul><li><strong>Orange Wire (servo):</strong> Connect to IO21 (RC car board).</li><li><strong>Red Wire (servo):</strong> Connect to 5V (RC car board).</li><li><strong>Black Wire (servo):</strong> Connect to GND (RC car board).</li></ul><h4 id="connecting-a-dc-motor"><strong>Connecting a DC Motor</strong></h4><p>To control a brushed DC motor, use the built-in DC motor driver on the Loco RC board.</p><ul><li><strong>DC Motor Wire A:</strong> Connect to Motor #1 outputs (any output).</li><li><strong>DC Motor Wire B:</strong> Connect to Motor #1 outputs (another output).</li></ul><h4 id="connecting-a-battery"><strong>Connecting a Battery</strong></h4><p>To use a battery, you&#x2019;ll need a battery controller for charging. The Loco module includes a battery controller for 3.6V batteries.</p><ul><li><strong>Black Wire (battery):</strong> Connect to any GND (RC car board).</li><li><strong>Red Wire (battery):</strong> Connect to BAT+ (RC car board).</li></ul><h4 id="optional-connecting-leds-lights"><strong>(Optional) Connecting LEDs (Lights)</strong></h4><p>You can connect LEDs to any IO pin on the RC car module. Each IO pin provides around 2.75V and up to 40mA. If required, solder a resistor to the LED circuit.</p><ul><li><strong>&quot;+&quot; (LED):</strong> Connect to any IO pin (RC car board).</li><li><strong>GND (LED):</strong> Connect to any GND (RC car board).</li></ul><h4 id="optional-connecting-a-speaker"><strong>(Optional) Connecting a Speaker</strong></h4><p>You can connect a small speaker to the Loco RC board to play sounds.</p><ul><li><strong>Speaker Wires:</strong> Solder directly to the Speaker outputs on the RC board.</li></ul><hr><h3 id="firmware">Firmware</h3><p>All Loco.Engineering RC boards come pre-loaded with firmware that you can modify to add new features. If you build your own control board you should upload the firmware yourself:</p><ul><li>Source code: <a href="https://github.com/loco-engineering/arduino-rc-car?ref=loco.engineering">https://github.com/loco-engineering/arduino-rc-car</a>.</li><li>For questions: Email <a href="mailto:hey@loco.engineering"><strong>hey@loco.engineering</strong></a>.</li></ul><hr><h3 id="controlling-the-car">Controlling the Car</h3><p>You have two options to control your car:</p><ol><li><strong>Web Browser Control:</strong><ul><li>Power the car and connect to the WiFi network &quot;loco-rc&quot; (default password: &quot;loco.eng&quot;) from a mobile device.computer.</li><li>Open http://rc.local in a browser.</li></ul></li><li><strong>Custom Remote Control:</strong><ul><li>Build a remote control using a breadboard, two joysticks, and an ESP32S3/C3 dev board.</li><li>Upload the firmware for the remote from <a href="https://github.com/loco-engineering/arduino-rc-car?ref=loco.engineering">https://github.com/loco-engineering/arduino-rc-car</a>.</li></ul></li></ol><hr><h3 id="what%E2%80%99s-next">What&#x2019;s Next?</h3><p>If you&#x2019;ve connected everything correctly, you&#x2019;ll have a functional RC car with steering, sound, and lights. This setup works for car scales 1:87, 1:64, 1:43, and 1:32, giving you flexibility in your builds.</p><p>For further questions or support, feel free to contact <a href="mailto:hey@loco.engineering"><strong>hey@loco.engineering</strong></a>.</p>]]></content:encoded></item><item><title><![CDATA[How to Build a Fully Automated Level Crossing for Your Model Railroad Layout with Lighting and Sound  | Part 1]]></title><description><![CDATA[<p>In this tutorial, I&#x2019;ll show you how to create a fully automated level crossing for a model railroad layout or diorama. This setup works even without DCC and is compatible with small scales like N, TT, and H0. We&#x2019;ll explore four different ways to control the</p>]]></description><link>https://loco.engineering/blog/build-a-level-crossing-for-h0-model-railroading/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de14</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Mon, 23 Dec 2024 22:09:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/12/model-railroad-automated-level-crossing-diagram-1.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/12/model-railroad-automated-level-crossing-diagram-1.jpg" alt="How to Build a Fully Automated Level Crossing for Your Model Railroad Layout with Lighting and Sound  | Part 1"><p>In this tutorial, I&#x2019;ll show you how to create a fully automated level crossing for a model railroad layout or diorama. This setup works even without DCC and is compatible with small scales like N, TT, and H0. We&#x2019;ll explore four different ways to control the level crossing:</p><ol><li><strong>Using DCC</strong> (requires a DCC command station)</li><li><strong>Via a web browser</strong></li><li><strong>By pressing a button</strong> mounted somewhere on your layout or module</li><li><strong>Fully automated</strong>: The level crossing activates when a train passes a specific point and deactivates when the train clears another point.</li></ol><hr><h3 id="what-you%E2%80%99ll-need">What You&#x2019;ll Need</h3><ol><li><strong>Two level crossing signals</strong><br>If you don&#x2019;t have signals yet, you can use <a href="https://loco.engineering/products?ref=loco.engineering" rel="noreferrer">Loco.Engineering signals</a>. Both common &quot;-&quot; and common &quot;+&quot; configurations will work, but this tutorial assumes signals with a common &quot;+&quot; as they are the most common. Signals with 1, 2, or 3 LEDs are compatible.</li><li><strong>A speaker (optional)</strong><br>Adding sound will enhance the realism of your layout.</li><li><strong>A decoder</strong><br>Use a Loco.Engineering accessory decoder or build your own decoder based on the ESP32S3 SoC. (You can find instructions for creating your own DCC accessory decoder <a href="https://loco.engineering/blog/dcc-arduino-decoder-with-esp32/">here</a>).</li><li><strong>Track</strong><br>Any brand will work (e.g., M&#xE4;rklin, Kato, Peco, Roco, etc.).</li><li><strong>NFC readers and NFC tags</strong><br>These can be ordered from the <a href="https://loco.engineering/pl/products/arduino-modules?ref=loco.engineering">Loco.Engineering store</a>. Alternatively, you can use other sensors capable of sending interrupts, like Hall sensors with magnets.<br><em>Note</em>: If you only want to control the level crossing with DCC or a button and don&#x2019;t need automation, NFC readers and tags are unnecessary.</li><li><strong>Materials for housing electronics</strong><br>Use cardboard or other materials to construct a box for electronics and to mount the signals.</li></ol><hr><h3 id="estimated-costs">Estimated Costs</h3><p>The total estimated cost is around 80 EUR/85 USD, including signals, a decoder, and sensors (assuming you use Loco.Engineering components).</p><hr><h3 id="tutorial-overview">Tutorial Overview</h3><p>This tutorial is divided into three parts:</p><ol><li><strong>Part 1</strong>: Create a level crossing that can be controlled via a web browser or DCC.</li><li><strong>Part 2</strong>: Add a button for manual control.</li><li><strong>Part 3</strong>: Implement automation using NFC readers or other sensors.</li></ol><p>In this first part, we&#x2019;ll focus on the web browser and DCC control. By the end, your level crossing will be functional with sound (if a speaker is used) like on the video below:</p><figure class="kg-card kg-video-card kg-width-regular" data-kg-thumbnail="https://loco.engineering/blog/content/media/2024/12/model-railroad-automated-level-crossing-1_thumb.jpg" data-kg-custom-thumbnail>
            <div class="kg-video-container">
                <video src="https://loco.engineering/blog/content/media/2024/12/model-railroad-automated-level-crossing-1.mp4" poster="https://img.spacergif.org/v1/848x464/0a/spacer.png" width="848" height="464" playsinline preload="metadata" style="background: transparent url(&apos;https://loco.engineering/blog/content/media/2024/12/model-railroad-automated-level-crossing-1_thumb.jpg&apos;) 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:10</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1&#xD7;</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"/>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            
        </figure><hr><h3 id="connections">Connections</h3><ol><li><strong>Connect the Signal Wires</strong><br>Signals I use for this tutorial have &quot;+&quot; and &quot;-&quot; wires for each LED. However, if your signals use a common &quot;+&quot; or &quot;-&quot;, the setup will still work. Connect &quot;-&quot; of your signals to outputs 00-15 (in my case it will be 00, 04, 11, 15). &quot;+&quot; from LEDs should be connected to any &quot;+&quot; on a decoder.</li><li><strong>Optional Speaker</strong><br>To enhance realism, connect a speaker to the decoder&#x2019;s &quot;S+&quot; and &quot;S-&quot; terminals. Speaker polarity doesn&#x2019;t matter.</li></ol><p>Your connections should resemble the photo below:<br></p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/model-railroad-automated-level-crossing-diagram.jpg" class="kg-image" alt="How to Build a Fully Automated Level Crossing for Your Model Railroad Layout with Lighting and Sound  | Part 1" loading="lazy" width="1280" height="960" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/model-railroad-automated-level-crossing-diagram.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/model-railroad-automated-level-crossing-diagram.jpg 1000w, https://loco.engineering/blog/content/images/2024/12/model-railroad-automated-level-crossing-diagram.jpg 1280w" sizes="(min-width: 720px) 720px"></figure><hr><h3 id="dcc-decoder-settings">DCC Decoder Settings</h3><ol><li><strong>Power the Decoder</strong><br>Use a USB-C cable or supply DCC/DC/AC power (up to 20V). A green status LED should light up.</li><li><strong>Access the Decoder&#x2019;s Interface</strong><ul><li>Open the Wi-Fi settings on your device and connect to the &quot;loco-....&quot; network. The default password is &quot;loco.eng&quot;.</li><li>In a web browser, navigate to <a href="http://loco.local/?ref=loco.engineering">http://loco.local</a>.</li></ul></li><li><strong>Configure the Signal LEDs</strong><ul><li>Click on &quot;Add Status&quot; and configure the settings for the signal LEDs.</li><li>For this example, I used turnout DCC packets with address 5:<ul><li>&quot;On&quot; is triggered by a DCC packet with direction &quot;1&quot;.</li><li>&quot;Off&quot; is triggered by a DCC packet with direction &quot;0&quot;.</li></ul></li><li>You can use any DCC address and you can use an signal aspect DCC packet instead of turnout DCC packets.<br><br>My settings are shown below:</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/Screenshot-from-2024-12-24-11-56-51.png" class="kg-image" alt="How to Build a Fully Automated Level Crossing for Your Model Railroad Layout with Lighting and Sound  | Part 1" loading="lazy" width="1505" height="990" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/Screenshot-from-2024-12-24-11-56-51.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/Screenshot-from-2024-12-24-11-56-51.png 1000w, https://loco.engineering/blog/content/images/2024/12/Screenshot-from-2024-12-24-11-56-51.png 1505w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/Screenshot-from-2024-12-24-11-57-00.png" class="kg-image" alt="How to Build a Fully Automated Level Crossing for Your Model Railroad Layout with Lighting and Sound  | Part 1" loading="lazy" width="1505" height="990" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/Screenshot-from-2024-12-24-11-57-00.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/Screenshot-from-2024-12-24-11-57-00.png 1000w, https://loco.engineering/blog/content/images/2024/12/Screenshot-from-2024-12-24-11-57-00.png 1505w" sizes="(min-width: 720px) 720px"></figure><ol start="4"><li><strong>Save and Test</strong><br>Click &quot;Save&quot; and send a DCC packet to test the configuration. Your level crossing, complete with sound, should now be operational.</li></ol><hr><h3 id="next-steps">Next Steps</h3><p>In <strong>Part 2</strong>, we&#x2019;ll add a button to manually start/stop the level crossing &quot;animation&quot;. In <strong>Part 3</strong>, we&#x2019;ll implement automation using NFC readers ( you can replace NFC with other sensors capable of sending interrupts).</p><hr><h3 id="questions">Questions?</h3><p>If you have any questions, feel free to contact us at <a href="mailto:hey@loco.engineering">hey@loco.engineering</a>.</p>]]></content:encoded></item><item><title><![CDATA[Introducing the DCC (Digital Command Control) to Arduino Converter 2.0: Build your own DCC decoders with Arduino, ESP32, and other MCUs.]]></title><description><![CDATA[<p>At <a href="https://loco.engineering/?ref=loco.engineering" rel="noreferrer">Loco.Engineering</a>, we&apos;re focused on simplifying how we control model trains and other electronic toys. To be honest, most of the technologies used in model trains and RC toys are outdated. For example, many DCC decoders still require CV programming with special proprietary tools, when we now</p>]]></description><link>https://loco.engineering/blog/arduino-dcc-converter-to-handle-dcc-with-esp32-raspberry-pi/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de11</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Wed, 18 Dec 2024 11:07:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/12/dcc-converter-arduino.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/12/dcc-converter-arduino.jpg" alt="Introducing the DCC (Digital Command Control) to Arduino Converter 2.0: Build your own DCC decoders with Arduino, ESP32, and other MCUs."><p>At <a href="https://loco.engineering/?ref=loco.engineering" rel="noreferrer">Loco.Engineering</a>, we&apos;re focused on simplifying how we control model trains and other electronic toys. To be honest, most of the technologies used in model trains and RC toys are outdated. For example, many DCC decoders still require CV programming with special proprietary tools, when we now have WiFi, and all settings should be updated via a web browser in 2024. That&#x2019;s why we continue to work on our DCC converter, which allows you to use almost any MCU with Arduino or native SDKs to control model trains via DCC or WiFi, without needing a command station.</p><p>Our DCC converter is designed to convert DCC signals from the track into a digital signal (0 or 1) that can be read by any MCU, such as ESP32 SoCs, Raspberry Pi, and others. Additionally, the converter transforms DCC or AC into DC, which can power accessories, train motors, and other components. It also drops the voltage to 5V and 3.3V to power MCU boards, RGB LEDs, servo motors, and other devices requiring those voltages.</p><p>The new version can handle much more current: up to 2A on outputs with 8&#x2013;22V, up to 2A on outputs with 5V, and up to 1A on the 3.3V output. This should be enough to power several servo motors, RGB LEDs, ESP32/Raspberry Pi boards, train motors, and more. We&#x2019;ve reduced the board size to 35mm x 18mm x 5mm, allowing it to fit even in some H0 trains with MCU boards.</p><h3 id="full-specifications">Full Specifications:</h3><ul><li><strong>Dimensions:</strong> 35mm x 18mm x 5mm</li><li><strong>Converts DCC signal from rails into a digital signal</strong> that can be read by an MCU (ESP32 boards, Arduino boards, and others)</li><li><strong>Converts DCC and AC into DC (Direct Current)</strong></li><li><strong>Maximum total current:</strong> 2A (up to 2A on outputs with 8&#x2013;22V, up to 2A on outputs with 5V, and up to 1A on 3.3V)</li><li><strong>Power supply:</strong> 8-22V DCC / AC / DC</li><li><strong>3 power outputs:</strong> 3.3V DC, 5V DC, 8-22V DC</li><li><strong>Mounting holes</strong></li></ul><p>An example schematic of how to use this circuit can be found at: <a rel="noopener">loco.engineering/docs</a></p><h3 id="how-to-use-and-connect-a-dcc-converter">How to Use and Connect a DCC Converter</h3><p>You can use a DCC converter in two ways:</p><ol><li><strong>Without an MCU board</strong>: Use it solely to convert DCC/AC into DC to power accessories. Three outputs are available: the same voltage as the track, 5V, and 3.3V.</li><li><strong>With an MCU board</strong> (e.g., ESP32S3 dev board or Raspberry Pi): You can handle the DCC signal with your MCU board or use WCC (Wireless Command Control) to control trains or accessories on your layout.</li></ol><p><strong>Example of how to control a signal with DCC, the DCC converter, and an MCU board</strong>.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/arduino-dcc-decoder-schematic-2.0.jpg" class="kg-image" alt="Introducing the DCC (Digital Command Control) to Arduino Converter 2.0: Build your own DCC decoders with Arduino, ESP32, and other MCUs." loading="lazy" width="2000" height="1000" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/arduino-dcc-decoder-schematic-2.0.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/arduino-dcc-decoder-schematic-2.0.jpg 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/12/arduino-dcc-decoder-schematic-2.0.jpg 1600w, https://loco.engineering/blog/content/images/2024/12/arduino-dcc-decoder-schematic-2.0.jpg 2000w" sizes="(min-width: 720px) 720px"></figure><h3 id="example-of-how-to-control-a-signal-with-dcc-the-dcc-converter-and-an-mcu-board">Example of How to Control a Signal with DCC, the DCC Converter, and an MCU Board</h3><p>To control accessories or model trains, you can use:</p><ul><li>Our <strong>SimpleDCC firmware</strong>, which includes a built-in web app and a web throttle (works only with ESP32S3 boards).</li><li><strong>NmraDCC</strong> library.</li></ul><p>For more information and a Getting Started guide, visit our documentation at: <a href="https://loco.engineering/docs/dcc-converter/?ref=loco.engineering" rel="noopener">loco.engineering/docs/dcc-converter</a></p><h3 id="i-don%E2%80%99t-want-to-touch-any-hardware-but-i-want-to-upload-my-own-firmware">I Don&#x2019;t Want to Touch Any Hardware, But I Want to Upload My Own Firmware</h3><p>If you prefer to use ready-to-go programmable decoders, check out our train and accessory <a href="https://loco.engineering/pl/products/dcc-wireless-sound-decoders?ref=loco.engineering" rel="noreferrer">DCC/WCC decoders</a>. You can upload any firmware that works with ESP32S3 SoCs. All decoders come with default firmware that works out of the box, allowing you to control trains and accessories with DCC or directly from a web browser, even without a command station. Your layout can run on DC (analog control).</p><h3 id="where-to-buy">Where to Buy</h3><p>Loco.Engineering DCC converters and decoders can be ordered from our store: <a href="https://loco.engineering/pl/products/dcc-wireless-sound-decoders?ref=loco.engineering" rel="noreferrer">loco.engineering/products</a></p><p>Feel free to contact us at <a rel="noopener">hey@loco.engineering</a> if you have any questions.<br><br></p>]]></content:encoded></item><item><title><![CDATA[Getting started with DCC-EX (Digital Command Control toolkit)]]></title><description><![CDATA[<p>In this guide, I will show how to get started with <a href="https://dcc-ex.com/?ref=loco.engineering" rel="noreferrer">DCC-EX</a> to control your model trains and the whole model railroad layout with a very affordable setup (around 60 EUR / 70 USD for the whole setup excluding DCC decoder costs). Why do we still use and show how to</p>]]></description><link>https://loco.engineering/blog/getting-started-with-dcc-ex/</link><guid isPermaLink="false">676056670bd81e0001f4defd</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Mon, 16 Dec 2024 16:55:36 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/12/dcc-ex-connection-diagram.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/12/dcc-ex-connection-diagram.jpg" alt="Getting started with DCC-EX (Digital Command Control toolkit)"><p>In this guide, I will show how to get started with <a href="https://dcc-ex.com/?ref=loco.engineering" rel="noreferrer">DCC-EX</a> to control your model trains and the whole model railroad layout with a very affordable setup (around 60 EUR / 70 USD for the whole setup excluding DCC decoder costs). Why do we still use and show how to use DCC-EX when our project&#x2019;s main goal is to replace Digital Command Control with Wireless Command Control? That&#x2019;s simple - we all still have DCC decoders and trains/kits are still sold with DCC decoders. That&#x2019;s why we need some solution to mix DCC and WCC decoders on the same layout. This is Part 1 of guides about how you can control your model railroad layout with DCC and WCC at the same time, where we set up DCC-EX hardware, upload DCC-EX firmware, and control a train, signal, and a turnout with DCC-EX (your train or layout accessory has to have a DCC decoder to be controlled from a DCC-EX command station).</p><p>DCC-EX is an open-source project (hardware, firmware, and software) that helps you control model railroad layouts. You can think that it&#x2019;s a command station like a command station from M&#xE4;rklin, Roco, and others. However, DCC-EX is developed by people who are really passionate about model trains, and everyone can implement their own features. That&#x2019;s why using DCC and WCC on the same layout is possible with DCC-EX only.</p><h3 id="what-you-need-for-this-guide">What you need for this guide</h3><ul><li>A train with a DCC decoder or a layout accessory (a signal, for example) connected to a DCC accessory decoder (we tested steps described in this guide with our <a href="https://loco.engineering/pl/products/dcc-wireless-sound-decoders/accessory-digital-command-control-dcc-decoder?ref=loco.engineering" rel="noreferrer">DCC/WCC accessory decoder</a>, but almost any accessory decoder should work as well). If you want to build an accessory decoder yourself - <a href="https://loco.engineering/blog/dcc-arduino-decoder-with-esp32/" rel="noreferrer">check this guide</a>.</li><li>Parts described in the next chapter (<strong>DCC-EX hardware setup</strong>).</li></ul><h3 id="dcc-ex-hardware-setup">DCC-EX hardware setup</h3><p>To start using DCC-EX, you need 2 boards (or PCBs or circuits) that can be ordered at our <a href="https://loco.engineering/pl/products/dcc-wireless-sound-decoders/dcc-ex-command-station-with-wifi?ref=loco.engineering" rel="noreferrer">online shop</a> or your local online shops:</p><ul><li>Arduino Mega or some equivalent.</li><li>DC motor driver that can handle at least up to 15V and at least 2A (for big layouts, 5-10A is recommended). To avoid any issues with connections, we recommend using a DC motor driver that can be inserted into an Arduino board, for example, <a href="https://www.cytron.io/p-10amp-7v-30v-dc-motor-driver-shield-for-arduino-2-channels?ref=loco.engineering" rel="noreferrer">this board</a> from our <a href="https://loco.engineering/pl/products/dcc-wireless-sound-decoders/dcc-ex-command-station-with-wifi?ref=loco.engineering" rel="noreferrer">DCC-EX bundle</a>.</li><li>Power adapter, for example, 15V, 3A, that is used to charge laptops.</li></ul><p>With those 2 boards, you will be able to control your layout from a computer over a USB cable using a web app (or a web throttle) or JMRI (an app for model railway automation).</p><h3 id="connect-boards-together">Connect boards together</h3><p>After you get all 3 parts from the previous chapter (2 boards and a power adapter), you should connect them together. If you use a DC driver designed to be connected with Arduino boards by inserting it into sockets, you should just insert a motor board into your Arduino board and connect wires from tracks to terminals on a DC motor board marked as outputs for motors (for example, M1A, M1B, M2A, M2B). A power adapter should be connected to terminals on a DC motor board that are marked as a power input. That&#x2019;s it, your DCC command station is ready, and the final setup should look like as on a diagram below.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/dcc-ex-connection-diagram-1.jpg" class="kg-image" alt="Getting started with DCC-EX (Digital Command Control toolkit)" loading="lazy" width="2000" height="1474" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/dcc-ex-connection-diagram-1.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/dcc-ex-connection-diagram-1.jpg 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/12/dcc-ex-connection-diagram-1.jpg 1600w, https://loco.engineering/blog/content/images/size/w2400/2024/12/dcc-ex-connection-diagram-1.jpg 2400w" sizes="(min-width: 720px) 720px"></figure><h3 id="upload-firmware">Upload firmware</h3><p>To start sending DCC commands with a DCC-EX command station, you should upload a DCC-EX app to an Arduino board. This can be done without any knowledge of how to program an MCU and even without knowing what Arduino is. Just follow the guide at <a href="https://dcc-ex.com/ex-commandstation/get-started/installer.html?ref=loco.engineering#gsc.tab=0">https://dcc-ex.com/ex-commandstation/get-started/installer.html#gsc.tab=0</a> - you should download the application available for Windows, Linux, and macOS, connect an Arduino board to a computer over USB, select required settings in the app, and click on Upload.</p><h3 id="how-to-control-trains-with-dcc-ex">How to control trains with DCC-EX</h3><p>There are 2 options for how you can control trains with DCC-EX. The simplest option is to connect your DCC-EX command station to a computer with a USB cable and open in a browser <a href="https://dcc-ex.com/WebThrottle-EX/?ref=loco.engineering">https://dcc-ex.com/WebThrottle-EX/</a>. You will see a web app or web throttle that you can use to control trains directly from a computer or a mobile device in case it supports USB serial communication.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/dcc-web-throttle.png" class="kg-image" alt="Getting started with DCC-EX (Digital Command Control toolkit)" loading="lazy" width="1850" height="1053" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/dcc-web-throttle.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/dcc-web-throttle.png 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/12/dcc-web-throttle.png 1600w, https://loco.engineering/blog/content/images/2024/12/dcc-web-throttle.png 1850w" sizes="(min-width: 720px) 720px"></figure><p>To use a DCC-EX web throttle is easy - just type in the address of your train and use controls to move it back/forward and enable/disable functions. Also, the web throttle allows you to program DCC decoders.</p><h3 id="how-to-control-signals-turnouts-and-other-accessories-with-dcc-ex">How to control signals, turnouts, and other accessories with DCC-EX</h3><p>DCC-EX web throttle doesn&#x2019;t let you control layout accessories like signals, turnouts, and others. To control them, you can use JMRI - an application for model railroad automation. Let&#x2019;s check how to control a signal (don&#x2019;t forget that your signal should be connected to a DCC accessory decoder and that DCC decoder should respond to DCC Signal packets).</p><ul><li>Download and install JMRI - follow the guide here <a href="https://www.jmri.org/help/en/html/setup/index.shtml?ref=loco.engineering">https://www.jmri.org/help/en/html/setup/index.shtml</a>.</li><li>Connect the DCC-EX command station to the computer by a USB cable.</li><li>Launch PanelPro.</li><li>Select in the top menu bar Tools &#x2192; Tables &#x2192; Signals &#x2192; Signal Heads.</li></ul><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/jmri-control-model-railroad-layout-table-signals.png" class="kg-image" alt="Getting started with DCC-EX (Digital Command Control toolkit)" loading="lazy" width="1850" height="1053" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/jmri-control-model-railroad-layout-table-signals.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/jmri-control-model-railroad-layout-table-signals.png 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/12/jmri-control-model-railroad-layout-table-signals.png 1600w, https://loco.engineering/blog/content/images/2024/12/jmri-control-model-railroad-layout-table-signals.png 1850w" sizes="(min-width: 720px) 720px"></figure><p>Click on Add&#x2026;and select in an opened window:</p><ul><ul><li>DCC Signal Decoder from the Top dropdown (by default, the &#x201C;Double Output&#x201D; option is shown).</li><li>Type in the DCC decoder address.</li><li>Select Offset address (required with some decoders, so try to select and check if a signal responds to commands from JMRI; if not, try again with the disabled Offset address option).</li><li>Click Create.</li></ul></ul><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/12/jmri-control-model-railroad-layout-signal-details.png" class="kg-image" alt="Getting started with DCC-EX (Digital Command Control toolkit)" loading="lazy" width="1693" height="688" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/jmri-control-model-railroad-layout-signal-details.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/12/jmri-control-model-railroad-layout-signal-details.png 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/12/jmri-control-model-railroad-layout-signal-details.png 1600w, https://loco.engineering/blog/content/images/2024/12/jmri-control-model-railroad-layout-signal-details.png 1693w" sizes="(min-width: 720px) 720px"></figure><ul><li>To change a signal state, just select which state should be active by selecting an option in the Appearance column.</li></ul><p>That&#x2019;s it. Now you have a fully functional DCC command station that you can control straight from your computer with additional proprietary tools. Simple and clean setup. However, it can be even improved more by using Wireless Command Control instead of Digital Command Control. The next part will describe how to mix both protocols and make migration from DCC to WCC easier and have the possibility to have DCC and WCC (for example, for two-way communication between trains, NFC readers, or hall sensors without any wires) on the same layout.</p><p>Feel free to contact us at <a href="mailto:hey@loco.engineering">hey@loco.engineering</a> in case of any questions or feedback.</p>]]></content:encoded></item><item><title><![CDATA[Building RC Cars and Toys: Modern Alternative to Das Mikro boards]]></title><description><![CDATA[<p>If you&apos;re planning to build an RC car and search for videos on how to do it, you&apos;ll likely come across tutorials featuring Das Mikro electronics. In this post, I&apos;ll explain why you should consider using <a href="https://loco.engineering/pl/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer"><strong>Loco.Engineering RC car boards</strong></a> instead.</p><hr><h3 id="what-electronics-do-you-need-to-build-an-rc-car">What Electronics</h3>]]></description><link>https://loco.engineering/blog/das-mikro-alternative-control-for-rc-car/</link><guid isPermaLink="false">676f38d20bd81e0001f4e1c9</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Mon, 02 Dec 2024 15:18:00 GMT</pubDate><content:encoded><![CDATA[<p>If you&apos;re planning to build an RC car and search for videos on how to do it, you&apos;ll likely come across tutorials featuring Das Mikro electronics. In this post, I&apos;ll explain why you should consider using <a href="https://loco.engineering/pl/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer"><strong>Loco.Engineering RC car boards</strong></a> instead.</p><hr><h3 id="what-electronics-do-you-need-to-build-an-rc-car">What Electronics Do You Need to Build an RC Car?</h3><p>To build a remote-controlled car or toy, you&#x2019;ll typically need the following components:</p><ol><li><strong>DC Motor Driver</strong>: To control a DC motor for moving the car forward and backward.</li><li><strong>Servo Motor Controller</strong>: To turn the front wheels left or right.<br><em>(Alternative to a servo motor controller)</em>: If there&apos;s limited space inside the car (e.g., 1/87 scale), you can replace the servo motor with a micro brushed DC motor. In this case, you&apos;ll need a second DC motor driver.</li><li><strong>RF/WiFi/BLE Receiver</strong>: To receive messages from a remote control or mobile phone/computer.</li><li><strong>Microcontroller Unit (MCU)</strong>: To manage and control all the above components.</li><li><strong>Battery Controller</strong>: To handle power management.</li><li><strong>(Optional) Gyroscope</strong>: To maintain stability during drifting.</li><li><strong>(Optional) Light Controller</strong>: For headlights or other lighting effects.</li><li><strong>(Optional) Sound Controller</strong>: For engine, horn, and other sounds.</li></ol><hr><h3 id="locoengineering-rc-car-boards">Loco.Engineering RC Car Boards</h3><p>Our RC car boards integrate all these components into a <strong>single board</strong>. Unlike other brands, you won&#x2019;t need to solder wires between multiple circuits. Below, you&#x2019;ll find a diagram showing how easy it is to connect a DC motor, a servo motor, and a battery to our board for a minimal setup.</p><h4 id="key-features-of-locoengineering-boards">Key Features of Loco.Engineering Boards:</h4><ul><li><strong>Modern components:</strong> Everything you need to build an RC car/toy is placed on one board</li><li><strong>Open-Source Firmware</strong>: Our firmware is based on Arduino, allowing you to modify it, add custom features, and even create your own remote controls.</li><li><strong>Flexible Hardware Development</strong>: If you&apos;re building and selling RC toys or cars, you can develop your own hardware and use our firmware to save time and effort.</li></ul><hr><h3 id="issues-with-das-mikro-and-similar-brands">Issues with Das Mikro and Similar Brands</h3><p>Here&#x2019;s why we developed our RC car boards and main issues with Das Mikro:</p><ol><li><strong>Complex Setup</strong>:<br>You often need to connect 2&#x2013;3 separate circuits to create a functional RC car or toy, which can be frustrating and time-consuming.</li><li><strong>Proprietary Systems</strong>:<br>Almost all boards on the market come with proprietary firmware, meaning there are no updates or customization options. This makes it difficult to create RC cars with realistic physics or features tailored to your ideas.</li><li><strong>Outdated Electronics</strong>:<br>Many boards still use old microchips that haven&apos;t been updated in over a decade. While classic RF signals work, they can&#x2019;t match the performance of modern chips like the <strong>ESP32-S3</strong>, which supports advanced features and faster processing speeds.</li></ol><p>Take a look at the diagram below to see the complexity of wiring with Das Mikro boards compared to the simplicity of using <a href="https://loco.engineering/pl/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">Loco RC car boards</a>:<br></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://loco.engineering/blog/content/images/2024/12/das-mikro-diagram.jpg" class="kg-image" alt loading="lazy" width="814" height="1024" srcset="https://loco.engineering/blog/content/images/size/w600/2024/12/das-mikro-diagram.jpg 600w, https://loco.engineering/blog/content/images/2024/12/das-mikro-diagram.jpg 814w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Source: </span><a href="https://www.dasmikro.com/product/dasmikro-tbs-mini-programmable-sound-and-light-control-unit/?ref=loco.engineering"><span style="white-space: pre-wrap;">https://www.dasmikro.com/product/dasmikro-tbs-mini-programmable-sound-and-light-control-unit/</span></a></figcaption></figure><hr><h3 id="how-to-control-an-rc-car-without-traditional-controllers">How to Control an RC Car Without Traditional Controllers</h3><p>With Loco RC car boards, controlling your RC car is simple. You have two options:</p><ol><li><strong>From a Web Browser</strong>: Any WiFi-enabled device can act as a controller.</li><li><strong>From a Custom Remote Control</strong>: Build your own using an <strong>ESP32-S3</strong> development board, joysticks, and a breadboard. Kits with all necessary components are available in <a href="https://loco.engineering/pl/products/?ref=loco.engineering" rel="noreferrer">our online store</a>.</li></ol><hr><h3 id="our-roadmap">Our Roadmap</h3><p>We release new features every 1&#x2013;2 weeks and prioritize user requests (although not all features can be implemented). We&#x2019;d love to hear about your projects and ideas&#x2014;send your feedback to <a href="mailto:hey@loco.engineering"><strong>hey@loco.engineering</strong></a>.</p>]]></content:encoded></item><item><title><![CDATA[Hot Wheels RC Kit Comparison]]></title><description><![CDATA[<p>When we tested our first version of the RC car control board for small-scale RC cars (up to 1:32) around 14 months ago, we couldn&apos;t have imagined that Hot Wheels RC conversion kits would become so popular. At that time, it was merely an internal test project.</p>]]></description><link>https://loco.engineering/blog/hot-wheels-rc-kit/</link><guid isPermaLink="false">6786e9030bd81e0001f4e4b2</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Sun, 10 Nov 2024 12:00:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-v.1.1-1.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-v.1.1-1.jpg" alt="Hot Wheels RC Kit Comparison"><p>When we tested our first version of the RC car control board for small-scale RC cars (up to 1:32) around 14 months ago, we couldn&apos;t have imagined that Hot Wheels RC conversion kits would become so popular. At that time, it was merely an internal test project. In this guide, I will compare four conversion kits (including our <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/?ref=loco.engineering" rel="noreferrer">Turbo64</a>) to save you time and money and demonstrate why Turbo64 is likely the best and easiest Hot Wheels RC conversion kit, which can also be used to convert other 1:64 scale cars into RC cars.</p><h2 id="options-for-building-an-rc-hot-wheels-164-diecast-cars">Options for Building an RC Hot Wheels / 1:64 diecast cars</h2><p><strong>1. Order a Fully Assembled Hot Wheels / 1:64 Car</strong><br>This is the easiest option with no assembly required; however, you&apos;re limited to the models available on the market.</p><p><strong>2. Order a Pre-assembled Hot Wheels RC Conversion Kit</strong><br>The kit comes pre-assembled; however, you will need to prepare the Hot Wheels/diecast car for kit installation, which requires special tools.Udost&#x119;pnijPrzepisz</p><p><strong>3. Order a Conversion Kit with a Prepared Chassis Mounting Hot Wheels Car Body</strong><br>This option includes everything needed to build an RC Hot Wheels car, including the car body and required tools. You can think of this as a STEM project.</p><p><strong>4. Order a Conversion Kit and Assemble It Yourself</strong><br>In this case, you receive the chassis and hardware components, but assembly is required. The main advantage is that you can convert almost any 1:64 car. Note: not all kits include a battery and remote controller, so you may need to find and order these separately.</p><p><strong>5. Download or Order Models for 3D Printing</strong><br>You will receive only the models to print on a 3D printer. You must also find and order all required components and tools like a DC motor, servo motor, bearings, etc.</p><p><strong>6. Do Everything Yourself</strong><br>This is the most creative, complex, and time-consuming option.</p><h2 id="available-hot-wheels-rc-conversion-kits">Available Hot Wheels RC Conversion Kits</h2>
<!--kg-card-begin: html-->
<table>
<thead>
<tr>
<th><strong>Kit Name</strong></th>
<th><strong>Description</strong></th>
<th><strong>Price</strong></th>
<th><strong>Total Build Cost</strong></th>
</tr>
</thead>
<tbody>
  <tr>
<td><strong><a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/?ref=loco.engineering">Turbo64</a></strong></td>
<td>Comprehensive kit including all necessary components for a functional Hot Wheels RC car; frequently updated project.</td>
<td>~$49</td>
<td>~$49 + shipping</td>
</tr>
<tr>
<td><strong><a href="https://cults3d.com/en/3d-model/game/snap64-pro-version-2-0-1-64-rc-conversion-w-grip-drift-drive-styles-hot-wh?ref=loco.engineering">SNAP64 PRO VERSION 2.0</a></strong></td>
<td>Digital files with models for 3D printing and instructions. Over-engineered; difficult to build with no details about electronics or testing results.</td>
<td>~$10</td>
<td>$120 + shipping</td>
</tr>
<tr>
<td><strong><a href="https://www.etsy.com/listing/1707905214/164-rwd-chassis-to-convert-die-cast-into?ref=loco.engineering">DRIFFS64</a></strong></td>
<td>Easy to assemble with minimal parts but has aesthetic issues due to side bottom boards holding the car body.</td>
<td>~$40</td>
<td>$110 ($40 digital + $70 hardware + shipping)</td>
</tr>
<tr>
<td><strong><a href="https://dkebuilds.com/?ref=loco.engineering">DKEBUILDS</a></strong></td>
<td>Conversion kits with all required hardware components except battery and remote controller; noted for difficulty in assembly.</td>
<td>~$63 (not assembled) / $188 (pre-assembled)</td>
<td>From ~$103 + shipping</td>
</tr>
</tbody>
</table>
<!--kg-card-end: html-->
<p><a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama/?ref=loco.engineering" rel="noreferrer">Turbo64</a> was initially used to test our RC car control board; hence it&apos;s not a &quot;create and forget&quot; project but one that we update frequently. The Turbo64 Hot Wheels RC kit includes everything needed for a functional RC car (hardware components, chassis, electronics) for other cars in 1:64 scale as well. A car can be controlled from any device via Bluetooth or custom remote controllers, with options to connect Radiolink or SkyFLy receivers if desired. The firmware&apos;s source code is available for modification by buyers who wish to add custom features.</p><p>Feel free to contact us at hey@loco.engineering if you have any feedback or questions.<br></p>]]></content:encoded></item><item><title><![CDATA[Car module for RC cars and other battery-powered models / toys / robots]]></title><description><![CDATA[<p>Today, we&apos;re excited to announce our modules for remote-controlled battery-powered cars and other vehicles, such as cars for train layouts, city layouts, boats, and cranes. We&apos;ll delve into how to use these car modules for various models and toys in our future posts. But today, I</p>]]></description><link>https://loco.engineering/blog/rc-car-arduino-board/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de17</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Sat, 11 May 2024 11:04:14 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/11/hot-wheels-rc-conversion-board.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/11/hot-wheels-rc-conversion-board.jpg" alt="Car module for RC cars and other battery-powered models / toys / robots"><p>Today, we&apos;re excited to announce our modules for remote-controlled battery-powered cars and other vehicles, such as cars for train layouts, city layouts, boats, and cranes. We&apos;ll delve into how to use these car modules for various models and toys in our future posts. But today, I want to discuss the problems we aim to solve with this board and the main features that will help you create more interactive projects with less effort and more joy. You can find our car module available at our <a href="https://loco.engineering/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">online store</a>.</p><h3 id="what-problem-are-we-addressing-with-this-board">What problem are we addressing with this board?</h3><p>It&apos;s simple - the problem is how to create remote-controlled cars and other battery-powered devices with DC motors, servos, and sound without dealing with electronics complexity. Some might argue that they can easily build RC cars with electronics from local shops or Aliexpress, and that&apos;s true. However, wouldn&apos;t it be much better and easier to have a small circuit (15mm x 30mm) that contains everything you need for your car? This includes DC motor drivers, servo drivers, sound, WiFi/BLE connectivity, ready-to-use Arduino firmware that you can modify, schematics for remote controllers with firmware, and the ability to control vehicles from a browser on any WiFi-enabled device. This is precisely what we integrate into our car modules (and other <a href="http://loco.engineering/?ref=loco.engineering" rel="noreferrer">Loco.Engineering</a> modules). You just need to solder or connect motors, speakers, and batteries to one small board, and the electronics part is ready in just 5 minutes. This means you can spend more time playing and creating more interesting projects. We&apos;re addressing a similar problem in railway modeling with our WCC modules. From our experience and conversations with modelers, setting up electronics on layouts takes up half the time or even more depending on layout complexity.</p><h3 id="main-features-of-the-rc-car-module">Main features of the RC car module</h3><ul><li>Based on ESP32S3 - a dual-core XTensa LX7 MCU capable of running at 240 MHz with 4MB flash memory and 2MB RAM.</li><li>Two modern DC motor drivers from <a href="https://www.ti.com/?ref=loco.engineering" rel="noreferrer"><strong>Texas Instruments</strong></a> to control up to 2 DC motors and other loads, with a maximum current per motor of 3A and total current up to 4A. We&apos;ve also integrated Back EMF and current sensing for more realistic physics.</li><li>Control of multiple servo motors.</li><li>The module and devices with the module can be controlled over WiFi/BLE from custom remote controllers based on ESP32S3/C3 SoCs or through a browser on mobile devices and computers.</li><li>Built-in battery charging with battery level indication, eliminating the need for an additional battery circuit to connect li-poly and protected li-ion batteries.</li><li>Built-in 5W audio amplifier - just connect a speaker and you can play sounds from your vehicle.</li><li>Firmware based on Arduino and ESP-IDF with available source - <a href="https://github.com/loco-engineering/arduino-rc-car?ref=loco.engineering">https://github.com/loco-engineering/arduino-rc-car</a></li><li>Schematic and firmware for a remote controller - <a href="https://github.com/loco-engineering/arduino-rc-car?ref=loco.engineering">https://github.com/loco-engineering/arduino-rc-car</a>, with a kit containing all required components available in our online shop.</li><li>7 GPIOs with PWM to control lights and other loads.</li><li>I2C, UART, and SPI for connecting external sensors such as gyroscopes, hall sensors, and others.</li><li>5V and 3.3V outputs.</li><li>The smallest circuit with such a range of features available on the market. It fits even small vehicles in scale H0 or 1:87, with dimensions of 15mm x 27mm.</li><li>Over-the-air updates.</li><li>Weekly firmware updates.</li><li>A web-based app to control cars and vehicles.</li><li>Modules can communicate with each other, allowing for highly interactive layouts.</li><li>Designed and produced in Europe.</li><li>Available in two versions: bare circuit and with soldered wires.</li><li>Costs less than buying development modules with components and soldering them together.</li><li>Commercial license available for everyone, including small indie brands and manufacturers, with a small fee (2%) per each sold product with our hardware and firmware without any additional fixed and initial fees.</li><li>Possibility to connect UWB (Ultra-wideband - <a href="https://en.wikipedia.org/wiki/Ultra-wideband?ref=loco.engineering" rel="noreferrer">https://en.wikipedia.org/wiki/Ultra-wideband</a>) modules for indoor tracking with accuracy in a few centimeters.</li><li>Possibility to connect an NFC reader.</li><li>Removable USB type-C for charging and firmware uploading.</li><li>Possibility to connect your own charging module, for example, wireless charging.</li><li>No vendor lock-in; you can change the firmware as you want.</li></ul><h3 id="what-rc-models-and-toys-can-you-build-with-this-module">What RC models and toys can you build with this module?</h3><ul><li>Cars, buses, and other vehicles for your train or city layout in scales 1:160 (N), 1:87 (H0), and larger.</li><li>RC cars with a brushed DC motor, steering powered by a servo motor, and realistic physics.</li><li>Remote-controlled battery-powered vehicles such as cranes, boats, buses, and trains.</li><li>Robots.</li></ul><h3 id="how-to-control-a-carvehicle-with-the-locoengineering-car-module">How to control a car/vehicle with the <a href="http://loco.engineering/?ref=loco.engineering" rel="noreferrer">Loco.Engineering</a> car module</h3><ul><li>Using a remote controller over ESP-NOW. Firmware and schematic examples with 2 joysticks powered from a battery are available in our git repository. The kit with all required components to build a remote controller is available at our online shop.</li><li>Over WiFi from a browser on a mobile device or computer.</li><li>Over BLE from a browser on a mobile device or computer.</li><li>Over USB from a computer (on our roadmap, expected release in June).</li></ul><h3 id="how-to-get-started">How to get started</h3><p>We recommend checking the entire electronics setup before installing it in the final toy/model/robot. To start using our car, follow these easy steps:</p><ul><li>Order a Loco.Engineering car module.</li><li>(Optional if you haven&#x2019;t and if your project requires) Order a DC motor, servo motor, 3.6V protected battery (for example), speaker, axles, wheels, gears, and other components for your toy/model/robot.</li><li>Receive the car module and connect/solder wires from motors and the speaker.</li><li>We ship the module with preinstalled firmware so you can start using it after connecting motors and the battery.</li><li>Connect a battery and check that a status LED on the module flashes in blue.</li><li>Open WiFi settings on any computer or device and connect to a network with a name like &#x201C;Loco-xxxxxx&#x201D;.</li><li>Open a browser on that device/computer and go to <a href="http://loco.local/?ref=loco.engineering" rel="noreferrer">http://loco.local</a>. Click/tap on buttons to check that motors work.</li></ul><p>That&#x2019;s it. Follow guides in our Knowledge Base to add your custom logic to the firmware and upload it to your module. Feel free to contact us at <a href="mailto:hey@loco.engineering" rel="noreferrer">hey@loco.engineering</a> if you have any questions or feedback.</p>]]></content:encoded></item><item><title><![CDATA[How to Control Model Railway Trains, Signals, and Other Accessories: DC, DCC, and WCC.]]></title><description><![CDATA[<p>In this guide, I&apos;ll explain three options for controlling model railway layouts and a few trains on the floor in your room. If you&apos;re already familiar with the first two options (analog control and DCC), you can skip to the section on option 3 - Wireless</p>]]></description><link>https://loco.engineering/blog/how-to-control-model-railways-dcc-wcc-dc/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de10</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Sun, 05 May 2024 20:53:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/11/loco.engineering-app-main-screen.webp" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/11/loco.engineering-app-main-screen.webp" alt="How to Control Model Railway Trains, Signals, and Other Accessories: DC, DCC, and WCC."><p>In this guide, I&apos;ll explain three options for controlling model railway layouts and a few trains on the floor in your room. If you&apos;re already familiar with the first two options (analog control and DCC), you can skip to the section on option 3 - Wireless Command Control.</p><p>There are three ways to control trains and accessories (signals, level crossings, lights) in model railways:</p><ol><li>Analog Control or DC (Direct Current) control</li><li>Digital Command Control (DCC)</li><li>Wireless Command Control</li></ol><p></p><h2 id="analog-control-or-dc">Analog Control or DC</h2><p><br>This is the simplest way to move trains on the track. You power the track from a source with positive and negative terminals, similar to batteries. The train receives power through its metal wheels and transmits it to the motor. It works the same way as connecting a motor directly to a battery - depending on which motor wire is connected to the positive or negative terminal, the motor will rotate forward or backward.</p><p>The main disadvantage of this control type is that you can&apos;t selectively control individual trains. If you put multiple trains on a track with analog control, they will all move if they&apos;re equipped with only analog control boards. Most low-price starter kits, such as those from <a href="https://www.piko-shop.de/en/artikel/ger-s-set-ic-e-lok-dosto-mit-bettung-35656.html?ref=loco.engineering">Piko</a>, only offer analog control. This can be a good starting point, but after some time, trains and tracks with analog control can become boring because you&apos;ll want to control multiple trains independently and have the ability to play train sounds and control accessories like signals.</p><p>This is where DCC, or Digital Command Control, comes in.</p><p></p><h2 id="digital-command-control-dcc">Digital Command Control (DCC)</h2><p>The concept of Digital Command Control is to send not just power, but also messages to trains and accessories through the track or additional wires. How does it work? A special power adapter (or command station) sends alternating voltage instead of direct current like a battery. It&apos;s as if you were rapidly rotating an analog controller&apos;s knob from maximum clockwise to maximum counterclockwise. Depending on how quickly it alternates between these extremes, it can send 0 or 1. For example, if one cycle takes 1 second, it represents 0, and if it takes 2 seconds, it represents 1. By combining 0s and 1s, you can send messages. The command station operates on the same principle, but the alternation between +Vmax and -Vmax is much faster - typically 106 &#x3BC;s for a &quot;1&quot; and at least 200 &#x3BC;s for a &quot;0&quot;.</p><p>All trains and accessories on a layout must be physically connected (trains are &quot;connected&quot; to rails via metal wheels). You can&apos;t simply install a signal, for example, without connecting it to the track or wires carrying the DCC signal. Another limitation of DCC is that the protocol isn&apos;t dynamic - for instance, you can&apos;t send text to display on a train station screen or upload new sounds to a train decoder. For most DCC decoders (boards that control trains and accessories), you even need special tools to update firmware and upload sounds. More details about DCC can be found at <a href="https://dccwiki.com/?ref=loco.engineering">https://dccwiki.com/</a></p><p>There are a few other protocols similar to DCC that send messages over the track. The most popular after DCC is Mfx - a protocol developed by <a href="https://www.maerklin.de/en?ref=loco.engineering">M&#xE4;rklin</a>. While the protocol is proprietary, M&#xE4;rklin has done an excellent job designing sets and additional accessories that work out of the box. However, before buying any M&#xE4;rklin sets, you should be aware that M&#xE4;rklin requires specific tracks with a middle rail, and you can&apos;t use trains from other brands with M&#xE4;rklin. This means that if you choose M&#xE4;rklin, you&apos;re committed to using only M&#xE4;rklin products.</p><h4 id="getting-started-with-dcc">Getting Started with DCC</h4><p>The simplest way to start with DCC is to buy a DCC starter kit. Brands like <a href="https://www.maerklin.de/en/products/gauge-h0/sets/starter-sets?ref=loco.engineering">M&#xE4;rklin</a> or <a href="https://www.roco.cc/ren/products/sets/starter-sets.html?verfuegbarkeit_status=41%2C42%2C43%2C45&amp;steuerung=14&amp;ref=loco.engineering">Roco</a> offer excellent options for beginners. If you prefer a more hands-on approach, you might want to check out the open-source command station based on Arduino at <a href="https://dcc-ex.com/?ref=loco.engineering#gsc.tab=0">https://dcc-ex.com/#gsc.tab=0</a>.</p><p>For those interested in building their own DCC decoder using Arduino and ESP32, we have <a href="https://loco.engineering/blog/dcc-arduino-decoder-with-esp32/">a separate guide that walks you through the process step by step</a>. This option is great for hobbyists who enjoy a bit of DIY and want to understand the technology from the ground up.</p><p></p><h2 id="wireless-command-control">Wireless Command Control</h2><p>Wireless Command Control (WCC) has been designed to simplify electronics for model railways while providing more interactive layouts. WCC doesn&apos;t require wires or tracks to send messages, as all communication is wireless. It also introduces two-way direct communication between trains and other layout elements. What does this mean? One train can send messages to other trains, signals, station decoders, etc., directly without additional tools and over the air.</p><p>To achieve this with DCC, you&apos;d need at least one wire between two layout elements or between an element and the command station. For example, if you want to add 10 block detectors to the layout, you&apos;d need to connect those detectors to a command station with 10 wires. WCC doesn&apos;t require any signal wires between layout elements, and all elements on the layout can communicate with each other, even trains, which isn&apos;t possible with DCC.</p><p>The average cost of a WCC system is much lower because you don&apos;t need a command station, wires, or additional tools to connect a command station to your laptop or mobile phone. Setting up a WCC system is as simple as an analog system - you need a power adapter with DC or AC, and you install a board into a train or connect accessories to the WCC accessory decoder. That&apos;s it. After you power a WCC decoder, you connect to it over WiFi and open the web app. The web app works with all modern browsers (released after 2020) and on all devices with WiFi.</p><p>More details about WCC can be found at <a href="https://loco.engineering/docs/?ref=loco.engineering">https://loco.engineering/docs/</a></p><h4 id="how-to-start-with-wcc">How to start with WCC:</h4><p><br>It&apos;s easy - all you need is a train or accessory that you want to control over WCC and <a href="https://loco.engineering/products/dcc-wireless-sound-decoders/dcc-bluetooth-train-decoder-with-sound?ref=loco.engineering">a train</a> or <a href="https://loco.engineering/products/dcc-wireless-sound-decoders/accessory-digital-command-control-dcc-decoder?ref=loco.engineering">accessory decoder</a>. You can also build your own WCC decoder based on ESP32S3 and Arduino - check our <a href="https://github.com/loco-engineering/simpledcc-arduino?ref=loco.engineering">GitHub repository</a> for more information on how to build a WCC decoder.<br></p><h2 id="what-to-choose">What to choose?</h2><p>As the lead developer of the WCC system, I recommend using it even if you already have a layout with DCC. WCC supports DCC but offers many more possibilities for interaction and significantly simplifies your model railway electronics.</p><p>The advantages of WCC include:</p><ol><li>Wireless control, eliminating the need for complex wiring</li><li>Enhanced interactivity between trains and other layout elements</li><li>Simplified setup and maintenance</li><li>Cost-effective expansion of your layout</li></ol><p>We&apos;re confident that WCC can enhance your model railway experience, regardless of your current setup. If you have any questions or need assistance in implementing WCC with your existing layout or just plan to buy your first set, please don&apos;t hesitate to contact us at <a href="mailto:hey@loco.engineering">hey@loco.engineering</a>. </p>]]></content:encoded></item><item><title><![CDATA[How to Convert Hot Wheels into RC Cars]]></title><description><![CDATA[<p>In this guide, I will show you how to convert almost any Hot Wheels or other 1/64 scale diecast cars into an RC car. At the end of this guide, you can download the files needed for 3D printing. If you don&apos;t have a 3D printer, you</p>]]></description><link>https://loco.engineering/blog/hot-wheels-rc-conversion-kit/</link><guid isPermaLink="false">67731ffd0bd81e0001f4e264</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Sun, 07 Apr 2024 10:29:00 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-turbo-64.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2025/01/hot-wheels-rc-conversion-kit-turbo-64.jpg" alt="How to Convert Hot Wheels into RC Cars"><p>In this guide, I will show you how to convert almost any Hot Wheels or other 1/64 scale diecast cars into an RC car. At the end of this guide, you can download the files needed for 3D printing. If you don&apos;t have a 3D printer, you can order all the required printed parts and other components, including electronics, <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama?ref=loco.engineering" rel="noreferrer">from our online store</a>.</p><p>For this build, we&#x2019;ll use a belt instead of gears, similar to high-level RC cars in larger scales, bicycles, and other machines. To understand how it works, check this article <a href="https://www.tec-science.com/mechanical-power-transmission/belt-drive/power-transmission-of-a-belt-drive/?ref=loco.engineering">https://www.tec-science.com/mechanical-power-transmission/belt-drive/power-transmission-of-a-belt-drive/</a>. Since there isn&#x2019;t a real drive belt for 1/64 scale cars, we&#x2019;ll replace it with an elastic band. Belts work great for larger scales and even in model trains, so why not use them for Hot Wheels and other 1/64, 1/43 cars?</p><figure class="kg-card kg-video-card kg-width-full" data-kg-thumbnail="https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit_thumb.jpg" data-kg-custom-thumbnail>
            <div class="kg-video-container">
                <video src="https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit.mp4" poster="https://img.spacergif.org/v1/720x1280/0a/spacer.png" width="720" height="1280" playsinline preload="metadata" style="background: transparent url(&apos;https://loco.engineering/blog/content/media/2025/01/hot-wheels-rc-conversion-kit_thumb.jpg&apos;) 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:14</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1&#xD7;</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"/>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            
        </figure><hr><h3 id="what-you-will-need">What You Will Need</h3><h4 id="tools">Tools:</h4><p>The tools required depend on the car you want to convert. For some cars, only screwdrivers are necessary. However, converting Hot Wheels requires a few additional tools:</p><ul><li>Screwdriver, size 00 and 000</li><li>Power drill with a 5mm bit (to &quot;open&quot; Hot Wheels cars)</li><li>Dremel tool to clean the car body</li><li>Tweezers</li><li>Flush cutter</li></ul><h4 id="hardware">Hardware:</h4><p>We designed this kit to be as simple as possible, requiring just five components, all available in <a href="https://loco.engineering/products/1-64-scale-hot-wheels-diorama?ref=loco.engineering" rel="noreferrer">our online shop</a> or from marketplaces like Aliexpress:</p><ul><li>4 x 1mm x 2mm x 1mm sealed bearings</li><li>2 x 1/64 scale wheel sets (optional)</li><li>10 x M1.0 x 6mm screws</li><li>10 x M1.0 x 10mm screws</li><li>1mm axle</li><li>Elastic band (6 &#x2013; 6.5 mm / 1/4&quot;)</li></ul><h4 id="electronics-for-the-car-controlled-from-a-phonecomputer">Electronics for the Car (Controlled from a Phone/Computer):</h4><p>We&#x2019;ll use a <a href="https://loco.engineering/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">Loco.Engineering RC car board</a>, which includes everything you need to build an RC car. It features a gyroscope, audio amplifier for sound, and an open-source firmware you can modify (based on Arduino and ESP32). It can also be controlled from any device with WiFi. What will you need:</p><ul><li>1 x <a href="https://loco.engineering/products/rc-car-electronics/remote-control-car-module-for-arduino?ref=loco.engineering" rel="noreferrer">Loco.Engineering RC car module</a></li><li>1 x 100-150 mAh Li-poly battery</li><li>1 x 1.7g rotational servo, 5V</li><li>1 x DC motor (14.5-15mm x 8mm x 6mm, 30,000 rpm, 3.6 - 4.2V)</li></ul><h4 id="optional-electronics-for-a-remote-controller">Optional Electronics for a Remote Controller:</h4><ul><li>2 x joystick modules</li><li>ESP32S3/ESP32C3 development board</li></ul><hr><h3 id="steps-to-build-your-rc-car">Steps to Build Your RC Car</h3><h4 id="1-open-the-car">1. Open the Car</h4><p>Remove the bottom of your car. For Hot Wheels, drill out the joints as shown in the photo below.</p><h4 id="2-assemble-the-conversion-kit">2. Assemble the Conversion Kit</h4><p>Download the 3D models linked at the end of this guide and print the parts. The kit has only five printed parts and is simple to assemble without requiring engineering expertise.</p><h4 id="3-front-wheels-and-steering">3. Front Wheels and Steering</h4><ul><li>Insert two 1mm x 2mm x 1mm bearings into the front wheel holders</li><li>Insert M1.0 x 6mm - 10mm (depends on wheels you use) screws through the bearings and attach both wheels.</li><li>Insert the bearings with wheels into the holes in the front wheel holders.</li><li>Place the front wheel holders into the main body.</li><li>Install and lock the top front wheel holder.</li><li>Mount the steering arm using two M1.0 x 6mm screws.</li><li>Install the servo and connect it to the steering arm.</li></ul><h4 id="4-rear-wheels-and-dc-motor">4. Rear Wheels and DC Motor</h4><ul><li>Cut the 1mm axle to the required width.</li><li>Insert a bearing onto the axle.</li><li>Insert the axle through the first bearing (file it slightly with sandpaper if needed).</li><li>Add the second bearing to the other side of the axle.</li><li>Center the axle.</li><li>Place a large pulley onto the axle.</li><li>Attach the rear wheels to the axle.</li><li>Solder wires to the motor.</li><li>Insert the motor into its position.</li><li>Attach the small pulley to the motor.</li><li>Connect the pulleys with an elastic band.</li><li>Install the rear wheel holder onto the main body with four screws and adjust the length to fit your car body.</li></ul><h4 id="5-electronic-connections">5. Electronic Connections</h4><ul><li>Solder the DC motor wires to the controller board.</li><li>Cut and solder the servo wires to the controller board.</li><li>Solder the battery wires to the controller board.</li><li>Attach a charging connector to the controller board.</li><li>Secure the controller board and battery with a band.</li></ul><h4 id="6-test-the-setup">6. Test the Setup</h4><ul><li>Power the charger.</li><li>Ensure the green LED on the board is on.</li><li>Open the WiFi networks list on any device and connect to &#x201C;rc_xxxxx&#x201D;.</li><li>Open <code>https://rc.local</code> in any browser.</li><li>Test the car by moving it forward/backward and turning left/right.</li><li>If everything works fine, proceed to mount the car body.</li></ul><h4 id="7-install-inside-the-car">7. Install Inside the Car</h4><p>Hot Wheels cars typically have two types of bottom attachments:</p><ol><li>By two metal joints.</li><li>By one metal joint and a plastic connector at the rear.</li></ol><p>Depending on your car type, glue magnets to the main body and the bottom with the wheels that you built.</p><hr><h3 id="final-step">Final Step</h3><p>Your RC Hot Wheels car is now ready! Build more and race with your friends. Loco RC car boards allow up to 25 users to race simultaneously.</p><p>Feel free to contact us at hey@loco.engineering if you have any questions or feedback.</p><hr><h3 id="files-for-printing">Files for Printing</h3><p><strong>Note: All files listed below are for private use only. Redistribution or sale is prohibited.</strong></p>]]></content:encoded></item><item><title><![CDATA[Tutorial: How to make an Arduino / ESP32 wireless DCC decoder?]]></title><description><![CDATA[<!--kg-card-begin: html-->
<ul>
    <li><b>Level of Complexity: EASY</b></li>
    <li><b>Required time: 10 - 15 min</b></li>
</ul>
<!--kg-card-end: html-->
<p>In this guide, you&apos;ll learn how to create your own wireless accessory or multifunction DCC decoder based on the ESP32S3 microcontroller and the SimpleDCC/WCC project.</p><h3 id="why-should-you-build-your-own-dcc-decoder-or-use-a-programmable-decoder">Why should you build your own DCC decoder or use a programmable</h3>]]></description><link>https://loco.engineering/blog/dcc-arduino-decoder-with-esp32/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de0f</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Tue, 19 Mar 2024 22:42:00 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1683616505621-671a1f094be9?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDU0fHxyYWlsd2F5JTIwbW9kZWxsaW5nfGVufDB8fHx8MTcwMzYzMDI2NXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[
<!--kg-card-begin: html-->
<ul>
    <li><b>Level of Complexity: EASY</b></li>
    <li><b>Required time: 10 - 15 min</b></li>
</ul>
<!--kg-card-end: html-->
<img src="https://images.unsplash.com/photo-1683616505621-671a1f094be9?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDU0fHxyYWlsd2F5JTIwbW9kZWxsaW5nfGVufDB8fHx8MTcwMzYzMDI2NXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="Tutorial: How to make an Arduino / ESP32 wireless DCC decoder?"><p>In this guide, you&apos;ll learn how to create your own wireless accessory or multifunction DCC decoder based on the ESP32S3 microcontroller and the SimpleDCC/WCC project.</p><h3 id="why-should-you-build-your-own-dcc-decoder-or-use-a-programmable-decoder">Why should you build your own DCC decoder or use a programmable decoder? </h3><p>Here are some key benefits:</p><p><strong>Flexibility</strong>: You can implement complex control logic that&apos;s simply not possible with off-the-shelf decoders. This gives you unprecedented customization options.</p><p><strong>No vendor lock-in</strong>: When you build your own decoder, you&apos;re not tied to any particular brand or manufacturer. You have complete freedom to choose the components and features that suit your needs.</p><p><strong>Cost savings</strong>: Building your own decoder is often much more affordable than purchasing proprietary decoders from model railroad companies.</p><p><strong>Repairability</strong>: If your custom-built decoder ever breaks, you can easily replace individual components inside it, rather than having to discard the entire unit.</p><p><strong>Expanded capabilities</strong>: With a programmable decoder, you can connect all sorts of additional sensors and components, like NFC readers, stepper motors, displays, and more - things that aren&apos;t possible with typical commercial decoders.</p><p>In fact, many hobbyists find that once they experience the power and flexibility of a programmable decoder, they never want to go back to proprietary solutions. The customization and cost-savings are simply too compelling.</p><p>So if you&apos;re ready to take your model railroad control to the next level, let&apos;s dive into the steps to build your own wireless DCC decoder using the ESP32S3 and SimpleDCC/WCC project.</p><h3 id="components-of-a-dccwcc-decoder">Components of a DCC/WCC decoder</h3><p><br>Here are the key components needed to build your own DCC/WCC decoder:</p><ul><li><strong>ESP32S3 Board</strong>: At the heart of your custom decoder will be an ESP32S3 system-on-chip (SoC). This powerful microcontroller has built-in Bluetooth, Wi-Fi, PWM capabilities, analog-to-digital converters, and over 30 I/O connections that can each handle up to 40mA of current - perfect for powering signals, lights, and other model railroad accessories.</li><li><strong>DCC Converter (optional if you want to control the layout from the web app)</strong>: To interface your ESP32S3 with the model railroad&apos;s DCC track power, you&apos;ll need a DCC converter circuit. This converts the alternating current (AC) from the rails into the direct current (DC) needed to power the microcontroller, while also converting the voltage changes on the rails into digital 0 and 1 signals that the ESP32S3 can understand. You have a couple options here - you can use a <a href="https://loco.engineering/products/dcc-wireless-sound-decoders/dcc-model-train-converter-for-arduino-esp32?ref=loco.engineering">ready-to-use DCC converter circuit</a>, or you can build your own using an optocoupler and rectifier bridge. If you choose to build it yourself, we&apos;ve provided a schematic below that you can use as a reference (please note this schematic is only for non-commercial use).</li></ul><div class="kg-card kg-file-card"><a class="kg-file-card-container" href="https://loco.engineering/blog/content/files/2024/12/arduino-dcc-converter-schematic.pdf" title="Download" download><div class="kg-file-card-contents"><div class="kg-file-card-title">DCC converter for Arduino and ESP32, schematic</div><div class="kg-file-card-caption"></div><div class="kg-file-card-metadata"><div class="kg-file-card-filename">arduino-dcc-converter-schematic.pdf</div><div class="kg-file-card-filesize">52 KB</div></div></div><div class="kg-file-card-icon"><svg viewbox="0 0 24 24"><defs><style>.a{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><title>download-circle</title><polyline class="a" points="8.25 14.25 12 18 15.75 14.25"/><line class="a" x1="12" y1="6.75" x2="12" y2="18"/><circle class="a" cx="12" cy="12" r="11.25"/></svg></div></a></div><ul><li><strong>Firmware (or application)</strong> that will control elements connected to the decoder. We&apos;ll use the SimpleDCC/WCC project for Arduino - <a href="https://github.com/loco-engineering/simpledcc-arduino?ref=loco.engineering">https://github.com/loco-engineering/simpledcc-arduino</a></li><li><strong>(Optional) A DC motor driver</strong> if you want to control a train, DC motors, or solenoids (for example, Kato turnouts use solenoids to change direction)</li><li><strong>(Optional) An LED driver</strong> if you need more than 40mA per LED</li><li><strong>(Optional) Digital-to-Analog converter</strong> and audio amplifier to play sound</li><li><strong>(Optional) Green connectors</strong> and/or a breadboard to avoid excessive soldering</li></ul><p>In this tutorial, we&apos;ll create a SimpleDCC decoder based on the ESP32-S3 development board, the Loco.Engineering DCC converter, and the SimpleDCC/WCC framework for Arduino. Alternatively, you can buy a ready-to-use programmable Loco.Engineering decoder that already has the ESP32-S3 SoC, DCC converter, and other features.</p><p>The decoder in this tutorial will control a Polish Railway signal, but you can use any other signal(s) you need. If you don&apos;t know how DCC works, be sure to check the related guide.</p><p>Don&apos;t worry if you&apos;ve never programmed before - you can use the SimpleDCC/WCC project without writing any code, as the decoder logic can be updated directly in the web browser.<br><br></p><h2 id="how-simpledccwcc-differ-from-other-dcc-projectsdecoders">How SimpleDCC/WCC Differ from Other DCC Projects/Decoders</h2><p>The main differences are:</p><ul><li>You don&apos;t need to understand DCC&apos;s inner workings because the decoder&apos;s logic can be set in the web app without additional programming tools.</li><li>There&apos;s no need to study lengthy manuals. SimpleDCC performs actions (e.g., changing semaphore aspects, turning lights on/off) without strictly adhering to often ambiguous DCC protocols. You can view all messages received by a SimpleDCC decoder in your browser (with options to group and filter them), and define the decoder&apos;s response to received packets. In our experience, this greatly simplifies working with DCC.</li><li>SimpleDCC decoders are compatible with virtually all command stations and DCC protocols (with mfx support on our roadmap). Even if you don&apos;t understand a DCC packet&apos;s format, you can still assign actions to it. For instance, M&#xE4;rklin Mobile Station sends accessory DCC packets in a non-standard format that most accessory decoders don&apos;t understand, but with SimpleDCC, you can assign actions to these packets as-is.</li><li>SimpleDCC/WCC decoders can control trains, vehicles, and layout accessories like signals and turnouts without needing to know the specific types connected. With a traditional decoder, changing a signal aspect requires finding the correct command to send from the command station. With SimpleDCC/WCC, the user defines what action should occur when a specific DCC packet is received. You&apos;re not limited to predefined signal aspects or features set by manufacturers like Pico or Marklin. Instead, you can create virtually any state and action you need. No programming is required, but for advanced users, the source code is available for full control over the decoder&apos;s behavior.</li><li>You can control almost everything with SimpleDCC/WCC from a command station or web browser, including RGB addressable LEDs, NFC readers, Hall sensors, servo motors, DC motors/single solenoids (an external DC motor driver is required) and more.</li><li>SimpleDCC/WCC decoders can communicate with each other directly without any additional tools</li></ul><h3 id="connections">Connections</h3><p>If you use a Loco.Engineering decoder, you should connect it to the rails with DCC, and the signal should be connected to the decoder.</p><p>If you use your own ESP32-S3 board and a DCC converter, you should:</p><ul><li>Connect the ESP32-S3 board to the DCC converter</li><li>Connect the DCC converter to the rails</li><li>Connect a signal to the ESP32-S3 board</li></ul><p>Example of connections in case you use an ESP32-S3 development board and Loco.Engineering DCC converter:</p><figure class="kg-card kg-image-card kg-width-full kg-card-hascaption"><img src="https://loco.engineering/blog/content/images/2024/11/arduino-dcc-decoder-schematic.jpg" class="kg-image" alt="Tutorial: How to make an Arduino / ESP32 wireless DCC decoder?" loading="lazy" width="2000" height="1002" srcset="https://loco.engineering/blog/content/images/size/w600/2024/11/arduino-dcc-decoder-schematic.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/11/arduino-dcc-decoder-schematic.jpg 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/11/arduino-dcc-decoder-schematic.jpg 1600w, https://loco.engineering/blog/content/images/2024/11/arduino-dcc-decoder-schematic.jpg 2000w"><figcaption><span style="white-space: pre-wrap;">Arduino DCC ESP32 decoder connection diagram</span></figcaption></figure><p></p><h3 id="upload-simpledccwcc-on-a-decoder">Upload SimpleDCC/WCC on a decoder</h3><p></p><p>It&apos;s time to upload the SimpleDCC/WCC firmware to your DCC decoder. All the steps below will work only for ESP32-S3 boards, including Loco.Engineering decoders that are based on the ESP32-S3 as well.</p><p>How to upload the firmware to a SimpleDCC/WCC decoder:</p><ol><li><a href="https://www.arduino.cc/en/software?ref=loco.engineering">Download and install the Arduino IDE</a> (Arduino is an application used to develop applications that can be launched on different microcontrollers).</li><li><a href="https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/installing.html?ref=loco.engineering#installing-using-arduino-ide">Install the ESP32 development tools for Arduino</a>.</li><li>Follow the instructions from the SimpleDCC/WCC repository on <a href="https://github.com/loco-engineering/simpledcc-arduino?tab=readme-ov-file&amp;ref=loco.engineering#how-to-build-and-upload">GitHub</a> to install all the required frameworks.</li><li><a href="https://esp32io.com/tutorials/esp32-hello-world?ref=loco.engineering">Upload the firmware to the decoder</a> and reboot it.</li><li>On your phone, tablet, or laptop, connect to the Wi-Fi network named <code>loco-xxxxx</code> (by default, you should be able to connect without a password).</li><li>Open <code>http://loco.local</code> or <code>http://192.168.4.1</code> in your web browser.</li><li>You should see the web-based configuration interface for the SimpleDCC/WCC decoder.</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://loco.engineering/blog/content/images/2024/11/arduino-dcc-decoder-web-app-simpledcc.png" class="kg-image" alt="Tutorial: How to make an Arduino / ESP32 wireless DCC decoder?" loading="lazy" width="1850" height="1053" srcset="https://loco.engineering/blog/content/images/size/w600/2024/11/arduino-dcc-decoder-web-app-simpledcc.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/11/arduino-dcc-decoder-web-app-simpledcc.png 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/11/arduino-dcc-decoder-web-app-simpledcc.png 1600w, https://loco.engineering/blog/content/images/2024/11/arduino-dcc-decoder-web-app-simpledcc.png 1850w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">SimpleDCC/WCC decoder web app</span></figcaption></figure><p>If the decoder is connected to the rails, you&apos;ll see the DCC packets in the web app (don&apos;t forget that you need a DCC converter that can transform the DCC signal from the rails into digital messages, convert the alternating current to direct current, and step down the voltage - do not connect your ESP32-S3 board directly to the rails).</p><p>The idea behind SimpleDCC is to make DCC as simple as possible. That&apos;s why you shouldn&apos;t have to spend hours or even days reading through decoder manuals. To get your decoder working with your command station, you only need to complete two steps:</p><ol><li>Add an accessory or train decoder to your command station - use any decoder address, any port, and any function number.</li><li>Add the decoder settings you used on the command station to your SimpleDCC/WCC decoder in the web app.</li></ol><h3 id="what-features-do-we-plan-to-add-to-simple-dcc">What features do we plan to add to Simple DCC?</h3><p>This is the initial version of the SimpleDCC decoders for Arduino, but there are plans to add more features in the coming months. For example, the developers plan to add the following capabilities between September and December 2024:</p><ul><li>NFC readers to get information about train locations</li><li>Support for stepper motors</li><li>Ability to play media files, including video, on small displays</li></ul><p>Feel free to contact the developers at hey[at]loco.engineering if you have any ideas about what should be added to the SimpleDCC/WCC Arduino project.</p><p>If you need ready-to-use or programmable decoders with features like sound, DCC decoder, LED drivers, and motor drivers, you can check out the Loco.Engineering decoders.</p>]]></content:encoded></item><item><title><![CDATA[Introducing Loco.Engineering DCC/WCC accessory/multi-function sound decoders with low price and almost unlimited possibilities]]></title><description><![CDATA[<p>After more than 1 year of development, experiments, tests, and sleepless nights we&apos;re ready to introduce Loco.Engineering accessory decoder that, we guess, is the most comprehensive decoder available on the market now. In this introduction post, I will show you why we think so.</p><h3 id="the-problem-we-want-to-solve">The problem we</h3>]]></description><link>https://loco.engineering/blog/accessory-multi-function-dcc-sound-decoder/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de13</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Thu, 28 Dec 2023 13:54:48 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales.jpg" alt="Introducing Loco.Engineering DCC/WCC accessory/multi-function sound decoders with low price and almost unlimited possibilities"><p>After more than 1 year of development, experiments, tests, and sleepless nights we&apos;re ready to introduce Loco.Engineering accessory decoder that, we guess, is the most comprehensive decoder available on the market now. In this introduction post, I will show you why we think so.</p><h3 id="the-problem-we-want-to-solve">The problem we want to solve</h3><p>Let&apos;s start with a bit of history about why we decided to develop a new decoder and a new control system for model railways and other toys. You can tell that DCC (Digital Command Control) can do what you need and that&apos;s true if you&apos;re ready to spend a huge amount of time on electronics instead of playing and demonstrating your layout. A simple example is how to get a message and handle that a train crosses some section on tracks and add signal automation based on that message. Just check how it can be implemented with Marklin in <a href="https://youtu.be/TwKk9C9WweE?si=hP43jC6Z8W4bfvpn&amp;ref=loco.engineering">this video</a>. in 2023 it&apos;s a fully outdated solution because we use RF signals everywhere but model railways still send messages over the track which of course makes the whole layout-building process very very complicated.</p><p>We are in Loco.Engineering decided to change the way how we control layouts by moving all messages from tracks to the air and introducing 2-side communication between decoders (in classic DCC a decoder communicates with a command station but there is no communication between decoders directly) - you don&apos;t need any more command stations and additional wires especially to get feedback from decoders, because all messages between decoders are sent over the air. That should simplify the whole electronics on a layout, give the possibility to build temporary layouts with complex logic, and make it easier to play with model railways for young guys.</p><h3 id="main-features">Main features</h3><ul><li>Different outputs to make your layout interactive</li></ul><p>		- 14 outputs for LEDs / other loads with dimming and up to 60mA/output (even enough for small motors)</p><p>		- 4 outputs for heavy loads with up to 500mA</p><p>		- Output to connect DC motors or servo motors, multiple motors can be connected if you need to move them all in the same direction (for example, barriers on a level crossing)</p><p>        - Output for a speaker 3W</p><p>		- I2C outputs to connect an NFC reader, your custom sensors, and other modules</p><p>		- 2 inputs for interrupts</p><ul><li>Can handle 3 protocols at the same time</li></ul><p>		- DCC (Digital Command Control)</p><p>		- WCC (Wireless Command Control, no command stations are required, can be controlled directly from a computer or mobile devices)</p><p>		- Mfx (will be available in February 2024, currently in beta testing)</p><ul><li>A web application to set decoder settings (for example, to set dimming for individual LEDs of a signal, combination of LEDs to highlight, etc), no programming over the track is required</li></ul><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/11/dcc-train-decoder-web-app-for-settings.png" class="kg-image" alt="Introducing Loco.Engineering DCC/WCC accessory/multi-function sound decoders with low price and almost unlimited possibilities" loading="lazy" width="1850" height="1053" srcset="https://loco.engineering/blog/content/images/size/w600/2024/11/dcc-train-decoder-web-app-for-settings.png 600w, https://loco.engineering/blog/content/images/size/w1000/2024/11/dcc-train-decoder-web-app-for-settings.png 1000w, https://loco.engineering/blog/content/images/size/w1600/2024/11/dcc-train-decoder-web-app-for-settings.png 1600w, https://loco.engineering/blog/content/images/2024/11/dcc-train-decoder-web-app-for-settings.png 1850w" sizes="(min-width: 720px) 720px"></figure><ul><li>Firmware updates with new features every 2 weeks</li><li>Fully programmable - you can use our firmware or develop your own with Arduino or ESP32 IDF. </li><li>API to develop a custom application to control all decoders on the layout</li><li>Compact size</li><li>Friendly support from engineers who develop and improve decoders not from 3rd party people</li><li>Low cost (<strong>&#x20AC;</strong>70 or $80) because we sell our decoders directly on our website</li></ul><h3 id="how-to-use-locoengineering-accessory-decoders">How to use Loco.Engineering accessory decoders</h3><p>When we designed our decoders we had 2 things in mind</p><ul><li>simplicity in usage</li><li>flexibility</li></ul><p>That&apos;s why getting started with Loco.Engineering decoders is very easy</p><ul><li><a href="https://loco.engineering/products?ref=loco.engineering">Buy a decoder on our website</a>, receive it, and unpack</li><li>Connect your accessory (for example, a signal) to a decoder, all outputs on a decoder are marked and all documentation can be found online (no more than 100-page pdf files), a getting started manual is included with each decoder</li><li>Power a decoder from rails or just with a USB type-c cable for fast evaluation</li><li>Open the web app, click on &quot;Add module&quot; and set a decoder settings</li><li>That&apos;s it</li></ul><h3 id="roadmap">Roadmap</h3><p>Most companies that produce DCC decoders don&apos;t make any improvements after they release the production version and just sell them. We develop and produce all decoders in our workshop which means that we can introduce improvements and add new features even every day. For example, today we received an idea in the e-mail from one of our users that it would be great to have feature A, and next week feature A can be implemented and all users that already have our decoders should just update the firmware like you update all your applications on a mobile device. That&apos;s why feel free to send your feedback and ideas at hey[]loco.engineering. Anyway, what&apos;s on our roadmap for the next few months</p><ul><li>Finish NFC modules that will help to notify all decoders on a layout that a train, car, or vehicle crosses some area and it&apos;s time to change a signal aspect, down barriers, or do something else</li><li>Ready to use electronic kits like a level crossing kit, light kit with RGB LEDs, etc</li><li>Add support for small displays that can be used on train stations, for example</li></ul><h3 id="where-to-buy">Where to buy</h3><p>Decoders can be purchased at <a href="https://loco.engineering/products?ref=loco.engineering">our online shop</a> only. In case you don&apos;t like it you can return a decoder within 14 days after you receive a package without any questions from our side. We ship worldwide from Poland.</p><p>If you have any questions feel free to contact us at hey[]loco.engineering and don&apos;t forget <a href="https://loco.engineering/?ref=loco.engineering#subscribe">to subscribe to our news here</a></p>]]></content:encoded></item><item><title><![CDATA[Why Digital Command Control (DCC) electronics for model railways is so expensive and how can we solve it?]]></title><description><![CDATA[<p>Today I want to explain what you&apos;re paying for when ordering a DCC multifunction decoder, accessory decoder, and other electronics for your layout. and what is the main reason that they are so expensive and how we in <a href="https://loco.engineering/?ref=loco.engineering">Loco.Engineering</a> is trying to solve this problem to make</p>]]></description><link>https://loco.engineering/blog/why-electronics-for-dcc-control-is-so-expensive-and-how-to-solve-it/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de0d</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Mon, 18 Dec 2023 12:09:40 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1644311774607-06c07736b35d?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fCUyMG1vZGVsJTIwcmFpbHdheXxlbnwwfHx8fDE3MDI5MDEzMjl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1644311774607-06c07736b35d?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fCUyMG1vZGVsJTIwcmFpbHdheXxlbnwwfHx8fDE3MDI5MDEzMjl8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="Why Digital Command Control (DCC) electronics for model railways is so expensive and how can we solve it?"><p>Today I want to explain what you&apos;re paying for when ordering a DCC multifunction decoder, accessory decoder, and other electronics for your layout. and what is the main reason that they are so expensive and how we in <a href="https://loco.engineering/?ref=loco.engineering">Loco.Engineering</a> is trying to solve this problem to make model railways accessible for more people (even with small budgets and young guys). Let&apos;s start from the basics - what is needed to send a DCC message, receive that DCC message and do some actions (move a train, turn on LEDs, etc).</p><h3 id="dcc-basics">DCC basics</h3><p><br>DCC is a very simple protocol that is a bit over-engineered and already outdated, to be honest. If you still don&apos;t know or understand how it works look at the following example. Imagine you have a model train motor that you can start/stop/change the rotation direction. You can rotate a motor for 1 second forward and 1 second back. Also, you can rotate a motor for 2 seconds forward and for 2 seconds back. of course, it&apos;s just an example because there is no value in rotating the motor forward and back for the same periods. DCC works in the same way - a command station powers rails with very short intervals - around 58 &#x3BC;s and 100 &#x3BC;s (intervals in 58&#x3BC;s and 100&#x3BC;s is a standard developed by NMRA). For example, the command station sends +12V (voltage depends on a command station model, 12V is just an example) during 58&#x3BC;s (if you connect a motor, it will rotate forward for 58&#x3BC;s), then -12V during 58&#x3BC;s(the same motor will rotate backward for 58&#x3BC;s, etc), then +12V during 100&#x3BC;s, and finally -12V during 100&#x3BC;s. Of course, if you just connect a motor to rails with such a DCC signal you&apos;ll see nothing in most cases but if you have a very responsive motor you&apos;ll hear some noise from the motor. This means that you need something that can understand that the voltage in rails is changed from +12V to -12V, and how long +12V occurs. Here we use DCC decoders that can convert voltage changes (from +12V to -12V) and durations of how long +12V is kept in rails to some messages that we can use to control trains, signals, etc. If a decoder detects that rails have +12V for 58&#x3BC;s, a decoder thinks that it&apos;s 1, and if rails have +12V for 100&#x3BC;s, a decoder interprets it as 0. By combining such &quot;0&quot; and &quot;1&quot; we can send/read messages like when you write in any chat application. There are a few standards or protocols that describe what different combinations of 0 and 1 mean. The basic protocol is developed by NMRA and you can find more details on <a href="https://www.nmra.org/dcc-rps-standards?ref=loco.engineering">the official website</a>.</p><h3 id="how-do-dcc-command-stations-work">How do DCC command stations work?</h3><p>Let&apos;s check what components are required to send and handle DCC messages. To send a message to a decoder you need</p><ul><li>MCU &quot;thinks&quot; about what message should be sent. For example, you press a button on a station command to turn on the lights of a loco and MCU finds how many 0 and 1 (message structure) should be in a message that should be sent to a loco&apos;s decoder</li><li>The motor driver converts a digital message from MCU to voltage signals (a motor driver power rails with +12V and -12V during different periods as we described in the previous chapter) that go to rails and then are handled by decoders</li></ul><p>That&apos;s it. The cost of those 2 components is 5-10 EUR, but I guess you know how much command stations are cost. Of course, command stations have buttons and small/big screens but components for a command station still cost not more than 20-30 EUR. &#xA0;So the reasonable price for a command station like Marklin Mobile Station is 70-80 EUR. Everything is paid on top of it - distribution fees and marketing. Well, but what do Loco.Engineering and <a href="https://loco.engineering/blog/wireless-command-control-for-model-railways/">WCC</a> introduce? With Loco.Engineering and <a href="https://loco.engineering/blog/wireless-command-control-for-model-railways/">WCC</a> you don&apos;t need command stations anymore because each decoder on a model railway layout has an MCU microchip that can not just receive messages from other trains and accessories but can send messages to others (in a traditional DCC-only command stations send messages to trains and accessories). To update logic on decoders you can use computers, mobile phones, or tablets that can communicate with decoders directly without additional devices and any wires. This means that you can not just reduce costs on your model layout but simplify electronics a lot.</p><h3 id="how-do-dcc-decoders-work">How do DCC decoders work?</h3><p>Let&apos;s check what is needed to handle a DCC message on a decoder and do some actions when a new message is received:</p><ul><li>Rectifier bridge to convert alternative current (if you remember, in DCC a command station powers rails with positive and negative voltage during some periods) to direct current</li><li>An optocoupler or just a few diodes and resistors to transform positive and negative voltage changes to digital 0 and 1</li><li>MCU to handle digital 0 and 1</li><li>A motor driver to control a DC motor</li><li>Mosfets for high-load outputs</li><li>(Optional) Digital to analog converter for sound</li></ul><p>You can check at electronics online stores how much such components cost. The total amount will be up to 20 EUR including digital to analog converter for sound even if you buy components just for 1 decoder. In case we want to add wireless communication it will be a bit more expensive - around 25-30 EUR. &#xA0;So the reasonable price on classic sound DCC decoders should be around 45-55 EUR and on wireless sound DCC decoders should be around 65-75 EUR. And now just check how much your sound decoders cost. There is one brand that has very nice decoders for a reasonable price - of course, our decoders and decoders from Hornby. So what value Loco.Engineering and WCC introduce for DCC decoders?</p><ul><li>CV programming is not required anymore - the whole logic of a decoder can be updated directly from a computer, mobile phone, or tablet.</li><li>Decoders can send messages not just receive messages</li><li>Better and faster message delivery because all messages are being delivered over the air not rails</li><li>Tracking train and vehicle locations with NFC</li><li>Wireless Command Control is an open protocol, all wireless decoders available on the market use a proprietary protocol to communicate between applications and decoders. With WCC you&apos;re able to create your web and mobile applications and even control layout from your single board computer like Raspberry Pi</li><li>Layout automation is a base feature</li><li>Low cost - 55-75 EUR for wireless sound decoders with most modern IoT technologies</li><li>Friendly documentation (not a pdf file)</li></ul><p>Loco.Engineering and WCC decoders are available in our online store - <a href="https://loco.engineering/products?ref=loco.engineering">https://loco.engineering/products</a>. Feel free to contact us at hey@loco.engineering in case any questions or ideas about how we can improve and what we can add to our decoders.</p>]]></content:encoded></item><item><title><![CDATA[L.E. v 0.92: WCC decoder production candidate]]></title><description><![CDATA[<p>No updates for a long time but it&apos;s because we haven&apos;t enough time for blog posts. When we don&apos;t work on WCC and decoders we have fun testing what we&apos;ve finished already. and those tests become more and more interesting because interactions</p>]]></description><link>https://loco.engineering/blog/wcc-dcc-decoder-production-candidate-version-0-92/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de0c</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Thu, 14 Dec 2023 09:36:36 GMT</pubDate><media:content url="https://loco.engineering/blog/content/images/2024/11/dcc-wireless-decoder-for-model-trains-h0.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://loco.engineering/blog/content/images/2024/11/dcc-wireless-decoder-for-model-trains-h0.jpg" alt="L.E. v 0.92: WCC decoder production candidate"><p>No updates for a long time but it&apos;s because we haven&apos;t enough time for blog posts. When we don&apos;t work on WCC and decoders we have fun testing what we&apos;ve finished already. and those tests become more and more interesting because interactions that you can add to your layout with WCC are limited by your imagination only and the size of the gauge you build.</p><p>We have great news - we&apos;re already waiting for PCBs that will be used in production. This means that we are very very close to releasing the first version of DCC train and accessory decoders that you can buy and use on your layout. We plan to start selling decoders in January 2024 after around 2 years of development and huge amount of experiments and trying different hardware options.</p><p>Here is how Loco.Engineering WCC/DCC decoders will look like. Each decoder has outputs for speakers, a tiny RF antenna for sending messages over the air (no more any signals over wires but of course classic DCC is supported) and communicate with computers/mobile devices, and I2C to connect additional modules like NFC reader, sensor modules, or even your submodule developed with Arduino or ESP Idf. Dimensions are 11 mm x 39 mm. Versions with different connectors like <a href="https://dccwiki.com/Locomotive_Interface/NMRA_Eight_Pin_Plug?ref=loco.engineering">NMRA 8-pin connectors</a> will be available as well.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2023/12/wireless-digital-command-control-decoder-1.png" class="kg-image" alt="L.E. v 0.92: WCC decoder production candidate" loading="lazy" width="830" height="922" srcset="https://loco.engineering/blog/content/images/size/w600/2023/12/wireless-digital-command-control-decoder-1.png 600w, https://loco.engineering/blog/content/images/2023/12/wireless-digital-command-control-decoder-1.png 830w" sizes="(min-width: 720px) 720px"></figure><p>We decided to use the same core board (on the image above) for train decoders and accessory decoders because there is no difference between trains, vehicles, and other layout elements in WCC - all decoders use the same firmware. This means that you can install different non-standard elements like displays, movable current collectors, and others even in trains and you can add sound to any level crossing. Of course, it&apos;s not easy to solder wires to a small decoder each time to want to connect or reconnect signals, servomotors, or speakers that&apos;s why we designed a special expander board with wire connectors (green on the picture below) for accessories, this expander board has 12 outputs for LEDs and other loads, outputs for speakers, DCC decoder and I2C in case if you want to develop something very custom with Arduino or ESP IDF.</p><figure class="kg-card kg-image-card"><img src="https://loco.engineering/blog/content/images/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales-1.jpg" class="kg-image" alt="L.E. v 0.92: WCC decoder production candidate" loading="lazy" width="1191" height="1280" srcset="https://loco.engineering/blog/content/images/size/w600/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales-1.jpg 600w, https://loco.engineering/blog/content/images/size/w1000/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales-1.jpg 1000w, https://loco.engineering/blog/content/images/2024/11/dcc-train-multifunction-decoder-for-ho-tt-scales-1.jpg 1191w" sizes="(min-width: 720px) 720px"></figure><p></p><p>What&apos;s next? Now we&apos;re waiting when PCBs for core decoders and accessory decoders will be delivered. As usual shipping before Christmas takes forever. After we get them and solder everything in our workshop in Poland, we plan to spend a few weeks hard testing all components and finish our web app. </p><p>In a few weeks, we plan to introduce our early adopters program. Approved users of that program will be able to get a 20% discount on all decoders and get updates before they go live for all other users, send feedback and ideas on what they like or don&apos;t like, and what they want to add to decoders and WCC. Of course, early adopters will have premium support.<a href="https://loco.engineering/?ref=loco.engineering#subscribe"> Subscribe here</a> to be notified about this early adopters program and when decoders are available on our website.</p>]]></content:encoded></item><item><title><![CDATA[How to add WCC (wireless digital command control for model railways) to your layout]]></title><description><![CDATA[<p>Today I want to show you how easy to add Wireless Command Control to your layout (new one or with existing DCC decoders) and forget about any DCC complexity forever. If you don&apos;t know what is WCC - check <a href="https://loco.engineering/blog/wireless-command-control-for-model-railways/">this post</a>.</p><p>When we designed how layout elements (trains,</p>]]></description><link>https://loco.engineering/blog/how-to-add-wireless-digital-command-control-to-model-railway/</link><guid isPermaLink="false">6744f1de0bd81e0001f4de0b</guid><dc:creator><![CDATA[Pavel]]></dc:creator><pubDate>Wed, 13 Dec 2023 21:22:13 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1453053507108-9f5456eb481f?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDQ3fHxtb2RlbCUyMHJhaWx3YXl8ZW58MHx8fHwxNzAyNTAyNTYzfDA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1453053507108-9f5456eb481f?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDQ3fHxtb2RlbCUyMHJhaWx3YXl8ZW58MHx8fHwxNzAyNTAyNTYzfDA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to add WCC (wireless digital command control for model railways) to your layout"><p>Today I want to show you how easy to add Wireless Command Control to your layout (new one or with existing DCC decoders) and forget about any DCC complexity forever. If you don&apos;t know what is WCC - check <a href="https://loco.engineering/blog/wireless-command-control-for-model-railways/">this post</a>.</p><p>When we designed how layout elements (trains, signals, switches, etc) communicate with a control panel (the application on a laptop/mobile device, remote control with buttons, etc) we wanted to keep this communication for users as simple as possible and of course, still, provide scalability because today you have 2 trains and next year you have 100 trains. Just imagine setting up DCC for 100 trains. With WCC it doesn&apos;t matter at all how many trains and layout elements you have because all messages are sent over the air. Let me show how it works in detail.</p><p>With WCC all trains and layout elements &quot;live&quot; and communicate with each other inside a mesh (or in a group). For example, train A can send a message to a level crossing that train A will cross it in a minute and signals on the level crossing should start blinking. The question here is how to set all this logic - what should be done if some event occurs? The traditional way is to use CVs on your DCC decoders to set how a decoder should react to different DCC messages. WCC fully changes it - now you don&apos;t need any more programming each decoder because the whole layout logic is dynamic. One of your WCC decoders is a main decoder that communicates with the web app or remote control from one side and forwards messages to other decoders from another side. &#xA0;If you have just one WCC decoder on your layout - that decoder will be a main decoder as well.</p><p>There are a few options for how you can connect a main WCC decoder to the web app:</p><ul><li>Over WiFi, in this case, you need a WiFi router. If you haven&apos;t a modem you can use your mobile phone. if your mobile cannot be a wifi router or you have very bad Internet, there is the second option</li><li>Over USB cable. In this case, you don&apos;t need a WiFi router but you need a WCC dongle (costs 20EUR) or any ESP32S3 development board with UART&lt;-&gt;USB converter. The second option doesn&apos;t work with mobile devices</li><li>(Currently in development) You can install the WCC server on any single-board computer with Ubuntu, for example on Raspberry Pi. This option will work in the same way as the first with WiFi router but you don&apos;t need Internet all the time - only to set up.</li></ul><p>After your main decoder is connected to WiFi or via a USB cable, it will be visible in the web app and you can start to control your layout and add automation.</p><p>Each time you want to add a new WCC decoder to your layout, steps will be</p><ul><li>Power a decoder</li><li>Use Wi/Fi, Bluetooth, and USB (only for accessory decoders) to set the name/id of your layout</li><li>Wait until you see the online status for a new decoder in the web app</li></ul><p>That&apos;s it, after you see that a decoder is connected in the web app you can start control/automate it in the web app.</p><p>WCC decoders will be available in January 2024. Don&apos;t forget to subscribe <a href="https://loco.engineering/?ref=loco.engineering#subscribe">here</a> to be notified when decoders are available. Estimated price - 50-60 EUR.</p>]]></content:encoded></item></channel></rss>