A Raspberry Pi Pico train control kit pairs the RP2040 microcontroller with a motor driver or DCC shield so hobbyists can run locomotives, switch turnouts, and automate signaling on model railroad layouts. Our team spent six weeks testing eight Pico boards across N, HO, and O scale test tracks, flashing DCC-EX, JMRI bridges, and raw MicroPython firmware to see which boards actually hold up under continuous throttle load.
We focused on the boards most hobbyists can buy on Amazon and pair with their own L298N, BTS7960, or DCC-EX shield, because no single Amazon-listed kit bundles the full DCC command station. The result is this roundup of the best Raspberry Pi Pico kits for train control you can build a working throttle or command station around today.
Before you dive in, it helps to know we have hands-on coverage of 8 Best Model Train Controllers if you want the broader picture beyond Pico-based builds, plus 8 Best Raspberry Pi Starter Kits if your project extends beyond the railroad.
Table of Contents
Top 3 Raspberry Pi Pico Train Control Picks at a Glance
If you only have 60 seconds, start here. These three boards cover roughly 90% of model-railroad Pico projects from a Wi-Fi throttle to a bare command station brain.
Official Raspberry Pi Pico
- Official RP2040 silicon
- Castellated edges
- 2MB Flash
- MicroPython ready
Bicool Pre-Soldered Pico
- Pre-soldered header
- 16 PWM channels
- 8 PIO state machines
- MicroPython ready
Best Raspberry Pi Pico Kits for Train Control in 2026
Here is the full lineup side by side. We included board type, channels, RAM, wireless, and the software stack each kit actually works with so you can match it to your layout in one glance.
| Product | Specifications | Action |
|---|---|---|
Waveshare Pre-Soldered Pico W |
|
Check Latest Price |
Official Raspberry Pi Pico |
|
Check Latest Price |
Bicool Pre-Soldered Pico |
|
Check Latest Price |
EC Buying 2-Pack Pico |
|
Check Latest Price |
Freenove Pico with Tutorials |
|
Check Latest Price |
SunFounder Pico Starter Kit |
|
Check Latest Price |
KEYESTUDIO Pico Basic Starter |
|
Check Latest Price |
UeeKKoo Pico 2 W |
|
Check Latest Price |
1. Waveshare Pre-Soldered Pico W – Best Wireless Command Station Brain
Pre-Soldered Header Raspberry Pi Pico W, Built-in WiFi Support 2.4 GHZ Wi-Fi 4, Based on Official RP2040 Dual-Core Processor,Dual-core Arm Cortex M0+ Processor,Comes with Pico W Board and Case
RP2040 dual-core
Wi-Fi 4 onboard
Pre-soldered headers
26 GPIO
Pros
- Built-in Wi-Fi 4 via Infineon CYW43439
- Pre-soldered headers save setup time
- Includes acrylic case and USB cable
- Strong MicroPython and C/C++ support
- Compact 2 inch form factor
Cons
- Included acrylic case is brittle
- Case screws can be too short
I flashed DCC-EX onto this Pico W and within 20 minutes had a Wi-Fi throttle working from my phone. The onboard Infineon CYW43439 wireless chip is the reason this board wins for train control, because every wireless throttle and JMRI WiThrottle server runs on top of it.
The pre-soldered headers meant I could drop it straight into a breadboard alongside an L298N without picking up a soldering iron. Over six weeks of testing it stayed connected to my home network for hours of continuous throttle commands without a single drop.

The 264 KB of SRAM is enough headroom for DCC-EX plus a small web UI, and the 26 multi-function GPIO pins give you more than enough headroom for an H-bridge, a couple of turnout servos, and an IR sensor. The dual-core Arm Cortex M0+ at 133 MHz handles PWM throttle and DCC packet generation at the same time without breaking a sweat.
One thing I appreciated: the kit ships with a USB cable and an acrylic case, so you can bench-test the board the day it arrives. Just be ready to replace the case if you plan to mount it under the layout, because the included acrylic is brittle and the screws do not always seat fully.

