Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Did seabird poop fuel rise of Chincha in Peru?

    OpenAI researcher quits over ChatGPT ads, warns of “Facebook” path

    “Windows 11 26H1” is a special version of Windows exclusively for new Arm PCs

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026

      To avoid accusations of AI cheating, college students are turning to AI

      January 29, 2026

      ChatGPT can embrace authoritarian ideas after just one prompt, researchers say

      January 24, 2026
    • Business

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025

      Saudia Arabia’s STC commits to five-year network upgrade programme with Ericsson

      December 18, 2025
    • Crypto

      HBAR Shorts Face $5 Million Risk if Price Breaks Key Level

      February 10, 2026

      Ethereum Holds $2,000 Support — Accumulation Keeps Recovery Hopes Alive

      February 10, 2026

      Miami Mansion Listed for 700 BTC as California Billionaire Tax Sparks Relocations

      February 10, 2026

      Solana Drops to 2-Year Lows — History Suggests a Bounce Toward $100 is Incoming

      February 10, 2026

      Bitget Cuts Stock Perps Fees to Zero for Makers Ahead of Earnings Season, Expanding Access Across Markets

      February 10, 2026
    • Technology

      Did seabird poop fuel rise of Chincha in Peru?

      February 11, 2026

      OpenAI researcher quits over ChatGPT ads, warns of “Facebook” path

      February 11, 2026

      “Windows 11 26H1” is a special version of Windows exclusively for new Arm PCs

      February 11, 2026

      Google recovers “deleted” Nest video in high-profile abduction case

      February 11, 2026

      US decides SpaceX is like an airline, exempting it from Labor Relations Act

      February 11, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»I designed my LED matrix PCB with code
    Technology

    I designed my LED matrix PCB with code

    TechAiVerseBy TechAiVerseApril 26, 2025No Comments4 Mins Read8 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    I designed my LED matrix PCB with code
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    I designed my LED matrix PCB with code

    Overview​

    This tutorial will walk you through building a 3×5 LED matrix controlled by a Raspberry Pi Pico using tscircuit.

    Objectives of Building an LED Matrix​

    Some practical applications of building an LED Matrix include:

    • Signage – Building signs for events, products, etc.
    • Data Visualization Tool – Displaying real-time data metrics like GitHub contributions, website traffic, or temperature readings through color intensity
    • Interactive Notification System – Creating a physical notification system for emails, social media, or calendar events with customizable brightness levels

    LED Matrix Requirements​

    • The LED matrix must be WiFi-controllable
    • The matrix layout pattern must be grid-based
    • Each LED should be individually controllable for brightness and color

    System Diagram​

    The matrix connects to the Pico microcontroller via a data chain. The Pico connects to WiFi through the PICO_W module.
    The components and connections between them are shown in the diagram below:

    Schematic Capture​

    Let’s import the Pico microcontroller and LED components by following the steps in the Importing from JLCPCB section.

    We will follow the following steps to build the circuit step by step:

    1. Import the Pico microcontroller Schematic
    2. Import the LED Schematic
    3. Chain two LEDs together
    4. Chain many LEDs together
    5. Connect the Pico to the LED matrix

    Pico Schematic​

    Schematic of the Pico microcontroller imported from JLCPCB is shown below:

    LED Schematic​

    We are using IC LEDs (specifically WS2812B), which have an RGB LED and control chip integrated into the same package. These IC LEDs offer several advantages over traditional RGB LEDs:

    • Simplified Wiring – Only 4 pins needed (VDD, GND, Data In, Data Out) compared to 4+ pins for traditional RGB LEDs
    • Serial Communication – LEDs can be daisy-chained together, requiring only one data pin from the microcontroller
    • Individual Control – Each LED in the chain can be controlled independently for color and brightness

    Chaining Two LEDs together​

    To connect two LEDs together, we need to connect the data output DO of the first LED to the data input DI of the second LED. This creates a chain of LEDs.

    Connecting Pico to the LED Matrix​

    The Pico is connected to the LED matrix via a general purpose input/output (GPIO) pin in this example we are using GP6,
    and the other pins of the Pico are connected to ground.

    Chaining many LEDs together​

    LED Matrix Layout​

    We can connect multiple LEDs together by chaining them, but doing this for a large number of LEDs would be tedious.
    Luckily, tscircuit has a helper function to create a grid of components. We will be using that helper function to create our matrix layout.

    Here we are using the grid function to create a 3×5 LED matrix. The grid function takes in the number of columns and rows, and the spacing between the components.

    Connecting the Pico to the LED matrix​

    Here we are merging all the learnings from the previous examples to create a complete circuit. The Pico is connected to the LED matrix via the GP6 pin, and the other pins of the Pico are connected to ground.
    The GP6 pin is connected to the data input DI of the first LED, and the data output DO of each LED is connected to the data input DI of the next LED in the chain.
    While connecting the LEDs together, we are also connecting the GND and VDD pins of the LEDs to ground and 5V supply respectively.

    Complete circuit is shown below:

    PCB Layout​

    We can translate our schematic into a PCB layout by specifying the physical positions of components on the board.

    Here we are adding the positions of the components on the PCB:

    • Pico microcontroller is added at pcbX={-15} pcbY={0} with a rotation of 90deg (Rotation is needed for the Pico to be in the correct orientation)
    • LEDs are added at positions calculated by the grid function with a spacing of 8mm horizontally and 5mm vertically

    Check out this circuit in our Playground.

    Ordering the PCB​

    You can order this PCB by downloading the fabrication files and uploading them to JLCPCB. Follow the instructions from here.

    Controlling the LED Matrix​

    The LED matrix can be controlled through a simple web interface that provides a visual grid for controlling individual LEDs. The control system includes:

    1. Web Interface: A 3×5 grid interface where clicking each cell cycles through:

      • Off (Gray)
      • Red
      • Green
      • Blue
    2. API Integration: The matrix state can be controlled and monitored through REST endpoints, making it easy to integrate with other applications.

    3. Pico W Connection: The matrix connects to WiFi using the Pico W’s wireless capabilities, allowing for remote control through the web interface.

    The complete implementation, including the web interface and Pico W code, is available in our LED Matrix Server repository.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleWorld Emulation via Neural Network
    Next Article Wikipedia’s nonprofit status questioned by D.C. U.S. attorney
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Did seabird poop fuel rise of Chincha in Peru?

    February 11, 2026

    OpenAI researcher quits over ChatGPT ads, warns of “Facebook” path

    February 11, 2026

    “Windows 11 26H1” is a special version of Windows exclusively for new Arm PCs

    February 11, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025667 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025251 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025151 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025111 Views
    Don't Miss
    Technology February 11, 2026

    Did seabird poop fuel rise of Chincha in Peru?

    Did seabird poop fuel rise of Chincha in Peru? A nutrient-rich natural fertilizer Now Bongers…

    OpenAI researcher quits over ChatGPT ads, warns of “Facebook” path

    “Windows 11 26H1” is a special version of Windows exclusively for new Arm PCs

    Google recovers “deleted” Nest video in high-profile abduction case

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Did seabird poop fuel rise of Chincha in Peru?

    February 11, 20263 Views

    OpenAI researcher quits over ChatGPT ads, warns of “Facebook” path

    February 11, 20263 Views

    “Windows 11 26H1” is a special version of Windows exclusively for new Arm PCs

    February 11, 20263 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    This new Roomba finally solves the big problem I have with robot vacuums

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.