I did 2 years of electronics, but had to change to electricity due my maths, I learned programming, but never C++. Now i'm learning it to myself, but I just started.
I tried to use the arduino uno R3 to send a pulse of exact 1 second to my HEF4017 johnson decade counter (with digitalWrite, 100 high 900 low, then 10 high 990 low), but for some reason, it doesn't work. (The IC registers a ton of pulses per second) I did not use any transistors, because i'm a little short on them right now. i tried to supply the IC with 9V, but then changed it to 5V because i thought that was the issue. Appearenly not. How do i fix this so I get one pulse registered on my IC? do i perhaps need to place a condencator? or is there a specific code? If the responce is in a code, then please explain it carefully since i probably won't understand much of it elseway.
tried to supply the IC with 9V, but then changed it to 5V because i thought that was the issue. Appearenly not.
Wrong it was an issue and might have damaged your arduino which could explain why it won't work.
My guess is that you have not connected the ground from the counter to the ground on the arduino.
The other thing is you might not have the set and reset lines on the counter in the correct state, but without a schematic who knows.
Every CMOS input has protection diodes that here could have linked Arduino's 5V to
the 9V supply - an Arduino pin must never be taken outside its supply range.
However if you only connected to 4017 inputs that won't be an issue. However it
almost certainly won't work with that ratio of supplies because of the voltage
thresholds for CMOS are in proportion to supply range.
In fact even if you connected to 4017 outputs they have very little current carrying
capacity which reduces the risk of damage.
You need decoupling for the 4017, BTW, but its probably simplest to show us
your circuit in its entirety to avoid confusion and guesswork. And post your sketch
of course.