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
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




![Python: Remove Trailing Whitespace from a String [How To]
Learn how to remove the trailing whitespace characters in a string in this Python code example tutorial / guide.
This is another short in a series of small Python code examples / programs that show developers how to do a particular thing with Python.
Remember to like, subscribe and hit the notification bell to get notified when my next video is out.
#python #coding #programming #webdevelopment Python: Remove Trailing Whitespace from a String [How To]](https://i.ytimg.com/vi/s7adMrvHtuA/mqdefault.jpg)





