Anyway the circuit looks plausible, one LED is out, there's a fault which
might be soldering, fried LED, short or open circuit for some other reason,
multimeter will find it.
Note that the way this board daisy-chains is going to prove problematic if
you strings lots of them together, or with long cables. Logic signals aren't
really designed for transmission over long distances and issues like cross-talk
and signal reflection can bite you. You could buffer the through-signals on
the board so that the driving end only has to drive the first board. A hex/octal
non-inverting buffer chip such as 74HC541 would be the simplest way.
Unlike the ubiquitous 74HC244 the 74HC541 has point-to-point bussed
pinout which is simpler to use.
Do you have enough power supply? You aren't trying to run this off the Arduino's 5V output are you?
What is the value of the resistor in series with the LED's? What is the value of the pullup on the OE line?
Sorry about the image. I resized it to 800x800 - did not realize it was that big.
I used resistors of 300 Ohm. Indeed, I have not soldered capacitors yet. First, it was not clear what their value should be, second, if I would use the path without the shift register, I thought it would not be necessary. What should their value be?
Also, I do power the LEDs from the USB suplly. I tried it before on a breadboard, and it was working.
I see, the cap would prevent spurious signals from the LED toggling, toggling the shift chip, and as such the other pins.
I will check that first thing when I am back home. Thanks for the pointer. (Also, I will check the soldering of the shift chip).
Interesting, I soldered the cap (0.4 uF) but the board gets more stable if the GND pin of the shift chip is not floating, i.e. tied to the Arduino GND.
Volts are ALWAYS relative, when not specified they are relative to our planet (yes, the Earth) potential.
In a circuit like yours they are relative to GND (stands for Ground).
Leaving the IC GND pin floating means the chip wasn't capable to provide current to the LEDs and wasn't able to recognize the signals you were sending to it.
Thanks!
The idea of the board is to teach some basic digital electronics, daisy-chaining would be nice for advanced.
My current problem is still the spurious effects of LEDs going on/off, depending on how you touch the board/the soldering contacts. Maybe it is just my soldering skills that need to be improved, and getting the right decoupling cap. I'll play with a fresh board from OSHpark in the next weeks.
My current problem is still the spurious effects of LEDs going on/off, depending on how you touch the board/the soldering contacts.
On the video, I can only see 2 wires connected.
On the schematic: CLOCK, LATCH, SER-IN are not terminated with any pullup or pulldown resistors.
Therefore, at minimum, there should be 5 wires connected for stable operation and to prevent the inputs from floating.
dlloyd:
On the video, I can only see 2 wires connected.
On the schematic: CLOCK, LATCH, SER-IN are not terminated with any pullup or pulldown resistors.
Therefore, at minimum, there should be 5 wires connected for stable operation and to prevent the inputs from floating.
This is what I said in reply #4 I don't think the full implication of what I was pointing out quite sunk in.