Add USB To Your Electronics Projects! - The USB Protocol Explained

Add USB To Your Electronics Projects! - The USB Protocol Explained

Sine Lab

1 год назад

452,092 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Boss Men
Boss Men - 26.08.2023 01:39

Yo yo yo, for my uni project I need to implement an android app that will communicate to a gamma radiation spectrometer through otg usb. Gonna be hard

Ответить
keninorlando9
keninorlando9 - 08.08.2023 04:31

Hey! This chip only went up .03 since you posted this video! :)

Ответить
Sod Almighty
Sod Almighty - 18.06.2023 04:23

That was the most detailed and useful USB tutorial I've ever seen.

Ответить
electronic systems
electronic systems - 13.06.2023 06:23

micro controller with build in usb block inside is not a good variant. especially this one you show in this video. all you need is converter usb <> rs232 like CH340, FT232,
MCP2200 /microchip/ or some other from this days electronic company's. have a much in market. CH340 is in my work from 7-8 years. work any time on all my boards. also in new one in developing now PICKERPRO with pic18F47K42. believe me, even microchip pic micro device like 18F2550 that is used in PICKIT2 programmer is not good. usb inside in micro controller is bad idea.

Ответить
Simon Roth
Simon Roth - 04.06.2023 19:21

Could USB (at least hardware layer) be used for a custom low power bus system with one master and many slaves?

Ответить
hatrer
hatrer - 04.06.2023 01:04

How do you make devices that do not require a specific driver on Windows/Mac?

Ответить
Egmont Fritz
Egmont Fritz - 02.06.2023 14:26

Everything is better with Bluetooth.

Ответить
Thak You
Thak You - 31.05.2023 02:54

This video happens every 50 milliseconds while you have your USB plugged in. Whoa!

Ответить
Skander BEN M'RAD
Skander BEN M'RAD - 30.05.2023 09:10

Very good. Thank's

Ответить
Geoff McQueen
Geoff McQueen - 29.05.2023 04:18

"isynchronous"

Ответить
Dave Rawding
Dave Rawding - 28.05.2023 03:30

This a solution for "hobby" things. However, if your board is going to be offered for sale, then you need to get it approved by the USB regulators. The FTDI chips are an option, but then when you plug it into USB it registers as a FTDI chip and not whatever your USB device is. This is a major limitation on USB over Ethernet or bluetooth.

Ответить
B. E. H.
B. E. H. - 28.05.2023 01:47

Hi friend, please help me with a simple doubt (for you)!? How many VOLTS do we have in DATA LINE just plug-in a USB connector in the USB port of a computer???
I need just make 2 LEDs blink after plug-in the USB to show me the data lines (D+ and D-) are OK, please help me with this little project. 😞

Ответить
Guix
Guix - 27.05.2023 15:56

Thanks

Ответить
Paul Richardson
Paul Richardson - 27.05.2023 06:35

Im curious about that solderless adapter. Can you give some more information on where to buy something like that? Ive never seen one before.

Ответить
Lin Pray
Lin Pray - 26.05.2023 06:07

is anyone need usb/hdmi/dp/hub cable? Thuder 4 cable also

Ответить
BorderKeeper
BorderKeeper - 25.05.2023 23:27

Can I just add for the future, the breathing is very distracting. Not sure how to fix it either post recording or by breathing through your nose more, which might be hard if you have allergies, but I struggled a bit following since it's so prevalent. Great video besides that though.

EDIT: tbh just putting the mic further away from you (or getting a better one and doing that) might fix that since you sound like you are quite close to it.

Ответить
Service Orchestramegastore
Service Orchestramegastore - 24.05.2023 09:58

Actually there are lot to learn in this tutorial than the topic. TFS!!

Ответить
Mi G
Mi G - 23.05.2023 00:30

👍👍👍

Ответить
Peter Riis
Peter Riis - 22.05.2023 06:14

I'd rather Wifify it.

Ответить
Darrin Rudy
Darrin Rudy - 22.05.2023 03:25

i have a old led battery powered closet light that i never used cuz i don't buy batteries so i got a old usb cable cut one end off and soldered the black and red wire to the two main battery terminals and mounted it by my keyboard and plugged it in usb port on pc. now i have a night light for keyboard and it shuts off when i turn pc off ...

Ответить
Dale Smith
Dale Smith - 20.05.2023 19:26