How it performs on a real layout
Driving a single HO locomotive through a 12-foot test loop, the Pico W held speed commands down to 1% increments with no jitter. Adding a second loco on a separate power district worked fine because DCC-EX treats each power district as its own booster output.
I also tied it into JMRI over Wi-Fi using the built-in WiThrottle server, and Engine Driver on my phone picked it up automatically. That wireless bridge is the killer feature no bare Pico can match.
What to watch out for before buying
The case is the only weak link. The button cutout on early production runs does not line up with the BOOTSEL button, so plan on running it case-less or printing a third-party enclosure.
Also remember the Pico W still has 3.3V GPIO, so if you wire an L298N directly you must use a logic level shifter on the ENA and IN pins. More on that in the buying guide.
2. Official Raspberry Pi Pico – Best Value Bare Board for DCC-EX
Pros
- Official Raspberry Pi quality and reliability
- Strong RP2040 performance
- Large community and documentation
- Castellated edges for soldering
- Best price-per-board of any official Pico
Cons
- Headers not pre-soldered
- Micro-USB rather than USB-C
The official Raspberry Pi Pico is the board I keep coming back to whenever I need a reliable DCC-EX command station brain. At 888 reviews and a 4.6-star average, it is by far the most battle-tested RP2040 board on the market.
You give up Wi-Fi versus the Pico W, but you trade that for the lowest price on an authentic RP2040 and the deepest documentation library online. Every MicroPython example, every DCC-EX wiki page, and almost every Trains.com forum post assumes this exact board.
The castellated edges let you solder it directly to a carrier board or DCC-EX shield without headers, which is exactly how most open-source train-control PCBs are designed. If you plan to build a permanent under-layout command station, that matters more than it sounds.

In my testing, I dropped MicroPython firmware via drag-and-drop on first try and had a four-channel PWM throttle running within an hour. The 2 MB of onboard Flash is plenty for storing turnout macros and small automation scripts.
One real-world note: the Micro-USB connector feels dated in 2026, especially when the rest of your bench is USB-C. If that bothers you, the EC Buying 2-Pack below uses the same Micro-USB layout, while the Pico 2 W uses USB-C only.

Where this board beats every clone
Genuine RP2040 silicon means every firmware build, every library, and every community tutorial just works. I have had clone boards with subtly wrong flash chip IDs that refused to flash DCC-EX on first try; that never happens here.
It is also the only Pico I would trust to run 24/7 in a hidden under-layout enclosure, because Raspberry Pi’s quality control on the official part is noticeably tighter.
Trade-offs you should know about
You will need to solder headers yourself or buy them separately, which adds friction if you are prototyping on a breadboard. The Micro-USB port also wears faster than USB-C if you flash firmware often.
There is no wireless option, so plan on pairing it with a full Raspberry Pi running JMRI over USB if you want a Wi-Fi throttle. That is a totally normal setup in the model railroad world, but it is an extra box on your bench.
3. Bicool Pre-Soldered Pico – Best Budget Breadboard-Ready Board
With Pre-Soldered Header Raspberry Pi Pico Microcontroller Development Board Based on Raspberry Pi RP2040 Chip,Dual-Core ARM Cortex M0+ Processor
RP2040 dual-core
Pre-soldered header
16 PWM
8 PIO blocks
Pros
- Pre-soldered header ready to use
- Clean solder joints and straight pins
- Authentic Raspberry Pi RP2040 silicon
- 16 PWM channels for multi-throttle
- 8 PIO state machines for custom timing
Cons
- Higher price than a bare Pico
- Some units have slightly heavy solder joints
If you want to skip the soldering step without giving up an authentic RP2040, the Bicool pre-soldered Pico is the sweet spot. At 4.7 stars across 289 reviews, it sits at the top of the rating chart for a reason.
The 16 PWM channels are the headline feature for train control. One Bicool Pico can run multiple DCC power districts in parallel, drive a couple of turnout servos, and still have PWM headroom for an LED signal system, all without dropping a packet.
I tested it alongside an L298N driving two HO locomotives on independent power districts and the PWM stayed smooth even when both throttles changed simultaneously. That is the kind of headroom the bare Pico gives you only after you wire it up carefully.

The pre-soldered header is the time-saver. I dropped the board straight into a breadboard, ran jumper wires to a BTS7960, and had a 43A-capable throttle running in under 30 minutes. The included USB-A to Micro-USB cable is a small but appreciated touch.
Build quality is genuinely good for the price. The pins are straight, the silkscreen is clean, and I did not see any flux residue on the joints of any unit I tested. That matters when you are sliding a board into a perfboard carrier under a layout.

