Skip to content
MicroPython for Kids
Introduction
Initializing search
GitHub Repo
MicroPython for Kids
GitHub Repo
CoderDojo Mentor Resources
MicroPython Home
Introduction
Introduction
About This Site
Physical Computing
Microcontrollers
Getting Started
Getting Started
Introduction
Solderless Breadboards
Boards
Displays
Sourcing Parts
Raspberry Pi Pico
ESP32
Powering Your Projects
Thonny IDE
VS Code IDE
MicroPython Libraries
Basic Examples
Basic Examples
Introduction
Blink
Fade In and Out
Buttons
Potentiometer
Motor
Servo
NeoPixel
Wireless
Sensors
Sensors
Introduction
Introduction
Table of contents
Light Sensor
Ping
Temperature
Photosensor
Ping Distance
IR Distance Sensor
Temp and Humidity
Temperature
Temp, Humidity, Pres
DH11 Temp and Humidity
Potentiometer
Environmental Sensor
Accelerometer Compass
Time of Flight Distance
Rotary Encoder
Compass
Gesture
Motors and Servos
Motors and Servos
Introduction
Transistor Lab
H-Bridge
L293D Chip
Controller Board
Servos
Stepper Motors
Displays - Non-Graphical
Displays - Non-Graphical
Introduction
7 Segment Display
10 Bar LEDs
8x8 LED Matrix
Character LCD
4 Digit LED
Displays Graphical
Displays Graphical
Introduction
Wiring Harness
Graphic LCD
Basic Drawing
Drawing with Bitmaps
Custom Drawing Functions
Color LCD ST7789V
Timing Draw Speed
TFT ILI9341
LCD Waveshare
E-Paper
OLED Setup
OLED SSD1306 I2C
OLED SSD1306 SPI V1
OLED SSD1306 SPI V2
OLED SH1106 I2C Example
OLED SSD 1352
OLED Bounce
OLED Pot
OLED Ping
OLED Pong
OLED Pixel Draw
OLED Patterns
Random Hearts
NeoPixel Matrix
OLED References
Sound and Music
Sound and Music
Introduction
Playing a Tone
Playing Three Tones
Playing a Scale
Play Mario
Eight Key Piano
Playing Audio File
Converting Audio Files
Wireless
Wireless
Introduction
Connecting to WiFi
HTTP GET
Web Server
Web Server NeoPixel
MAC Address
UPIP
Get Weather Forecast
Display Forecast on OLED
WiFi Clock
Advanced Labs
With Display
Robots
Robots
Introduction
Base Bot
Rainbow Bot
Face Bot
Ajusta Bot
IR Sensor Bot
FAQs
Advanced Labs
Advanced Labs
Introduction
Internal Temperature
Interrupt Handlers
Timing Functions
Conda Environment Setup
OS Functions
I2C Scanner
Frame Buffer
Minicom
SD Card Reader
Converting CircuitPython
MicroPython Remote
Rshell
Timers
Memory Management
TinyML
String Formatting
Operating System
Measuring Battery Voltage
File System
Debugging
Debugging
Debugging Python
Debugging I2C
Debugging SPI
Project Kits
Project Kits
Introduction
Maker Pi RP2040
Maker Pi RP2040
Introduction
Getting Started
Blue LED Lab
NeoPixel Lab
Button Lab
Sound Lab
Up/Down Mode Lab
Maker Pi RP2040 Robot
Maker Pi RP2040 Robot
Introduction
Assembly
Motor Lab
Up/Down Motor Speed Lab
Square Lab
Servo Lab
Scanner Test
Time of Flight Lab
Time of Flight Sound Lab
MicroSwitch Bot
Ultrasonic Ping Lab
Collision Avoidance Time-of-Flight
Collision Avoidance Ping
Ping Servo Meter
Line Follower
Maker Pi Pico
Maker Pi Pico
Introduction
Running Lights
SD Card Reader
Maker Nano RP2040
Maker Nano RP2040
Intro
Larson Scanner
Larson Scanner
Larson Scanner Pumpkin
NeoPixel
NeoPixel
Introduction
Getting Started
Simple Patterns
Buttons
Rotary Neopixel
MicroBit
Glossary
References
Contributing
Contact
Colophon
Table of contents
Light Sensor
Ping
Temperature
Sensors in MicroPython
Light Sensor
Ping
Temperature