Hey everyone. Long time reader, first time poster. I guess I'll get right down to business.
I have a project that requires, on two separate button pushes, a single count up, and single count down, respectively. I am working from a li-ion supply of 3.7-4.2V, which is fine (I think). This must be a binary counter from 000 to 111. This output will then be redirected to a home-brewed DAC to modulate a laser driver. But that's beside the point.
At the moment, I am working with (and having trouble with) the SN74HC193.
The schematic I was using is shown below:
When I tried this, it didn't work at all as expected! There was no discernible pattern in the outputs. Sometimes it would work, sometimes it wouldn't - would fluctuate on its own without any changes in state.
Then, I tried connecting 14 (CLR) to GND and 11 (LOAD) to VCC. That gave me better results (the outputs seemed to be stable, at least). However, it still wasn't counting properly. It would "randomly" skip counts, etc. Further, upon start-up, it wasn't in the zero state (which I would like).
Is there something I am doing wrong? Am I using the wrong IC? I was thinking of trying out this: http://www.ti.com/lit/ds/symlink/cd74hc192.pdf.
Thanks for reading!
P.S. I did try the search bar, but nothing seemed to adequately answer my questions.
I have a project that requires, on two separate button pushes, a single count up, and single count down, respectively. I am working from a li-ion supply of 3.7-4.2V, which is fine (I think). This must be a binary counter from 000 to 111. This output will then be redirected to a home-brewed DAC to modulate a laser driver. But that's beside the point.
At the moment, I am working with (and having trouble with) the SN74HC193.
The schematic I was using is shown below:
When I tried this, it didn't work at all as expected! There was no discernible pattern in the outputs. Sometimes it would work, sometimes it wouldn't - would fluctuate on its own without any changes in state.
Then, I tried connecting 14 (CLR) to GND and 11 (LOAD) to VCC. That gave me better results (the outputs seemed to be stable, at least). However, it still wasn't counting properly. It would "randomly" skip counts, etc. Further, upon start-up, it wasn't in the zero state (which I would like).
Is there something I am doing wrong? Am I using the wrong IC? I was thinking of trying out this: http://www.ti.com/lit/ds/symlink/cd74hc192.pdf.
Thanks for reading!
P.S. I did try the search bar, but nothing seemed to adequately answer my questions.