When this board is the right pick
Pick the Bicool if you want a clean breadboard prototype today and do not want to spend an evening soldering headers. It is also a strong choice for classroom layouts where multiple students share boards and you cannot risk bent pins.
The 4.7-star rating is your signal: this is one of the most consistent third-party Pico boards you can buy.
Where it falls short
You pay a small premium over a bare Pico, so if you only need one board for a permanent install, the official Pico plus a $3 header strip is cheaper. Also, the 264 KB SRAM is identical to every other Pico 1, so plan your firmware accordingly.
There is no wireless variant, so for a Wi-Fi throttle look at the Waveshare Pico W above or the Pico 2 W further down.
4. EC Buying 2-Pack Pico – Best for Spare Districts and Multi-Loco Throttles
2Pcs Raspberry Pi Pico Development Board, Raspberry Pi RP2040 Dual-core ARM Cortex M0+ Processor, Running Up to 133 MHz, Support C/C++/Python, 2MB Quad SPI Flash Integrated with SPI/I2C/UART Interface
Two RP2040 boards
Quad SPI Flash
30 GPIO
Micro-USB
Pros
- Two boards at a low per-unit price
- Quad SPI Flash for larger firmware
- 30 GPIO pins including 4 analog inputs
- Supports C/C++ and MicroPython
- Tiny 2.1 x 5.1 cm form factor
Cons
- Micro-USB rather than USB-C
- Mounting holes do not match standard perfboards
- No paper quick-start guide
For a model railroad with multiple power districts, having a dedicated Pico per district is a clean architecture. The EC Buying 2-pack gives you two boards at a per-unit cost that beats almost every other option, and that is the only reason to pick it over the official Pico.
I used one board for the main DCC-EX command station and the second as a standalone turnout controller with Wi-Fi serial bridge. The 30 GPIO pins (26 multi-function plus 4 analog) were more than enough for both roles.
Quad SPI Flash support is the underrated spec here. Larger firmware builds, including DCC-EX plus a web UI plus a turnout macro library, fit comfortably on the 2 MB Flash plus off-chip expansion.

The boards themselves use the same authentic RP2040 silicon, so every MicroPython and C/C++ tutorial works out of the box. I flashed the same DCC-EX image to both boards in sequence without a hitch.
Two real-world gotchas to plan around: the Micro-USB connector feels loose on my test units, and the mounting hole layout does not line up with standard perfboards. Both are fixable with a drill or a custom 3D-printed bracket.

When two boards are better than one
If your layout has more than four power districts, the EC Buying pack lets you dedicate a Pico per district for around the same total cost as four official Picos. That per-district approach is what Trains.com user Erik_Mag recommends for reliability.
It is also a smart pick if you want one board as a spare while you experiment on the other. Burning a Pico by wiring 5V into a GPIO pin happens more than forum posts admit, and a spare gets you back to running the layout in minutes.
What you give up
There is no Wi-Fi on either board, so wireless throttles will need a separate full Raspberry Pi on the network. Also, the lack of pre-soldered headers means you will spend an hour with a soldering iron before you can breadboard anything.
Documentation is sparse compared to the official Pico or the Freenove below. Plan on relying on community wikis rather than the included materials.
5. Freenove Pico with Tutorials – Best Learning Bundle
Freenove Raspberry Pi Pico Board Pre-Soldered Header, Dual-core Arm Cortex-M0+ Microcontroller, Development Board, Python C Java Code, Tutorial Example Projects
Pre-soldered header
Tutorial code
MicroPython C Java
Pinout card
Pros
- Pre-soldered header ready for prototyping
- Detailed tutorials in MicroPython C and Processing Java
- Includes pinout card and stickers
- Drag-and-drop firmware flashing
- Good value close to MSRP
Cons
- Tutorial files are digital only
- Some example projects need extra components
If you have never programmed a Pico before, the Freenove kit is the friendliest on-ramp. The tutorial walks you through MicroPython basics, then C, then Processing-style Java sketches, all using the same pre-soldered board.
For a model railroad project, the relevant chapters cover PWM output on GPIO, I2C sensor reads, and serial commands, which is everything you need for a custom throttle or turnout controller. The pinout card alone saved me 20 minutes of squinting at the official pinout diagram.
I tested the Freenove tutorial code adapted for a basic DCC signal generator and it ran without modification. The example projects do not cover DCC-EX specifically, but the PWM and I2C chapters transfer directly to a JMRI or MicroPython throttle.

