1.. _rpi_pico_uno_flexypin:
2
3RaspberryPi Pico to UNO FlexyPin Adapter
4########################################
5
6Overview
7********
8
9The Raspberry Pi Pico to Uno FlexyPin Adapter is an open-source hardware converter PCB that adapts
10the Raspberry Pi Pico to the Arduino UNO form factor
11This board is designed to be use with FlexyPin connector pins.
12The FlexyPin holds Pico and contacts to castellated through-hole.
13
14With simple soldering, it can also be used as a board to convert the Rapsberry Pi Pico
15to the Arduino UNO form factor.
16
17.. image:: img/rpi_pico_uno_flexypin.png
18     :align: center
19     :alt: RaspberryPi Pico to UNO FlexyPin Adapter
20
21Pins Assignment of the RaspberryPi Pico to UNO FlexyPin Adapter
22===============================================================
23
24+---------------------+------------+
25| Rpi-Pico Pin        | UNO Header |
26+=====================+============+
27| GP0 (UART0 TX)      | D1         |
28+---------------------+------------+
29| GP1 (UART0 RX)      | D0         |
30+---------------------+------------+
31| GP2                 | D8         |
32+---------------------+------------+
33| GP3                 | D9         |
34+---------------------+------------+
35| GP4                 | D2         |
36+---------------------+------------+
37| GP5                 | D3         |
38+---------------------+------------+
39| GP6                 | D4         |
40+---------------------+------------+
41| GP7                 | D5         |
42+---------------------+------------+
43| GP8                 | D6         |
44+---------------------+------------+
45| GP9                 | D7         |
46+---------------------+------------+
47| GP13                | A3         |
48+---------------------+------------+
49| GP14 (I2C1 SDA)     | A4         |
50+---------------------+------------+
51| GP15 (I2C1 SCL)     | A5         |
52+---------------------+------------+
53| GP16 (SPI0 RX/CIPO) | D12        |
54+---------------------+------------+
55| GP17 (SPI0 CS)      | D10        |
56+---------------------+------------+
57| GP18 (SPI0 SCK)     | D13        |
58+---------------------+------------+
59| GP19 (SPI0 TX/COPI) | D11        |
60+---------------------+------------+
61| GP20                | D14        |
62+---------------------+------------+
63| GP21 (I2C0 SCL)     | D15        |
64+---------------------+------------+
65| GP26 (I2C0 SDA)     | A0         |
66+---------------------+------------+
67| GP27                | A1         |
68+---------------------+------------+
69| GP28                | A2         |
70+---------------------+------------+
71
72Programming
73***********
74
75Set ``--shield rpi_pico_uno_flexypin`` when you invoke ``west build``.
76This shield is just a converter, so it is usually used with other Arduino shield.
77
78For example,
79
80.. zephyr-app-commands::
81   :zephyr-app:  samples/net/wifi
82   :board: rpi_pico
83   :shield: rpi_pico_uno_flexypin,esp_8266_arduino
84   :goals: build
85
86References
87**********
88
89.. target-notes::
90
91.. _FlexyPin:
92   https://github.com/solderparty/flexypin
93
94.. _FlexyPin Adapters:
95   https://github.com/solderparty/flexypin_adapters_hw
96