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 入门