New App Shows Raspberry Pi Pico Pinout at Command Line
when it comes to raspberry pi,your pie project Starting with a game plan, designing a plan begins with knowing exactly which GPIO pins do what. This is where tools like the GPIO pinout article and the tools provided in his Pinout.xyz come into play.
Operated by Pimoroni developer Phil Howard, pinout.xyz (opens in new tab) It contains all kinds of useful GPIO charts and interactive tools that authors can refer to as they build their projects. Not only are there all the Raspberry Pi GPIOs you can think of, but there are also many pinout diagrams for Raspberry Pi accessories such as HATs, boards, pHATs, etc.
As April draws to a close, Howard surprises us with a new command line tool. This tool allows you to see the pinout of the Raspberry Pi Pico directly in the terminal and query specific information. A Python 3-powered application called Picopins can be run on the Linux or Windows command line. Python 3 must be installed.
To install Picopins, use the pip package installer that comes with most installations of Python 3 or can be installed separately.
pip install picopins
If pip alone doesn’t work, try pip3.
When I enter the command picopine, the application loads a nice chart displaying the Raspberry Pi Pico and its pins. By default, only basic information for each pin is displayed, such as GP number, ground, voltage, and ADC.
However, when I type picopins –allto get a very detailed list of what each pin does, including whether it supports I2C, SPA, or UART connections.
But the amount of information can be overwhelming. If you just want to find pins with a specific function, – seek Arguments are followed by what you are looking for. For example, to highlight the ground pin, type: picopins — find ground You will get a result like this.
Unfortunately the –find functionality isn’t perfect.when we entered Search for picopins –uart, didn’t highlight the pin with uart function.The same thing happened when I tried with i2c again spa.
To see a complete list of all picopins command line arguments, type: picopins –helpTo learn more about this new tool and track its development, visit the official Picopins project page at: GithubThere you will find not only the official source code, but also the official usage by Howard himself.