Ongoing and unfinished
- Install Raspbian
- Enable SSH
- Change password
- Tell ingredients and cost
First we need to put Raspbian on a microSD card. I’m using 2017-04-10-raspbian-jessie on a Kingston 32GB MicroSD class 10 UHS-1, which I had lying around. Using Win32DiskImager we can write the linux image to the SD card.
As I don’t want to connect a monitor, keyboard nor network card, we need to setup a headless OTG configuration which allows us to SSH to the Pi over the USB interface (and the USB interface only). This little GitHub Gist shows what we need to do:
- add an empty file call
sshto the root of the SD card
This enables a virtual network adapter over the USB port and allows SSH. We can now boot the Pi with the SD card and connect with only the USB cable attached. The first boot will take a while.
We also need to uncomment
config.txt to enable the SPI driver.
Boot and SSH to firstname.lastname@example.org (e.g. in Windows using Putty). The default password is
raspberry. You should change this immediately using
Now that it boots and we can access it, we can connect the screen.
Thie Raspberry Pi Zero pinout is as follows (courtesy of pinout.xyz):
The wiring is as follows