I have a cheap MechanicalEagle Z-77 keyboard.

I’d like to replace the wired USB A cable with a USB-C port.

when I open it up, I see the cable is attached like this, with wire colors from the top: red white green black black:

When unclipped, I have this, the 5 pins being labeled “S GN D D VD”:

I find some tutorials about how to do a similar job with soldering. I don’t know how to solder and there is a clip. Can I purchase a USB-C port that will clip into this?

I can’t figure out the name of what this component would be called.

I see some mentioning about resistance and capacitors. I don’t know about these things. What if anything do I need to find out? I don’t know if the info in the soldering tutorials applies the same?

Obviously I am very novice on this topic. If I am missing anything please advise and I will attempt to fill it in.

Here is same device on amazon: https://www.amazon.com/Mechanical-Keyboard-Tenkeyless-Professional-Office-Black/dp/B07ZH7569D

Thank you!

    • imaradio@lemmy.caOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Do you think it matters that the wire colors are in the opposite order?

      In either case, thanks this gets me closer.

        • imaradio@lemmy.caOP
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Do you think so? the letters are the right way up on the USB-C end. Here is how my existing cable looks in comparison:

          The description lists the letters as VCC, D -, D+, GND, SG.

          • Sam Vimes@beehaw.org
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            If the wires are indeed arranged in the wrong order, but would otherwise be work, popping the individual sockets out and rearranging them is actually quite easy. You just need to either pry the little plastic tabs from the the outside or stick a sewing needle inside, and they should slide out fairly easily. If implementing the sewing needle, it often bends the little metal tab out of the way, and you’ll want to tweak it back with the needle before reinserting in the right slot.

            • imaradio@lemmy.caOP
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              OK thanks! It sort of looks like it would be possible but I didn’t want to go too aggressively at the existing cable until I have a replacement.

              The aliexpress seller linked above repeats “The Line Sequence Needs To Be Changed” several times in the description. Maybe this is what that means?

              • Sam Vimes@beehaw.org
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                It’s always hard to decipher poor English, but that does seem possible. If you have a multimeter, plugging the socket into a cable would at least allow you to verify the ground and +5v easily. The data etc pins should be doable too, by using a USB A to C cable, and doing a continuity check to the pins inside the USB A side, which would be easy to look up reliably.

                As far as swapping the wires around in the plug, that’s one of the easiest plugs to do it with. If you do need to, you’ll be able to.