# Module USB SKU:M020
## Description **USB** is a USB driver module, integrated **MAX3421E** which adds USB host or peripheral capability to any system with an SPI interface. Ever up for adding the standard USB features on your project? this M5 moudle is the perfect solution. ## Product Features - Series Protocol: SPI - 1x UAB stadard A port - 10x extended GPIO pins - extended 3v3, 5v & GND ## Include - 1x M5Stack USB Module ## Applications - USB keylogger - Read and write U disk using M5Core ## Specification
Resources Parameter
Net weight 13g
Gross weight 25g
Product Size 54.2*54.2*12.8mm
Package Size 60*57*17mm
## Related Link - **Datasheet** - [MAX3421E](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/MAX3421E_en.pdf) ## EasyLoader download EasyLoader >1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. >2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning. ?>3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. [Click here to view the driver installation tutorial](en/related_documents/M5Burner#install-usb-driver) ## Example ### 1. Arduino IDE To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/USB_MAX3421E) **NOTE:** Before compile this example code, you need to download the corresponding USB library from [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/USB_MAX3421E). Unzip and copy this library folder to Arduino library path.( This is my path`C:\Users\\Documents\Arduino\libraries`) Download the example `usb_mouse.ino` Plug the USB mouse into USB A port. * Hold down the left button to draw white lines. * Hold down the right button to draw green line. * Press the middle wheel button to clear the screen. ## Schematic ## MBUS PinMap