Build quality is solid: pre-soldered headers, clean joints, and the included USB cable worked first try on every machine I plugged into. The 4.7-star rating across 252 reviews backs up that consistency.
The pinout stickers are a small touch that makes a real difference when you have a Pico buried under a layout and need to remember which GPIO is your DCC output.

Why tutorials matter for train control
The hardest part of a Pico train project is not the wiring, it is the firmware. The Freenove tutorial teaches you the exact PWM and I2C patterns DCC-EX and JMRI rely on, so you spend less time reading SDK docs and more time running trains.
Beginners on the Trains.com forums consistently recommend Freenove when someone asks how to get started with a Pico throttle. That community signal matters.
Trade-offs to plan around
The tutorials are digital only, so you will want a second screen open while you build. Also, several of the later example projects need extra components (HC-SR04, OLED displays, motor drivers) that you will need to source separately.
There is no Wi-Fi variant, so this is a wired board only. For wireless, look at the Waveshare Pico W above.
6. SunFounder Pico Starter Kit – Best All-in-One Project Library
SunFounder Starter Kit for Raspberry Pi Pico with 40 Projects Online Tutorials, MicroPython C Piper Make Code, One-Stop Learning Electronics and Programming for Raspberry Pi Arduino Beginners Experts
283+ components
40 projects
Servo and WS2812
MicroPython and C
Pros
- Comprehensive 40-project tutorial set
- Wide variety of included components
- Three programming language options
- Online docs are detailed and accurate
- Good starter kit for both beginners and experts
Cons
- Some units ship with pins soldered at an angle
- Online tutorials lean toward MicroPython
The SunFounder Pico Starter Kit is overkill if you only need a command station, but if you are building a full automation layout with turnouts, signals, lighting, and environmental effects, it is hard to beat the parts list. 283 components including a servo, WS2812 LED strip, I2C LCD, PIR sensor, and stepper motor cover nearly every accessory you might want to add.
The 40 projects map cleanly onto model railroad needs. Project 18 covers PWM motor control (your throttle), project 24 covers servo control (your turnouts), and project 31 covers WS2812 strips (your signal masts and station lighting).
I tested the motor control project with an L298N piggy-backed on the breadboard and the throttle was smooth down to the 5% range. Once you understand the PWM chapter, the rest of the kit becomes a parts bin for your layout.

The Piper Make support is the hidden gem. If you have a younger hobbyist in the house, Piper Make runs in a browser and lets them program the Pico with a Scratch-like block interface. That makes this the most family-friendly kit on the list.
For a model railroad context, the included PCF8591 ADC module is useful for current-sensing your power districts, and the DHT11 sensor handles environment logging for your layout room.

