Raspberry Pi Pico & MicroPython All In One
Raspberry Pi Pico & MicroPython All In One
MicroPython
MicroPython is a full implementation of the
Python 3
programming language that runs directly onembedded hardware
likeRaspberry Pi Pico
. You get aninteractive prompt
(theREPL
) to execute commands immediately viaUSB Serial
, and a built-in filesystem. The Pico port of MicroPython includes modules for accessing low-level chip-specific hardware.
https://www.raspberrypi.com/documentation/microcontrollers/micropython.html
MicroPython - a lean and efficient Python implementation for microcontrollers
and constrained systems
https://github.com/micropython/micropython
from machine import Pin
# create an I/O pin in output mode
p = Pin('X1', Pin.OUT)
# toggle the pin
p.high()
p.low()
https://micropython.org/unicorn/
pyboard
https://store.micropython.org/
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
Thonny
MicroPython IDE
https://github.com/thonny/thonny/
MicroPython Firmware
Firmware for various microcontroller ports and boards are built automatically on a daily basis and can be found below.
各种微控制器端口和电路板的固件
每天都会自动构建,可以在下面找到。
Firmware 过滤条件
Port
: cc3200, esp32
, esp8266
, mimxrt, nrf, renesas-ra, rp2
, samd, stm32
Feature
: 10/100 Ethernet Phy, 16MB Flash, 1MB SPI Flash, 2x80 pin HD connectors, 8MB SDRAM, ADC
, AudioAmp, AudioCodec, BLE
, Battery Charging, Battery Management, Bluetooth
5.0, Bluetooth Nina-W102, Breadboard Friendly, Breadboard friendly, CAN, CYW43 WiFi/BT Module, Camera, Castellated Pads, Crypto IC ARM CC310, Crypto IC ATECC608A-MAHDA-T, Display, DisplayPort
over USB-C
, Dual-core processor, Ethernet, Feather, Grove, Humidity
sensor HTS221, I2C
, IMU, IMU LSM6DS3TR, IMU LSM6DSOXTR, IMU LSM9DS1, Infrared, JLink, LoRa, Micro USB
, MicroSD, MicroUSB, Microphone
, Microphone MP34DT05, Microphone MPM3610, Microphone MSM261D3526H1CPM, NXP SE050 crypto device, OLED
, OpenSDA, PoE, Pressure sensor LPS22H, Proximity, Light, RGB sensor APDS-9960, QSPI Flash, QWIIC, RGB LED
, Red/green/orange/blue leds, Reset/User button, SDCard, SDRAM, SIM Socket, SPDIF, SPI, SPI Flash, SPI Flash 16MB, SPIRAM, STEMMA QT/QWIIC, UART
, USB Full speed, USB High Speed Phy, USB Stick form factor, USB-A, USB-C, USB-MICRO, WiFi, WiFi Nina-W102, mikroBUS
Vendor
: Actinius, Adafruit
, Arduino
, BBC
, Esp
ressif, Espruino, George Robotics, I-SYST, LEGO, LILYGO, Laird Connectivity, Lego, M5 Stack, McHobby, Microchip, MikroElektronika, MiniFig Boards, NXP, Nordic Semiconductor, OLIMEX, PJRC, Particle, Pimoroni, Pycom, Raspberry Pi,
Renesas
Electronics, ST M
icroelectronics, Seeed
Studio, Seeed Technology Co.,Ltd., Silicognition LLC, Sparkfun, Unexpected Maker, Unknown, VCC-GND Studio, WeAct, Wemos, Wireless-Tag, Wiznet, nullbits, u-blox
微处理器/微控制器
/ MicroController Unit
MCU
: RA4M1
, RA4W1, RA6M1, RA6M2, cc3200, esp32
, esp32c3, esp32s2, esp32s3, esp8266
, mimxrt, nrf51, nrf52, nrf91, rp2040
, samd21, samd51, stm32
f0, stm32f4, stm32f7, stm32g0, stm32g4, stm32h7, stm32l0, stm32l1, stm32l4, stm32wb, stm32wl
https://micropython.org/download/
ESP32
andESP8266
https://microcontrollerslab.com/getting-started-raspberry-pi-pico-thonny-ide/
https://microcontrollerslab.com/getting-started-thonny-micropython-ide-esp32-esp8266/
https://randomnerdtutorials.com/getting-started-thonny-micropython-python-ide-esp32-esp8266/
RA4M1
Arm Cortex®-M4 / RA4M1 32-bit
Cortex®-M4 processor
RP2040
Dual ARM Cortex-M0+ / Dual ARM Cortex-M0+ @ 133MHz
https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html
Raspberry Pi
Pico
https://www.raspberrypi.com/products/
Powerful, flexible microcontroller boards, available from $4
The Raspberry Pi Pico series is a range of tiny, fast, and versatile boards built using RP2040
, the flagship microcontroller
chip designed by Raspberry Pi in the UK
https://www.raspberrypi.com/products/raspberry-pi-pico/
pdfs
Get Started with MicroPython on Raspberry Pi Pico pdf
https://datasheets.raspberrypi.com/pico/pico-product-brief.pdf
https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf
https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-python-sdk.pdf
demos
Raspberry Pi Pico + MicroPython + LED
https://youtube.com/shorts/-QGFbMWpKjY?feature=share
Raspberry Pi Pico
and Pico W
The Raspberry Pi Pico family currently consists of four boards; Raspberry Pi Pico
(far left), Pico H
(middle left), Pico W
(middle right), and Pico WH
(far right).
Raspberry Pi Pico 系列目前由四块板组成; Raspberry Pi Pico(最左)、Pico H(左中)、Pico W(右中)和 Pico WH(最右)。
https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html
Raspberry Pi
Pico
Pinout
https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf
Raspberry Pi
Pico W
Pinout
https://datasheets.raspberrypi.com/picow/PicoW-A4-Pinout.pdf
RP2040
Designed by Raspberry Pi, RP2040 features a dual-core
Arm Cortex-M0+
processor with 264kB
internal RAM and support for up to 16MB
of off-chip flash. A wide range of flexible I/O options includes I2C
, SPI
, and - uniquely - Programmable I/O (PIO
). These support endless possible applications for this small and affordable package.
https://www.raspberrypi.com/products/rp2040/
https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
Element14
Raspberry Pi Pico
https://www.farnell.com/datasheets/2913794.pdf
https://cn.element14.com/raspberry-pi/raspberry-pi-pico/raspberry-pi-32bit-arm-cortex/dp/3643332
https://cn.element14.com/raspberry-pi/raspberry-pi-pico/raspberry-pi-32bit-arm-cortex/dp/364333208
refs
use macOS terminal can not install MicroPython on Raspberry Pi Pico bug All In One
https://www.cnblogs.com/xgqfrms/p/17274811.html
https://github.com/xgqfrms/Raspberry-Pi
https://github.com/xgqfrms/raspberrypi
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17264471.html
未经授权禁止转载,违者必究!