USB to Serial Mouse using the Pi Pico!

  • is it be able to use USB Mouse and USB Keyboard on same time ?

    (USB Hub ?)

    It doesn't have a hub built in but you can connect a hub or a KVM.
    I actually don't know how much it would cost to build in a hub but hubs really don't cost that much generally.


    Currently with the USB-2-232 it has some handling caked in for keyboards so it knows to ignore them but it is able to know it has both a keyboard and mouse plugged in. if it didn't then it would probably crash when connected to a KVM.

    I should probably note that in the default TinyUSB lib, one hub does work but nested hubs do not. Which is why I had issues with KVM's. The modified version of TinyUSB is able to handle a chain of I think 10 4 port hubs, though I think I limited that for the sake of ram.

    Be Happy, it's only going to get worse.

    Einmal editiert, zuletzt von CalamityLime () aus folgendem Grund: note

  • Hallo!

    So I've been trying to make the most out of ordering from JLC and I made two little boards to figure out panelizing.

    One board is for mounting a PS/2 port on a serial port mount on my AT case.
    The general idea is that the ps/2 port sticks to the PCB and the PCB is held to the case with a 3d printed bracket. Nothing special and panel mount ps/2 ports do exist but that's not as fun as making a PCB. I did order a handful of ps/2 ports from LCSC as part of my order with them for the USB-2-232-KBD

    The second board is what I'm calling "DS1287 Hat"
    I know scorp made the nwx287as a modern replacement but at least as far as I can see, the DS1685 and DS12885 in a full DIP package are cheaper than surface mount options.
    The idea is that for powering a replacement XX85 chip, the user can bend up the pins for the crystal and battery to solder the pins to the board. OR, use the board as a hat for fixing the old fix where you dill a hole in the side of the old RTC. You could even sand down the top of the old RTC for clearance and keep the hat on for looks.

    There's probably the same thing out there already but again, making my own board is more fun.

    I plan to panelize them myself with KiKad and a handy tool but it can't combine milling the PCB's and vscoreing them. So that's why the notch to mark the top of the chip is a silkscreen instead of a cut, and JLC want the vscore lines on the edge cut layer so that's by the kicad render on the panel has a weird boarder.
    A little annoying but eh, not a big deal.

    I'm not sure I'll release the files for these, I don't think there would be any interest in them. I will have many many more than I need so I may give them out for free but you pay postage if someone wanted one.

    -Lime

  • Hallo,

    I decided to upload the exp slot cover and DS1287 Hat (renamed to DS128X Hat) to GitHub. Bare minimum upload and I could add pictures and stuff another time, just not in the zone for such things.


    GitHub - LimeProgramming/Expansion-slot-cover: PCB replacement for expanstion slot covers
    PCB replacement for expanstion slot covers . Contribute to LimeProgramming/Expansion-slot-cover development by creating an account on GitHub.
    github.com

    GitHub - LimeProgramming/DS128X_Hat: Replace your dead Dallas RTC chip with a DS1285/DS12885 with an added hat for a battery and crystal OR use the hat to make a repaired Dallas RTC chip look a bit nicer.
    Replace your dead Dallas RTC chip with a DS1285/DS12885 with an added hat for a battery and crystal OR use the hat to make a repaired Dallas RTC chip look a…
    github.com


    Three ds12885 dip chips arrived in the post today which is fun.

    Also just to keep people here informed on something that's kind of exciting. I made a socket 7 motherboard repair thread on vogons and it seems to have shifted to hacking 2 tag ram chips to a HX motherboard that has only one tag ram chip on board and no SRAM module.
    My own Socket 7 motherboard may wind up being a guinea pig for that. If that sounds like your thing, here's the link!

    Maybe once there's a prototype I'll make a thread here for that.

  • Hallo!

    It was long put off but I've finally ordered the PCB's from JLC with assembly. I ordered 10 since the price difference between 10 boards and 5 boards wasn't even a 10'er
    I've checked and doubled checked and I'm pretty sure my circuit is correct for the parts I've ordered.

    I've also ordered a tag ram modification board plus 2 tag ram chips for tinkering with that project!

    -Lime

  • Wow you starting of, i had not even time to fully test the Mouse Adapter.

    But it works fine and tracking speed is very good.

    Even in 1600x1200 its useable :)

    The hope is that the USB-2-232 will be rolled into the USB-2-232-KBD. So there is no wasted testing and messing around.
    Improving one helps the other.

    Handling the tracking on the usb-2-232 was quite the headache, one quick flick left or right gives enough movement to spin doom guy in a circle multiples times. I play modern games with that kind of sensitivity but it feels so wrong on older games.
    A lot of effort went into making it feel transparent even though it cheats a little. Glad to hear that you find the tracking speed good. Did you get into the terminal okay in the end?

    -Lime

  • I assembled and done some light testing to one unit.

    It looks good and what limited functionality I tested, works well!


    I am really happy to say that you can access the settings terminal over the usb mini-B port, even windows sets up the correct drivers for you!

    This particular unit is going to be my dev unit.


    So far there are only 2 errors in this board, the pwr led needs to be flipped and c12 need to be removed due to coil whine.

  • ...it's completely out of the Range of my knowledge what you do - but I follow with awe your progress. Thx duncan

    "..seid ihr in etwa Anarchisten" "Nein, SOWEIT entwickelt sind wir noch nicht" (R.A.Wilson)


    JEDE Zentralisierung ist Machtmissbrauch!!


    ...ich kann IMMER Iomega ATAPI ZIPs brauchen - schaut doch mal nach bitte ;)

  • I found the bug above while working on version 2.


    Today I managed to get an experiment sorted for the KBD board. The serial terminal is now managed from Core 1 instead of Core 0 like before, the change is significant because Core 0 is required to be the core that writes to flash as well as manage TinyUSB. With core 1 now handling the terminal, core 0 is free to handle the converting USB keyboard commands to at keyboard commands.


    This may not sound like much but it means that the adapter can be receiving and sending keyboards commands to your computer so your computer can send them back to the adapter over the serial port for the terminal!


    Huzzah!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!