I Looked into How to Create Custom Pinout Images
When checking the pinout of electronic components, store listing images are helpful, but reusing them directly may raise copyright concerns. Therefore, I decided to look for a tool that allows me to create my own.
Investigating Tools for Creating Pinout Images
I tried the following tools:
- Graphical_Datasheets (https://github.com/sparkfun/Graphical_Datasheets)
- GenPinoutSVG (https://github.com/stevenj/GenPinoutSVG/tree/master)
A project inspired by Graphical_Datasheets - ic-pinout-diagram-generator (https://github.com/cmfcmf/ic-pinout-diagram-generator)
A tool to view various pinouts in the browser. I gave up on this because the pin numbering started from the top left and went counterclockwise (perhaps it can be changed?). - Pinout.xyz (https://github.com/pinout-xyz/Pinout.xyz)
Not quite what I was looking for, as I wanted the pinout layout to correspond directly with the pins on the image.
GenPinoutSVG Performed Closest to What I Expected
After trying these tools, I found that GenPinoutSVG was the closest to the behavior I wanted.
This tool allows you to generate pinout images in SVG format by writing pinout information into a CSV file. Its appeal lies in its ease of customization and simple structure, making it very manageable.
How to Use GenPinoutSVG
GenPinoutSVG requires the following python3 libraries:
svgwrite==1.2.1(Graphical_Datasheetsで要求されていたバージョンで動いた) docpt wand
Additionally, you need to install the following Ubuntu package:
sudo apt install libmagickwand-dev
Once the installation is complete, specify the CSV file containing the pinout information and run it, which will generate an SVG file with the same name inside the svg directory.
python3 GenPinoutSVG.py data/RP2040-zero.csv
The generated SVG image is shown below.
Overlaying the SVG Image onto a Photo
By overlaying the created SVG image onto an actual photo of the electronic component, I made the pinout visually clearer. This allows for a more intuitive understanding of the pin layout. I used Canva for image overlay and composition.

Might There Be an Even Better Tool?
However, it appears that GenPinoutSVG is currently no longer maintained. There may be newer and more user-friendly tools available.
In particular, if there is a tool that allows pin information to be written in JSON or YAML instead of CSV, it would enable more flexible data management, so I would like to continue investigating if such a tool exists.
If I find any new tools in the future, I will be sure to introduce them.