as part of an open-source design I'm working on, I decided to include a "heartbeat" LED instead of just a power LED. The idea is that it powers on as soon as the main SBC is powered (it's an Orange Pi Zero 3), and then I can also control it through an i/o pin, which I use to reflect the CPU load as a "heartbeat" (beating faster or slower).
To accomplish this, I'm using an AND gate, tying one input to the SBC's debug UART Tx pin (which is set high around 1 second after power is applied), and the other pin to a regular i/o pin. Both pins have an external pull (up in the case of the regular pin, and down in the case of the Tx pin), both of them 10k ohms. What I liked about this approach is that if I do a software "shutdown" of the SBC, the Tx pin goes low, effectively turning the LED off to signal that the whole gadget can be powered off safely.
Here's the schematic, which at least to me, looks like nothing out of the ordinary.
I've already blown 3 of these AND gates, part number is SN74LVC1G08DBVR-EV, from EVVO semi.
It's powered by the SBC itself, through its provided 3.3VDC rail. Because of how simple this is, I can't think of anything other than the parts being defective.
- The first chip worked just fine for a couple of weeks. It was powered by the 5V rail, which should not be a problem, as the outputs of the SBC are 3.3V. However, when it failed, it also blew up the SBC (I guess the gate shorted its inputs and applied the 5VDC to the SBC pins?)
- Then I replaced the chip (still using 5V) and even without inserting the next SBC, it blew up right away on power up. I really have no explanation for this...
- Then I switched to the SBC's 3.3V rail. This resulted in the next AND gate working fine for a couple hours, and then blowing up. This time, the SBC was unaffected, though.
What am I doing wrong? Should I just try the same gate from a more reputable manufacturer such as TI?
