# raspberry-pi-2-3-4-model-b-template ## Description Raspberry Pi 2, 3, 4 or 400 Model B+ connector with RPi board outline and mounting holes. good for Raspberry Pi Shield projects. Insulation Height 0.335" (8.51mm) Compatible part number: PPPC202LFBN-RC #RaspberryPi #HAT #RPi #template #project ## Project Details - **Owner:** farq - **Created:** 5/28/2024 - **Last Updated:** 3/26/2026 - **Visibility:** Public ## Key Components ### DC-DC Step Down — [lm2596 step down module](https://www.flux.ai/vasyl/lm2596-step-down-module~yl.md) - Part Type: DC-DC Convertor **Pins:** - GND OUT - GND VIN - OUT - VIN ### GPS Module — [NEO-6M-GPS](https://www.flux.ai/adrian95/neo-6m-gps~nsv.md) - Manufacturer Part Number: NEO-6M-GPS - Manufacturer Name: U-blox - Datasheet URL: https://www.snapeda.com/parts/NEO-6M-GPS/u-blox/datasheet/ - Part Type: Module - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - CFG_GPS0/SCK [pin 16] - EXTINT0 [pin 4] - GND [pin 10] - GND [pin 12] - GND [pin 24] - GND [pin 13] - MISO/CFG_COM1 [pin 15] - MOSI/CFG_COM0 [pin 14] - RF_IN [pin 11] - RSVD_17 [pin 17] - RSVD_8 [pin 8] - RXD1 [pin 21] - SCL2 [pin 19] - SDA2 [pin 18] - SS_N [pin 2] - TIMEPULSE [pin 3] - TXD1 [pin 20] - USB_DM [pin 5] - USB_DP [pin 6] - V_BCKP [pin 22] - VCC [pin 23] - VCC_RF [pin 9] - VDDUSB [pin 7] ### Infrared Sensor Left — [HC-SR501](https://www.flux.ai/vasyl/hc-sr501~he9.md) - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.mpja.com/download/31227sc.pdf - Manufacturer Part Number: HC-SR501 - Manufacturer Name: MPJA - Part Type: Sensor **Pins:** - Data [pin 5] - GND [pin 6] - VCC [pin 4] ### Infrared Sensor Right — [HC-SR501](https://www.flux.ai/vasyl/hc-sr501~he9.md) - Datasheet URL: https://www.mpja.com/download/31227sc.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Sensor - Manufacturer Name: MPJA - Manufacturer Part Number: HC-SR501 **Pins:** - Data [pin 5] - GND [pin 6] - VCC [pin 4] ### M1 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M2 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M3 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M4 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M5 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M6 — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### M7 5V — [DC Motor](https://www.flux.ai/vasyl/dc-motor~ku.md) **Pins:** - - - + ### Motor Controler 1 — [L298N](https://www.flux.ai/vasy_skral/l298n~uhf.md) - Part Type: Integrated Circuit - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/82/cc/3f/39/0a/29/4d/f0/CD00000240.pdf/files/CD00000240.pdf/jcr:content/translations/en.CD00000240.pdf - Manufacturer Part Number: L298N - Manufacturer Name: STMicroelectronics **Pins:** - ENA [pin 6] - ENB [pin 11] - GND [pin 8] - IN1 [pin 5] - IN2 [pin 7] - IN3 [pin 10] - IN4 [pin 12] - OUT1 [pin 2] - OUT2 [pin 3] - OUT3 [pin 13] - OUT4 [pin 14] - SENSE_A [pin 1] - SENSE_B [pin 15] - VS [pin 4] - VSS [pin 9] ### Motor Controler 2 — [L298N](https://www.flux.ai/vasy_skral/l298n~uhf.md) - Manufacturer Part Number: L298N - Manufacturer Name: STMicroelectronics - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/82/cc/3f/39/0a/29/4d/f0/CD00000240.pdf/files/CD00000240.pdf/jcr:content/translations/en.CD00000240.pdf - Part Type: Integrated Circuit **Pins:** - ENA [pin 6] - ENB [pin 11] - GND [pin 8] - IN1 [pin 5] - IN2 [pin 7] - IN3 [pin 10] - IN4 [pin 12] - OUT1 [pin 2] - OUT2 [pin 3] - OUT3 [pin 13] - OUT4 [pin 14] - SENSE_A [pin 1] - SENSE_B [pin 15] - VS [pin 4] - VSS [pin 9] ### Motor Controler 3 — [L298N](https://www.flux.ai/vasy_skral/l298n~uhf.md) - Part Type: Integrated Circuit - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/82/cc/3f/39/0a/29/4d/f0/CD00000240.pdf/files/CD00000240.pdf/jcr:content/translations/en.CD00000240.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: L298N - Manufacturer Name: STMicroelectronics **Pins:** - ENA [pin 6] - ENB [pin 11] - GND [pin 8] - IN1 [pin 5] - IN2 [pin 7] - IN3 [pin 10] - IN4 [pin 12] - OUT1 [pin 2] - OUT2 [pin 3] - OUT3 [pin 13] - OUT4 [pin 14] - SENSE_A [pin 1] - SENSE_B [pin 15] - VS [pin 4] - VSS [pin 9] ### S1 — [KMR231NGLFS](https://www.flux.ai/jecstronic/kmr231nglfs~8md.md) - Part Type: Switch - Manufacturer Name: C&K - Datasheet URL: https://www.snapeda.com/parts/KMR231NGLFS/C&K/datasheet/ - Manufacturer Part Number: KMR231NGLFS **Pins:** - ~ - ~ - ~ - ~ ### ServoM1 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md) - Beta / hFe: 100 - Leakage Current: 1e-13A **Pins:** - B - C - E ### ServoM2 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md) - Leakage Current: 1e-13A - Beta / hFe: 100 **Pins:** - B - C - E ### ServoM3 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md) - Beta / hFe: 100 - Leakage Current: 1e-13A **Pins:** - B - C - E ### ServoM4 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md) - Beta / hFe: 100 - Leakage Current: 1e-13A **Pins:** - B - C - E ### SPI GPIO Extender — [MCP23S17T-E-SS](https://www.flux.ai/jecstronic/mcp23s17t-e-ss~jil.md) - Datasheet URL: http://www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en023709 - Part Type: Integrated Circuit - Manufacturer Name: Microchip - Manufacturer Part Number: MCP23S17T-E/SS - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - ~CS~ [pin 11] - ~RESET~ [pin 18] - A0 [pin 15] - A1 [pin 16] - A2 [pin 17] - GPA0 [pin 21] - GPA1 [pin 22] - GPA2 [pin 23] - GPA3 [pin 24] - GPA4 [pin 25] - GPA5 [pin 26] - GPA6 [pin 27] - GPA7 [pin 28] - GPB0 [pin 1] - GPB1 [pin 2] - GPB2 [pin 3] - GPB3 [pin 4] - GPB4 [pin 5] - GPB5 [pin 6] - GPB6 [pin 7] - GPB7 [pin 8] - INTA [pin 20] - INTB [pin 19] - SCK [pin 12] - SI [pin 13] - SO [pin 14] - VDD [pin 9] - VSS [pin 10] ### UltraSonic — [HC-SR04](https://www.flux.ai/vasy_skral/hc-sr04~afv.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Sensor - Datasheet URL: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf - Manufacturer Part Number: HC-SR04 **Pins:** - ECHO [pin 3] - GND [pin 4] - TRIG [pin 2] - VCC [pin 1] ### V1 — [DC Supply](https://www.flux.ai/jharwinbarrozo/dc-supply~35.md) - Voltage: 12V **Pins:** - ANODE - CATHODE *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/farq/raspberry-pi-2-3-4-model-b-template~0y](https://www.flux.ai/farq/raspberry-pi-2-3-4-model-b-template~0y).* --- *Generated from [https://www.flux.ai/farq/raspberry-pi-2-3-4-model-b-template~0y](https://www.flux.ai/farq/raspberry-pi-2-3-4-model-b-template~0y)*