I’m looking for some help with my project. I am relatively new to this, so I know that my understanding is still quite limited. I am building a clock, using the shift register, which then talks to the ULN2803 and grounds the cathodes on my common anode display.
The Arduino is a pro mini.
I tested my sketch on a breadboard, up to the 595 and gave the 2803 a quick test to make sure it is working, seemed simple enough, though I did something silly and didn’t record what I had done with the 2803 to make it work. At the time it seemed obvious and wouldn’t need to be reassessed.
Attached is how I have the display portion of this clock set up. Differences being that there is a 0.1uF capacitor between ground and power on the 595 and power from pin 10 is linked to pin 16 as demonstrated here.
My reasoning behind this combination was that I already had the 595’s and I knew they couldn’t hold up to more then 70mA total, so after some reading, this seemed like the best shot.
Characteristics are that the ULN2803 grounds always, it is not switching and I thought that perhaps my 595 was burnt out, but I have tried the same grounding, and resistor setup on a breadboard with fresh chips and new LED and am still getting the same response. I set pin 10 as output and digitalWrite it HIGH, and applying this to an input on the 2803 does nothing. However, applying voltage from the voltage rail does dim it, to the point that it is just a tiny glowing dot, but it should be switching completely off when it has an input of 5 volts. I’m not sure what I am looking at entirely, but digital write is working. When it is not applied to anything it reads 3.94V, however when it is applied to the 2803, it reads 0.86V. This is similar to what I am seeing on the 595. The rail on the other hand reads 4.82V when free, and 2.74V when attached to the 2803.
There is some glimmer of hope. When I place a 150ohn resistor on the output of the 2803 to any power as a pull up resistor, the light goes completely off and comes back on when it is supposed to. I can deal with adding pull up resistors. So I guess my problem is, why doesn’t the 595 or my Arduino outputs switch the 2803, but the power rail does, and why isn’t the LED very bright at after going to all this effort. Finally, is it odd to have a pull up resistor on the output? I seem to see lots of them on the inputs.
Thanks for reading, I hope I have given enough information. Happy to give more to fix this problem