Keyboard Teardown and Alkaline Battery Leakages

Had an external Logitech Keyboard stored away in a box. Alas, I left the batteries on them! It leaked to spring contacts and then the circuit. It has corroded a whole most of the Carbon and Copper pads on the circuit. It’s beyond repair and it’s officially dead.

Coming to the teardown, the internals of most keyboards (Non-mechanical switch type) will contain multi-layer plastic sheets with printed silver contacts acting as switches. When you press down, the 2 layers come in contact and a press is registered. It’s usually wired in a row/column approach and it’s polled many times a second to register a press. These sheets are press fitted on Carbon contacts on the main PCB. Carbon contacts are a cheap and reliable way to avoid physical connectors. In the image, you will see them as black fingers on the edge of the PCB. These are driven by Nordic’s old nRF31504 2.4GHz Wireless IC. It has a PCB antenna which communicates to your PC via a 2.4GHz dongle. Few PCB traces are all corroded by the battery leakage. The metal can is a 16MHz external crystal to maintain timing for the chip. It’s a shame that I couldn’t get this working.

Let’s talk batteries now. Why do Alkaline batteries leak? Usually, when left on a product for a long time, the battery discharges and a chemical reaction causes the generation of hydrogen gas, which can break the seal even in good brand batteries. Once the seal is broken, the alkaline electrolyte Potassium hydroxide leaks onto the contacts and it reacts with Carbon dioxide in the air to form your white powder (Potassium Carbonate) which you find on the metal spring contacts. KOH is highly corrosive and it eats away your copper traces. So never keep batteries in your product if you are not going to use them.

Pro Tip: If you have a problem like this and the leakage hasn’t affected the circuit, you can use any mild acid like vinegar to clean those metal contacts and neutralise the white powder and get your device working.

If you liked the post, Share it with your friends!

Back to Basics: Inrush Current Limiters

Inrush Resistors
Inrush Resistors

When designing circuits, one of the key elements that are missed by many designers is the addition of inrush current limiters because they are mostly unaware of its use case. Inrush current as the name implies, is a large flow of current at the power on of a device. When PCBs are designed, we do scatter decoupling and bulk capacitors around the entire board to maintain the power supply stability for individual ICs. There can be massive bulk capacitors which are used specifically in large current applications like motors, audio amplifiers etc. When power is off, think of these as massive empty tanks. When the power is turned ON, there will be a massive surge to fill up all these empty tanks and hence you can expect an order of magnitude of instantaneous current flow in the circuit. So why is this large rush a problem? The large draw will immediately collapse your input power rail momentarily by a big factor, now if components of your circuit are not resilient to these power supply changes it can damage parts or may cause temporary glitches at the startup which may not initially be obvious. Even a load capacitance of 100uF can generate a 6.88A of inrush current which can cause a supply rail to drop 3.3V to 960mV. So it’s not something which can be ignored.

You can fix this by adding two things to your circuit, one is an integrated load switch with an adjustable slew rate which limits the rate of current draw for the downstream components. Adjusting the rate drastically reduces the inrush currents. The second method is the one which you see in most circuits is to use NTC thermistors as limiters. Connected in series, these have high resistance when starting off and as soon as current starts flowing, it heats up and the resistance drops to let more current through. So you effectively slow down the inrush requirement. Both have their pros and cons, so next time do check out the need for these in your circuits while building them.

If you liked the post, Share it with your friends!
1 3 4 5 6 7 19