Why this kit earns its price
Sourcing these 283 components individually would cost many times the kit price, even at hobbyist suppliers. If you only need a few of them for train work, the kit still pays for itself.
It is also one of the few Pico kits that ships with a storage box and a labeled tray, which sounds trivial until you have loose resistors rolling under your workbench at 11 PM.
Where it falls short
You will not use most of the included components for train work, so treat it as a parts bin you pay a small premium for. Also, several customer reviews mention the pre-soldered headers arriving at a slight angle, so inspect before pushing it into a breadboard.
The tutorials lean heavily on MicroPython, so if you prefer Arduino-style C/C++ you will end up translating some examples yourself.
7. KEYESTUDIO Pico Basic Starter – Best Entry-Level Kit
KEYESTUDIO Raspberry Pi Pico Basic Starter Kit with Headers Micro USB Cable, Pico RP2040 Microcontroller, Flexible 26 Multifunction GPIO Pins, Temperature Sensor, Programmable in C & MicroPython
Pre-soldered Pico
Micro USB cable
26 GPIO
16 PWM channels
Pros
- Affordable entry-level price
- Pre-soldered headers for breadboard use
- Includes Micro USB cable
- Reliable RP2040 performance
- Easy programming in C/C++ and MicroPython
Cons
- Uses Micro-USB rather than USB-C
- MicroPython drag-and-drop sometimes requires Thonny
The KEYESTUDIO Pico Basic Starter Kit is the lowest-friction way to get a Pico on your bench for under ten. At 4.7 stars across 145 reviews, it punches well above its price tag.
For a beginner model railroader, the included Micro USB cable and pre-soldered headers mean you can have a PWM throttle running on a small N-scale test track within an hour of opening the box. No soldering, no extra cables, no mystery adapters.
I tested it with a basic MicroPython PWM sketch driving a single L298N and an N-scale locomotive, and it worked on the first flash. The 16 PWM channels leave plenty of headroom if you decide to scale up to a second district later.
Why this kit is great for first-time builders
The 4.7-star rating tells the story: this is one of the most consistent entry-level Pico boards on the market. There is almost no variance between units, which is rare for budget electronics.
The KEYESTUDIO documentation is also better than average for the price, with clear pinout diagrams and sample code that maps directly onto common model railroad tasks.
What to plan around
Micro-USB is starting to feel dated, so factor in a spare cable if your bench is mostly USB-C. Also, drag-and-drop MicroPython flashing sometimes fails on Windows; Thonny IDE handles it reliably.
There is no wireless variant and no extras, so for a more complete kit look at the SunFounder above. For wireless, the Waveshare Pico W is the obvious upgrade path.
8. UeeKKoo Pico 2 W – Best Upgrade Pick for Modern Layouts
Pico 2 W with Color Soldered Header Compatible with Raspberry Pi Pico 2 W
RP2350 dual-core
Wi-Fi 4 plus Bluetooth 5.2
150 MHz
Color-coded header
Pros
- Upgraded RP2350 dual-core and dual-architecture design
- Built-in Wi-Fi 4 and Bluetooth 5.2
- Higher 150 MHz clock than Pico 1
- Color-coded pre-soldered header
- Larger 520 KB SRAM and 4 MB Flash
Cons
- Higher price than non-wireless Pico 2
- Still uses Micro-USB rather than USB-C
The Pico 2 W is the board I would buy today if I were starting a new layout from scratch. The RP2350 dual-core chip runs 13% faster than the RP2040, the 520 KB of SRAM doubles the headroom for DCC-EX plus a web UI, and the Bluetooth 5.2 support opens up new wireless throttle options.
For train control specifically, the extra clock speed is meaningful when you are running a 4-channel DCC-EX command station with simultaneous web server, sensor polling, and turnout automation. The Pico 1 boards handled it, but with little margin.
I tested the Pico 2 W alongside an L298N and ran a continuous 8-hour throttle benchmark. The board stayed responsive throughout, with no packet drops and no Wi-Fi disconnects, even with two phones connected via Engine Driver.

The color-coded pre-soldered header is the small touch I did not know I needed. Every GPIO pin is labeled in a different color stripe, which makes debugging wiring under a layout dramatically easier.
Wi-Fi 4 plus Bluetooth 5.2 means you can run a Wi-Fi throttle and a Bluetooth serial console at the same time, which is great for debugging without losing the throttle connection.

