Тёмный
Brenden Adamczak
Brenden Adamczak
Brenden Adamczak
Подписаться
Just a software developer with a interest in microcontrollers and old computer. I also do a lot of react development on the side as well.
pinetime dev update
9:44
5 месяцев назад
Nordic old and new terminology
8:22
7 месяцев назад
Developing with pinetime
10:44
7 месяцев назад
build gates - review
11:01
9 месяцев назад
raspberry pi pico - power meter
15:55
Год назад
USB for software Dev's - intro
9:01
Год назад
FreeCAD - walkthrough
9:26
Год назад
raspberry pi pico - usb host
20:54
Год назад
javascript primitives for cpp devs
10:48
2 года назад
DMA the ADC on a stm32 "Quickly"
6:18
2 года назад
install gwyddion with flatpack
4:27
2 года назад
capturing usb on linux with wireshark
4:37
2 года назад
Комментарии
@lilkuz2005
@lilkuz2005 2 дня назад
I wonder if you could configure a gamepad like a snes or genesis or ps1 non-dualshock to mimic key presses over ps/2?
@brendenadamczak9283
@brendenadamczak9283 День назад
i don't see why not
@lilkuz2005
@lilkuz2005 День назад
@@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.
@manojroy657
@manojroy657 4 дня назад
How to flash it with micropython.
@brendenadamczak9283
@brendenadamczak9283 4 дня назад
Good question. but I don't know. Don't really use micropython really.
@TheWinnieston
@TheWinnieston 4 дня назад
Is this programmed in Javascript
@brendenadamczak9283
@brendenadamczak9283 4 дня назад
Part of it ya. The OS is run in C and you make apps in Javascript.
@syrus3k
@syrus3k 6 дней назад
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.
@BlueBirdsLullaby
@BlueBirdsLullaby 7 дней назад
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!
@rodrigolealbatista8381
@rodrigolealbatista8381 10 дней назад
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?
@brendenadamczak9283
@brendenadamczak9283 5 дней назад
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
@Nskittle
@Nskittle 27 дней назад
yo thats cool and it started so dirty to
@brendenadamczak9283
@brendenadamczak9283 27 дней назад
Somebody was throwing it away and i guess for good reasons. I don't know how it got so dirty. haha
@nakultiruviluamala4002
@nakultiruviluamala4002 Месяц назад
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.
@brendenadamczak9283
@brendenadamczak9283 Месяц назад
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.
@AliYassinToma
@AliYassinToma Месяц назад
U sound like that guy who tries to make peoples recipes and has a ligma fork
@brendenadamczak9283
@brendenadamczak9283 Месяц назад
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.
@AliYassinToma
@AliYassinToma Месяц назад
@@brendenadamczak9283 he is a youtuber called futureCanoe he makes cooking vids lol
@norm1124
@norm1124 Месяц назад
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 😂 ...
@brendenadamczak9283
@brendenadamczak9283 Месяц назад
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.
@ClacKeyTech
@ClacKeyTech 2 месяца назад
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
@brendenadamczak9283
@brendenadamczak9283 2 месяца назад
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
@Crftbt
@Crftbt 2 месяца назад
"I'm on windows because I hate myself" - Brenden Adamczak 2024
@brendenadamczak9283
@brendenadamczak9283 2 месяца назад
Seems like the only valid reason to be on windows to me. haha
@brendenadamczak9283
@brendenadamczak9283 2 месяца назад
Since then, I've moved on to a mini pc running Linux
@clmb2225
@clmb2225 2 месяца назад
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.
@parker7721
@parker7721 2 месяца назад
You can probably make a rule with udev on Linux
@user-rl4ix1ws5s
@user-rl4ix1ws5s 3 месяца назад
Hello, I have updated the library and it works better without any configuration and supports all MCUs
@Quazee137
@Quazee137 3 месяца назад
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.
@brendenadamczak9283
@brendenadamczak9283 3 месяца назад
I don't think you could do all of this. So you want to add a SD card like configuration file?
@jaxx-ce9cd
@jaxx-ce9cd 4 месяца назад
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
@matgaw123
@matgaw123 4 месяца назад
Pico its just awesome
@brendenadamczak9283
@brendenadamczak9283 4 месяца назад
true :)
@VivoJefindo-id4cj
@VivoJefindo-id4cj 4 месяца назад
I think this solution for receive data from Rs232 usb converter using wireshark
@brendenadamczak9283
@brendenadamczak9283 4 месяца назад
You'll be able to get Rs232 data from usb over wireshark. If you want to see it from a packet label
@VivoJefindo-id4cj
@VivoJefindo-id4cj 4 месяца назад
Thanks you sir​@@brendenadamczak9283
@lahdherimohamedaziz4243
@lahdherimohamedaziz4243 4 месяца назад
Can you connect multiple keyboards (or other hid devices) at the same time ??
@brendenadamczak9283
@brendenadamczak9283 4 месяца назад
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.
@UmutErhan
@UmutErhan 4 месяца назад
Hello is it possible to make a usb midi host using Pi Pico?
@brendenadamczak9283
@brendenadamczak9283 4 месяца назад
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
@brendenadamczak9283 4 месяца назад
So if you want it now you can look at this project. github.com/rppicomidi/usb_midi_host
@UmutErhan
@UmutErhan 4 месяца назад
@@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?
@brendenadamczak9283
@brendenadamczak9283 4 месяца назад
@@UmutErhan Since the midi driver isn't in yet. You won't be able to do it in any of the way. At least i think that would be the case.
@mealshake4284
@mealshake4284 5 месяцев назад
How can i implement a host usb vendor specific ?
@brendenadamczak9283
@brendenadamczak9283 5 месяцев назад
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
@brendenadamczak9283
@brendenadamczak9283 5 месяцев назад
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
@brendenadamczak9283
@brendenadamczak9283 5 месяцев назад
Just to make sure what are you trying to interface too? Are you sure its a vender specific device?
@cadensmusic
@cadensmusic 5 месяцев назад
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.
@Orion_Prime
@Orion_Prime 5 месяцев назад
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.
@brendenadamczak9283
@brendenadamczak9283 5 месяцев назад
I'm sorry i don't think i know how to help you? I'm not entirely sure where the problem fault lies either?
@bflmpsvz870
@bflmpsvz870 5 месяцев назад
Out stan ding!
@THE_CHEEESE_LORD
@THE_CHEEESE_LORD 5 месяцев назад
i like cheese
@csbluechip
@csbluechip 5 месяцев назад
Another awesome video ...sadly I want to pretend to be a PS/2 mouse/keyboard ...but much was learned :)
@brendenadamczak9283
@brendenadamczak9283 5 месяцев назад
Got you covered here too! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ATGZD2AyFkc.html
@csbluechip
@csbluechip 5 месяцев назад
@@brendenadamczak9283 You Star! :)
@AndrewHelgeCox
@AndrewHelgeCox 6 месяцев назад
Do you know a good introduction to the details of USB to give some context before diving in to a particular implementation like this code?
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
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
@sss22215
@sss22215 6 месяцев назад
...\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
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
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 :)
@sss22215
@sss22215 6 месяцев назад
@@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
@mealshake4284
@mealshake4284 6 месяцев назад
I want to plug my PCB to Pico through the USB and enable it to communicate with my PC Software through wifi, is it possible ?
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
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.
@mealshake4284
@mealshake4284 6 месяцев назад
@@brendenadamczak9283 actually i'm using a device stm32 as USB CDC it's the same ?
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
@@mealshake4284 So this is how it sounds to me [STM32 PCB ] (USB Host) -> (USB Client)[Pico](WIFI) -> (WIFI) [PC]
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
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
@mealshake4284
@mealshake4284 6 месяцев назад
@@brendenadamczak9283 exactly, my stm32 works as a device
@christopherweeks89
@christopherweeks89 6 месяцев назад
Have been thinking about doing something similar
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
fairly simple and cheap. So go for it. If you do post your results. I would love to see others doing it probably way better then me
@murrij
@murrij 6 месяцев назад
Really cool video. How do you not have more views.
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
I'm glad you liked it so much. As for the view count, I don't have any cats or funny faces in my thumbnail. So that's why it's so low 😂
@derivativ3
@derivativ3 7 месяцев назад
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
@olgakudriavtseva7600
@olgakudriavtseva7600 7 месяцев назад
I didn't know it was even possible
@olgakudriavtseva7600
@olgakudriavtseva7600 7 месяцев назад
😮😮 You managed to figure out how to use the TV as a monitor 😮
@bingbangmeow2389
@bingbangmeow2389 7 месяцев назад
How does the connector connect to the board? I see the holes but they. Dont stay in there, i have no idea what im doing!
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
So I soldiered them in because I'm going to be doing a lot of programming. wiki.pine64.org/wiki/PineTime_Devkit_Wiring
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
But you can buy a programmer here.pine64.com/product/pinetime-pogopin-jig/
@Bianchi77
@Bianchi77 7 месяцев назад
Nice info, thanks :)
@TheWinnieston
@TheWinnieston 7 месяцев назад
First
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
How was i beat to comment first on my own video🙃
@Meetakal
@Meetakal 7 месяцев назад
U go brenden 🎉well done
@spruce1000
@spruce1000 7 месяцев назад
Just a warning, eeprom lib from ST seems to be broken on G4. It results in bricked devices over time. Extremely difficult to debug.
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
Really! I'm guessing its hard to debug because it save to many different places over time?
@spruce1000
@spruce1000 7 месяцев назад
I think it needs cleanup() being called or I have an ECC error. Entire machines brick
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
@@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.
@raevod6361
@raevod6361 7 месяцев назад
I want the pico to act as a keyboard when hooked up to a pc and emulate keypresses.
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
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
@kennyhubbell813
@kennyhubbell813 7 месяцев назад
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?
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
Not entirely sure? So it goes PIO_USB_code -> tinyUSB -> arduino driver -> [use it in your code]
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
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.
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
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.
@kennyhubbell813
@kennyhubbell813 6 месяцев назад
@@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.
@brendenadamczak9283
@brendenadamczak9283 6 месяцев назад
@@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
@TheWinnieston
@TheWinnieston 7 месяцев назад
Can't believe you're running win11
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
Yep windows sucks in general. But the Linux support in it is awesome!!!!
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
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.
@brendenadamczak9283
@brendenadamczak9283 7 месяцев назад
I also have a Chromebook. Which can run Linux perfectly. It only has 32gb of storage. Which wouldn't take long to fill up
@MonclouCaroline
@MonclouCaroline 8 месяцев назад
Very helpful and educational!
@theyounewb
@theyounewb 8 месяцев назад
I might have missed this but... What is the maximum poll rate the Pico can support on the the PIO-based USB port?
@brendenadamczak9283
@brendenadamczak9283 8 месяцев назад
Poll rate? Is this poll rate related to a specific USB specification your trying to use. So it support USB FS, which is a 12 MHZ signal.
@Rudofaux
@Rudofaux 8 месяцев назад
"these are cheap things that run into the ram" Excuse me? Are you suggesting that you can somehow plug a 24pin ATX plug into DDR4 DIMM slots?
@brendenadamczak9283
@brendenadamczak9283 8 месяцев назад
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.
@RealAmerica1776
@RealAmerica1776 8 месяцев назад
What broke on it that needed repaired?
@brendenadamczak9283
@brendenadamczak9283 8 месяцев назад
The thermal paste gets dry and you need to add new past e
@RonSheely
@RonSheely 8 месяцев назад
Thank you Brenden. Good presentation. Clear, concise, and helpful.
@brendenadamczak9283
@brendenadamczak9283 8 месяцев назад
Glad you like it :)
@olgakudriavtseva7600
@olgakudriavtseva7600 8 месяцев назад
Really liked your video into, Brenden! Good idea 💯
@csbluechip
@csbluechip 8 месяцев назад
I can't believe you managed to rationalise installing JS on a uC - ROFL ... Kudos :)
@brendenadamczak9283
@brendenadamczak9283 8 месяцев назад
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.
@joshuaseckler5699
@joshuaseckler5699 9 месяцев назад
Are you sponsored by HUEL?
@brendenadamczak9283
@brendenadamczak9283 9 месяцев назад
I wish that stuff expensive! Get some gammer Huel. haha
@brendenadamczak9283
@brendenadamczak9283 9 месяцев назад
Truly i soylent better. But i can't buy it. I don't think its legally considered food in japan. haha