I bought a cheap module labelled HW-244 on ebay. It connects any USB device (including a keyboard or mouse) to any Arduino project via SPI. It is a shield for an Arduino Pro Mini.
Пікірлер: 41
@Mac1PC3 жыл бұрын
where can i find code for this project?
@damtung20003 жыл бұрын
Can I use the Pro Micro 5v with this setup?
@kavtech_midi2 жыл бұрын
so you use arduino pro mini? is there any schematic to connect, host and arduino? or just plug it
@kamel3d Жыл бұрын
What if you want to connect more than one usb device to the arduino do you have to use more usb hosts?
@CircuitBreaker256 Жыл бұрын
I think you could use a usb hub, but I have not tried it.
@edgeeffect2 жыл бұрын
I was watching something the other day that mentioned that some (all???) USB keyboards also speak the PS/2 protocol over the same wires.
@CircuitBreaker2562 жыл бұрын
I wish they did, but I think the answer is something more like "they used to, about 20 years ago"
@charnjit5255 ай бұрын
Can I connect my USB Synthesizer to Arduino board by itto receive and send midi message ???
@GANCFLEX Жыл бұрын
Hello, could you please provide me a source code?
@miko0073 жыл бұрын
actually there are 3.3v and 5v versions of the pro mini. it is usually indicated by a dot in the respective field on the back
@CircuitBreaker2563 жыл бұрын
Ah you are right. It seems that the ones I own are all 3.3v
@adamhun9943 жыл бұрын
But can you connect the shield to a 5v board? I'm planning to use it with a Pro Micro and I'm not sure if it'll work or will it blow up?
@williammuff54852 жыл бұрын
@@adamhun994 did it blow up lol? i have a 5v pro mini on order and i'm curious. I really don't understand this "hack" (cutting the trace).
@adamhun9942 жыл бұрын
@@williammuff5485 I've ordered an USB host shield and I have a 5v version of the Pro Micro (if I'm correct), but they're on my shelf because I didn't have time to assemble my project. So nothing blew up yet.
@Billy18bm2 жыл бұрын
@@adamhun994 the more I read about it. It will fry it at 5v. I’m gonna try a nano (just not sandwiched).
@alessiogiugno31693 жыл бұрын
Code??
@jtelefoon30754 жыл бұрын
Dear, If you supply the keyboard with 5v, the keyboard output will also be 5v I think. Can the board process these inputs since it runs on 3.3v.
@CircuitBreaker2564 жыл бұрын
The board does accept 5v inputs from the keyboard with no problems. It's a bit of a weird board because it is clearly designed for 3.3v, but keyboards are all 5v devices, at least all the ones I've got.
@jtelefoon30753 жыл бұрын
@@CircuitBreaker256 Thx for the info!
@janikarkkainen39043 жыл бұрын
USB is a bit weird as a standard, but the gist is that the power is +5V, but the data lines are always 3.3V. So if you supply a keyboard with +5V, you get what you expect (data lines at 3.3V) but if you supply it with 3.3V, you get nothing out. So, it feels counterintuitive, but that's simply the standard at work.
@kavtech_midi Жыл бұрын
@@janikarkkainen3904 nice...., so this mini host shield still can run with arduino 5v? except we should keep input power for this mini shield still 3.3v
@yuvrajkukreja97273 жыл бұрын
code?
@MyDrogato3 жыл бұрын
Can i do the same on arduino uno?
@CircuitBreaker2563 жыл бұрын
You can, but with a slightly different shield. See my other video.
@antdavisonNZ2 жыл бұрын
you can also use a 3v3 Pro Micro, and build a USB-to-USB protocol adapter, see kzfaq.info/get/bejne/q5-IlMhnxtq2eqM.html
@dalesmith46093 жыл бұрын
Do you think a USB barcode scanner would work with this?
@CircuitBreaker2563 жыл бұрын
Hmm, I have not tried, but often the barcode scanner appears to your PC just like a keyboard that "types" the numbers on the barcode, so I'd be at least 50% confident!
@Lilithet3 жыл бұрын
I got one of these specifically for this reason. (Keyboard wedge to serial out dongle) I am still working on getting it to work...
@dalesmith46093 жыл бұрын
@@Lilithet I wasn't sure about this one, i got the USB host shield for the arduino instead, works ok for barcode scanners (and bluetooth keyboards).
@dalesmith46093 жыл бұрын
@@Lilithet Keep at it though! Arduino shields require an arduino lol, and the pcb in this video looks really compact and nice for final projects.
@IvannZ_Ru3 жыл бұрын
may konekt to arduino pro micro?
@CircuitBreaker2563 жыл бұрын
I'm not sure. The pinout should match, so most likely it would work.
@hiphop_kid23183 жыл бұрын
yoo bro can you make a video explaining the code for this it will surely generate a lot of views
@CircuitBreaker2563 жыл бұрын
Will do!
@nawakman3 жыл бұрын
@@CircuitBreaker256 will need, is the video released ?
@nawakman3 жыл бұрын
@Caiden Damian wtf ?
@sathishpaladi21684 жыл бұрын
can you put the code please
@CircuitBreaker2564 жыл бұрын
Will do...
@ParasFtl4 жыл бұрын
@@CircuitBreaker256 Do it please
@migry2 жыл бұрын
Ha ha. OLED prices have rocketed since this video was made. 99p, I paid £5 for the same type of OLED this past weekend.