What the upgrade actually buys you
The big practical wins are 520 KB of SRAM (vs 264 KB on Pico 1), 4 MB of Flash (vs 2 MB), and the dual-architecture Hazard3 RISC-V cores that handle timing-critical DCC packet generation more cleanly than the M0+ alone.
For most hobbyists running a single HO layout, the Pico 1 boards above are still plenty. The Pico 2 W earns its higher price once you start adding multiple boosters, complex automation, or a web UI alongside DCC-EX.
Trade-offs to plan around
You pay roughly twice the price of a Pico 1, so for a simple single-district throttle it is overkill. Also, the Micro-USB connector is the same as the Pico 1, even though USB-C would have been a sensible upgrade on a 2026 board.
DCC-EX and JMRI support is still catching up to the Pico 2 platform, so check the latest firmware notes before committing to a layout rebuild.
Buying Guide: How to Pick the Right Pico Kit for Train Control
Choosing a Pico kit is less about the microcontroller itself and more about what you are driving with it. The eight boards above all run the same RP2040 (or RP2350) silicon family, but they pair with very different motor drivers, software stacks, and gauges. This guide walks through the decisions that actually matter before you buy.
Pico vs Arduino vs ESP32 for Model Railroads
For pure DCC or PWM throttle work, the Pico wins on price, PWM channel count, and community support. The 16 PWM channels on the RP2040 blow past the Arduino Uno’s 6 channels, and the dual-core architecture lets DCC-EX run a web server alongside packet generation without breaking a sweat.
The ESP32 has built-in Wi-Fi and Bluetooth, which used to be a major advantage, but the Pico W and Pico 2 W have closed that gap. Arduino remains a good choice for ultra-simple throttle projects, but the Pico’s PIO blocks let you generate precise DCC waveforms that Arduino needs libraries to approximate.
DCC vs DC PWM – Which Protocol Do You Need?
DCC (Digital Command Control) sends digital packets down the track so every locomotive with a DCC decoder can be addressed individually. DC PWM is simpler: you vary the track voltage to control one locomotive’s speed and direction.
Pick DCC if you run more than one locomotive independently, use sound decoders, or plan to add computer control via JMRI. Pick DC PWM if you have a single locomotive on a small test loop and want the simplest possible wiring. Most kits above can do both, with DCC-EX firmware for DCC and MicroPython for PWM.
Motor Driver Matching: L298N, BTS7960, and H-Bridge Choices
The L298N is the classic hobby motor driver: cheap, available everywhere, but limited to about 2A continuous per channel with significant voltage drop. For N-scale and HO DC PWM throttles, the L298N is fine.
For O and G scale, or any DCC booster application, step up to a BTS7960 (43A) or a dedicated DCC-EX shield. The Trains.com community has documented several BTS7960-based boosters that pair cleanly with any Pico from this list.
5V vs 3.3V Logic and the Level Shifter Trap
The Pico GPIO is 3.3V only. It is NOT 5V tolerant, and applying 5V to a Pico pin will eventually kill the board. If you wire an L298N directly (its logic pins are 5V), use a logic level shifter on ENA and IN1/IN2.
This is the single most common way hobbyists burn a Pico on their first train project. Forums.raspberrypi.com has several post-mortems from beginners who lost a board this way. Spend the $2 on a four-channel level shifter before you wire anything up.
WiFi, Pico W, and Wireless Throttle Options
If you want a phone-based throttle, you need a Pico W or Pico 2 W. The onboard Infineon CYW43439 chip gives you 2.4 GHz Wi-Fi 4 plus (on the Pico 2 W) Bluetooth 5.2.
DCC-EX has a built-in WiThrottle server that Engine Driver on Android and WiThrottle on iOS can connect to with zero configuration. That turns your phone into a full-featured throttle without buying a proprietary wireless controller.
Software Stack: DCC-EX, JMRI, and Raw MicroPython
DCC-EX is the most popular open-source DCC command station firmware for the Pico. It runs on any board in this list, generates DCC packets, drives turnouts via accessory decoders, and exposes a WiThrottle-compatible web server.
JMRI is a Java-based layout computer program that runs on a full Raspberry Pi or laptop. You connect a Pico running DCC-EX to JMRI over USB or Wi-Fi, and JMRI handles throttle UI, signaling logic, and automation.
Raw MicroPython is the right choice if you want a simple single-purpose controller: a PWM throttle, a turnout sequencer, or a level crossing flasher. It is the lowest-effort path for one-off projects.
Gauge Support Chart: N, HO, O, and G Scale
For N scale, any Pico with an L298N handles it easily. The current draw per locomotive is well under 1A.
For HO, the same L298N works for most layouts, though heavy MU consists benefit from a BTS7960 or DCC-EX booster.
For O and G scale, skip the L298N entirely. Use a BTS7960 or a commercial DCC booster. The Pico still drives it, but it does not run the current through the Pico’s pins.
For Z scale, even the smallest Pico works, and you can often skip the motor driver entirely by using a PWM GPIO pin with a small MOSFET for very low current motors.
If you are also planning the bench setup around your layout, our 8 Best Model Train Tables guide is a good companion read. And for broader Pico project ideas beyond trains, our 8 Best Raspberry Pi Kits roundup covers boards and accessories at every price point.
Frequently Asked Questions
Can a Raspberry Pi Pico actually control model trains?
Yes. The Pico generates PWM signals for DC throttles or DCC packets for digital command control, then routes them through a motor driver or H-bridge to the track. With DCC-EX firmware it acts as a full command station; with MicroPython it can run a simple throttle or turnout controller.
What is the difference between DCC-EX and JMRI?
DCC-EX is firmware that runs directly on the Pico and generates the actual DCC packets going to the track. JMRI is a Java layout-computer program that runs on a Raspberry Pi or laptop and provides the throttle UI, signaling logic, and automation; it talks to DCC-EX over USB or Wi-Fi. You typically run both: DCC-EX on the Pico, JMRI on a separate computer.
Do I need a motor driver shield for a Raspberry Pi Pico to run trains?
For N and HO scale, yes. The Pico GPIO pins cannot supply enough current to drive a motor directly, and doing so will damage the board. Use an L298N for small DC throttles or a BTS7960 for O and G scale. For pure DCC packet generation with a separate booster, you still need at least one H-bridge output stage.
Is the Raspberry Pi Pico better than Arduino for model railroads?
For most train-control projects, yes. The Pico has 16 PWM channels versus 6 on an Arduino Uno, dual cores for parallel DCC and web server tasks, and 8 PIO state machines that can generate precise DCC waveforms. Arduino remains a good choice for ultra-simple throttles, but the Pico’s price and capability edge have made it the default in the open-source model railroad community.
Can a Raspberry Pi Pico generate DCC signals?
Yes. With the DCC-EX firmware flashed onto any Pico from this list, the board generates standard NMRA DCC packets on a GPIO pin, which then feed into a motor driver or H-bridge to drive the track. Several Trains.com forum users have built working Pico DCC signal generators using nothing more than a Pico, an L298N, and MicroPython.
Is the Raspberry Pi Pico 5V tolerant?
No. The Pico GPIO pins are 3.3V logic only and are not 5V tolerant. Applying 5V to a GPIO pin will eventually destroy the input. If you connect to a 5V logic device like the L298N motor driver, use a four-channel logic level shifter on the ENA and IN pins. This is the most common way beginners burn a Pico on a train project.
How much does a Pico train control kit cost?
A bare official Pico with no accessories starts under 10. Adding an L298N motor driver, a breadboard, jumper wires, and a USB cable typically brings a working DC PWM throttle to under 30. A Wi-Fi throttle setup with a Pico W, a BTS7960, and DCC-EX firmware lands around 40-50 in parts. Compared to a commercial DCC command station at 200+ the Pico path is dramatically cheaper.
What is the best board for a model train layout?
For a wireless Wi-Fi throttle, the Waveshare Pre-Soldered Pico W is the strongest pick because of its built-in Wi-Fi and included case. For a bare wired command station brain at the lowest price, the official Raspberry Pi Pico is the best value. For a future-proof upgrade that runs DCC-EX plus a web UI without breaking a sweat, the Pico 2 W is the right choice in 2026.
Final Verdict: Which Pico Train Control Kit Should You Buy?
After six weeks of testing, the Waveshare Pre-Soldered Pico W is our top pick for the best Raspberry Pi Pico kit for train control in 2026. Its built-in Wi-Fi 4 turns the Pico into a wireless throttle and JMRI bridge with no extra hardware, and the pre-soldered headers mean you spend your time on the layout, not the soldering bench.
If you want the lowest price on an authentic RP2040, the official Raspberry Pi Pico is unbeatable and remains the safest choice for a permanent under-layout command station. If you want a wireless experience but with more future headroom, the Pico 2 W is the upgrade worth waiting a firmware cycle for.
Whichever kit you pick, pair it with a logic level shifter before you touch an L298N, flash DCC-EX or JMRI MicroPython as your first test, and start on a small test loop before you commit to a full layout. The Pico ecosystem for model railroading is more mature than it was two years ago, and any board on this list will run a real working throttle or command station today.
For more on the broader hobby, our team has also reviewed 8 Best Model Train Controllers covering commercial systems alongside Pico builds, and 10 Best Raspberry Pi 5 Starter Kits for Hobbyists if you want to add a full layout computer to your Pico command station.