The absolute easiest USB chip to use is the Microchip PIC18F4550, DIP40! Plenty of examples, great datasheet, and applications notes. Been using these for years! No surface mount nonsense, either! An excellent book is Jan Axleson USB Complete, for those that want to learn and experiment.

Ответить
Nixda
Nixda - 19.05.2023 17:18

Any idiot can use USB if the controller supports it natively in hardware and there are libraries for it. If you really want to show something interesting, then why not V-USB which runs on almost every Atmel AVR, because otherwise you can also directly use an STM32 with hardware USB...

Ответить
osmanpasha's DIY
osmanpasha's DIY - 18.05.2023 12:18

Nice explanation with pictures! However, I don't think this is a way to add USB to your project, especially for a beginner. The fastest, easiest and cheapest way is to slap a USB-UART chip and not worry about code, protocols, libraries and anything.

Ответить
PS4 Guy
PS4 Guy - 18.05.2023 12:03

USB is the bane of society. 'Invented' by an Indian guy, you can't figure out which way is 'up' without adding your own markings. But then, the receptacles can be just as dubious. And blind plugging is more often miss than hit.
Where was IEEE on this? Even the 'inventor' is caught plugging it in the wrong way and having to flip it... on camera while demoing it!
Piece of garbage, completely.

Ответить
Harm10412
Harm10412 - 17.05.2023 21:42

This was an awesome video!

Ответить
mr_noodler
mr_noodler - 16.05.2023 17:06

Awesome video

Ответить
Rue
Rue - 15.05.2023 22:14

What's the name of that smd adapter you're using? I can't seem to find it online

Ответить
David Burton
David Burton - 15.05.2023 21:25

Great tutorial! You should probably mention that you mean "USB 2.0" whenever you say "USB."

Ответить
BitLox
BitLox - 13.05.2023 18:15

I've used the 16u2, and it's a great chip. That said, the programming of the firmware is a colossal pain in the ass. I detest USD HID programming.

Ответить
Cola
Cola - 13.05.2023 10:39

Ew micro usb

Ответить
Laniakea
Laniakea - 13.05.2023 05:29

Ответить
Justin 3
Justin 3 - 10.05.2023 23:16

Nice USB stick. Did you get it for free from a promo wink wink

Ответить
Rixtronix LAB
Rixtronix LAB - 27.04.2023 09:10

Nice info, thanks for sharing it :)

Ответить
Dexter Man
Dexter Man - 10.04.2023 09:29

Thank you! * subs *

Ответить
Johan-Martijn ten Hove
Johan-Martijn ten Hove - 08.04.2023 14:26

I would rather use the blue pill for USB

Ответить
Special Needs
Special Needs - 07.04.2023 16:52

What?

Ответить
Mr Techie
Mr Techie - 03.04.2023 14:39

Great! Now how would one change those pesky WiFi devices to use Ethernet? For example the Sonoff TH16.
I need a remote smart thermostat on the building roof, and there is no WiFi AP there, so I would like to run a cable or use Ethernet over powerline.

Ответить
Colin McIntyre
Colin McIntyre - 26.03.2023 22:10

I didn't know I needed this. Thank you.

Ответить
Vipul Lal
Vipul Lal - 25.03.2023 23:46

Great explanation. Many thanks 🙏

Ответить
1billthekid
1billthekid - 24.03.2023 08:03

I'm no electronics wiz, but since this would "supposedly" USBify everything, how easy would it be to add a USB port to an Amiga computer using your implementation? Would it mean utilizing the Amigas' serial port to do that? Thanks for the video!

Ответить
ZomB1986
ZomB1986 - 19.03.2023 16:27

If it's not a keyboard or serial endpoint, then you still don't have to write drivers for your PC. You can make a regular application that interfaces with USB hardware, like I did with a LabSphere spectrometer with proprietary communications (reverse engineered with Wireshark). I even did it in Java.

Ответить
c1ph3rpunk
c1ph3rpunk - 17.03.2023 17:59

Ben Eater has an excellent video on how the USB protocol works.

Ответить
Andrey Kaushnyan
Andrey Kaushnyan - 16.03.2023 18:10

It’s complicated. I didn’t understand a word.

Ответить
Neil Bedwell
Neil Bedwell - 16.03.2023 03:42

Great video learnt a lot thanks

Ответить