Ships from Alingsås, Sweden · Free shipping from 149 SEK · Swedish support by email and phone

M5Stack Module USB v1.2 (M020-V12) – USB host with MAX3421E


 

 


Module USB v1.2 gives your M5Stack board an extra USB port. The MAX3421E chip works as both USB host and USB device (USB 2.0), so you can connect for example a keyboard, mouse, barcode scanner or USB stick. The module connects to the main board via M5-Bus and talks to it over SPI. It also has five digital inputs and five outputs.

Works with

  • M5Stack Core (Basic), Core2 and CoreS3, including CoreS3 SE (K128-SE). DIP switches select the right pins for each board.
  • Arduino IDE (M5Stack library M5-Max3421E-USBShield) and UIFlow 1.0

Together with Tab5

M5Stack Tab5 has M5-Bus and M3 holes on the back, so a module in this series can be screwed on behind the screen. Tab5 already has a USB-A port; the module adds another one plus five inputs and five outputs. M5Stack's page for the module does not mention Tab5 and there is no ready-made example, so this is for you who are happy to set the pins yourself. According to M5Stack's pin tables the signals land like this on Tab5:

SignalPin on Tab5
MOSI / MISO / SCKG18 / G19 / G5
SS: CH1 / CH2 / CH3G48 / G4 / G35 (choose CH1 or CH2, G35 is used at boot)
INT: CH1 / CH2G16 / G51
5 VSwitched on in software (EXT5V_EN)

Pins for the Core boards (DIP switches)

BoardMOSI / MISO / SCKSS CH1 / CH2 / CH3INT CH1 / CH2
Core (Basic)G23 / G19 / G18G13 / G5 / G0G35 / G34
Core2G23 / G38 / G18G19 / G33 / G0G35 / G34
CoreS3G37 / G35 / G36G7 / G1 / G0G10 / G14

Specifications

ChipMAX3421E
USBUSB 2.0, host and device mode
Connection to main boardSPI via M5-Bus (30-pin)
GPIO5 inputs (GPI 0–4) and 5 outputs (GPO 0–4)
SwitchesTwo DIP switches for SS and INT pins
Battery socketMX1.25-2P (battery not included)
Size and weight54 × 54 × 12.8 mm, 13.3 g
Package132 × 95 × 16 mm, 28 g

In the box

  • 1 × Module USB v1.2

Examples and ideas

  • Barcode scanner: scan items with an ordinary USB scanner and send the code on over Wi-Fi.
  • Keyboard or mouse: control your program with ordinary USB accessories.
  • USB stick: read and write files for logging or data exchange.
  • Control: use the outputs and inputs for signals to relay boards, LEDs and buttons.

Learn more and example projects

Manufacturer and documentation

Manufacturer: M5Stack Technology Co., Ltd, Block A10, Expo Bay South Coast, Fuhai Street, Bao'an District, Shenzhen, China, [email protected]. EU representative: Success Courier SL, Calle Rio Tormes 1, Planta 1, Derecha, Oficina 3, 28947 Fuenlabrada, Madrid, Spain, [email protected].

End-of-life electronics must be taken to separate collection. Read about e-waste.



Manufacturer documentation for this product.

Missing a document? Email [email protected].



Write a review