Hi.
I´ve been trying to get the output from the board of an old joystick, the board uses a 74HC165 shift register but only has 4 out pins: Vcc. Ground, Load and Clock/SerialOut.
The problem I have is that clock and serial out are wired together and I've got no idea how to implement this, as clock is an input and serial is an output. All guides and examples i've seen for this shift register have these pins apart.
How can you tell?
Can you please post a schematic?
If you don't have one, then attempt to reverse engineer the board.
A copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
It would be interesting to understand how this arrangement could work!
Perhaps pull-up/pull-down resistors of different strengths are used, maybe one or two diodes, and/or the microcontroller that reads the data has configurable internal pull-up and pull-down resistors. I can sort-of imagine how it could work, but also some problems!
Thanks to everyone for your answers.
To give more detail, the joystick is an Gravis Blackhawk Digital. It uses a Gameport plug but it has its own way of communicating with the pc using special drivers, so using a gameport adapter doesn't work on it.
The board im refering to in the post is a daughter board housed in the handle, and sends the button inputs to the main board in the base through serial using just 4 cables.
I couldn't find any wiring schematics so i followed the traces by sight to find how it was connected. I'll draw an aproximation and upload it as soon as i can.
Apart from that, I found a reddit post from someone trying the same but it doesn't go into much detail: Reddit - The heart of the internet