# Raspberry Pi Pico | End-to-end AI Design Tutorial [Example]
## Description
Learn how to design PCBs faster with generative AI in this 20 minute hands-on tutorial. You’ll learn how to use Flux Copilot, an AI-powered hardware design assistant, to research parts, review your design, and even connect components.
https://youtu.be/FL7e0OXTLic
## Project Details
- **Owner:** phlipdjhall
- **Created:** 3/1/2025
- **Last Updated:** 3/1/2025
- **Visibility:** Public
- **Finished Project URL:** https://www.flux.ai/nico/rp2040-only-ai
## Key Components
### SW1 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
- Current Rating: 50mA
- Voltage Rating: 12V
- JLCPCB Part Class: Extended Part
- Throw Configuration: SPST
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Manufacturer Part Number: KH-6X6X5H-STM
- Contact Material: gold-plated or silver alloy
- Manufacturer Name: kinghelm(金航标)
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW2 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Manufacturer Part Number: KH-6X6X5H-STM
- Manufacturer Name: kinghelm(金航标)
- Contact Material: gold-plated or silver alloy
- JLCPCB Part Class: Extended Part
- Voltage Rating: 12V
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Throw Configuration: SPST
- Current Rating: 50mA
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW3 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Throw Configuration: SPST
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Switch Type: Tactile Switch
- Voltage Rating: 12V
- JLCPCB Part Class: Extended Part
- Contact Material: gold-plated or silver alloy
- Manufacturer Name: kinghelm(金航标)
- Manufacturer Part Number: KH-6X6X5H-STM
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
- Current Rating: 50mA
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW4 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Manufacturer Name: kinghelm(金航标)
- Contact Material: gold-plated or silver alloy
- Manufacturer Part Number: KH-6X6X5H-STM
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Throw Configuration: SPST
- JLCPCB Part Class: Extended Part
- Voltage Rating: 12V
- Current Rating: 50mA
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW5 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
- Current Rating: 50mA
- Throw Configuration: SPST
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Voltage Rating: 12V
- JLCPCB Part Class: Extended Part
- Contact Material: gold-plated or silver alloy
- Manufacturer Name: kinghelm(金航标)
- Manufacturer Part Number: KH-6X6X5H-STM
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW6 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- JLCPCB Part Class: Extended Part
- Voltage Rating: 12V
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Switch Type: Tactile Switch
- Throw Configuration: SPST
- Manufacturer Part Number: KH-6X6X5H-STM
- Manufacturer Name: kinghelm(金航标)
- Contact Material: gold-plated or silver alloy
- Part Type: Tactile Switches
- LCSC Part Number: C2837531
- Current Rating: 50mA
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW7 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- Current Rating: 50mA
- LCSC Part Number: C2837531
- Part Type: Tactile Switches
- Manufacturer Part Number: KH-6X6X5H-STM
- Manufacturer Name: kinghelm(金航标)
- Contact Material: gold-plated or silver alloy
- JLCPCB Part Class: Extended Part
- Voltage Rating: 12V
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Throw Configuration: SPST
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### SW8 — [KH-6X6X5H-STM](https://www.flux.ai/lcsc/kh-6x6x5h-stm.md)
- LCSC Part Number: C2837531
- Part Type: Tactile Switches
- Current Rating: 50mA
- Voltage Rating: 12V
- JLCPCB Part Class: Extended Part
- Throw Configuration: SPST
- Switch Type: Tactile Switch
- Package or Case Code: SW-SMD_4P-L6.0-W6.0-P4.50-LS9.0-2
- Manufacturer Part Number: KH-6X6X5H-STM
- Contact Material: gold-plated or silver alloy
- Manufacturer Name: kinghelm(金航标)
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### U1 — [RP2040](https://www.flux.ai/vasy_skral/rp2040.md)
- Manufacturer Part Number: RP2040
- Manufacturer Name: Raspberry Pi
- Part Type: Microcontroller
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
**Pins:**
- ADC_AVDD [pin 43]
- DVDD [pin 23]
- DVDD [pin 50]
- GND [pin 57]
- GPIO0 [pin 2]
- GPIO1 [pin 3]
- GPIO10 [pin 13]
- GPIO11 [pin 14]
- GPIO12 [pin 15]
- GPIO13 [pin 16]
- GPIO14 [pin 17]
- GPIO15 [pin 18]
- GPIO16 [pin 27]
- GPIO17 [pin 28]
- GPIO18 [pin 29]
- GPIO19 [pin 30]
- GPIO2 [pin 4]
- GPIO20 [pin 31]
- GPIO21 [pin 32]
- GPIO22 [pin 34]
- GPIO23 [pin 35]
- GPIO24 [pin 36]
- GPIO25 [pin 37]
- GPIO26/ADC0 [pin 38]
- GPIO27/ADC1 [pin 39]
- GPIO28/ADC2 [pin 40]
- GPIO29/ADC3 [pin 41]
- GPIO3 [pin 5]
- GPIO4 [pin 6]
- GPIO5 [pin 7]
- GPIO6 [pin 8]
- GPIO7 [pin 9]
- GPIO8 [pin 11]
- GPIO9 [pin 12]
- IOVDD [pin 33]
- IOVDD [pin 22]
- IOVDD [pin 10]
- IOVDD [pin 49]
- IOVDD [pin 1]
- IOVDD [pin 42]
- QSPI_CSN [pin 56]
- QSPI_SCLK [pin 52]
- QSPI_SD0 [pin 53]
- QSPI_SD1 [pin 55]
- QSPI_SD2 [pin 54]
- QSPI_SD3 [pin 51]
- RUN [pin 26]
- SWCLK [pin 24]
- SWD [pin 25]
- TESTEN [pin 19]
- USB_DM [pin 46]
- USB_DP [pin 47]
- USB_VDD [pin 48]
- VREG_VIN [pin 44]
- VREG_VOUT [pin 45]
- XIN [pin 20]
- XOUT [pin 21]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/phlipdjhall/raspberry-pi-pico-or-end-to-end-ai-design-tutorial-example](https://www.flux.ai/phlipdjhall/raspberry-pi-pico-or-end-to-end-ai-design-tutorial-example).*
---
*Generated from [https://www.flux.ai/phlipdjhall/raspberry-pi-pico-or-end-to-end-ai-design-tutorial-example](https://www.flux.ai/phlipdjhall/raspberry-pi-pico-or-end-to-end-ai-design-tutorial-example)*