Getting Started
Quick Start Supported MCUs Peripherals
Features
Pin Map Conflict Detection Code Generation Bill of Materials Saving Configs
Languages
Arduino C++ MicroPython STM32 HAL ESP-IDF
DOCUMENTATION

Pin2Code Docs

Pin2Code is a visual IoT pinout configurator and code generator. Select your microcontroller, add peripherals, get working code — no datasheet required.

Quick Start

Getting started takes under 60 seconds:

Supported MCUs

MCUFamilyVoltageFlashWiFi/BT
ESP32-WROOM-32ESP323.3V4MB✓ Both
STM32F103C8STM323.3V128KB
ATmega328PAVR5V32KB
RP2040Raspberry Pi3.3V2MB
Raspberry Pi 4BRaspberry Pi3.3V/5VSD Card✓ Both
Raspberry Pi Pico 2WRaspberry Pi3.3V4MB✓ Both

Supported Peripherals

Sensors

Displays

Communication

Output & Control

Pin Map

The pin map shows your MCU chip with all pins rendered on left and right sides. Each pin is colour-coded by its protocol type:

Click any pin to see its full alternate function table in the detail panel.

Conflict Detection

Pin2Code automatically detects two types of conflicts:

Conflicts appear in the Conflicts tab with the bus name, affected peripherals, and a suggested fix. Note: Multiple I2C sensors on the same bus is valid (they