Cheap USB Host Microcontroller [CH559, ESP32, HID]

  Рет қаралды 223,233

bitluni

bitluni

Күн бұрын

Пікірлер: 232
@killervirus57
@killervirus57 5 жыл бұрын
How you soldered everything on that board by hand was great. I love tech and diy projects (even though I can't do 90% of them). You got a new sub.
@andrewkieran8942
@andrewkieran8942 5 жыл бұрын
This was a brilliant hack, a fun project, had great editing, and was quite funny! Well done on all counts!
@SebastianScholle
@SebastianScholle 4 жыл бұрын
Well done for breaking through the documentation for that IC! USB hosts are such a useful tool to advanced makers.
5 жыл бұрын
Wish I have such friends who are so enthusiastic about electronics projects. :) Incredible again. Belated happy new year guys!
@Drxxx
@Drxxx 5 жыл бұрын
Happy new year
@TheTinkerDad
@TheTinkerDad 5 жыл бұрын
Who knows, you might meet someone @ Function '20 :-)
@EvenTheDogAgrees
@EvenTheDogAgrees 5 жыл бұрын
Join a hackerspace?
@666aron
@666aron 5 жыл бұрын
I'm always amazed by the hidden gems in the Chinese ICs.
@pastudan
@pastudan 2 жыл бұрын
Me finding this 2 years later :p Now the Pico W was just released and has a USB host + another USB via PIO. I am going to try and use that for my project, but this is an incredible backup resource. Thanks!
@vojtadeges720
@vojtadeges720 5 жыл бұрын
3:45 Plugging USB correctly for the first try is illegal!
@soejrd24978
@soejrd24978 5 жыл бұрын
Insert with the open tabs up, 60% of the time it works every time.
@amyshaw893
@amyshaw893 5 жыл бұрын
insert with the usb logo on top, works 90% of the time, every time
@hpekristiansen
@hpekristiansen 5 жыл бұрын
As written by others, you have between 60%-90% chance of selecting the correct orientation the first time(dependent on how much time you are willing to spend). This means that you can insert it correctly the third time(fifth if unlucky). -not too bad.
@quadcorei8085gen2
@quadcorei8085gen2 5 жыл бұрын
video was obviously edited.
@EgonSorensen
@EgonSorensen 5 жыл бұрын
If you can SEE the NO-SEE, you got it right UP (or in front) the first time. What I mean is that there is an indentation in the center of the metallic end you insert into the socket, looking a bit like a nose on a LEGO figure head. The back is a cracked hairline :ø)
@Corgitronics
@Corgitronics 5 жыл бұрын
Congratulations! That's going to be useful in so many projects.
@ovi_4
@ovi_4 5 жыл бұрын
Is a fantastic project. It really is. You are a very likable guy and your work is done with such a joy and you can tell. Your jokes are also very nicely done. Two thumbs up and you just earned yourself a subscriber. Well done.
@OMNI_INFINITY
@OMNI_INFINITY 4 ай бұрын
That ultrasonic cleaner is nice! Wow. Have a board that needs that here.
@therob39
@therob39 5 жыл бұрын
It was very nice to watch the time laps part. btw props for those soldering skills 👍
@alainkovacs2007
@alainkovacs2007 4 жыл бұрын
I don't press the "subscribe" button often or easily, however, I've been following you for a while and your channel is so amazing with such nice, interesting and cool content that I subscribed and I will also become a Patreon member!
@eformance
@eformance 5 жыл бұрын
FTDI makes a number of these types of chips, and they are better documented and supported. The FT120 looks like similar style, using a parallel interface instead of uart.
@z1ph0n3
@z1ph0n3 3 жыл бұрын
nothing from ftdi costs $1 and it's funnier to get something like this to work than a ready-made meal.
@graealex
@graealex 5 жыл бұрын
One of the great shortcomings of the ESP32 is it not having a USB interface.
@graealex
@graealex 5 жыл бұрын
@@BlackTigerHD I wasn't talking about a programming interface which is usually a only a cheap USB-to-UART chip, but about a real, native USB interface, like it's common with Atmel chips, like the 32U4 or SAM D21.
@graealex
@graealex 5 жыл бұрын
@@beardmaker Sadly, ESP32-S2 will sacrifice a lot of other functions, like no BLE, no Ethernet, no SDMMC.
@graealex
@graealex 4 жыл бұрын
@Z80 None of them have the massive feature set of the ESP32, though. At least not at that price point.
@vasiliynkudryavtsev
@vasiliynkudryavtsev 4 жыл бұрын
Let's wait for a ESP64 to rule them all. Amen.
@DoctorWhom
@DoctorWhom 4 жыл бұрын
@Z80 I can name one STM32F411 project on youtube: betaflight ;)
@DrakeTain
@DrakeTain 3 жыл бұрын
Makers like you are the solid backbone of this community.
@TheTinkerDad
@TheTinkerDad 5 жыл бұрын
Awesome stuff as usual! This chip looks like an awesome find, opens up quite some possibilities.
@ChunkySteveo
@ChunkySteveo 5 жыл бұрын
Brilliant video Bitluni, amazing work!!
@_PathOfExile
@_PathOfExile 2 жыл бұрын
man, your soldering skills are beyond this realm. LOL .
@devdylan6152
@devdylan6152 4 жыл бұрын
oh this looks like a big promising update that could also(expanding on this) make usb to bluetooth DIY overall better.
@augurelite
@augurelite 3 жыл бұрын
i love this man so much. fantastic videos
@DynamicSun
@DynamicSun 26 күн бұрын
hey Bitluni - beautiful bastelei 😀
@mandelbro777
@mandelbro777 4 жыл бұрын
maximum effort chan great work
@Rtcmanga_YouTube_Channel
@Rtcmanga_YouTube_Channel 5 жыл бұрын
Awesome what can be done with today's technology!! :)
@DarylIp
@DarylIp 2 жыл бұрын
Exactly what I was looking for
@DD-jk3nf
@DD-jk3nf 5 жыл бұрын
This is the first video on YT I've watched that hasn't made me shake my head when seeing someone using soldering tools :)) But why for the love of jeebus, would you want to replace the SNES pads? They are gamepad perfection! And for a crappy USB clone SNES pad. Are you crazy?! :P
@burtratti9003
@burtratti9003 5 жыл бұрын
bitluni, you the man, bro. Awsome update!
@Davedarko
@Davedarko 5 жыл бұрын
And there it is, the pre-stream video release to announce the makercast stream!
@turutzi
@turutzi 5 жыл бұрын
Every day whit a bitluni video is a good day.
@whc2001
@whc2001 5 жыл бұрын
Also if you don't need USB Host and a large program memory, you can try CH552/CH554 which only comes with USB Device mode. They are really cheap and I have already tried to make a small USB keyboard by modifying the provided example code on WCH's website.
@bitluni
@bitluni 5 жыл бұрын
I had to go with the ch559 since I want to have keyboard and mouse in future and a usb hub ic costs more than using the 559 in the first place
@whc2001
@whc2001 5 жыл бұрын
​@@bitluni Yeah, for any use cases that ultilizes USB Host mode and multiple ports, CH559 is a solid choice as it provides double port root hub, while still cost effective. Thanks for sharing!
@dd0356
@dd0356 5 жыл бұрын
Awesome video. happy new year :-)
@Fifury161
@Fifury161 5 жыл бұрын
Great work - thanks for sharing!
@SPAbyShorey
@SPAbyShorey 3 жыл бұрын
great skills man !
@sheepleslayer586
@sheepleslayer586 4 жыл бұрын
Great video and well done. Bet that was frustratingly fun 🥺😫😅🤔😁🤑
@tonysfun
@tonysfun 5 жыл бұрын
You are just one of the kind! I wish I know 10% of what you know! I can'r even come close to your ankles, but I do enjoy your videos!!! Thank you very much and keep up the good work! Wishing you, your family and friends a great happy and prosperous 2020! What do you put into your water to sonic-clean your boards? Thanks.
@lisimtravel
@lisimtravel 5 жыл бұрын
Just awesome! I wish I had your skills too :).
@avejst
@avejst 5 жыл бұрын
Great job you have done :-) Thanks for sharing this new way to communicate :-)
@iceberg789
@iceberg789 4 жыл бұрын
i like the cute little crt you have.
@Marc_Wolfe
@Marc_Wolfe Жыл бұрын
The SAMD21 is an ARM unit that supports USB host mode, according to it's datasheet.
@bassome3000ify
@bassome3000ify 4 жыл бұрын
crazy good shit as usual
@DDBAA24
@DDBAA24 3 жыл бұрын
You should make one with vga so you can just stick it on the back on an old monitor , very small and tucked out of the way. This would allow for a smaller enclosure and it would be cool to see a esp based gaming platform on a dongle . Most CRT were VGA or DVI .. I like this tiny TV you show at the end of the video I have so many things I could use it for.
@yashasranjan8497
@yashasranjan8497 5 жыл бұрын
Awesome Video👍
@sevensolutions77
@sevensolutions77 5 жыл бұрын
FTDI also have USB Host chips like these called "Vinculum". They also have a ready to use UART firmware. 😁
@cccyberfamilydk
@cccyberfamilydk 5 жыл бұрын
Great Video. Subscribed
@AppliedCryogenics
@AppliedCryogenics Жыл бұрын
Since even broken Amiga 2000 keyboards are going for $240+ on fleabay, this little chip might be just what the doctor ordered to adapt modern keyboards and mice to work on amigas!
@JoelEnVrac
@JoelEnVrac 6 ай бұрын
Now, you can also take a C3/C6/S2/S3 series ESP32 witch all have USB support integrated ! :)
@NoHumanProduction
@NoHumanProduction 5 жыл бұрын
This guy deserve a medal
@Stabby666
@Stabby666 5 жыл бұрын
I use the ATMega8U2 MCU as a USB host/client on projects. It's under £2, and has a lot of good documentation and examples for all types of usage. It would be good to find a chip that justs passes the USB peripheral data across to UART without needing to be programmed though - to save a step in manufacturing! A bit like the CH340 does for USBSerial
@youliantroyanov2941
@youliantroyanov2941 5 жыл бұрын
Some serious soldering skills. I would never be able to do that...
@zvpunry1971
@zvpunry1971 5 жыл бұрын
I'm sure that you would be able to do that! He used additional flux on pre-tinned pads, this makes it very easy. Most bad soldering experiences come from bad circuit boards with corroded pads and components with corroded leads and not enough flux to clean it up.
@Mtaalas
@Mtaalas 5 жыл бұрын
When you threw those midi controllers on the table, my heart sank.... :D
@davidbradley3074
@davidbradley3074 4 жыл бұрын
Great Job!
@khellafsamy
@khellafsamy 5 жыл бұрын
Verry good work. Thank u
@scottwilliams895
@scottwilliams895 5 жыл бұрын
This is the first video of yours I've watched. Loved it! [ Subscribed ]
@spotlight-kyd
@spotlight-kyd 5 жыл бұрын
Please implement a USB-MIDI Host to serial driver! Pretty pleeeze!
@TheMusicalKnokcers
@TheMusicalKnokcers 4 жыл бұрын
yesss i need that
@szabolcsmate5254
@szabolcsmate5254 4 жыл бұрын
1:44 - oh how many times I have seen that before! :D
@TheTurmanDreams
@TheTurmanDreams Жыл бұрын
Incredible !!!
@uiopuiop3472
@uiopuiop3472 5 жыл бұрын
This is really useful
@spielautomat9751
@spielautomat9751 5 жыл бұрын
das ist mal sehr interessant :)
@robotics_and_stuff
@robotics_and_stuff 11 ай бұрын
After 4 years, still, this is one good solution, because ESP32-S2 supports a single device only, so mouse and keyboard cannot be connected even using a USB hub.
@LittleRainGames
@LittleRainGames 5 жыл бұрын
Avr maybe be expensive, but you get awesome documentation. Thats why i stick with pic or atmel.
@Kuba-0040
@Kuba-0040 5 жыл бұрын
Whats the name of the music you used at 4:52?
@bitluni
@bitluni 5 жыл бұрын
Jeremy Blake - Powerup
@olafschermann1592
@olafschermann1592 3 жыл бұрын
Awesome!
@patriksretrotech
@patriksretrotech 2 жыл бұрын
Aswome project!
@nevyn38
@nevyn38 4 жыл бұрын
Soooo close to what I'm looking for. I REALLY want to be able to build a USB Host bridge so that I can turn a keyboard into a wireless keyboard (without "stealing" the firmware from a more expensive USB Host). So I need a USB host and some sort of wireless communication to some other unit that can be a USB slave (teensy or arduino should do).
@lucibus6990
@lucibus6990 4 жыл бұрын
At minute 3.35 you used a ultrasonic cleaner. Please may you give me info about time, temperature and liquid type used for cleaning? many thanks
@QUIX2468
@QUIX2468 5 жыл бұрын
Verry nice!
@Rtek-zv5lr
@Rtek-zv5lr 9 ай бұрын
Hello, today there is the ESP32-S3, which has a USB Host (OTG) port. But they are still making the software to support USB HUB. So, if anyone has the knowledge and time to help with this, it would be very useful to see how HUB support is progressing in the ESP-IDF repository. (reference espressif/esp-idf/issues/12554).
@KuraIthys
@KuraIthys 4 жыл бұрын
Huh. I've been trying to work out the logistics of adding USB host support to devices for a while now. I have about a half dozen projects that could really benefit from this... Many of which have to do with retro computers. (for instance - I wanted to add 3.5 inch floppy support to an 8 bit atari. There's many ways to go about this, but one of the most accessible that doesn't rely on obsolete parts, is to use a USB floppy drive... Which... Means being able to build a USB host controller and interface it to the IO connectors the atari has available.) Then there was a SNES cartridge designed for homebrew development work and software testing where it would be useful to be able to do remote debugging with a PC, but where it would also be useful to have a way of attaching a USB keyboard... (I'm also currently looking at something equivalent for SATA; mainly so I can interface a modern DVD drive to a very old computer. But my guess is that's even more complicated than a USB host...)
@user-qz9gk7jk3f
@user-qz9gk7jk3f 8 ай бұрын
Hi there. I have a question here I have a duel usb hub that I want to use on a computer but it's just reading as a host to host bridge . any ideas?.
@glide360x
@glide360x 5 жыл бұрын
This will be awesome if was portable version, maybe a PCB that can have even the controller on. The low power required by the ESP 32 to run and the low resolution that will be just fine for a screen with 800x480 resolution.
@najamiqbal5503
@najamiqbal5503 3 жыл бұрын
Can you please show me a way How can i make esp32 look as an HID wired keyboard device? i have searched alot about it but no luck
@PabloGarcia-uz3fk
@PabloGarcia-uz3fk 3 жыл бұрын
Are there any chances you could share the schematics? It would be very helpful :)
@TotallyHanzo
@TotallyHanzo 5 жыл бұрын
Thats a great video, I think PIC18 or PIC24 have USB too but might be a bit more expensive they have better software though
@geraldowcar
@geraldowcar 2 жыл бұрын
u got my subs
@midorishimiz
@midorishimiz 3 жыл бұрын
do you think we can use this to get acoustical data from a USB microphone (such as ATR2500 usb mic)? Thanks!
@fishemrock
@fishemrock 3 жыл бұрын
I was wondering if i could build such a usb host to capture webcam images on a ESP32 board.
@nicolaedumitrache9246
@nicolaedumitrache9246 5 жыл бұрын
Nice work. Anyway, instead CH559 a good choice would be the PIC32MM0256 (a little over 1Eur) which have USB OTG and an excellent and free software (MPLAB X) with plenty of samples.
@Wingnut353
@Wingnut353 2 жыл бұрын
MPLABX isn't free if you want optimizations... you can compile with chipkit also but it doesn't have the linker scripts or bootloaders ready to go yet.
@Rick-ck8ei
@Rick-ck8ei 5 жыл бұрын
Have you considered the ESP32-S2 chip? It is single core with usb otg (USB PHY 1.1) built-in. I would like to see you investigate it for using off-the-shelf usb hardware (webcam, game controller, keyboard, etc.) designed to work with generic drivers.
@SeanChYT
@SeanChYT 5 жыл бұрын
Is it true you just use isopropyl alcohol in the ultrasonic bath, or is it some other fancy electronics cleaner?
@Mr.Leeroy
@Mr.Leeroy 5 жыл бұрын
I bet you could use alcohol + mineral spirits/isopropanol (50/50). Works a treat for manual cleaning, do not see why it wouldn't with ultrasonic.
@SeanChYT
@SeanChYT 5 жыл бұрын
@@Mr.Leeroy What worries me is the heating element in the ultrasonic cleaner, combined with a flammable liquid like isopropyl alcohol. Most people warn about this, but I read in some other comment some weeks ago that Bitluni uses only IPA in the ultrasonic so I wanted to check.
@ddcddc_
@ddcddc_ 5 жыл бұрын
@@SeanChYT he uses beer? Germans... (jk)
@Stabby666
@Stabby666 5 жыл бұрын
I have the same cleaner. There is a solution specifically made for this - mine is called "Flux Remover Ultrasonic Cleaning Solution". Part number is US-SO-FLU-1L if you're interested. It lasts for ages, as it is diluted with water, and you can reuse it several times.
@Mr.Leeroy
@Mr.Leeroy 5 жыл бұрын
@@SeanChYT selfignition point of IPA is 400 deg C. At 80 it is only boiling. Moreover ultrasonic cleaner bath is usually isolated pretty well from any electronics that reside in a separate compartment. So I think you should be fine unless catch a spark from shorting something. I'd not bother with heating IPA at all because it works very well on it's own and with ultrasonic treatment it should make wonders even at room temps..
@MrZetor
@MrZetor 5 жыл бұрын
Nice job. But is there a specific reason for not using a MAX3421E-based USB host shield? I think the 3.6/4.6USD price for a complete mini/full-size board (incl. shipping) is reasonable, especially as there are ready-made and tested Arduino libraries for this that support HID devices, ADK, CDC ACM, PL2303, FT232, BT HID, SPP, mass storage, and also PS3/PS4/PS Buzz/Wii/Xbox controllers, among other stuff.
@hkarthik97
@hkarthik97 4 жыл бұрын
Can u add the link for buying the CH559L Programmer kit
@orojasp
@orojasp 5 жыл бұрын
Impressive!
@frightrisk7407
@frightrisk7407 3 жыл бұрын
What solution did you clean the boar in with your ultrasonic cleaner and for how long?
@poweredbysergey
@poweredbysergey 5 жыл бұрын
Useful!
@4mb127
@4mb127 4 жыл бұрын
You kick ass.
@KSITREVS
@KSITREVS 4 жыл бұрын
Could you use this method of connecting a microcontroller to a computer? The arduino leonado is an option? I’ve looked into microchips arm range specifically a sam4 but I’m struggling to find online resources .... thank you!
@heinzalberto6732
@heinzalberto6732 2 жыл бұрын
Do you think it would also be possible to build an PTP-driver so it's possible to communicate with (e.g.) DSLR-cameras?
@electroGoal
@electroGoal 4 жыл бұрын
Which music are used in this video
@ytubeleo
@ytubeleo 3 жыл бұрын
Have you considered porting V-USB to ESP32? Would it be possible? With that we wouldn't even need the USB to UART for programming either!
@pefclic
@pefclic 4 жыл бұрын
Could you design an ESP32+VGA+USB host+Audio out ? That could be a nice computer :) Like what you show on 0:38 with your DOS board v0.1
@SzDavidHUN
@SzDavidHUN 5 жыл бұрын
Will we see USB slave mode too? :D
@c1nema1
@c1nema1 5 жыл бұрын
I hope so too.
@bitluni
@bitluni 5 жыл бұрын
Sure.. I want to get rid of the extra serial chip to program the esp
@NitinVarmaManthena
@NitinVarmaManthena 3 жыл бұрын
Hi Bitluni, Would it be possible for you to share the circuit diagram for CH559 HID that you are using?
@DieSonneSchicktKeineRechnug
@DieSonneSchicktKeineRechnug 5 жыл бұрын
Klasse!!!
@ergindemir7366
@ergindemir7366 2 жыл бұрын
You have a nice computer desk. Did you build it yourself?
@mirkougolini
@mirkougolini 3 жыл бұрын
Hi, Bitluni, great work. Any chance that it can be used as pure USART to USB bridge for control a 3d Printer ? Mirko
@janakaone
@janakaone 3 жыл бұрын
can this be used to emulate a HID keyboard? i.e. use esp32 as a keyboard to connect to the computer?
@zoobab28
@zoobab28 4 жыл бұрын
It might be possible to have USB HID with the new ESP32S?
@Rtek-zv5lr
@Rtek-zv5lr 5 жыл бұрын
Nice job! I noticed that unlike the MAX3421E, the CH376S has no built-in ESD protection. Does the CH559 have internal ESD protection?
@bitluni
@bitluni 5 жыл бұрын
No clue.. maybe someone else can answer this. That's really built to the dollar so I can keep all the GOLD to myself 😂
@Rtek-zv5lr
@Rtek-zv5lr 5 жыл бұрын
@@bitluni 🤣
@naasikhendricks1501
@naasikhendricks1501 5 жыл бұрын
EDS protection is cheap. I would look at both a viable solutions. ESD protection must always be a major consideration when designing to protect against silly failures.
@caio1998caio
@caio1998caio 3 жыл бұрын
Really nice! I designed my own board based on your instructions, but when I hold the button to enter the programming mode and plug in the microcontroller, windows says it cannot recognize the device... I tried to install the CH340 driver, but still not works. Could you help me a bit? Best regards, Caio.
@zaidhussain5206
@zaidhussain5206 4 жыл бұрын
does any one knows the name of music track when Bitluni solder the components on board ?
@Synthetech
@Synthetech 5 жыл бұрын
the case is cool. any pointers how to design a split case like that?
I made a VGA card that blew my mind
15:44
bitluni
Рет қаралды 437 М.
I made a fake CRT TV with a LASER
16:05
bitluni
Рет қаралды 697 М.
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
ESP32 WiFi Range Testing - 10km using Directional Antenna
5:42
Turn your ESP8266 into a USB Keyboard and Mouse - Easy Tutorial
6:37
Maker's Fun Duck
Рет қаралды 33 М.
Making oddly satisfying LED magnet tiles
11:04
bitluni
Рет қаралды 696 М.
HID-class USB Serial Communication for AVRs using V-USB
11:02
Ray Wang
Рет қаралды 149 М.
Very cheep USB MIDI interface. Is it any good?
16:59
Tripplikit Electronics
Рет қаралды 42 М.
DIY 256-Core RISC-V super computer
10:29
bitluni
Рет қаралды 271 М.
Driving a VGA Display?! Getting started with an FPGA! (TinyFPGA)
11:26
I made a custom ASIC: World's first of its kind
16:38
bitluni
Рет қаралды 198 М.
ESP USB: Espressif’s Wireless Communication Solution
6:01
Espressif Systems
Рет қаралды 99 М.