The following image shows the GPIO Pinout is design of the Raspberry Pi device: Raspberry Pi PinOut structure, reference from rspberrypi.org To understand the pin structure for Raspberry Pi, follow this URL: https://www.raspberrypi.org/documentation/usage/gpio/