!!! attention This guide is specific to the USB-C Host Shield board variant. For the variants with the USB (Type-A) connector, please refer to this guide by Hardware Fun.
-
SKU: DEV-21247
[![SparkFun USB-C Host Shield](https://cdn.sparkfun.com/assets/parts/2/1/0/0/8/SparkFun_USB-C_Host_Shield-_01.jpg "Click to enlarge")](https://cdn.sparkfun.com/assets/parts/2/1/0/0/8/SparkFun_USB-C_Host_Shield-_01.jpg) -
The SparkFun USB-C Host Shield has similar features to our previous USB Host Shield (v2), but we upgraded the USB Type-A connector to a USB-C connector. Additionally, the board provides users with the option to select either the
5V
orVIN
pin to power the shield and USB port.The SparkFun USB Host Shield contains all of the digital logic and analog circuitry necessary to implement a USB peripheral/host controller with your Arduino board. This means you could use your Arduino microcontroller to interface with and control any USB 2.0 compatible device - flash drives, digital cameras, Bluetooth dongles, and much more!
A four-wire serial interface is used to communicate with the host controller chip, so the shield connects the Arduino's hardware SPI pins (D10-13) to the MAX3421E. While the logic-level for the shield is 3.3V, all the SPI signals are sent through a hex converter to keep the shield compatible with any 5V Arduino boards.
[Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/21247){ .md-button .md-button--primary }
[![SparkFun USB-C Host Shield](https://cdn.sparkfun.com/r/500-500/assets/parts/2/1/0/0/8/SparkFun_USB-C_Host_Shield-_01.jpg){ width=90% }](https://www.sparkfun.com/products/21247) |
The SparkFun USB-C Host Shield has similar features to our previous USB Host Shield (v2), but we upgraded the USB Type-A connector to a USB-C connector. Additionally, the board provides users with the option to select either the The SparkFun USB Host Shield contains all of the digital logic and analog circuitry necessary to implement a USB peripheral/host controller with your Arduino board. This means you could use your Arduino microcontroller to interface with and control any USB 2.0 compatible device - flash drives, digital cameras, Bluetooth dongles, and much more! A four-wire serial interface is used to communicate with the host controller chip, so the shield connects the Arduino's hardware SPI pins (D10-13) to the MAX3421E. While the logic-level for the shield is 3.3V, all the SPI signals are sent through a hex converter to keep the shield compatible with any 5V Arduino boards. [Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/21247){ .md-button .md-button--primary } |
To get started with the USB-C Host Shield, users will need a few additional items. Users may already have some of these items, feel free to modify your cart accordingly. For users just getting started with electronics, we have linked a few tutorials to establish a foundation of knowledge to follow along with this hookup guide.
-
Computer with an operating system (OS) that is compatible with all the software installation requirements.
-
A compatible microcontroller/Arduino board; we recommend the SparkFun RedBoard Plus.
!!! warning The recommended Arduino library for the USB Host Shield is not compatible with all microcontrollers or boards. For a complete list of compatible microcontrollers and boards, please refer to the
README.md
file of USB Host Library Rev. 2.0. -
USB 3.1 Cable A to C - 3 Foot - Used to interface with the RedBoard Plus (1) { .annotate }
- If your computer doesn't have a USB-A slot or your microcontroller/Arduino board has a different USB connector, then choose an appropriate cable or adapter.
-
USB Peripheral Device (i.e. flash drive, game controller, smartphone, etc.) (1) { .annotate }
-
Headers - Used to connect the shield to the Arduino board (1) { .annotate }
- Check out some of the options for the Arduino R3/Uno form factor boards below; otherwise, click here for a full selection of our available headers.
-
Soldering Tools (1) { .annotate }
- Check out the beginner tool kit below; otherwise, click here for a full selection of our available soldering tools.
CAB-14743 | DEV-18158 | DEV-21247 |
PRT-00116 | PRT-11417 | |
TOL-14681 |
-
USB 3.1 Cable A to C - 3 Foot
CAB-14743
![USB 3.1 Cable A to C - 3 Foot](https://cdn.sparkfun.com/assets/parts/1/2/9/7/2/14743-USB_3.1_Cable_A_to_C_-_3_Foot-01.jpg) -
SparkFun RedBoard Plus
DEV-18158
![SparkFun RedBoard Plus](https://cdn.sparkfun.com/assets/parts/1/7/4/8/7/18158-SparkFun_RedBoard_Plus-01.jpg) -
SparkFun USB-C Host Shield
DEV-21247
![SparkFun USB-C Host Shield](https://cdn.sparkfun.com/assets/parts/2/1/0/0/8/SparkFun_USB-C_Host_Shield-_01.jpg) -
Break Away Headers - Straight
PRT-00116
![Break Away Headers - Straight](https://cdn.sparkfun.com/assets/parts/1/0/6/00116-02-L.jpg) -
Arduino Stackable Header Kit - R3
PRT-11417
![Arduino Stackable Header Kit - R3](https://cdn.sparkfun.com/assets/parts/7/2/1/6/11417-01a.jpg) -
SparkFun Beginner Tool Kit
TOL-14681
![SparkFun Beginner Tool Kit](https://cdn.sparkfun.com/assets/parts/1/2/8/8/3/14681-SparkFun_Beginner_Tool_Kit.jpg)
!!! tip New to soldering? Check out our Through-Hole Soldering Tutorial for a quick introduction!
How to Solder: Through-Hole Soldering
The following products are used in the Arduino examples shown in this hookup guide. Users are welcome to choose other products; however, these have been tested and verified to work with the examples.
COM-21870 | CAB-16905 | SWG-14658 | WRL-09434 |
WIG-17264 |
-
USB 2.0 Type-C Cable - 1 Meter
CAB-16905
![USB 2.0 Type-C Cable - 1 Meter](https://cdn.sparkfun.com/assets/parts/1/5/8/3/4/16905-USB_-_C_to_C_cable-01.jpg) (Coming Soon) -
USB A (Female) to Type C (Male) Converter
COM-21870
![USB A (Female) to Type C (Male) Converter](https://cdn.sparkfun.com/assets/parts/2/1/7/0/0/21870-_PRT-_01.jpg) -
SparkFun USB Thumb Drive (16GB)
SWG-14658
![SparkFun USB Thumb Drive (16GB)](https://cdn.sparkfun.com/assets/parts/1/2/8/5/0/14658-SparkFun_USB_Thumb_Drive__16GB_-01.jpg) -
Bluetooth USB Module Mini
WRL-09434
![Bluetooth USB Module Mini](https://cdn.sparkfun.com/assets/parts/3/1/0/7/09434-03.jpg) -
8BitDo SN30 Pro Bluetooth Gamepad
WIG-17264
![8BitDo SN30 Pro Bluetooth Gamepad](https://cdn.sparkfun.com/assets/parts/1/6/2/6/9/17264-SN30_Pro_Bluetooth_GamepadSN30_Pro_Bluetooth_Gamepad-01.jpg)
To modify the jumpers, users will need soldering equipment and/or a knife.
TOL-09325 | TOL-14228 | TOL-14579 | TOL-09200 |
-
Solder Lead Free - 100-gram Spool
TOL-09325
![Solder Lead Free - 100-gram Spool](https://cdn.sparkfun.com/assets/parts/2/8/7/3/09325_9161-Solder_Lead_Free_-_100-gram_Spool-01.jpg) -
Weller WLC100 Soldering Station
TOL-14228
![Weller WLC100 Soldering Station](https://cdn.sparkfun.com/assets/parts/1/2/1/7/3/14228-01.jpg) -
Chip Quik No-Clean Flux Pen - 10mL
TOL-14579
![Chip Quik No-Clean Flux Pen - 10mL](https://cdn.sparkfun.com/assets/parts/1/2/7/2/5/14579-Chip_Quik_No-Clean_Flux_Pen_-_10mL-01.jpg) -
![Hobby Knife](https://cdn.sparkfun.com/assets/parts/2/6/4/6/09200-Hobby_Knife-01.jpg)
!!! tip New to jumper pads? Check out our Jumper Pads and PCB Traces Tutorial for a quick introduction!
How to Work with Jumper Pads and PCB Traces
As a more sophisticated product, we will skip over the more fundamental tutorials (i.e. Ohm's Law and What is Electricity?). However, below are a few tutorials that may help users familiarize themselves with various aspects of the board.
-
![Arduino Shields v2](https://cdn.sparkfun.com/c/264-148/assets/learn_tutorials/1/1/6/7/qwiic_shield.jpg) -
![Installing the Arduino IDE](https://cdn.sparkfun.com/c/264-148/assets/learn_tutorials/6/1/arduinoThumb.jpg) -
![Installing an Arduino Library](https://cdn.sparkfun.com/c/264-148/assets/b/e/4/b/2/50f04b99ce395fd95e000001.jpg) -
How to Solder: Through-Hole Soldering
![How to Solder: Through-Hole Soldering](https://cdn.sparkfun.com/c/264-148/assets/e/3/9/9/4/51d9fbe1ce395f7a2a000000.jpg) -
How to Work with Jumper Pads and PCB Traces
![How to Work with Jumper Pads and PCB Traces](https://cdn.sparkfun.com/c/264-148/assets/learn_tutorials/6/6/4/PCB_TraceCutLumenati.jpg) -
![Logic Levels](https://cdn.sparkfun.com/c/264-148/assets/learn_tutorials/6/2/Input_Output_Logic_Level_Tolerances_tutorial_tile.png) -
Serial Peripheral Interface (SPI)
![Serial Peripheral Interface (SPI)](https://cdn.sparkfun.com/c/264-148/assets/learn_tutorials/1/6/spiThumb_Updated.jpg)