Hi,
So I have a device I'm trying to reverse-engineer and part of it is a small I/O board consisting of a 74165 and 595 with some LEDs and connectors for buttons. Earlier today I poked around with a multimeter and made this schematic out of it:
(edit: This is much smaller than I assumed it would be, imgur link here: Imgur: The magic of the Internet)
J3 and 4 are input headers for three buttons each, J5 connects this board to the main microcontroller board. I have a few questions because it involves features I've not seen before.
-
R14, 15 and 16 (bottom middle-ish) - Why are these outputs pulled down like this? I've only ever seen outputs left floating. The PCB has absolutely no room for more LEDs so I'd be surprised if they're a placeholder for future redesigns, since the board would need to be completely redesigned. In the software these outputs will never go high, so I'm puzzled by this.
-
R18 - I understand this is a pull down, but is it necessary to pull an output down like that? Surely a pull down near the microcontroller's input pin would make more sense for noise immunity, etc.? Is it possible to have a pull down at both ends of the line? I haven't checked the main board yet.
-
C13 - Given that this is to decouple AC noise from the DC supply to prevent resets I just kind of assumed a ballpark figure of 100n (since SMD caps are hardly ever marked). Is there any way I can determine the value of this cap without desoldering it? Is there a sort of rule of thumb about input decouplers such as this or do they follow the same rules as power supply decouplers?
-
It's been a couple of years since I've done any transistor theory, but: R21 and 22 struck me as being a bit high for base resistors, at 500uA I guess they're not but I'm sure I've seen lower values. Assuming an hFE of 100, does that mean Ic would be limited to 50mA? With two LEDs in series, each dropping between 1.8 and 2V, would the calculation for the current through either LED (for D1-8) be (Vcc - (Vf1+Vf2))/R? i.e. (5-4)/75 = 13.3mA?
-
D1, 2, 3 and 4 - Any idea why these LEDs are connected to Vcc and switched on the cathode while the other six are connected to ground and switched on the anode? I can't work that one out. D1-4 are green, D5-8 are yellow and D9 and 10 are red, if that makes any difference - that's why R13 is a higher value too, I assume.
I think that's all for now, everything else makes sense. Thanks!