USB Module USB HOST/HID with MAX3421E SPI Interface Output*5 Input*5
Contact Sales
Your Name* | |
Your Email* | |
Topic* | |
Qty | |
Message | |
SUBMIT |
- Description
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.
Series Protocol: SPI
Product Features:
- 1x UAB stadard A port
- 10x extended GPIO pins
- extended 3v3, 5v & GND
- Product Size: 4.2mm x 54.2mm x 12.8mm
- Product weight: 14.5g
- 1x M5Stack USB Module
Application:
- USB keylogger
- Read and write U disk using M5Core
Related Link:
-
Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w
-
Forum: http://forum.m5stack.com/
-
Datasheet - MAX3421E
EasyLoader
: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_USB.exe
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 mas ter through simple steps, and a series of function verification can be performed.(Currently EasyLoader is only available for Windows OS)
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: https://docs.m5stack.com/#/en/related_documents/M5Burner?id=install-usb-driverExample:
To get complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/USB/.
NOTE:
Before compile this example code, you need to download the corresponding USB library from here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/USB//Library. Unzip and copy this library folder to Ardui no library pa th.( This is my pa th
C:Users
)DocumentsArdui nolibraries Download the example
usb_m o u se.ino
Plug the USB m o u se 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.
#include <M5Stack.h> #include <SPI.h> #include <Usb.h> #include <hiduniversal.h> #include <hidboot.h> #include <usbhub.h> #include "M5Mou se.h" // new objects USB Usb; USBHub Hub(&Usb); HIDBoot<USB_HID_PROTOCOL_M O U SE> HidMouse(&Usb); MouseRptParser Pr s; // initialization M5.begin(); Usb.Init(); HidMouse.SetReportParser(0,(HIDReportParser*)&Pr s); // handle event coming from usb device Usb.Task(); if(Usb.getUsbTaskState() == USB_STATE_RUNNING) { M o u se_Pointer(mou_px, mou_py); mou_px = 0; mou_py = 0; /* left button pressed: draw white point */ if (mou_button == 1) M5.Lcd.drawCircle(StaPotX, StaPotY, 1, WHITE); /* right button pressed: draw green point */ if (mou_button == 2) M5.Lcd.drawCircle(StaPotX, StaPotY, 1, GREEN); /* middle button pressed: clear screen */ if (mou_button == 4) M5.Lcd.fillScreen(BLACK); }
Schematic:
- Reviews (29)
- All(29)
- Download
- Q & A
-
: Where is the origin of Elecbee products? Are they certificated?2023-03-03
-
Answer:
Elecbee has long-term cooperation agreements with the OEM factories in China. So that we are able to reduce the intermediate channel cost, and help you save money. Our products are all made strictly according to the relative global standard, to ensure the products have good compatibility and excellent quality.
2023-03-03
-
: What forms of payment do you accept?2023-03-03
-
Answer:
Our main payment methods include Paypal, Credit Cards, Debit Cards, Bank Transfer, and more to discover. Please choose the payment methods in your favor.
2023-03-03
-
: When will you arrange shipment?2023-03-03
-
Answer:
After confirming receipt of your payment. We will arrange the delivery as soon as possible and upload the courier number to the website for you to track.
2023-03-03
-
: How to exchange or return?2023-03-03
-
Answer:
1. You can apply to return within 30 days after receipt of the goods. Please make sure the outside package is intact, and the product is in its original condition. We will arrange your refund according to the relevant provisions once the package is received.
2. Return process: You Apply for a Return - Approve the Return - Arrange a Return - Receive the Products and make Inspection - We arrange a Refund;
3. We will bear the freight charges for returns caused by us, for instance, the quality problem. As to returns caused by the buyer, the buyer should be responsible for the shipping fee.
2023-03-03
Related Products
3Pcs 3-in-1 USB to RS485 RS232 TTL Serial Port Module 2Mbps CP2102 Chip Board
3 x USB to RS485 RS232 TTL Serial Port Module..
10pcs 3.3V 5V USB to TTL Converter CH340G UART Serial Adapter Module STC
Description: 1. Support WINDOWS 98 / ME / 2000 / XP / Server 2003 / VISTA / Server 2008 / Win7 / Win..
5pcs CP2102 USB to TTL Serial Adapter Module USB to UART Converter Debugger Programmer for Pro Mini for Arduino - products that work with official for Arduino boards
>>>Driver: contact us<<< Description: This is USB to TTL serial module t..
USB To RS485 Converter Module USB To TTL / RS485 Dual Function Dual Protection
Precise details: Note: Output A (D+), B (D-) and device connection; This produc..