🛠 Premier démarrage de la Zero avec écran (mini-HDMI)
Goal
Make the bare Zero interactive for the first time: write Raspberry Pi OS to a microSD card, wire the only video and USB ports the board has, and run the first configuration commands.
Wiring & parts
- microSD card (8 GB+) in the slot on the underside of the board
- Display: the Zero has a mini-HDMI socket (not micro-HDMI!) — you need a mini-HDMI cable or adapter ; output goes up to 1080p60
- Keyboard: there is only ONE micro-USB data port — use a micro-USB (OTG) adapter for the keyboard, and plug the 5 V / 1.2 A power supply into the other micro-USB socket (the power one)
- The 40-pin GPIO header ships unsoldered ; you do not need it for this tutorial
Steps
- In Raspberry Pi Imager, pick Raspberry Pi OS Lite (32-bit, armhf) and write it to the card.
- Insert the card, plug the power supply last. First boot takes ~30 s.
- Log in, then:
sudo raspi-config # hostname, locale, SSH, boot options
vcgencmd measure_temp # SoC temperature; hard throttle limit is 85 C
lsb_release -a
df -h /
Check
You get a login prompt (or desktop) over mini-HDMI, and vcgencmd measure_temp answers temp=xx.x'C.
Pitfalls
- Plugging a micro-HDMI adapter into the mini-HDMI socket: no signal — the connector sizes differ.
- Powering from a PC USB port: voltage often sags and can corrupt the SD card ; use a proper 5 V / 1.2 A supply.
- Plugging power into the data port: the board does not boot normally (it may enumerate as a USB gadget instead).
- Keyboard and USB stick both on the single data port: impossible without a bus-powered hub.
Autres tutoriels pour cette carte
- Installation headless : la Zero en carte réseau USB (g_ether)
- Alimentation et consommation : le point faible de la Zero
- GPIO en Python : LED et bouton avec gpiozero
- Console série sur USB : la Zero en port série (CDC-ACM)
- Camera CSI sur Zero v1.3 : le nappe 22 broches
- Sauver une Zero qui ne boot plus : le flux legacy sans EEPROM
Exemples de code pour cette carte
clignotante.pyPythonbouton-gpio.pyPythoncapteur-i2c.shBashsurveillance-temperature.shBashcapteur-dht11.pyPythonservo-pwm-sysfs.shBash