Perpustakaan Pimoroni Pico dan Contohnya
Selamat datang di dunia baru Pico yang berani!
Repositori ini berisi pustaka C/C++ dan MicroPython untuk rangkaian papan berbasis RP2040 kami, tambahan Raspberry Pi Pico & sensor Breakout Garden yang didukung.
- MikroPython
- C/C++
- Contoh C++
- Boilerplate untuk Proyek C++
- Produk yang Didukung
- Paket dan Pangkalan
- SHIM
- Papan RP2040
- Pico W Naik
- Jerawat
- perlengkapan
- Tutorial dan Panduan
MikroPython
Cara termudah untuk memulai. Jika Anda baru mengenal Pico, kami sarankan Anda membaca tutorial memulai Pico.
️ Semua perpustakaan MicroPython kami dimasukkan ke dalam MicroPython versi khusus yang disertakan baterai dan dapat Anda ambil dari rilis: https://github.com/pimoroni/pimoroni-pico/releases/latest/
Rilis baru dikeluarkan secara berkala dengan perpustakaan baru, perbaikan bug pada perpustakaan kami yang ada, dan fitur baru yang diwarisi dari MicroPython upstream. Pastikan untuk memeriksa kembali!
- ? Pelajari: Memulai dengan Pico
- Readme: Petunjuk untuk menginstal MicroPython
- Baca saya: Pertanyaan yang Sering Diajukan
- Rilis Driver Pimoroni Pico MicroPython +
- Baca saya: PicoGraphics
Contoh MikroPython
Anda dapat menemukan contoh MicroPython untuk sensor, paket, dan basis yang didukung di direktori "micropython/examples":
Anda juga dapat menginstal stub MicroPython ke dalam Visual Studio Code untuk memberi Anda pelengkapan otomatis, lihat:
C/C++
Pengguna tingkat lanjut yang ingin memanfaatkan kekuatan penuh Pico dapat menggunakan pustaka C++ kami. Jika Anda tahu apa yang Anda lakukan dan ingin membangun proyek Pimoroni Pico Anda sendiri, mulailah dengan Pimoroni Pico SDK Boilerplate.
- ? Pelajari: Pengembangan Pico C++ di Windows
- Readme: Petunjuk untuk menyiapkan C/C++ SDK
Contoh C++
Anda dapat menemukan contoh sensor, paket, dan basis yang didukung di direktori "contoh":
Boilerplate untuk Proyek C++
Kami juga memelihara boilerplate C++/CMake dengan alur kerja GitHub yang dikonfigurasi untuk pengujian dan proyek kerangka dasar.
- Pelat Boiler Pimoroni Pico SDK
Produk yang Didukung
Paket dan Pangkalan
- Paket Tampilan Pico - https://shop.pimoroni.com/products/pico-display-pack
- Paket Gulir Pico - https://shop.pimoroni.com/products/pico-scroll-pack
- Basis Penjelajah Pico - https://shop.pimoroni.com/products/pico-explorer-base
- Basis Keypad Pico RGB - https://shop.pimoroni.com/products/pico-rgb-keypad-base
- Paket Pico Unicorn - https://shop.pimoroni.com/products/pico-unicorn-pack
- Paket Audio Pico (khusus C++) - https://shop.pimoroni.com/products/pico-audio-pack
- Paket Nirkabel Pico - https://shop.pimoroni.com/products/pico-wireless-pack
- Tampilan Pico 2.0" - https://shop.pimoroni.com/products/pico-display-pack-2-0
- Paket Pico Enviro+ - https://shop.pimoroni.com/products/pico-enviro-pack
- Paket Pico Inky - https://shop.pimoroni.com/products/pico-inky-pack
- Paket Pico GFX - https://shop.pimoroni.com/products/pico-gfx-pack
- Tampilan Pico 2,8" - https://shop.pimoroni.com/products/pico-display-pack-2-8
SHIM
- LiPo SHIM untuk Pico - https://shop.pimoroni.com/products/pico-lipo-shim
- Motor SHIM untuk Pico - https://shop.pimoroni.com/products/motor-shim-for-pico
Papan RP2040
- Plasma 2040 (driver strip LED) - https://shop.pimoroni.com/products/plasma-2040
- Interstate 75 (driver matriks HUB75) - https://shop.pimoroni.com/products/interstate-75
- Badger 2040 (lencana E Ink) - https://shop.pimoroni.com/products/badger-2040
- Servo 2040 (Pengontrol Servo 18 Saluran) - https://shop.pimoroni.com/products/servo-2040
- Motor 2040 (Motor Empat+Pengontrol Encoder) - https://shop.pimoroni.com/products/motor-2040
- Tufty 2040 (lencana LCD) - https://shop.pimoroni.com/products/tufty-2040
Pico W Naik
- Otomatisasi 2040 W (input, output, dan relai, kompatibel dengan 6-40V) - https://shop.pimoroni.com/products/automation-2040-w
- Inventor 2040 W (motor, servo, kebisingan) - https://shop.pimoroni.com/products/inventor-2040-w
- Bingkai Tinta 5,7" (Tinta E 7 warna) - https://shop.pimoroni.com/products/inky-frame-5-7
- Otomatisasi 2040 W Mini (input, output, dan relai, kompatibel 6-40V) - https://shop.pimoroni.com/products/automation-2040-w-mini
- Plasma Stick 2040 W (pengontrol strip LED bijou) - https://shop.pimoroni.com/products/plasma-stick-2040-w
- Galactic Unicorn (matriks LED 53 x 11) - https://shop.pimoroni.com/products/galactic-unicorn
- Interstate 75 W (driver matriks HUB75) - https://shop.pimoroni.com/products/interstate-75-w
- Bingkai Tinta 4.0" (Tinta E 7 warna) - https://shop.pimoroni.com/products/inky-frame-4
- Badger 2040 W (Lencana Tinta E) - https://shop.pimoroni.com/products/badger-2040-w
- Cosmic Unicorn (matriks LED 32 x 32) - https://shop.pimoroni.com/products/cosmic-unicorn
- Bingkai Tinta 7,3" (Tinta E 7 warna) - https://shop.pimoroni.com/products/inky-frame-7-3
Jerawat
- AS7262 - Sensor Spektral 6 saluran - https://shop.pimoroni.com/products/as7262-6-channel-spectral-sensor-spectrometer-breakout
- MSA301 - Sensor Gerak 3DoF - https://shop.pimoroni.com/products/msa301-3dof-motion-sensor-breakout
- MICS6814 - Sensor Gas - https://shop.pimoroni.com/products/mics6814-gas-sensor-breakout
- Potensiometer RGB - https://shop.pimoroni.com/products/rgb-potentiometer-breakout
- Enkoder RGB - https://shop.pimoroni.com/products/rgb-encoder-breakout
- Roda Encoder RGB - https://shop.pimoroni.com/products/rgb-encoder-wheel-breakout
- IO Ekspander - https://shop.pimoroni.com/products/io-expander
- RV3028 - Jam Waktu Nyata (RTC) - https://shop.pimoroni.com/products/rv3028-real-time-clock-rtc-breakout
- ST7735 - LCD 0,96" - https://shop.pimoroni.com/products/0-96-spi-colour-lcd-160x80-breakout
- IS31FL3730 - matriks LED LTP-305 ganda - https://shop.pimoroni.com/products/led-dot-matrix-breakout
- LTR559 - Kedekatan/Kehadiran/Sensor Cahaya - https://shop.pimoroni.com/products/ltr-559-light-proximity-sensor-breakout
- IS31FL3731 - tampilan matriks 11x7 dan 5x5
- https://shop.pimoroni.com/products/11x7-led-matrix-breakout
- https://shop.pimoroni.com/products/5x5-rgb-matrix-breakout
- Trackball - https://shop.pimoroni.com/products/trackball-breakout
- SGP30 - Sensor Kualitas Udara - https://shop.pimoroni.com/products/sgp30-air-quality-sensor-breakout
- ST7789 - LCD 1,3", LCD 1,54", dan LCD bulat 1,3"
- 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 - Sensor Suhu, Tekanan, Kelembapan & Gas - https://shop.pimoroni.com/products/bme680-breakout
- BME688 - Sensor Suhu, Tekanan, Kelembapan & Gas - https://shop.pimoroni.com/products/bme688-breakout
- BH1745 - Pencahayaan & Sensor Warna - https://shop.pimoroni.com/products/bh1745-luminance-and-colour-sensor-breakout
- BME280 - Sensor Suhu, Tekanan & Kelembapan - https://shop.pimoroni.com/products/bme280-breakout
- BMP280 - Sensor Suhu & Tekanan - https://shop.pimoroni.com/products/bmp280-breakout-temperature-pressure-altitude-sensor
- PWM3901/PAA5100JE - Dekat Sensor Aliran Optik - https://shop.pimoroni.com/products/paa5100je-optical-tracking-spi-breakout
- ICP10125 - Sensor Tekanan / Ketinggian / Suhu Akurasi Tinggi - https://shop.pimoroni.com/products/icp10125-air-pressure-breakout
- Sensor CO2 SCD41 (Karbon Dioksida / Suhu / Kelembapan) - https://shop.pimoroni.com/products/scd41-co2-sensor-breakout
- VL53L5CX 8x8 Waktu Sensor Array Penerbangan - https://shop.pimoroni.com/products/vl53l5cx-time-of-flight-tof-sensor-breakout
- Roda Encoder RGB - https://shop.pimoroni.com/products/rgb-encoder-wheel-breakout
- AS7343 Breakout Sensor Multi-Spektral 14 Saluran - https://shop.pimoroni.com/products/as7343-breakout
perlengkapan
- Kit Plasma Nirkabel (Tongkat Plasma + kabel LED + botol!) - https://shop.pimoroni.com/products/wireless-plasma-kit
Tutorial dan Panduan
- ? Memulai dengan (MicroPython aktif) Pico
- ? Pengembangan Pico C/C++ di Windows / WSL
- ? Memulai dengan Interstate 75 (dan W)
- ? Memulai Plasma 2040
- ? Merakit Keybow 2040
- ? Memulai dengan Badger 2040
- ? MicroPython dan VL53L5CX
- ? Memulai Tufty 2040
- ? Memulai dengan Bingkai Bertinta
- ? Memulai Otomatisasi 2040 W (dan Mini)
- ? Merakit Kit Plasma Nirkabel
- ? Memulai Badger 2040 W