missing out bypass caps! Teacher says not to bother adding them
Does anyone else have an issue with this.
Yes. I do.
missing out bypass caps! Teacher says not to bother adding them ... Does anyone else have an issue with this
The teacher is full of KAKA. ...
The teacher is definitely giving you bad advice. Ask your teacher about SSO (simultaneously switching outputs) .
Let's analyze. Assume one shift register is displaying a digit 8. (with the DP) .. all the LED's are turned on, the device output ports are 11111111.
now, remember, all LED's will have a small capacitance, about 20pF maybe.
So you have a logic 1 out of the device, on each QA-QH, through a resister, charging a capacitor that is grounded through the common cathode. It won't take very long to fully charge the LED capacitance.
Now, at this point in time, assume you shift in all 00000000 to this device. Now you have 8 bits that used to be logic 1, all switching to logic 0 at the same time. This is called a Simultaneously Switching Output (SSO), and is evil for EMI and ground bounce.. here's why.. When all 8 I/O pins switch from logic 1 to logic 0, this will quickly discharge all the LED capacitance through the device I/O pins, into the device, and out to ground via the device ground pin. Every single PCB trace, external device, bond wire, metalization, I/O pin, ground pin, solder pad, etc. from the LED capacitance to the ground (
going through the device) will add a small inductance, and that inductance will cause the ground (
as seen by the device!) to bounce quickly and return to zero at each switching of the outputs. And you don't need to be switching all 8 I/O's at once, even half as many, or even one, but the point is the LED display will be updating fast and switching shift register outputs fast and simultaneously.
This is ground bounce, and the di/dt of this bounce is what actually causes EMI. The bounce itself causes problems inside the device, because the device's view of the ground changes (i.e. ground comes up above ground momentarily) This will often causes a small Vcc sag was well.
The result of the ground bounce is that inside the device, signals that are normally referenced to ground can be misinterpreted because the ground is changing.
Bypass capacitors can provide the momentary current surge needed during the hi di/dt of the discharging capacitance (from the I/O pin to ground).
Now, you may get lucky and never run into a problem if you don't use bypass capacitors. But you will almost guarantee no problems when you do.
And that's why your teacher is full of kaka.