🔧 MicroPython Generator for Raspberry Pi Pico
Visual programming for RP2040 & RP2350 microcontrollers
Loading...
📚 Quick Examples
💡 Blink LED
Basic LED control
🔘 Button Input
Read button presses
🌡️ Temperature Sensor
DHT22 temperature reading
📊 PWM Control
Motor/servo control
📈 Analog Reading
Read analog sensors
🔗 I2C Communication
Setup I2C bus
🎮 Servo Motor
Control servo position
🌈 NeoPixel LEDs
RGB LED strip control
📏 Distance Sensor
HC-SR04 ultrasonic
🚦 Traffic Light
Sequential LED control
🔊 Buzzer Tones
PWM sound generation
☀️ Light Sensor
Photoresistor reading
📍 Pin Selector
LED
🍇
GP0
GP1
GND
GP2
GP3
GP4
GP5
GND
GP6
GP7
GP8
GP9
GND
GP10
GP11
GP12
GP13
GND
GP14
GP15
VBUS
VSYS
GND
3V3_EN
3V3
ADC_VREF
GP28
AGND
GP27
GP26
RUN
GP22
GND
GP21
GP20
GP19
GP18
GND
GP17
GP16
Click on a pin to see its capabilities
Quick Select:
💡 LED (GP25)
📊 ADC0 (GP26)
🔗 I2C SDA (GP16)
🔘 Button (GP14)
Filter by Type:
All Pins
GPIO Pins
ADC Pins
Power Pins
Ground Pins
⚙️ Controls
🔄 Generate Code
🗑️ Clear Workspace
💾 Download .py
📋 Usage Tips
• Drag blocks from toolbox
• Connect blocks together
• Generate MicroPython code
• Copy to Thonny or your IDE
• Upload to your Pico
Blockly Workspace
🐍 MicroPython Code
Copy