Raspberry Pi Pico weather display (MicroPython)
Your first MicroPython project: temperature and humidity on an OLED.
Shop by category
Shop all componentsThe Luckfox Pico Mini A uses the Rockchip RV1103 (Cortex-A7 plus a small RISC-V core) with 64 MB of RAM and runs Buildroot or Ubuntu from a microSD card or SPI flash. Over its USB-C port it appears as a network adapter (RNDIS) so you can SSH in without a screen. Linux exposes each pin as a numbered GPIO; you can switch them from the shell through sysfs, which is the easiest way to see how Linux drivers talk to hardware.
The pins are 3.3 V only; never connect 5 V signals directly.
Tick anything you already have and the total updates.
Luckfox Pico Mini A RV1103 board
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB-C from the PC (about 5 V, 200 mA).
blink_button.pyimport time, os
def export(n, direction):
if not os.path.exists(f"/sys/class/gpio/gpio{n}"):
open("/sys/class/gpio/export", "w").write(str(n))
open(f"/sys/class/gpio/gpio{n}/direction", "w").write(direction)
LED, BTN = 55, 54
export(LED, "out"); export(BTN, "in")
while True:
pressed = open(f"/sys/class/gpio/gpio{BTN}/value").read().strip() == "0" # button to GND
open(f"/sys/class/gpio/gpio{LED}/value", "w").write("1" if pressed else "0")
time.sleep(0.02)
On Windows install the RNDIS driver from Luckfox's guide; try another cable that carries data.
Run as root, which is the default user on the Buildroot image.
The pin may be used by another function in the device tree; pick a free pin from Luckfox's pin map.
The Buildroot image includes Python 3; the Ubuntu image lets you install more with apt.
No, 64 MB of RAM is for small services, camera and AI demos, not a desktop.
A small RISC-V MCU core used for fast boot tasks; normal programs run on the Cortex-A7.
7 parts: Waveshare Luckfox Pico Mini A RV1103 Linux Dev Board, Official Raspberry Pi 32GB A2 Class Micro SD Card, 5mm LED by Colour (Pack of 10), Resistor Assortment Kit (30 Values), Tactile Push Button Switch, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 7 steps.
No. This page has the complete, tested code (blink_button.py).
About ₹2,540 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Flashing an embedded Linux image; SSH over USB networking; Linux GPIO numbering and sysfs.
The pins are 3.3 V only; never connect 5 V signals directly.
Your first MicroPython project: temperature and humidity on an OLED.
A web page with ON and OFF buttons that switches a relay over Wi-Fi.
A warm ring light that fades up at dusk and down at dawn.
Turn a Pi and a touchscreen into a home command centre with a clock and to-do list.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.