Examples¶
Explore example diagrams and configurations organised by board and feature.
Demo - ESP32 Weather Station¶
Demo - Custom Device Creation¶
Browse by Board or Feature¶
| Section | Examples |
|---|---|
| Raspberry Pi | Wire visibility, BH1750 I2C sensor, traffic light, multi-device, specs table, dark mode |
| Inline Components | LED + resistor, decoupling capacitor, flyback diode, all component types |
| Raspberry Pi Pico | Pico LED, Pico BME280, multi-LED with specs, dark mode |
| ESP32 / ESP8266 | ESP32 weather station, NodeMCU LEDs, Wemos D1 Mini OLED |
| Multi-Tier Connections | Motor control (L293D), relay control, Pico power chain |
Feature Showcase¶
| Feature | Where to find it |
|---|---|
| Wire visibility (light & dark halos) | Raspberry Pi → Wire Visibility |
| Dark mode | Raspberry Pi → BH1750 Dark Mode • Pico → Dark Mode |
| I2C sensor | Raspberry Pi → BH1750 |
| Inline resistor / capacitor / diode | Components |
| Multiple devices | Raspberry Pi → Traffic Light |
| Device-to-device (multi-tier) | Multi-Tier |
| Smart GND / power pin distribution | ESP8266 → NodeMCU LED Example |
Specifications table (--show-legend) |
Raspberry Pi → Specs Table • Pico → Multi-LED with Specs |
Quick Start with Built-in Examples¶
# List all available examples
pinviz list
# Generate built-in examples
pinviz example bh1750 -o bh1750.svg
pinviz example ir_led -o ir_led.svg
pinviz example i2c_spi -o i2c_spi.svg
pinviz example esp32_weather -o esp32_weather.svg
All YAML example files are in the examples/ directory.
Generated SVGs are in images/.
Contributing Examples¶
Have a useful diagram to share? Submit a pull request to the
examples/ directory with:
- A well-commented YAML configuration file
- A description of what the example demonstrates
- The rendered SVG diagram
Next Steps¶
- YAML Configuration Guide — all config options
- CLI Usage — all commands and flags
- Validation — catch wiring errors
- Multi-Level Connections — device-to-device wiring guide