PICPIO
Program PIC microcontrollers the easy way — right inside VS Code.
Write clean, high-level C for Microchip PIC chips, build it, and flash to real hardware — with one-command setup, ready-made libraries, and a built-in simulator.
picpio.in · © CURIOUS WORM
PICPIO turns Visual Studio Code into a complete IDE for Microchip PIC development. No hand-written makefiles, no fighting toolchain paths — create a project, pick your chip, write your code, press Build and Upload.
✨ Features
- One-command project setup — pick a PIC, get a ready-to-build project with a clean
main.c, a per-chip pin map, and an auto-generated REFERENCE.md.
- Build & flash to hardware — drives Microchip's MPLAB XC compilers and your PICkit/programmer behind a single click.
- High-level HAL — simple, readable functions for GPIO, ADC, PWM, UART, I²C and SPI that work the same across supported chips.
- Bare-metal too — prefer registers? Full SFR IntelliSense (autocomplete on
TRISB, PORTAbits, …) for register-level teaching and code.
- Ready-made libraries — add drivers (OLED displays, LCDs, ADCs, port expanders, RTCs, SD/FAT, sensors, PID, servo, and more) with
lib add.
- Built-in simulator — run your sketch logic and watch pins, Serial and I²C/SPI traffic before you touch hardware.
- Serial monitor, display designer, on-chip debug, and an auto PID tuner built in.
🔌 Supported chips
A growing range across the Microchip 8/16-bit families, including:
- PIC16F — classic enhanced-midrange and the modern PIC16F1 core (PPS + ADCC)
- PIC18F — classic (4550/452/2550) and modern Q-series / K40
- PIC24F, dsPIC30F, dsPIC33E
The New Project wizard lists every supported board; the goal is full coverage of the 16F / 18F / 24 / dsPIC line-up.
🚀 Getting started
- Install PICPIO from the Marketplace.
- Run PICPIO: New Project (
Ctrl+Shift+P) and choose your chip.
- Write your code in
src/main.c.
- Press Build, then Upload to flash your hardware.
Prefer the keyboard? Press Ctrl+P in VS Code and run: ext install picpio.picpio
Requirements
- A Microchip MPLAB XC compiler (XC8 for 8-bit, XC16 for 16-bit) installed on your machine.
- A PIC programmer (e.g. PICkit) to flash real hardware. The simulator needs no hardware.
- A free sign-in the first time you use it, so we know who's using PICPIO.
📚 Libraries
Add a driver with one command:
picpio lib add SSD1306
PICPIO ships plain-C drivers for common breakout boards and writes a usage snippet straight into your project, plus the device's raw communication protocol into REFERENCE.md.
🏷️ About
PICPIO is built and maintained by CURIOUS WORM — Electronics Made Real — to make register-based and HAL-based PIC programming approachable for students and makers.
PICPIO automates Microchip's MPLAB XC tools, which remain subject to their own licenses. PICPIO is not affiliated with or endorsed by Microchip Technology Inc.
© 2026 CURIOUS WORM · curiousworm.in · picpio.in
| |