Registry shifter issue concerning LED's (3min20sec)

  • Thread starter Thread starter thatsmessedup
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting an issue with a 74HC595N bit shifter IC in a DIY electronics project, specifically related to LED behavior and clock signal integrity. Participants explore various potential causes and solutions, including circuit design considerations and component placement.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes issues with clock ringing or ground bouncing, suggesting the addition of a capacitor to mitigate these effects.
  • Another participant reports that attempts to add capacitors have not resolved the issue and questions whether an oscilloscope is necessary for further diagnosis.
  • A request for a circuit diagram is made, along with inquiries about the power supply's stability and potential shorting caused by LED placement.
  • Concerns are raised about double clocking, with suggestions to test the clocking behavior upon button press and release, and to add resistance in series with the LED.
  • Specific recommendations include placing a bypass capacitor across the shift register, adjusting pulldown resistor values, and filtering switch bounce with a Schmitt trigger.
  • A participant shares a crude schematic and a photo of the setup, prompting further technical advice on grounding and component placement.
  • One participant expresses gratitude for the suggestions and notes that moving the Vcc pin to a shared positive rail resolved the issue, though they are unsure why this change was effective.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the exact cause of the issue, but there is agreement on the importance of circuit design and component placement. Multiple competing views on troubleshooting methods and potential solutions are present throughout the discussion.

Contextual Notes

Limitations include the absence of a detailed schematic and the reliance on anecdotal troubleshooting experiences. The discussion reflects varying levels of expertise among participants, which may influence the proposed solutions.

thatsmessedup
Messages
27
Reaction score
0
Please see the youtube video. I am relatively new to d.i.y. electronics and am a little befuddled at this issue I am having with my 74HC595N bit shifter IC.
 
Engineering news on Phys.org
clock is ringing or grounf is bouncing. Grounds are sloppy. LED causes more switched current so inductance has more effect. Try adding a small capacitor to the clock input or somewhere else to reduce the ringing or ground bounce.
 
I tried adding different value capacitors to the switch and various other places. It either had no effect or made it worse. I tied putting the cap between ground and positive, before and after the switch but nothing seems to fix the issue. Do you have any other suggestions or is this something I will need to have an oscilloscope to figure out?
 
It would help to see a circuit diagram that shows the two places you connected the LED.

What is the power supply? Is it adequately smoothed?

I wonder if your "wrong" LED position is somehow momentarily shorting out the power supply rails when you press the switch, and the glitch in the supply voltage is causing the chaos in the shift register.
 
I agree --- I am making blind guesses without a schematic. It is obviously double clocking. Does it clock twice when you press, or once on press and once on release?

Put some more resistance in series with the LED. Again, just blind guessing.

Post a schematic and photo so we don't have to go to youtube.
 
too lazy to do a real schematic?

1. You need a 0.1 bypass across the shift register VDD and gnd. Don't use leads to connect it. Just put it over the IC.
2. When you have a 10K pulldown, the fall time when you release the button is slow. With 330 it is fast and either rings or is fast enough for the switch bounces to get through.

3. Switches bounce, causing multiple clock pulses. Usually one filters the heck out of them and uses a schmitt trigger to square up the edges. Look up switch bounce.

4. Adding a cap at the LED will do nothing. Add 100 ohms in series with the clock pin and a capacitor to ground at the clock pin. Or, just add a cap at the clock pin with no resistor. Experiment with the cap size. T=RC

Digital logic is very fast. Use the shortest possible ground. (you have a long inductor as a ground and power supply)
 
Thank you meBigGuy. I will try your suggestions. Also, I am not lazy just new to drawing schematics.
 
OK, all is working now! I added a cap between the ground and vcc of the IC and it helped a little. What really did the trick though was moving the vcc pin of the IC to the shared positive rail of all the other components instead of using the rail at the bottom of the breadboard. I am not sure why this fixed the issue but all is 100% working now.

http://i.imgur.com/d9YhUdj.jpg
 
Last edited:

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
4K
  • · Replies 49 ·
2
Replies
49
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
29
Views
2K
  • · Replies 26 ·
Replies
26
Views
7K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
11K
Replies
8
Views
2K