Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : hid2cdc - USB keyboard and mouse for picomite VGA
Page 5 of 6 | |||||
Author | Message | ||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Firmware for swedish keyboard works! BIG THANKS to NoOne! This will make PicoMiteVGA so much more useful for me! It is a pleasure to immediately find the right keys at the correct positions without having to search and read small stickers on the keyboard. I have tested with two different USB-hubs. The BLACK (USB 2.0)works, but the WHITE (USB 3.0) does not. This is not specific to the SWE keyboard firmware. It was the same for the previous firmware. The white delivers power so it is something else that make useless for this application. Pluto |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Pluto, all, Fantastic, I am glad SWE version is working. I am surprised the white HUB doesn’t work because that looks identical to the one I am using. Of course the insides could differ from my HUB. Kind Regards, Mick . Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
There is no text or info on the white hub. Ordered from Temu. White USB-hub. This hub did not work! It would be nice to see what is inside, but seems to be difficult to open without breaking it. The hub that works (black) was easier to open. The chip inside is marked MW7211A IPA170251-1. It is a SOIC-16 package. Pluto |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
as a test, you may like to plug the hub into a normal PC, and into the hub plug two devices and ensure they both work. on the eevblog forums there has been talk of various extremely cheap hubs that just have all four sockets connected directly in parallel. as a result the hub will appear to function with only one USB device plugged in, and also with multiple power-only devices (without DP or DM connection) plugged in. cheers, rob :-) |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Tested the white module. Can at least operate 2 Picomites at the same time. Pluto |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 829 |
Hi Rob and all others, small success! I took a new board - now the LED lights up - but my keyboards still doesn't work!!! I currently still have version 5.07.07b19 on the PicoMiteVGA. But that shouldn't matter? Frank P.S.: I found my mistake with the first board! I own about a dozen Raspberry Pi Picos and EXACTLY ONE Board with WLAN - and that's the board I accidentally used for the first attempt!!!! But why is it still not working??? Edited 2024-01-22 00:57 by Frank N. Furter |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi Pluto, I bought mine from Temu as well, it is easy to open, it is only fixed inside the case by the rubber end, flex it up and down and apply pressure outwards and it will pull the pcb and connectors out. The chip in mine was a SL2.1s, it is USB3 in but only the end socket is usb3 out, the others are USB2 Regards, Mick . Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi Frank, are you able to post a photo of your setup? cheers, rob :-) |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Thanks for advice to open the hub. Mine is also the same. Pluto |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 829 |
Hi Rob, this is my setup: The heartbeat LED flashes, the HID2CDC lights. You can't see it so well, the HID2CDC is connected to the hub as a host via the USB-B cable. If I connect the hub to the PC instead of the HID2CDC, I can access the PicoMiteVGA via TeraTerm and the keyboard then also works on the PC. Frank Edited 2024-01-22 21:57 by Frank N. Furter |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4234 |
What is the correct SW version to test for US keyboard ? Volhout PicomiteVGA PETSCII ROBOTS |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi Frank, where is power being fed in to? i can't quite see it in the photo, but i'm guessing it is only being fed into the USB hub? cheers, rob :-) |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi Volhout, for US and German keyboard layouts use this version: https://github.com/No0ne/hid2cdc/releases/download/1.0/hid2cdc.uf2 hopefully we should see, some time soon, a combined version that does US, German and Swedish. cheers, rob :-) |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 829 |
Yes, the hub is powered by a plug-in power supply unit. I used to use this hub to successfully power Raspberry Pi I via the USB port, i.e. without an additional power supply unit. That always worked very well. Frank |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
aha, i believe you will almost certainly need to feed 5-volts directly into VBUS (pin 40, ground return to pin 38) of the HID2CDC pico. while some power may appear to be coming out of the hub's HOST port, this will at best be coming from a pullup resistor somewhere and not be sufficient to keep the HID2CDC pico happy. with many/some hubs, once the HID2CDC pico is powered directly the hub should not need power applied directly to it. having said this, i have one hub that will not operate in this way. you could 'bodge' things by connecting a single flying wire from the 5v pin on one of the spare downstream USB sockets on the hub to VBUS on the HID2CDC pico, but i wouldn't really advise this. cheers, rob :-) Edited 2024-01-22 22:51 by robert.rozee |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 829 |
I don't think that's the problem - as I said - I've already powered Rapberry PI I this way. With the Pi I you could still supply power via the USB-A port - and that worked with this hub. I'll have to see when I get around to trying out a different setup... Frank |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
so you were plugging the RPi into just the upstream port and the hub was successfully powering it? what i have done before is connected a powered hub to one of the four USB-A ports on a RPi, then run a separate cable from one of the hub's downstream ports back to the micro-USB power connector on the RPi. this did work for quite a while, but then one day the hub let out the magic smoke. the smoke came from a small MOSFET that appeared to be involved with routing power from the upstream port. normally, i would expect a powered hub to have a blocking diode to prevent power from flowing back to the upstream port, followed by a small boost converter to take the (now) 4.4 volts and boost it back up to 5v. only an unpowered hub should have a direct connection between the 5v lines of downstream ports and the 5v line of the upstream port. cheers, rob :-) Edited 2024-01-22 23:46 by robert.rozee |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
As I explained earlier, I have one hub that works and an other that do not work. Surprisingly the one that do not work for me works for Bob! I have done some more testing with my bad one. I thought first that the keyboard was without power since I could not turn the CapsLock or NumLock LEDs on when the keybord was attached to the powered hub. But the hub delivers power! Could it be possible that a "right" combination of USB-hub and Keyboard is critical? As it appears in my tests the bad usb-hub makes my keyboard blocked for any keypresses on the keyboard. I am not sure if I can find an other USB-keyboard around here to test with. Would be most interesting. Pluto |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi Pluto, with the problem hub, does (1) pressing numlock toggle the numlock LED, (2) pressing ctrl-alt-delete do anything? do you have a wire connecting from GPIO3 (pin 5) on the HID2CDC to RUN (pin 30) on the picomite VGA? this allows ctrl-alt-delete to reset the picomite. if not, try adding this and repeat the above two tests. oh, and is your picomite VGA running a recent version of mmbasic? i've only tested with 5.07.07 and 5.08.00. different versions of mmbasic may use different versions of TinyUSB and so may behave slightly differently. cheers, rob :-) |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 358 |
Rob, with the problem hub: -NumLock, CapsLock and ctrl-alt-delete have no effect. No toggling of LEDs. PicoMiteVGA 5.08.00RC4 @252MHz. With the good hub ctrl-alt-delete restarts PicoMiteVGA and keyboard works OK. Pluto |
||||
Page 5 of 6 |
Print this page |