Question about removing resistors in the 8 step sequencer

I’m attempting this build and have got almost everything done, with intentions of adding the mods from user ‘analogoutput’ once i get it running.

However I am a little confused by the comments regarding the removal of the resistors from the buttons:

wouldn’t removing the resistors mean that when one button is pressed, the ground that all the buttons are on will connect to 5V and therefor connect all 8 buttons to 5v, at the same time?

The way I have ti wired up at the moment is skipping the resistor and due to a few design ‘choices’ It would be a royal pain to add them in, but looking at analogoutputs video on YT, it seems he’s got the resistors on the buttons.

1 Like

Connecting 5V to ground would be a bad idea no matter how many buttons it was done for. The idea is not to take out the resistors and reconnect the ground but to just take out the resistors and not reconnect anything. As shown they’re wired like this:
image
so BUTTON is connected to VCC (+5V) when the button is pushed but is pulled down to ground via the resistor when the button is open.

But inside the Arduino there is a pullup resistor (which can be enabled in the code), so it could be changed to this:
image

Notice the button is now connected to ground instead of VCC. So now BUTTON is connected to ground when the button is pushed but is pulled up to VCC when the button is open. Then of course the code would have to be modified to invert the meaning of BUTTON.

At least that’s how I interpret the comment. But BUTTON_GATE, which connects to an output jack, also gets inverted, it’s on if no button is pressed and off if one is. So unless I’ve missed something it seems to me you’d have to add an inverter before that output.

I left the pulldown resistors in.

5 Likes

ahhh, i see. I think I am going to have to go back and rework things. I kinda assumed that you had done the modifications to remove the resistors in your version.

Thanks for the explanation, it does go some way to demystifying some of this stuff.

Back to scratching my head.

4 Likes