A practical guide to physical and BCM numbering, power pins, 3.3V limits and the evolution from the 26-pin header to the 40-pin Model B+ layout.
Prepare Raspberry Pi for sensors with correct 3.3 V GPIO logic, model-specific power, I²C or SPI setup, level shifting, and safe shutdown.