For future reference this is a lot easier to do these days with block programming
languages, like Ardublock, mBlock, Scratch4Arduino, Snap4Arduino....
without using Arduino or any other programming tool
Emphasis on the word "future"in my post, no disconnect there.There's a communications problem here.
The OP was pretty specific in excluding Arduino and programming.Emphasis on the word "future"in my post, no disconnect there.
Just showing ease. flexibility, this can be accomplished with non traditional programming,
for "Future" designs.
And nowhere do I see mention of switch debouncing. It’s a significant requirement.The OP was pretty specific in excluding Arduino and programming.
A microcontroller based solution still requires 4 transistors to drive the relay coils and a switch. If the OP comes back again and wants a microcontroller/programming solution your response would be relevant, but not before then. That's a communications problem in my opinion.
Maybe what we really disagree here is about showing people other possibilities, I am certain thats not a desiredThe OP was pretty specific in excluding Arduino and programming.
A microcontroller based solution still requires 4 transistors to drive the relay coils and a switch. If the OP comes back again and wants a microcontroller/programming solution your response would be relevant, but not before then. That's a communications problem in my opinion.
I concur + 4 diodes + 4 R's Or a one chip quad relay driver with all that inside. The switch of course can be a capsenseA microcontroller based solution still requires 4 transistors to drive the relay coils and a switch.
The block language solution debounced the switch with the two lines of wait code and pin testAnd nowhere do I see mention of switch debouncing. It’s a significant requirement.
And if that block programming tool includes switch debouncing, it’s not obvious. Hence, a necessary skill is going to be ignored.
That’s a problem, especially for a noobie programmer. If such a basic concept is hidden, the first time the noobie needs to program something on his own, he’s in for (what is called) a rude surprise. I wouldn’t be as critical if in the building blocks were included a construct named “debounce”.
You guys are great! Many good alternatives.
I think the slow rise time signal present at the pin with the 1 uF hung off it an issue. UnlessBelow is the LTspice simulation of a CD4017 circuit as dl324 suggested.
I sequences through four outputs for each push of the SW push-button.
The transistor driver must be repeated three more times for four relays total.
The circuit will operate for up to a 15V supply.
View attachment 183485
Thanks for your reply. We’ve had this conversation before. YOU knew that the debounce was included. But, no one else (ok, maybe me) had a clue!The block language solution debounced the switch with the two lines of wait code and pin test
inherent in the two lines of code used. I forgot to add a comment with the word "debounce"
shown. My fault.
Regards, Dana.
HiGood day people, please am building a charger with 12v, 24v 36v and 48v tappings. I have a problem of how to make a tapping work at a time with a switch without using Arduino or any other programming tool.
by Duane Benson
by Jake Hertz
by Don Wilcher
by Jake Hertz