Universal Serial Bus (USB)
Résumé
TLDREl vídeo explora el bus sèrie universal (USB), un estàndard que permet la connexió de diversos dispositius a ordinadors. Es discuteix la seva història, des de la seva introducció el 1996 per substituir els connectors PS/2, fins a les seves versions actuals. El funcionament del USB es basa en un controlador host que gestiona la comunicació amb els dispositius connectats. Es destaca la importància de la potència i l'amplada de banda, així com les limitacions en la cadena de dispositius USB. També es presenten les diferències entre hubs alimentats i no alimentats, i es detallen les versions de USB, incloent la seva compatibilitat i velocitats de transferència.
A retenir
- 🔌 USB és un estàndard per a la connexió de perifèrics.
- 📅 Va ser llançat el 1996 per substituir el PS/2.
- 📊 Un controlador USB pot suportar fins a 127 dispositius.
- 🖥️ Els hubs USB permeten expandir connexions.
- ⚡ Hi ha hubs alimentats i no alimentats.
- 📏 La longitud màxima dels cables USB varia segons la versió.
- 🔄 USB On-The-Go permet que els dispositius actuïn com a mestres o esclaus.
- 📈 L'amplada de banda afecta la velocitat de transferència.
- 🔄 USB és retrocompatible amb versions anteriors.
- 🧩 Les diferents versions de USB tenen velocitats i connectors diferents.
Chronologie
- 00:00:00 - 00:05:00
En aquest vídeo, es presenta el bus sèrie universal (USB), que va ser llançat el 1996 per connectar perifèrics i dispositius. Es destaca la importància de comprendre el funcionament de l'USB per als tècnics informàtics, ja que és essencial per a la connexió de diversos dispositius com impressores i mòbils. A més, es menciona que l'USB és 'hot swappable' i 'auto configurable', facilitant la seva utilització sense necessitat de reiniciar l'ordinador.
- 00:05:00 - 00:10:00
El controlador d'host USB és el nucli del sistema USB, proporcionant una interfície per comunicar-se amb el maquinari. Cada controlador d'host pot suportar fins a 127 dispositius, tot i que en la pràctica és poc probable que s'arribi a aquest límit. Els hubs USB permeten expandir un port USB en múltiples ports, facilitant la connexió de diversos dispositius.
- 00:10:00 - 00:15:00
Els hubs USB poden ser independents o integrats en altres dispositius. Es discuteix la limitació de potència en els hubs USB, ja que un port USB pot proporcionar entre 100 i 500 mA. Això significa que un hub bàsic amb quatre ports pot estar limitat a 500 mA, i si es connecten dispositius que requereixen més potència, poden no funcionar correctament.
- 00:15:00 - 00:20:00
Es destaca que l'USB utilitza paquets per transmetre dades i que la seva arquitectura pot provocar problemes de banda ampla si es connecten dispositius d'alta demanda en ports que comparteixen la mateixa amplada de banda. El controlador d'host USB gestiona la comunicació entre dispositius, assegurant que no hi hagi conflictes en la transmissió de dades.
- 00:20:00 - 00:25:00
Es presenta l'arquitectura USB, que inclou el controlador d'host, el hub arrel i els ports USB. Es discuteix la importància de la potència i la limitació de ports en els hubs no alimentats, així com la possibilitat d'afegir més dispositius mitjançant hubs alimentats per evitar problemes de potència.
- 00:25:00 - 00:30:00
Es revisen les diferents versions d'USB, incloent USB 1.1, 2.0, 3.0, 3.1 i 3.2, amb les seves velocitats respectives. Es menciona la compatibilitat entre versions, així com les confusions que poden sorgir amb els noms de màrqueting i les denominacions de les versions.
- 00:30:00 - 00:39:04
Finalment, es discuteix la compatibilitat entre dispositius USB de diferents velocitats i la importància de la longitud del cable. S'explica com els dispositius USB poden funcionar com a mestres o esclaus, i es presenten els connectors USB, incloent el tipus C, que permet una connexió bidireccional.
Carte mentale
Vidéo Q&R
Què és el USB?
El bus sèrie universal (USB) és un estàndard per a la connexió de perifèrics i dispositius a ordinadors.
Quina és la història del USB?
El USB va ser llançat el 1996 per substituir els connectors PS/2.
Quants dispositius pot suportar un controlador USB?
Un controlador USB pot suportar un màxim de 127 dispositius.
Què és un hub USB?
Un hub USB permet expandir una connexió USB en múltiples connexions.
Quines són les versions de USB més comunes?
Les versions més comunes són USB 1.1, USB 2.0, USB 3.0, USB 3.1 i USB 3.2.
Quina és la diferència entre hubs USB alimentats i no alimentats?
Els hubs alimentats proporcionen potència externa als dispositius, mentre que els no alimentats depenen de la potència del port USB.
Quina és la longitud màxima dels cables USB?
La longitud màxima és de 3 metres per a USB 1, 5 metres per a USB 2, i es recomana que els cables USB 3 no superin els 3 metres.
Què és USB On-The-Go?
USB On-The-Go permet que un dispositiu funcioni com a mestre o esclau.
Quina és la importància de l'amplada de banda en USB?
L'amplada de banda determina la velocitat de transferència de dades entre dispositius USB.
Com es gestiona la compatibilitat entre diferents versions de USB?
USB és retrocompatible, de manera que els dispositius USB 1.1 funcionen en ports USB 2.0 i USB 3.0.
Voir plus de résumés vidéo
PLANETA DE VOLCANES - Documental Universo HD
07-CompTIA A+ (Lecture 6) By Eng-Eng-Ahmad Al-Mashaikh | Arabic
Almudena Grandes presenta 'La madre de Frankenstein' en 'A Vivir...'
El TOTALITARISMO - Resumen | El Tercer Reich Alemán, La Italia Fascista y La Unión Soviética
China’s Mega Projects: Energy
¿Capitalismo o socialismo?
- 00:00:00in this video for my tea free training I
- 00:00:02will look at the Universal Serial bus or
- 00:00:05USB USB standardized the connections to
- 00:00:09peripherals and has become very popular
- 00:00:11due to its popularity it is essential
- 00:00:14for the IT technician to have a good
- 00:00:16understanding of how USB works Universal
- 00:00:21Serial bus or USB was released in 1996
- 00:00:24it provides connectors and cables to
- 00:00:27connect peripherals and devices USB was
- 00:00:30originally designed to replace the ps2
- 00:00:33plug which was used for the keyboard and
- 00:00:35mouse the ps/2 connector was limited to
- 00:00:38only being able to be used for keyboard
- 00:00:41and mouse USB was designed to support
- 00:00:43any device that was manufactured to be
- 00:00:45compatible with USB for example USB
- 00:00:49could be used for USB sticks connecting
- 00:00:51printers or even your mobile device USB
- 00:00:56was designed to be hot swappable this
- 00:00:58means that you can connect and
- 00:01:00disconnect devices from your computer
- 00:01:02without rebooting the computer USB is
- 00:01:06also Auto configurable in the old days
- 00:01:08of computing interrupts ports and other
- 00:01:11settings would need to be configured
- 00:01:12however with USB the resources the
- 00:01:15device requires are automatically
- 00:01:17allocated nowadays USB has become very
- 00:01:20popular and it would be hard to find a
- 00:01:23computer that does not have at least one
- 00:01:25USB port USB is used to connect every
- 00:01:28device you could think of to your
- 00:01:29computer let's have a look at how it
- 00:01:32works
- 00:01:34at the heart of USB is the USB host
- 00:01:37controller the USB host controller
- 00:01:40provides an interface to communicate
- 00:01:42with the hardware each host controller
- 00:01:45has one root hub regardless of how many
- 00:01:48USB controllers you have the operating
- 00:01:50system will communicate with the USB
- 00:01:52controller using a standard interface in
- 00:01:55this example there is one chip in the
- 00:01:58computer that provides a USB host
- 00:02:00controller nowadays the USB host
- 00:02:03controller will not be a separate chip
- 00:02:05but will most likely be found in the
- 00:02:07Northbridge in some motherboards the
- 00:02:11newer faster USB 3 controller
- 00:02:13would be found in the Northbridge and
- 00:02:15the older slower USB controller would be
- 00:02:18found in the Southbridge I will look at
- 00:02:21the different versions of USB later in
- 00:02:24the video regardless of how many USB
- 00:02:27controllers you have on your motherboard
- 00:02:28their versions and if they are on one
- 00:02:31chip or more they essentially work the
- 00:02:33same way
- 00:02:34each USB host controller can support a
- 00:02:38maximum of 127 devices in the real world
- 00:02:42it is unlikely this maximum will be
- 00:02:44reached for a number of reasons which I
- 00:02:46will look at later in the video to
- 00:02:48manage a large number of devices using
- 00:02:50the one USB controller each USB
- 00:02:53controller has one or more route ups in
- 00:02:56this example you can see the USB host
- 00:02:59controller is connected to the root hub
- 00:03:02the root hub is then connected to the
- 00:03:04physical USB ports the USB host
- 00:03:08controller may support more physical
- 00:03:10ports than what are available on the
- 00:03:12motherboard it is up to the manufacturer
- 00:03:14of the motherboard to determine how many
- 00:03:16physical ports they are going to support
- 00:03:19now you may be thinking if one
- 00:03:21controller can potentially support 127
- 00:03:24devices there are no motherboards on the
- 00:03:27market that have anywhere close to 127
- 00:03:30USB connectors there are motherboards
- 00:03:33that have 16 USB connectors which should
- 00:03:36be enough so let's have a look at why
- 00:03:39you would need to support so many USB
- 00:03:43has the ability for one port to be
- 00:03:45expanded to many ports this is the same
- 00:03:48principle as a power strip shown here is
- 00:03:51a USB hub this USB hub allows one USB
- 00:03:55connection to be split into four
- 00:03:58connections USB hubs can be separate
- 00:04:00devices like this one or can be included
- 00:04:03in devices like computer monitors and
- 00:04:05keyboards the USB hub has an input port
- 00:04:09which is referred to as an up stream
- 00:04:11port this will be connected directly to
- 00:04:14the computer or another USB hub in the
- 00:04:18case of this USB hub there are four
- 00:04:20downstream ports which devices or other
- 00:04:23USB hubs can be connected to
- 00:04:26in this case a USB thumb drive is
- 00:04:29connected to one of the ports another
- 00:04:31one of the ports is connected to a
- 00:04:32second hub in a previous video we looked
- 00:04:36at what would happen if you connected
- 00:04:37multiple power strips together let's
- 00:04:40have a look at the problem that may
- 00:04:41occur if you connect multiple USB hubs
- 00:04:43together USB is designed to allow up to
- 00:04:47five tears in this case you can see that
- 00:04:51I've connected four USB hubs together
- 00:04:54when I did this the computer was able to
- 00:04:57access the USB stick plugged into the
- 00:04:59last USB hub the point to remember is
- 00:05:02that the computer contains a root hub
- 00:05:05this root hub is essentially the first
- 00:05:07hub in the chain so essentially this
- 00:05:10means that a maximum of four USB hubs
- 00:05:12can be added the one inside the computer
- 00:05:15plus four additional ones making a total
- 00:05:18of five the USB officially supports five
- 00:05:21tiers but this may or may not work I
- 00:05:24would not recommend daisy chaining USB
- 00:05:28hubs together like this computers
- 00:05:30nowadays come with a lot of USB
- 00:05:32connectors if you need more USB
- 00:05:34connectors then you increase the number
- 00:05:36with a USB hub if you need two or more
- 00:05:39USB hubs consider plugging each USB hub
- 00:05:43into different USB ports rather than
- 00:05:45daisy chaining them together let's have
- 00:05:48a closer look at how USB works and thus
- 00:05:51why we may have problems daisy chaining
- 00:05:54devices together the first problem you
- 00:05:57may encounter when daisy chaining USB
- 00:05:59devices together is power a single USB
- 00:06:03port on your computer will supply 100 to
- 00:06:05500 milliamps of power essentially when
- 00:06:08you plug devices into your computer the
- 00:06:11device will use a minimum of 100
- 00:06:13milliamps but can draw up to 500
- 00:06:16milliamps if it requires it the device
- 00:06:19that is used will determine how much
- 00:06:21power it will require devices that do
- 00:06:24not have an external power supply will
- 00:06:26most likely require more power for
- 00:06:29example a USB hard disk that draws power
- 00:06:31from the USB is most likely going to use
- 00:06:34more power than a USB stick as it needs
- 00:06:36power to spin the hard disk platters
- 00:06:39now let's consider what happens when you
- 00:06:41use a USB hub like before the USB can
- 00:06:45draw up to 500 milliamps of power from
- 00:06:47the computer in order to power the USB
- 00:06:50hub 100 milliamps are required each port
- 00:06:54will use a further 100 milliamps this
- 00:06:57essentially means that a basic USB hub
- 00:07:00is limited to 4 ports as power is
- 00:07:02divided up as follows 100 milliamps for
- 00:07:05the hub 100 milliamps for each port
- 00:07:08making 400 which is a total of 500
- 00:07:11milliamps you may remember from a
- 00:07:14previous video we looked at what would
- 00:07:16happen if you combine multiple power
- 00:07:18strips together
- 00:07:19however unlike power strips USB will not
- 00:07:22draw more power than the maximum amount
- 00:07:25so by combining multiple USB hubs
- 00:07:28together you won't risk overloading the
- 00:07:30power in the computer what then happens
- 00:07:33when you plug in a device that requires
- 00:07:34more power than the USB hub can deliver
- 00:07:37unlike a power strip which will draw
- 00:07:40more power and potentially overload a
- 00:07:41circuit a USB device will simply not
- 00:07:44work the operating system you are using
- 00:07:47will give you a message telling you
- 00:07:49there is not enough power to operate the
- 00:07:51device so how do we get around the power
- 00:07:55issue while also being able to use a USB
- 00:07:57hub with more than 4 ports when
- 00:08:00purchasing a hub you can choose from
- 00:08:02powered and non power a powered hub
- 00:08:05supplies power to its ports from
- 00:08:07external power powered hubs cost more
- 00:08:10than non powered hubs a powered hub
- 00:08:13generally will be plugged into a power
- 00:08:15plug but it could be powered in other
- 00:08:18ways for example a hub inside a monitor
- 00:08:21will draw its power from the monitor you
- 00:08:24can see in this example the power plug
- 00:08:26is at the top of the hub this supplies
- 00:08:29power to the hub and is used to provide
- 00:08:31power to each of the downstream ports on
- 00:08:33the hub depending on the hub the power
- 00:08:36delivered to each port can be between
- 00:08:38100 to 500 milliamps the better hubs
- 00:08:42will be able to deliver 500 milliamps to
- 00:08:44all ports cheaper hubs may only be able
- 00:08:47to deliver 500 milliamps to a few ports
- 00:08:49and then the output will be reduced
- 00:08:52for the other ports for this reason it
- 00:08:55is important to check the packaging
- 00:08:56before buying a hub to make sure it will
- 00:08:58deliver full power to all ports the hub
- 00:09:02will be connected to the computer or
- 00:09:04another USB hub via a single upstream
- 00:09:07connection if there is a problem
- 00:09:10powering a device on the hub the
- 00:09:12computer should give you a message
- 00:09:13indicating this when this occurs check
- 00:09:16your hub is powered most likely the
- 00:09:19power plug has come out or the hub
- 00:09:20cannot provide enough power to power the
- 00:09:22device the downside of using a USB hub
- 00:09:27is that since the hub is always powered
- 00:09:29this can cause devices connected to it
- 00:09:32to also be always powered up for example
- 00:09:35a hard disk connected to a USB powered
- 00:09:37hub will always be powered up even if
- 00:09:40the computer is not switched on some
- 00:09:43devices will go into standby if not used
- 00:09:45for a period of time this is something
- 00:09:47to consider when plugging a device into
- 00:09:49a USB powered hub or you can switch off
- 00:09:53the power hub when you switch off the
- 00:09:54computer if you leave the USB hub on and
- 00:09:58if the device does not go into standby
- 00:10:00it may keep operating
- 00:10:03even when the computer is switched off
- 00:10:05the next thing to consider with USB is
- 00:10:08bandwidth the USB uses packets to
- 00:10:12transmit data it works in a similar way
- 00:10:14the hell networks transmit packets if
- 00:10:17you consider a USB controller as I
- 00:10:20covered in a previous video it is
- 00:10:22connected to one or more USB root hub
- 00:10:26each USB root hub can be connected to
- 00:10:29one or more ports in this example this
- 00:10:32root hub is connected to two USB ports
- 00:10:35what this means is that essentially the
- 00:10:37bandwidth from this root hub is shared
- 00:10:40between two ports if you have high
- 00:10:43bandwidth on one port and a low
- 00:10:45bandwidth device on the other this will
- 00:10:47not be a problem however if you put a
- 00:10:50high bandwidth device on both ports this
- 00:10:53can cause bandwidth problems now
- 00:10:56consider what happens when you install a
- 00:10:58USB hub the USB hub has four ports which
- 00:11:02increases the number of ports connected
- 00:11:04directly or indoor
- 00:11:05Klee to the root hub to five this
- 00:11:08essentially means that a port on the USB
- 00:11:10hub can use almost all the bandwidth
- 00:11:13more on that in a moment or limited to
- 00:11:16one-fifth of the bandwidth it all
- 00:11:18depends on how much bandwidth the other
- 00:11:20devices are using which will determine
- 00:11:22how much bandwidth that port will get
- 00:11:25USB uses a token method for packet
- 00:11:28transmission what happens is the host
- 00:11:31sends out a token to each device to let
- 00:11:33it know it can communicate if you are
- 00:11:36familiar with the old token based
- 00:11:37networks you know the devices on the
- 00:11:40network controlled a single token moving
- 00:11:42around the network if a device had the
- 00:11:44token it knows it could send data on the
- 00:11:47network the problem occurred when the
- 00:11:49token was lost and a new one would need
- 00:11:51to be created sometimes a second token
- 00:11:54would be created and there would be two
- 00:11:56tokens on the network then two devices
- 00:11:58would try and transmit at once
- 00:12:01USB gets around this problem by the USB
- 00:12:04host controller sending out a token to
- 00:12:06each device thus the USB host controller
- 00:12:10always has control over who is sending
- 00:12:12and receiving data if you have more
- 00:12:15devices on the same USB controller this
- 00:12:17is more devices the USB controller has
- 00:12:20to send tokens to you can see why you
- 00:12:23may not get the full bandwidth because
- 00:12:26USB has to use some of the bandwidth to
- 00:12:28check the other devices to make sure
- 00:12:30they do not wish to send data even
- 00:12:32though this is a small amount of time
- 00:12:34this method also stops one device taking
- 00:12:37all the bandwidth and allows the
- 00:12:39bandwidth to be better shared between
- 00:12:41devices a USB device also has the option
- 00:12:44to go into standby mode if it is not
- 00:12:46being used and thus will not receive any
- 00:12:48tokens until it comes out of standby
- 00:12:51when connecting devices to a computer
- 00:12:54bandwidth is something I will always
- 00:12:55consider for example for a capture card
- 00:12:58that requires a lot of bandwidth
- 00:13:00I will generally have it plug directly
- 00:13:02into the computer rather than connected
- 00:13:05to a USB hub although some computers
- 00:13:08will only have the one USB root hub if
- 00:13:11your computer has multiple root ups it
- 00:13:14is worth connecting different devices to
- 00:13:16different root hubs
- 00:13:18if I'm not sure generally I will plug
- 00:13:20two high-bandwidth devices away from
- 00:13:23each other for example plug one into the
- 00:13:26front of the case and one in the back
- 00:13:28otherwise plug both in the back of the
- 00:13:30case but away from each other
- 00:13:32generally speaking USB ports that are
- 00:13:35next to each other are more likely to be
- 00:13:37on the same root hub to put everything I
- 00:13:41have covered so far into perspective I
- 00:13:43will now have a look at the USB
- 00:13:45architecture at the top you have your
- 00:13:48host essentially the computer that is
- 00:13:51providing USB functions this is called
- 00:13:53the USB host controller it may be on its
- 00:13:57own chip but generally it will be
- 00:13:59included inside another chip that
- 00:14:01provides USB functions on some
- 00:14:03motherboards there may be two or more
- 00:14:05USB host controllers the USB host
- 00:14:09controller contains the root hub the
- 00:14:11root hub essentially performs the same
- 00:14:13functions as a USB hub connected
- 00:14:15physically to the computer it allows one
- 00:14:18or more USB ports to be connected to the
- 00:14:21computer
- 00:14:21this essentially forms the second-tier
- 00:14:24as the root hub is the first tier to
- 00:14:28increase the number of USB ports a USB
- 00:14:30hub can be used this allows another tier
- 00:14:33of USB devices to be used for example
- 00:14:36more USB hubs or devices when you start
- 00:14:40getting down to tier 2 you will most
- 00:14:42likely start having some power problems
- 00:14:45unless you are using a powered USB hub
- 00:14:48the computer will output 500 milliamps
- 00:14:51of power remember that each USB port and
- 00:14:54hub requires a minimum of 100 milliamps
- 00:14:57of power as soon as the number of
- 00:14:59outgoing ports on a USB hub gets above 4
- 00:15:02you are going to have power problems
- 00:15:05remember the incoming port also requires
- 00:15:07power which makes five ports at 100
- 00:15:10milliamps for a total of 500 milliamps
- 00:15:13this effectively limits the number of
- 00:15:15ports on a USB hub to 4 if it is not
- 00:15:18powered you are free if you wish to add
- 00:15:20more devices in hubs if you so choose to
- 00:15:23form another tier most users won't have
- 00:15:25a need to do this but later in the video
- 00:15:27I will look into an example where it is
- 00:15:29a useful feature to have
- 00:15:31lastly you have tier 5 if you really
- 00:15:35need to you can add more devices to this
- 00:15:38tier in testing I have added hubs to
- 00:15:41this tier and it worked
- 00:15:42however if you start daisy chaining too
- 00:15:45many devices together you can't expect
- 00:15:47it to work you may or may not get lucky
- 00:15:50if you try to do this the power problems
- 00:15:53should be easy to solve using powered
- 00:15:55hubs however when you start getting down
- 00:15:58to this number of tiers it means more
- 00:16:00devices that traffic needs to go through
- 00:16:02and more things that can go wrong if you
- 00:16:06need to connect a lot of devices I would
- 00:16:08personally attempt to use fewer tiers
- 00:16:10rather than more you can purchase a USB
- 00:16:14hub with 7 ports this may seem a better
- 00:16:16option than using USB hubs however as we
- 00:16:19will see later in the video a 7 port USB
- 00:16:22hub can be essentially two USB hubs
- 00:16:25connected together USB has different
- 00:16:28versions which run at different speeds
- 00:16:30now that we understand how we could
- 00:16:33connect devices together let's see what
- 00:16:35happens when we connect devices of
- 00:16:37different speeds together before we can
- 00:16:39do that however we first need to
- 00:16:41understand the different versions of USB
- 00:16:44there have been a lot of different
- 00:16:46versions of USB over the years not all
- 00:16:48were adopted so I will only cover the
- 00:16:50commonly used ones the first widely
- 00:16:53adopted version of USB was 1.1 USB 1.1
- 00:16:58supports a high and low speed mode high
- 00:17:01speed mode runs at 12 megabits per
- 00:17:03second and low speed runs at 1.5
- 00:17:06megabits per second although you won't
- 00:17:09be able to purchase a computer that has
- 00:17:11a USB 1.1 port USB 1.1 devices are still
- 00:17:15sold on the market devices like a
- 00:17:18keyboard or mouse don't need to send a
- 00:17:21lot of data and thus don't need to run
- 00:17:23at high speed these devices still use
- 00:17:25USB 1.1 the next USB standard was
- 00:17:29version 2 released in the year 2000
- 00:17:32these used the same connectors as USB
- 00:17:34one and so are backward compatible this
- 00:17:37is why there can still be USB 1.1
- 00:17:40devices on the market even though USB
- 00:17:431.1 ports are no long
- 00:17:45produced USB to increase the speed to
- 00:17:48480 megabits per second this is a fairly
- 00:17:52decent speed for a lot of devices so you
- 00:17:54will find the devices like keyboards
- 00:17:56mice and headphones use the USB to
- 00:17:59standard this is unlikely to change
- 00:18:01anytime soon
- 00:18:03the next version released was USB 3 this
- 00:18:07was released in the year 2008 this
- 00:18:09increased the speed to five gigabits per
- 00:18:11second to get this increased speed the
- 00:18:14SuperSpeed type a connector is required
- 00:18:17the connector is generally blue in color
- 00:18:20so it is easy to tell apart from the USB
- 00:18:221 and 2 connectors if you have the right
- 00:18:25connector it will run at USB 3 speed
- 00:18:28otherwise it will run at USB 2 speed the
- 00:18:32next version released was USB 3.1 this
- 00:18:36was released in 2013
- 00:18:37the version runs at 10 gigabits per
- 00:18:40second like before to get the higher
- 00:18:43speed you need the SuperSpeed type-a
- 00:18:45connector this version however does
- 00:18:48support the type-c connector this
- 00:18:51connector unlike any of the other USB
- 00:18:53connectors can be inserted in any
- 00:18:55direction you don't have to worry about
- 00:18:58it being plugged being upside down as it
- 00:19:00will work regardless of which way it is
- 00:19:02plugged in the last version I will look
- 00:19:05at is USB 3.2 released in 2017 this
- 00:19:10increases the speed to 20 gigabits per
- 00:19:12second in order to get this speed
- 00:19:14however you need to use the type-c
- 00:19:16connector the type-c connector has an
- 00:19:19additional data line without this extra
- 00:19:21data line USB 3.2 cannot get the extra
- 00:19:25speed so this is why the SuperSpeed
- 00:19:27connectors will be backward compatible
- 00:19:28but it will not run at 20 gigabits per
- 00:19:31second I think the different USB
- 00:19:34versions are pretty easy to understand
- 00:19:36so let's have a look at how
- 00:19:38manufacturers have made some changes to
- 00:19:40make things really confusing this
- 00:19:43information you don't need to know for
- 00:19:45the CompTIA exam however if you are
- 00:19:47purchasing USB products it is good to
- 00:19:50know so essentially what happened is
- 00:19:52there have been a number of name changes
- 00:19:54to USB 3 to start with
- 00:19:57USB 3.0 is also called USB 3.1 gen
- 00:20:05they then decided to change the name to
- 00:20:07USB 3.2 gen 1 so if you purchase a
- 00:20:11motherboard which has USB 3.2 Gen 1
- 00:20:14ports this essentially means that it is
- 00:20:17a USB 3.0 port to make things more
- 00:20:20complicated the marketing name used was
- 00:20:233.0 super speed USB 4 USB 3.0 so if you
- 00:20:29purchase a USB device you may see it
- 00:20:32called super speed USB rather than USB
- 00:20:353.0 confused yet I would suggest
- 00:20:39referencing this table if you were
- 00:20:40buying a USB device so you know what you
- 00:20:43were buying as the name could be any one
- 00:20:46of those listed to make things more
- 00:20:49complicated USB 3.1 was also called USB
- 00:20:533.1 gen2 this later changed to USB 3.2
- 00:20:58gen 2 the marketing name however is
- 00:21:01super speed USB 10 gigabits for the
- 00:21:05CompTIA exam you only need to know the
- 00:21:07version numbers that is version 3 3.1
- 00:21:11and 3.2 lastly USB 3.2 was changed to
- 00:21:17USB 3.2 Gen 2 by 2 this is because it
- 00:21:23has two data lanes so the name
- 00:21:25references this fact
- 00:21:26lastly the marketing name for this is
- 00:21:29super speed USB 20 gigabits per second
- 00:21:33you will
- 00:21:34happy to know that this is the last time
- 00:21:36that I will reference this table in this
- 00:21:38course I will simply use the names USB 3
- 00:21:42USB 3.1 and USB three-point 2 for the
- 00:21:46CompTIA this is all you need to know the
- 00:21:50only time you will need reference this
- 00:21:51information is when you purchase a
- 00:21:53device or when buying the motherboard
- 00:21:55till you know what you are purchasing
- 00:21:57the next topic I will look at is
- 00:22:00compatibility the USB 2 is backward
- 00:22:03compatible with USB 1 if you plug a USB
- 00:22:061 device into a USB 2 port it will work
- 00:22:10USB 3 devices are backward compatible
- 00:22:13with USB 2 when I say USB 3 I mean 3.0
- 00:22:173.1 and 3.2 that is all the different
- 00:22:21versions of USB 3 since USB 2 is
- 00:22:24compatible with USB 1 then USB 3 is also
- 00:22:27compatible with USB 1 to get the max
- 00:22:31speed you will require the super speed
- 00:22:33or type-c cable if you plug in a USB 2
- 00:22:38cable it will still work you just won't
- 00:22:41get the max speed you may find that some
- 00:22:44USB 3 devices won't work with USB 2 this
- 00:22:47won't be a hardware problem it will be a
- 00:22:49problem with the software for example
- 00:22:51digital capture devices require a lot of
- 00:22:54bandwidth and the software won't work
- 00:22:57with USB 2 because it is not fast enough
- 00:22:59this won't prevent the device from
- 00:23:01installing but when you run the software
- 00:23:03it will say it needs the extra speed of
- 00:23:06USB 3 to work in most cases you will
- 00:23:09find the device will still work it will
- 00:23:11just run at a lower speed to summarize
- 00:23:15USB is backward compatible if you are
- 00:23:19using the wrong cable it will still work
- 00:23:20but the speed will be lower next I'll
- 00:23:24have a look at how USB supports
- 00:23:26compatibility to understand how USB
- 00:23:28handles different versions consider this
- 00:23:31route up that is connected to four
- 00:23:32physical ports the route has USB 2 and
- 00:23:36USB 3 ports attached to it on the first
- 00:23:39port a keyboard is attached the port is
- 00:23:42a USB 2 port the keyboard is a USB 1.1
- 00:23:46device
- 00:23:47so the port will set its speed to USB
- 00:23:491.1 the next port has a USB stick that
- 00:23:54supports USB 2 for this reason the USB 2
- 00:23:58port will run at USB 2 speed the next
- 00:24:02port is USB 3 which has a USB 2 storage
- 00:24:06device attached so the port will run at
- 00:24:09USB 2 speed
- 00:24:11the last port is USB 3 and has a USB 3
- 00:24:15mobile device attached so it will run at
- 00:24:18USB 3 speed so essentially the port has
- 00:24:22matched the speed of the device attached
- 00:24:24if you are familiar with networking this
- 00:24:27is the same principle when you plug a
- 00:24:28network card into a network switch the
- 00:24:31network switch will change the speed of
- 00:24:33the port to match the network card that
- 00:24:35is attached like network equipment the
- 00:24:38root hub uses a buffer the buffer is
- 00:24:41what allows the port to run at different
- 00:24:43speeds remember that a root hub has a
- 00:24:46single upstream port the buffer is used
- 00:24:49to manage the different speeds so the
- 00:24:51data can be packaged into the upstream
- 00:24:53port this is a little different from a
- 00:24:56networking device as the root hub pulls
- 00:24:58the device and tells it when to transmit
- 00:25:01a network device in contrast cannot
- 00:25:04control this however it can ask a device
- 00:25:06to slow down if it is transmitting too
- 00:25:08fast so far we have looked at USB in a
- 00:25:13master slave configuration that is the
- 00:25:15computer or the root hub is the master
- 00:25:17device with slave devices attached
- 00:25:20however this may not always be the case
- 00:25:23before I look at how this is achieved
- 00:25:25I will first have a look at the
- 00:25:27different connector types used by USB
- 00:25:30the first type is the master connection
- 00:25:33type the second type is the slave
- 00:25:35connection devices like keyboards and
- 00:25:38mice use these kinds of connections
- 00:25:40because they never need to access other
- 00:25:42devices the device is essentially a
- 00:25:45slave device which is controlled by the
- 00:25:47device it is plugged into the most
- 00:25:50common connection is the type a
- 00:25:52connection this supports USB 1 or USB 2
- 00:25:56having a different plug means it cannot
- 00:25:58be plugged in the wrong way
- 00:26:00the plug itself is quite large so not
- 00:26:03practical for smaller devices for this
- 00:26:05reason the mini plug and the micro plug
- 00:26:08were created these plugs were smaller
- 00:26:11and thus useful for smaller devices like
- 00:26:13mobile devices and cameras both support
- 00:26:16USB one or two
- 00:26:17the plugs essentially used the same
- 00:26:19wires in the cable and do not change
- 00:26:21only the shape of the plug changes for
- 00:26:25this reason any of the master plugs can
- 00:26:27be connected to the slave blocks with
- 00:26:30the introduction of USB 3 more wires
- 00:26:33were needed however it was desirable to
- 00:26:35be compatible with USB 2 thus a
- 00:26:38connection was designed that was the
- 00:26:40same size and shape as USB 2 however
- 00:26:42contained more wires inside if a USB to
- 00:26:46device was plugged into a USB 3 plug it
- 00:26:49would not have all the connections and
- 00:26:51thus only use the USB 2 wires
- 00:26:54thus USB 2 and USB 3 were compatible
- 00:26:58with each other of course if you connect
- 00:27:01a USB 2 to USB 3 the speed will drop
- 00:27:04although USB 3 can use the micro and
- 00:27:07mini connections with a speed drop to
- 00:27:09USB to a small full speed connection was
- 00:27:13still required in order to support the
- 00:27:15extra pins for USB but still allow for
- 00:27:18compatibility with USB to a flat micro
- 00:27:21beef connection was created this
- 00:27:24connector is essentially a USB micro-b
- 00:27:27connector on the left with the extra
- 00:27:30pins required for USB 3 on the right
- 00:27:32this allows a USB two micro B connector
- 00:27:36to be plugged into a USB 3 micro B
- 00:27:39connector making it compatible with USB
- 00:27:412 and USB 3 this system makes it easy to
- 00:27:45work out which is the master and the
- 00:27:47slave side since the connector is
- 00:27:49different and prevents it from being
- 00:27:50plugged in the wrong way so how do we
- 00:27:53allow a device to either act as a master
- 00:27:55or a slave USB on-the-go
- 00:27:59allows the device to either function as
- 00:28:01a master or a slave to understand why
- 00:28:04this would be important consider a
- 00:28:06device like a mobile device you may want
- 00:28:09to plug the mobile device into a
- 00:28:11computer in order to access the storage
- 00:28:13on the device
- 00:28:14or you may want to plug in an external
- 00:28:17keyboard into the device in order to
- 00:28:20access the storage the mobile device
- 00:28:22needs to work as a slave but in order to
- 00:28:24access the keyboard the device needs to
- 00:28:26act as a master to achieve this a
- 00:28:29different type of plug needed to be
- 00:28:31designed the first example is the mini a
- 00:28:34B the mini a B allows either a micro a
- 00:28:38or micro-b plug to be plugged into it
- 00:28:41this makes sense since the device could
- 00:28:44either be a master or slave you want to
- 00:28:46be able to plug both in following this
- 00:28:49you probably guessed it is the micro a B
- 00:28:52plug once again this allows a micro a or
- 00:28:56micro-b plug to be plugged in both these
- 00:28:59plugs were designed for USB 2 for USB 3
- 00:29:03a new type of plug the type C was
- 00:29:05developed the type C plug is designed
- 00:29:08for USB 3 however it is backward
- 00:29:11compatible with USB 2 the type C
- 00:29:14connection is a little different from
- 00:29:16the other two connections in that it is
- 00:29:18found on both ends
- 00:29:20generally a B connectors were not found
- 00:29:23on a computer but only devices like
- 00:29:25mobile devices the type C connection
- 00:29:28however can be found on computers
- 00:29:30although does not commonplace yet USB
- 00:29:33on-the-go was first introduced back in
- 00:29:352001 essentially it was added on to the
- 00:29:39USB protocol to allow the device to
- 00:29:41detect what the device on the other side
- 00:29:43is essentially when both devices are
- 00:29:47connected they will negotiate with each
- 00:29:49other to determine which device is the
- 00:29:51master now that we understand what
- 00:29:54different types of USB there are on the
- 00:29:56market let's consider what is the
- 00:29:58maximum length of the cables we can use
- 00:30:01for a low speed or USB 1 cable the
- 00:30:04maximum length is 3 meters or 10 feet
- 00:30:07for high speed or USB 2 the distance
- 00:30:11increases to 5 meters or 16 feet for
- 00:30:14SuperSpeed or USB 3 there is no official
- 00:30:18length for the cables however it is
- 00:30:20recommended to use cables that are 3
- 00:30:22meters or 10 feet or shorter there are
- 00:30:26factors of cables that will make cables
- 00:30:28that are longer than these these cables
- 00:30:31may or may not work correctly also the
- 00:30:33quality of the cable can make a
- 00:30:35difference in the length of the cable if
- 00:30:36you need a cable that is longer than the
- 00:30:39maximum length consider purchasing an
- 00:30:41active cable I will cover these in
- 00:30:44another video but essentially an active
- 00:30:46cable uses power to retransmit or boost
- 00:30:49the signal to allow the cable to be of a
- 00:30:51longer length let's now have a look at
- 00:30:54what happens when you put multiple USB
- 00:30:56devices together which run at different
- 00:30:58speeds for this example I have my USB 3
- 00:31:02port I want to have my computer on the
- 00:31:04other side of the room so I have used a
- 00:31:07USB active extender an active extender
- 00:31:10is a long USB cable that uses a chip in
- 00:31:13the cable that retransmits the usb data
- 00:31:16this uses some power from the computer
- 00:31:18but allows the USB cable to be longer
- 00:31:21since the USB extender only gives me one
- 00:31:24port
- 00:31:25I'm going to connect it to a USB 3
- 00:31:27powered hub this will give me additional
- 00:31:30ports that I can use connected to the
- 00:31:33USB hub I will connect my KVM switch
- 00:31:36this will allow me to share my keyboard
- 00:31:38and mouse to different computers so you
- 00:31:41can see I have multiple devices
- 00:31:43connected together which run at
- 00:31:45different speeds let's see how this is
- 00:31:47handled to have a look at my setup I'm
- 00:31:51going to use the software USB View USB
- 00:31:54view is available in Windows SDK which
- 00:31:56is a free download from Microsoft when
- 00:31:59you install it you just need to select
- 00:32:01the option debugging tool for Windows
- 00:32:03this will install the executable for USB
- 00:32:07view and you just need to run it
- 00:32:08I will now run USB view you can see on
- 00:32:14this computer it has two USB host
- 00:32:16controllers some computers will have
- 00:32:19more than one you can see under the
- 00:32:21first USB controller there is a route up
- 00:32:23there should only be the one in theory
- 00:32:26you could have more than one but
- 00:32:28generally manufacturers will only have
- 00:32:30the one to have more than one would not
- 00:32:33provide any advantage at this level
- 00:32:35essentially the traffic at some stage
- 00:32:37will still need to be combined together
- 00:32:39into a
- 00:32:40single upstream channel to be used by
- 00:32:42the computer you can see the root hub is
- 00:32:45connected to four USB ports
- 00:32:47since this computer has two USB host
- 00:32:50controllers one is 3.2 and the other is
- 00:32:523.1 this one is the faster one and thus
- 00:32:55only has the four ports a faster device
- 00:32:59needs more bandwidth and thus a computer
- 00:33:01will generally only have a few of them
- 00:33:03the four ports are connected to a USB
- 00:33:05hub you will notice on the right side of
- 00:33:08the screen the connection is USB 2 even
- 00:33:12though this has appeared as a USB hub I
- 00:33:14know this device is my active extender
- 00:33:16sometimes devices you don't expect will
- 00:33:19appear as hubs the device will appear
- 00:33:22with 4 ports however since it is a cable
- 00:33:25only one port will ever be used when I
- 00:33:28expand the fourth port notice there are
- 00:33:31four ports and another USB hub this does
- 00:33:35not make sense as I'm using a seven port
- 00:33:37USB hub what has occurred is that the
- 00:33:41seven port USB hub appears as two hubs
- 00:33:44one connected to the other
- 00:33:47thus this accounts for the odd number of
- 00:33:49ports seven as one port is lost to
- 00:33:52connect the hubs together when I expand
- 00:33:55the second hub
- 00:33:56you will notice another hub on port 1
- 00:33:58you will notice on this hub there are
- 00:34:01two composite devices these devices are
- 00:34:04my keyboard and mouse so this hub is my
- 00:34:07KVM switch you will notice that when I
- 00:34:10select one of the devices it is running
- 00:34:11at USB 1.1 speed so essentially what has
- 00:34:16happened is in order to connect my
- 00:34:18keyboard and mouse the traffic needs to
- 00:34:21go through five hubs including the root
- 00:34:22of it did not take much effort to reach
- 00:34:25this if you want to go beyond five tears
- 00:34:28you can always try but it is not
- 00:34:30guaranteed to work you also notice that
- 00:34:34if I choose a different port on the
- 00:34:35seven port USB hub I could have reduced
- 00:34:39the number of hubs by one you'll also
- 00:34:42notice that sometimes by changing a port
- 00:34:44to a different USB port you may get the
- 00:34:46device to work the USB hub is also
- 00:34:50running at USB 2 rather than USB 3
- 00:34:54it is possible from a hardware
- 00:34:56perspective to have it run at usb3 even
- 00:34:58though it is connected via a USB to
- 00:35:00connection but in the real world this
- 00:35:03does not occur the reason for this is
- 00:35:06that the USB 2 connection will create a
- 00:35:09bottleneck for the USB 3 devices
- 00:35:11essentially slowing the devices down to
- 00:35:14what it can handle which is USB to speed
- 00:35:16so there is no point at running USB 3
- 00:35:19speed by contrast in networking this
- 00:35:23does not occur because devices on the
- 00:35:25network can communicate with each other
- 00:35:27in USB all devices communicate to and
- 00:35:30from the computer and not to each other
- 00:35:32so there is no need for this to occur to
- 00:35:36put it in simple terms when you connect
- 00:35:38a low-speed device all devices after
- 00:35:41that device will need to reduce to the
- 00:35:43speed of that device so if I want my
- 00:35:46device in this case to run faster I will
- 00:35:49need to replace my active USB 2 extender
- 00:35:52with an active USB 3 extender I will now
- 00:35:56have a look at the second USB host
- 00:35:58controller notice that this controller
- 00:36:01has 26 ports connected to it only the
- 00:36:05fast USB connectors were on the first
- 00:36:07host controller for example this
- 00:36:09motherboard has a type-c connector on
- 00:36:11this device I have a pair of headphones
- 00:36:14connected which you can see has appeared
- 00:36:16as a USB 1.1 device you will notice
- 00:36:20further down there is another hub this
- 00:36:23hub is connected at USB 3 speed this is
- 00:36:26an interesting one these ports are the
- 00:36:29USB ports on the front of my computer so
- 00:36:31in my previous example if I connected my
- 00:36:34USB extender to this port this would
- 00:36:37have added to the number of tears by 1
- 00:36:40something else to consider when
- 00:36:42connecting USB devices you never quite
- 00:36:45know how they are connected in the
- 00:36:47computer sometimes a physical connection
- 00:36:49to the computer will be connected not
- 00:36:51directly to the root hub but to a hub
- 00:36:53that is connected to the root hub you
- 00:36:56will notice that there is another hub
- 00:36:58with a mass storage device connected on
- 00:37:00this computer I have a card reader
- 00:37:03attached this card reader has a memory
- 00:37:05card in the reader which has been data
- 00:37:08as a mass storage device you will notice
- 00:37:11that this device has also appeared as a
- 00:37:13USB 3 device since there are no USB
- 00:37:16connections between it and the computer
- 00:37:18it can run at full speed there is one
- 00:37:22more property of USB 3 that I want to
- 00:37:24look at to see this I will disconnect my
- 00:37:27USB 3 hub and plug it into this USB host
- 00:37:31controller you will notice the USB 3 hub
- 00:37:35has appeared connected to port 3 however
- 00:37:38notice that it is working at USB 2 speed
- 00:37:41that should not be the case since it is
- 00:37:44connected directly to the computer you
- 00:37:47will notice that there's another USB hub
- 00:37:49connected to port 19 which is at USB 3
- 00:37:52speed what happens with USB 3 devices is
- 00:37:56that they have USB 2 and USB 3 Hardware
- 00:38:00in them they appear as both USB 2 and
- 00:38:03USB 3 devices essentially the hub is
- 00:38:07connected to the computer via a USB 2
- 00:38:09and a USB 3 connection running over the
- 00:38:12same cable USB 2 devices will be
- 00:38:16connected to the USB 2 hub and USB 3
- 00:38:19devices will be connected to the USB 3
- 00:38:21hub when I connected it using the USB 2
- 00:38:25active extender essentially the USB 3
- 00:38:28hub did not install because the
- 00:38:30connection did not support it this is
- 00:38:32how USB 3 supports USB 2 and USB 1.1
- 00:38:36devices essentially USB 3 Hardware
- 00:38:40supports both in the device and it is up
- 00:38:43to the computer to connect to which one
- 00:38:45it wants to use in the case of USB hubs
- 00:38:48it will connect to both I hope you've
- 00:38:52enjoyed this video from I T free
- 00:38:54training on USB hopefully we helped you
- 00:38:57understand it better until the next
- 00:39:00video from us I would like to thank you
- 00:39:01for watching
- USB
- connectivitat
- tecnologia
- dispositius
- hubs USB
- versions USB
- potència
- amplada de banda
- compatibilitat
- història USB