Pimoroni Pico 庫和範例
歡迎來到 Pico 的美麗新世界!
該儲存庫包含適用於我們基於 RP2040 的主機板系列、Raspberry Pi Pico 外掛程式和支援的 Breakout Garden 感測器的 C/C++ 和 MicroPython 函式庫。
- 微Python
- C/C++
- 支援的產品
- 包裝和底座
- SHIM
- RP2040 板
- Pico W 登上
- 突破
- 套件
- 教程和指南
微Python
最簡單的入門方法。如果您是 Pico 新手,我們建議您閱讀我們的 Pico 入門教學。
️我們所有的 MicroPython 庫都被烘焙成包含電池的自訂版本的 MicroPython,您可以從版本中取得:https://github.com/pimoroni/pimoroni-pico/releases/latest/
新版本定期發布,包含新庫、對現有庫的錯誤修復以及從 MicroPython 上游繼承的新功能。請務必回來查看!
- ?學習:Pico 入門
- 自述文件:MicroPython 安裝說明
- 自述文件:常見問題
- Pimoroni Pico MicroPython + 驅動程式版本
- 自述文件:PicoGraphics
MicroPython 範例
您可以在「micropython/examples」目錄中找到支援的感測器、套件和底座的 MicroPython 範例:
您也可以將 MicroPython 存根安裝到 Visual Studio Code 中以提供自動完成功能,請參閱:
C/C++
想要發揮 Pico 全部功能的進階使用者可以使用我們的 C++ 函式庫。如果您知道自己在做什麼並想要建立自己的 Pimoroni Pico 項目,那麼請從 Pimoroni Pico SDK Boilerplate 開始。
- ?學習:Windows 上的 Pico C++ 開發
- 自述文件:C/C++ SDK 設定說明
C++ 範例
您可以在“examples”目錄中找到支援的傳感器、包和底座的範例:
C++ 專案的樣板
我們還維護一個 C++/CMake 樣板,其中包含配置用於測試的 GitHub 工作流程和一個基本框架專案。
支援的產品
包裝和底座
- Pico 展示包 - https://shop.pimoroni.com/products/pico-display-pack
- Pico 滾動包 - https://shop.pimoroni.com/products/pico-scroll-pack
- Pico Explorer 底座 - https://shop.pimoroni.com/products/pico-explorer-base
- Pico RGB 鍵盤底座 - https://shop.pimoroni.com/products/pico-rgb-keypad-base
- Pico 獨角獸包 - https://shop.pimoroni.com/products/pico-unicorn-pack
- Pico 音訊包(僅限 C++)- https://shop.pimoroni.com/products/pico-audio-pack
- Pico 無線套件 - https://shop.pimoroni.com/products/pico-wireless-pack
- Pico 顯示器 2.0" - https://shop.pimoroni.com/products/pico-display-pack-2-0
- Pico Enviro+ 套件 - https://shop.pimoroni.com/products/pico-enviro-pack
- Pico Inky 套件 - https://shop.pimoroni.com/products/pico-inky-pack
- Pico GFX 套件 - https://shop.pimoroni.com/products/pico-gfx-pack
- Pico 顯示器 2.8 吋 - https://shop.pimoroni.com/products/pico-display-pack-2-8
SHIM
- 適用於 Pico 的 LiPo SHIM - https://shop.pimoroni.com/products/pico-lipo-shim
- Pico 電機 SHIM - https://shop.pimoroni.com/products/motor-shim-for-pico
RP2040 板
- Plasma 2040(LED 燈條驅動器)- https://shop.pimoroni.com/products/plasma-2040
- 75 號州際公路(HUB75 矩陣驅動程式)- https://shop.pimoroni.com/products/interstate-75
- Badger 2040(電子墨水徽章)- https://shop.pimoroni.com/products/badger-2040
- Servo 2040(18 通道伺服控制器)- https://shop.pimoroni.com/products/servo-2040
- 馬達 2040(四馬達+編碼器控制器)- https://shop.pimoroni.com/products/motor-2040
- Tufty 2040(LCD 徽章)- https://shop.pimoroni.com/products/tufty-2040
Pico W 登上
- Automation 2040 W(輸入、輸出和繼電器,6-40V 相容)- https://shop.pimoroni.com/products/automation-2040-w
- Inventor 2040 W(馬達、伺服系統、噪音)- https://shop.pimoroni.com/products/inventor-2040-w
- Inky Frame 5.7 吋(7 色電子墨水)- https://shop.pimoroni.com/products/inky-frame-5-7
- Automation 2040 W Mini(輸入、輸出和繼電器,6-40V 相容)- https://shop.pimoroni.com/products/automation-2040-w-mini
- Plasma Stick 2040 W(bijou LED 燈帶控制器)- https://shop.pimoroni.com/products/plasma-stick-2040-w
- 銀河獨角獸(53 x 11 LED 矩陣)- https://shop.pimoroni.com/products/gactic-unicorn
- Interstate 75 W(HUB75 矩陣驅動器)- https://shop.pimoroni.com/products/interstate-75-w
- Inky Frame 4.0 吋(7 色電子墨水)- https://shop.pimoroni.com/products/inky-frame-4
- Badger 2040 W(電子墨水徽章)- https://shop.pimoroni.com/products/badger-2040-w
- 宇宙獨角獸(32 x 32 LED 矩陣)- https://shop.pimoroni.com/products/cosmic-unicorn
- Inky Frame 7.3 吋(7 色電子墨水)- https://shop.pimoroni.com/products/inky-frame-7-3
突破
- AS7262 - 6 通道光譜感測器 - https://shop.pimoroni.com/products/as7262-6-channel-spectral-sensor-spectrometer-breakout
- MSA301 - 3DoF 運動感測器 - https://shop.pimoroni.com/products/msa301-3dof-motion-sensor-breakout
- MICS6814 - 氣體感測器 - https://shop.pimoroni.com/products/mics6814-gas-sensor-breakout
- RGB 電位器 - https://shop.pimoroni.com/products/rgb-potiometer-breakout
- RGB 編碼器 - https://shop.pimoroni.com/products/rgb-encoder-breakout
- RGB 編碼輪 - https://shop.pimoroni.com/products/rgb-encoder-wheel-breakout
- IO 擴充器 - https://shop.pimoroni.com/products/io-expander
- RV3028 - 實時時鐘 (RTC) - https://shop.pimoroni.com/products/rv3028-real-time-clock-rtc-breakout
- ST7735 - 0.96" LCD - https://shop.pimoroni.com/products/0-96-spi-colour-lcd-160x80-breakout
- IS31FL3730 - 雙 LTP-305 LED 矩陣 - https://shop.pimoroni.com/products/led-dot-matrix-breakout
- LTR559 - 接近/存在/光感測器 - https://shop.pimoroni.com/products/ltr-559-light-proximity-sensor-breakout
- IS31FL3731 - 11x7 和 5x5 矩陣顯示器
- https://shop.pimoroni.com/products/11x7-led-matrix-breakout
- https://shop.pimoroni.com/products/5x5-rgb-matrix-breakout
- 軌跡球 - https://shop.pimoroni.com/products/trackball-breakout
- SGP30 - 空氣品質感測器 - https://shop.pimoroni.com/products/sgp30-air-quality-sensor-breakout
- ST7789 - 1.3" LCD、1.54" LCD 和 1.3" 圓形 LCD
- https://shop.pimoroni.com/products/1-3-spi-colour-lcd-240x240-breakout
- https://shop.pimoroni.com/products/1-3-spi-colour-round-lcd-240x240-breakout
- https://shop.pimoroni.com/products/1-54-spi-colour-square-lcd-240x240-breakout
- BME680 - 溫度、壓力、濕度和氣體感測器 - https://shop.pimoroni.com/products/bme680-breakout
- BME688 - 溫度、壓力、濕度和氣體感測器 - https://shop.pimoroni.com/products/bme688-breakout
- BH1745 - 亮度和顏色感測器 - https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout
- BME280 - 溫度、壓力和濕度感測器 - https://shop.pimoroni.com/products/bme280-breakout
- BMP280 - 溫度與壓力感測器 - https://shop.pimoroni.com/products/bmp280-breakout-Temperature-Pressure-Altitude-Sensor
- PWM3901/PAA5100JE - 近光流感測器 - https://shop.pimoroni.com/products/paa5100je-optical-tracking-spi-breakout
- ICP10125 - 高精度壓力/高度/溫度感測器 - https://shop.pimoroni.com/products/icp10125-air-Pressure-breakout
- SCD41 CO2 感測器(二氧化碳/溫度/濕度)- https://shop.pimoroni.com/products/scd41-co2-sensor-breakout
- VL53L5CX 8x8 飛行時間陣列感測器 - https://shop.pimoroni.com/products/vl53l5cx-time-of-flight-tof-sensor-breakout
- RGB 編碼輪 - https://shop.pimoroni.com/products/rgb-encoder-wheel-breakout
- AS7343 14 通道多光譜感測器分線 - https://shop.pimoroni.com/products/as7343-breakout
套件
- 無線等離子套件(等離子棒 + LED 線 + 瓶子!) - https://shop.pimoroni.com/products/wireless-plasma-kit
教程和指南
- ? Pico 入門(MicroPython 上)
- ? Windows / WSL 上的 Pico C/C++ 開發
- ? 75 號州際公路(和 W)入門
- ? Plasma 2040 入門
- ?組裝鑰匙弓 2040
- ? Badger 2040 入門
- ? MicroPython 和 VL53L5CX
- ? Tufty 2040 入門
- ? Inky 框架入門
- ? Automation 2040 W(和 Mini)入門
- ?組裝無線等離子套件
- ? Badger 2040 W 入門