How to Add MicroSD Storage to a Raspberry Pi Pico 2 @dev-neil-a
How to Add MicroSD Storage to a Raspberry Pi Pico 2  @dev-neil-a
Uploaded July 2026 | Updated November 2026, 8 hours ago
Playlist of other Pico videos and projects:
youtube.com/playlist?list=PLg0AM98jT164MVVE-rteHEckIC0YDIwmS

In this Raspberry Pi Pico 2 project video tutorial, I'll show you how you can add more storage to a Pico 2 microcontroller by adding a MicroSD card adapter to it.

I'll be going over some of the use cases for adding more storage, what hardware & software you'll need, the wiring and a few MicroPython / Python examples that show you how to read and write to and from a MicroSD card.

Subscribe to the channel for more videos like this one:
youtube.com/@dev-neil-a

Link to code on GitHub: github.com/York13Pud/pico-code-samples/tree/main/007-microsd-card-storage

Parts used for this project:

Raspberry Pi Pico 2 W:
thepihut.com/products/raspberry-pi-pico-2-w?variant=54063378760065

USB-A to Micro-B USB Cable:
thepihut.com/products/usb-to-micro-usb-cable-0-5m

USB-C to Micro-B USB Cable:
thepihut.com/products/usb-c-to-micro-usb-cable-black

Breadboard:
thepihut.com/products/breadboard-for-pico

SPI-Based MicroSD Card Reader:
amazon.co.uk/dp/B07ZQ32476?ref=ppx_yo2ov_dt_b_fed_asin_title

MicroSD Card (Alternative to the one I used):
amazon.co.uk/PNY-Performance-Plus-microSDHC-Class/dp/B07T714DG4?crid=15YYK66QSZM73&dib=eyJ2IjoiMSJ9.1wvnzC9lGRYRSM5Bi3b_sFl6HBaBemGUEYUfVmWQ04pK56-iUzehZ9K5mfjXnUuiN7niM_C7YleFvYSAPB02eqlCZT-wsMf0JNggEyjeAmzj24gzHdgazgquGOX824CReLxB1zqVJAMdx0nY8IYk4GxN1Zt6xmCRuMv3IR3NzDteu71x99p-k3wtbsSGvbVC9GJ73OHeDmDzWPiktGIvMySyFiRHc2-pJZODoMZVMd8.8P1GrPSuscEJPP66sAy4N68R4d72FLkBX2WhynsFtEo&dib_tag=se&keywords=16gb%2Bmicrosd&qid=1783345321&sprefix=16gb%2Bmicrosd%2Caps%2C163&sr=8-6&th=1

Dupont Wires:
thepihut.com/products/thepihuts-jumper-bumper-pack-120pcs-dupont-wire

Timestamps:

00:00 Introduction
00:23 What You'll Need
01:36 Wiring Diagram
02:42 Format MicroSD Card on Windows 11
04:31 Format MicroSD Card on macOS
06:04 Example 1 - Setting up the MicroSD card and interacting with the storage
11:00 Example 2 - Saving temperature sensor reading to a JSON file on the MicroSD Card

#python #coding #tutorial #programming #howto #pico2 #pico #raspberrypi #project #guide #microcontroller
How to Add MicroSD Storage to a Raspberry Pi Pico 2Python code example - How to generate sample data using Faker #shortsJoin Characters Together as a String From a List with PythonHow To Join Lists Together as One Using Python #shortsHow To Scroll Horizontally with a Vertical Scroll Wheel on a Mouse | macOS TipsPython: Remove Trailing Whitespace from a String [How To]Python How To Sort a List by Element Length with a Lambda Function #shortsHow To Swap The Case of a String | Python Code Example #pythonCheck if All Elements in a List are the Same Datatype Using PythonSomething for the weekend. Lego Game Boy SetPython code example - How to show the name of a day for a dateCheck if a String is Empty in Python
Dev Neil A |

How to Add MicroSD Storage to a Raspberry Pi Pico 2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER