@@brendenadamczak9283 would make an awesome gamepad option for dos games that are limited to 4 buttons, those games can use more inputs from a keyboard than a pad like the gravis gamepad. I have a device like those that is using Arduino, it has a PS/2 keyboard passthrough and using the keyboards scroll lock key you can manually map keys to gamepad buttons. It works really well but I don't think the creator of my device is still making them. Using a pico board would be a nice cheaper, hopefully open source option.
Lol, I've been bashing my head against a wall and it's very obvious now from your video that I'm putting 5v into the PICO's GPIO with clock and data pins hence it's not working.. whoops.
Hi, I might need some help. I just installed a Gotek Sfr1M44 U100K into my EMU ESI 4000 Sampler, The sampler detects the (USB) Floppy drive. And the Floppy drive can browse to the Virtual-Disk-List but then no data exchange is happening between the floppy and the device. Maybe I have the pin at the wrong setting. M0 S1 S0 J8 JC JA J5 (It worked and connected the best when i put it into J8 and J5 together :/ but I still think its not quite right.) I be glad for any idea that might fix this issue. Thank you!
Hello, I would like to do it but USB /USB so that a specific key on the USB keyboard could trigger a digital port and connect a solid relay to trigger the air conditioning, can you help me with this?
So it sounds like you want to take in a usb keyboard and then spit out usb keyboard data as well. If that's the case you can look at this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-iOD-NOzgj7o.html
Very nice video on the MIDI protocol! I've been interested in transmission protocols lately and I really enjoyed this video. As an audio editing suggestion, consider using crossfades next time to prevent pops during the jump cuts. Many editing software programs, like ProTools and Ableton, add these by default, but adding additional ones can further smoothen audio transitions.
Ya i'm very happy about the visuals, but ya the audio's fairly bad. I've remember the audio was very bad, but i just stuck with it because i didn't have it in me to record it again. Also i remember i was hell bent on using all open source software and it can be ruff. I found the best way was to make the video then export the audio to audacity to do the mix and the rerender the video! Lately I'm too lazy and have no time so i just use imovie. But since this video i've bought a real mic and not the mic i used to do concerts with.
After some long hours researching on the WWW "world wide web" for the origins of what you were trying to describe here. I feel like it is my role to ask you the question of "what a ligma fork is". Therefor I will do the honors of asking this. What is a quote "ligma fork" unquote? Also, who is this person who makes recipes? I imagine this person to be extremely cool because of all his ligma forks collection.
Thank you so much - As usually: Amazing video that Google did not yet recognize. I am looking to reverse engineer Teams Devices (Jabra Headsets) communication and videos about USB and HID are very sparse out here compared to the billions of devices using is 😂 ...
Very interesting. So what do you plan to do with this information? Also note that a semi complicated device like the jabra headsets going to have multiple types of usb descriptions. One for audio and probably one for HID to control muting the audio and stuff like that.
how can i use the keyboard inputs for the pico, like pressing a key for like lighting up an led when caps lock is activated or something? like that, could be pretty useful imo
Well in the main loop you can look for a given pin and toggle it high. If its helpful i have a simpler version of this, which is just a keyboard input. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yIXa-6DRW-Y.html
Can you perhaps tell me how to tell the Linux Raspberry Pi Zero system that it should not start a login service when connecting to a USB ACM device (actually a serial USB port of a controller). I only want to access the serial device.
Can this do SD card so the input key data can be looked up in SD card and output a string to computer? Being able to make any keypad/board a helper for disabled persons. Maybe include mouse functions so a single key press can be mapped to fixed mouse locations. Could work as a OS independent macro keypad/board. Also a kind of steam deck.
Will it work if I connect a mouse instead of a keyboard, will i have to make some changes on the code for that? I see the code has functions regarding mouse events as well
Thats a interesting question! I've never tried to connect multiple keyboards before? I've connected a mouse and a keyboard before and thats fine. You just need to specify how many Descriptions are needed in the configuration file.
Yes in theory. Once it's actually merged into the main repo i plan to do a video on it! But for some reason its not getting merged in. github.com/hathach/tinyusb/pull/1627
@@brendenadamczak9283 Thank you I'll wait for the video. C/C++ method is too complicated for me=) I might try arduino method but it's been a while since I did arduino. You think it's possible with micropython or CircuitPython?
I've never done it. But the first step would be to set the flag for vender specific. github.com/hathach/tinyusb/blob/master/examples/host/hid_controller/src/tusb_config.h#L108
It should look like a much simpler version of the keyboard host example. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yIXa-6DRW-Y.html. Here are the calls github.com/hathach/tinyusb/blob/master/src/class/vendor/vendor_host.h
Just for other's references in the future, did you use 3.3v to power the ADS1115? And also, what value is your burden resistor? Your video is the one that helped me finally some kind of result with a similar project in Micropython. I made alterations in software, mostly removal of the MQTT related stuff (using the current value for something else) and I'm only checking one sensor on ADS1115, so I can't say that my issue I'm having currently is not something that I caused, but I was getting significantly lower current values than what my multimeter clamp was reading for a while. I determined from the handful of tests I did that results vs. actual values were consistently about around 3x smaller. So, adding an additional line to multiply the current result by 3 has gotten me closer, but still is not 100% perfect. (not expecting 100% accuracy to the meter, but when I measure a lower amp 120v circuit, I'm pretty much spot on with the meter, but measuring 35 amp 240v circuit, seems to be consistently 1 amp behind the meter after adding current = current*3. (Before adding the multiply by 3, I'd get around .44 amps on a 1.2 amp circuit, 11.7 or so on a 35 amp circuit. I ask about the burden resistor value you used, and if you used 3.3 or 5 v to power the ADS1115 just because I find mention of them in the various resources you provided, but I don't find any information for sure saying which you personally used in this project. At this point, they're the only two variables that I can find that would give me a 3x lower than expected result. Mostly for me, just trying to troubleshoot why it's low before I added that extra multiplication line. Thank you again for posting this video, and all of the resources you provided too. They've been great help! I found a ton of references to Arduino projects like this, but we were severely lacking information out there on Pi Pico W and micropython in general in relation to STC-013-000 and ADS1115 to measure current.
Hi my mobile is bricked and in fastboot/bootloader mode but no pc can detect my device as a device it says device descriptor request failed. I need ur help in configuring the issue thanks for ur valuable information.waiting for ur reply.
I made a video on usb ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fEDp9053eZs.html. also this is the first one you should probably watch. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yIXa-6DRW-Y.html
...\pico-sdk\lib\tinyusb\src\portable aspberrypi\pio_usb\hcd_pio_usb.c:32:10: fatal error: pio_usb.h: No such file or directory i face such difficulty while compiling , any way to over come , kindly help if possible
So if you look inside "Pico-usb-pio" do you see anything? If not do this "git submodule init" then "git submodule update". Then you should see files in there. Hopefully it builds after that. If that was your problem thats my bad and i updated the docs. If not just message me and i'll try again :)
@@brendenadamczak9283 [driver] Build completed: 00:01:30.302 [build] Build finished with exit code 0 done , instead of using cmd , i downloaded code form git as zip and tried to compile thanks
Probably? So the pico has a wifi board if that makes it easier for you? Then you potentially wouldn't need this PCB board? But to the original question yes. From you pcb you can talk to the pico over the same cable that powers it. You'll want to use the CMC class, which is basically a uart stream of data.
If thats the case it should work no problem. The pico is just acting as a relay at that pont. Put a little ZMQ server on the pico and your all set to talk to your pc
Don't know why this didn't pop up on my feed earlier but nice! Been trying to get ADCs to work via DMA on the H7 dual core systems and this was pretty helpful
@@spruce1000Thats ruff. I truly never tried to hard to figure it out because it just seemed like it was doing way more things then i needed it to be doing.
So you want a usb client. There are probably many videos on that topic. But i touched on that on with this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-iOD-NOzgj7o.html
This is great! I have been using the Earle Philhower Arduino core since I started using the Pico. Do you have any tips on how to make use of your code and keep using the Philhower core?
So you would have to add PIO_code and add the arduino drivers for USB host and setup all the configurations for it. In the actual arduino build. At least thats my interpretation of it. I don't know if can access the low level pio code parts once your running the arduino software.
But i've only ever programmed a normal arduino. So my understanding could be completely off. Its been a long time since i've tried to program one and it was just for turning on little leds and stuff like that.
@@brendenadamczak9283 I did manage to get it working, but now I'm wondering if you have any tips for connecting two USB devices to the Pico at once? Like both a mouse and keyboard. I can get them both to properly send the HID codes when connected separately, but I'm not sure how to do both simultaneously. I have attempted to create two TinyUSB host instances, each with their own pio_config with the respective D+ pin, but only the first device works in that instance.
@@kennyhubbell813 So it sounds like your trying to connect two usb devices from two different usb connections. Is that true? So i made a devices that would take two usb devices that were connected to a usb hub. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ATGZD2AyFkc.html. Code here github.com/brendena/USB_to_PS2_pico
Out of the 3 laptops I have it's the most efficient at the task of running Linux. I have a MacBook. But virtual box doesn't support m1 processors yet. Also it's only 8gb. I could use brew just haven't put the time to figure that out fully.
I think you misunderstood the term "run into". I didn't use the small 12V power power supply because it wouldn't fit. It hit the ram because of the ATX plug is so close to the ram.
I was surprised to make this argument as well. But i think it has its use cases. Especially for closed devices like that bangle smart watch because on the backend all the things that require speed are made in c. So you basically use javascript to reach all these optimized c codes for all the hardware.