This repository was archived by the owner on Aug 11, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Usb host tutorial #15
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lenardgeorge
commented
Jun 4, 2020
|  | ||
| # USB Host and Device mode | ||
|
|
||
| As we know, Portenta H7 functions as a USB host. This means that the Portenta H7 can receive and manage the information provided by other USB peripherals connected to it through the hub. In this scenario, the Portenta H7 is referred as "USB host" or "master" device, and the peripheral is known as the "client" device, ( usually a mouse or a keyboard ). Computers are by default USB hosts too, as they receive the information that USB peripherals provide. PCs follows a “plug and play” mechanism, this means that whenever a USB device is connected, the Host detects the device and loads the appropriate drives for the device to establish a communication channel over the serial bus.Besides being a host point for peripherals, Portenta H7 can also be connected to the computer as the "client". In this case, the PC is the USB host and Portenta H7 the peripheral. We see this scenario whenever we upload sketches to the board or when we monitor data through the serial monitor.Furthermore, the Portenta H7 can also be set to be a mouse or keyboard itself. With the corresponding sketch, circuitry and components, we could send keyboard or mouse data to a PC, but this would be a different project. |
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Portenta H7 can switch between a USB host and device based on our preferrence.
* Created new tutorial * Updated content.md file * Update content.md * Update content.md Co-authored-by: Lenard George Swamy <lenardgeorge92@gmail.com>
Added first 3 steps of the tutorial
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
* Feature description correct and extended * USB OTG addition * Zadig step removed * update * update * Merge branch 'usb-host-tutorial' of https://github.com/i-herrera/arduino-pro-content into usb-host-tutorial * Update content/tutorials/portenta-h7/por-ard-usb/content.md Co-authored-by: per1234 <accounts@perglass.com> Co-authored-by: Sebastian <hunkeler.sebastian@gmail.com> Co-authored-by: per1234 <accounts@perglass.com> Co-authored-by: Sebastian <s.hunkeler@arduino.cc>
42d4427 to
ca651e5
Compare
sebromero
added a commit
that referenced
this pull request
Jun 18, 2020
This reverts commit 0108cf1.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added images to the sections and Feature Description