DevTools Logo

GPIO Pinout Interactive Visualizer

GPIO Pinout Interactive

Explore Raspberry Pi, ESP32, and Arduino pin functions locally

Board and filters

Show pins by function

40 of 40 pins shown. Pins retain physical header order.

About

Browse deterministic embedded pin datasets with physical numbers, GPIO roles, I²C, SPI, UART, PWM, ADC, power, ground, and Raspberry Pi I2C0/I2C1 conflict notes.

Examples

Raspberry Pi I2C pins

Input
filterPins("raspberry-pi", "i2c").map(p => p.physical)
Output
[3, 5, 27, 28]

Both SDA/SCL pairs (I2C1 on 3/5, I2C0 on 27/28) in header order.

Unknown board error

Input
getBoardPinout("beaglebone")
Output
"Unknown board: beaglebone" (thrown)

Only the three bundled boards resolve; anything else throws.

About this tool

GPIO Pinout Interactive looks up single-board headers with getBoardPinout(board) and narrows them with filterPins(board, fn): the Raspberry Pi entry carries the full 40-pin header in physical order, ESP32 DevKit has 30 pins, and Arduino Uno has 20 — every pin lists physical, name, functions, optional gpio, and notes.

Function tags cover power, ground, gpio, i2c, spi, uart, pwm, and adc: Raspberry Pi I2C lives on physical 3, 5, 27, 28 (SDA/SCL pairs), and ESP32 ADC covers GPIO 32–36 plus 39. Multi-function pins simply carry several tags at once.

Lookups are strict and deterministic: unknown board ids throw "Unknown board: <id>", and filters preserve physical order with no network access.

How to use this tool

  1. Choose a board

    Call getBoardPinout with raspberry-pi, esp32, or arduino-uno for the full pin array.

  2. Filter by function

    Pass i2c, spi, uart, pwm, adc, power, ground, or gpio to filterPins — "all" returns everything.

  3. Wire from physical numbers

    Use the physical field (1-based header position) plus name and note for SDA/SCL orientation.

Use cases

Wiring an I2C sensor to a Pi

Find the SDA/SCL pair plus ground and power pins before connecting anything.

Checking ESP32 analog inputs

Filter adc to see which GPIOs can read analog sensors on the DevKit layout.

Avoiding UART conflicts

Confirm TX/RX pins are free before attaching a serial peripheral.

Common mistakes

Mistake:Reading gpio numbers as physical positions.

Fix:Use physical for the header slot and gpio for the Broadcom/SoC number — pin 3 is GPIO2, not GPIO3.

Mistake:Assuming every board has the same functions.

Fix:Filter per board: ADC exists on ESP32 and Uno analog pins but the Pi header exposes none.

Frequently asked questions

What does this tool do?

It maps dev-board headers with getBoardPinout (raspberry-pi 40 pins, esp32 30 pins, arduino-uno 20 pins) and filters them with filterPins by power, ground, gpio, i2c, spi, uart, pwm, or adc.

Which Pi pins are I2C?

Physical 3 (SDA1), 5 (SCL1), 27 (SDA0), and 28 (SCL0) — filterPins("raspberry-pi", "i2c") returns them in header order.

Is my wiring plan uploaded or stored?

No. Pinout tables and filters are bundled data queried locally in your browser.

Why did my board lookup throw?

Only raspberry-pi, esp32, and arduino-uno exist — any other id throws Unknown board: <id>.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML