Notice the black strip facing upward when wiring the ribbon to the slot.
If the wiring is still unclear, see the image below. The silver tracks should always be in contact with the tracks its being connected to - be wary of mistaking this, as the tracks on the ribbon can be damaged if the ribbon is inserted incorrectly into the Pi or picamera slots. For the RPi Zero, the ribbon cable tapers to a thinner profile, which is where the Pi should be wired. Wiring the picamera to the RPi is quite simple - both the picamera and the Pi have ribbon inputs where the thick ribbon cable is inputted. Raspberry Pi Zero W with Cables - $22.80 I don’t imagine there are any differences in application between the two, so I will proceed under the assumption that either suffices. The other picamera should work just as well, the V2, which boasts 8MP, but the same video quality. There are two picameras available, however, I will be using the older and cheaper version, V1.3, which is a 5MP camera that can record HD video.
There are only two essential parts needed for this tutorial: the Raspberry Pi and the picamera.