# 8-Step Arduino Sequencer

**URL:** <https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467>\
**Category:** KOSMO MODULES\
**Created:** [March 28, 2020, 4:28pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467 "2020-03-28T16:28:15Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Farabide](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Farabide](https://lookmumnocomputer.discourse.group/u/Farabide)\
**Post date:** [March 30, 2020, 11:18pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/41 "2020-03-30T23:18:06Z")

</div>

Any unused ports on a chip or arduino can create odd effects sometimes. It can be good practice not to leave a "loose’ connection based on previous projects and what I’ve read. I am not an expert in this area; learning like you. Just trying to give you a steer.

---

<div class="post-metadata">

**Author:** ![Jokke](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jokke/32/28866_2.png) [@Jokke](https://lookmumnocomputer.discourse.group/u/Jokke)\
**Post date:** [March 31, 2020, 10:04am UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/42 "2020-03-31T10:04:25Z")

</div>

Thanks! It works! Added an extra pull down resistor on the reset switch… Now everything is working great!

Edit: yelled too early. Clock in is still being weird without me touching ground… Looking for some more pull down resistors to place. Trial and error…

Edit: edit: Now I really think it works. Think I put the pull down resistors wrong, or the schematic is wrong or … Put the resistors after the diode… Not on the jack. of all the pull down resistors.

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 6:19pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/43 "2020-03-31T18:19:44Z")

</div>

What exactly did you do, re wired my arduino pcb today no switches in the equation but otherwise exactly as Schematic. Get good behavior as long as I’m holding the panel but freaks out when I let go.

 ![image](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/7/716f00822ece829784d2e3aeb8df1b5c8c799741.jpeg)

---

<div class="post-metadata">

**Author:** ![Jokke](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jokke/32/28866_2.png) [@Jokke](https://lookmumnocomputer.discourse.group/u/Jokke)\
**Post date:** [March 31, 2020, 6:25pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/44 "2020-03-31T18:25:07Z")

</div>

Well I can’t see it in this picture. But if you look at your input jacks, There’s a diode and 10k resistor at the jack. They look to be both connected at the jack… However I placed the resistor AFTER the diode. So the pull down resistor can actually pull down the resistance… At least that’s how I understand it now. Because otherwise the diode is blocking the current flow.

If my wording is too vague… I’ll post a picture.

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [March 31, 2020, 6:49pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/46 "2020-03-31T18:49:58Z")

</div>

I’m not crazy about those diodes anyway. I think they’re meant to protect against negative inputs, but I think Schottky diodes to ground and Vcc would be better. The Arduino already has protection diodes so they’re probably optional, but I’d probably use them anyway.

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 6:50pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/47 "2020-03-31T18:50:27Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/0/032a47e1f79d7c5e7df6d903dbd366a7fe1db540.jpeg)

So you just moved the three resistor legs eh? Gonna try lol

---

<div class="post-metadata">

**Author:** ![Jokke](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jokke/32/28866_2.png) [@Jokke](https://lookmumnocomputer.discourse.group/u/Jokke)\
**Post date:** [March 31, 2020, 6:51pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/48 "2020-03-31T18:51:46Z")

</div>

Yup! That solved it for me… The switch still skips sometimes… And gate doesn’t seem to work… But all the rest is working great.

---

<div class="post-metadata">

**Author:** ![Caustic](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/caustic/32/15588_2.png) [@Caustic](https://lookmumnocomputer.discourse.group/u/Caustic)\
**Post date:** [March 31, 2020, 7:10pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/49 "2020-03-31T19:10:54Z")

</div>

Its got separation anxiety!

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 7:16pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/50 "2020-03-31T19:16:45Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/2X/3/36917c46b26d6852a65c75dec799e895db8b3731.jpeg)

Yep fixed it for me. Thanks a lot bro! What’s wrong with your gate?

---

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [March 31, 2020, 8:28pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/51 "2020-03-31T20:28:01Z")

</div>

Interesting picture. What is that equipment I see in the background?

---

<div class="post-metadata">

**Author:** ![Jokke](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jokke/32/28866_2.png) [@Jokke](https://lookmumnocomputer.discourse.group/u/Jokke)\
**Post date:** [March 31, 2020, 8:35pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/52 "2020-03-31T20:35:02Z")

</div>

Well, individual gates give about 3.5v… Which doesn’t trigger my Korg ms-20… Apparantly. the general gate gives a constant 0.5v . Probably hooked up something wrong there… Maybe the 3.5v is normal? We’ll see… Had some fun with it this evening… Some sequenced filter action!

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [March 31, 2020, 8:45pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/53 "2020-03-31T20:45:58Z")

</div>

3.5V would not be normal from a 5V Arduino…

---

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [March 31, 2020, 8:52pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/54 "2020-03-31T20:52:35Z")

</div>

Maybe this is a matter of long wires on your pcb that pick up an electromagnetic field.  
Are there any wires that are connected to switches that do not have pull up or down resistors added to them, either in physical form or within the arduino? Those might be ‘ill’ defined with unknown states and prone to respond to any electromagnetic field.

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 9:31pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/55 "2020-03-31T21:31:39Z")

</div>

Right so, the pull down situation at the jacks is solved. It’s moving along correctly. I just put the switches back in and getting problems again. There are no resistors on the switches. In this case a pull up since the switch is just connected to 5v?

---

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [March 31, 2020, 9:46pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/56 "2020-03-31T21:46:19Z")

</div>

Can I have a look at the schematic somewhere?

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 9:46pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/57 "2020-03-31T21:46:53Z")

</div>

> **[STUFF - LOOK MUM NO COMPUTER](https://www.lookmumnocomputer.com/projects#/sequencer-keyboard)**
>
> Click on the images for more info on the projects, this is a work in progress and will build on the pages as i go.

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [March 31, 2020, 9:47pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/58 "2020-03-31T21:47:38Z")

</div>

No. You use a pullup or a pulldown at an input to define what voltage should be seen if there’s no input present. The switches aren’t inputs, they just feed 5V to the same place the input jacks go. In the center position they don’t connect to anything so shouldn’t cause problems, and when you flip them one way or the other they connect +5V to the Arduino pin, and that shouldn’t cause problems either, unless there’s something wrong with the +5V connection to the switch.

---

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [March 31, 2020, 9:49pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/59 "2020-03-31T21:49:22Z")

</div>

Have you taken note of this: “REMEMBER TO SOLDER THE RED WIRES TO THE ARDUINOS 5V PIN. AND THE GREEN WIRES TO THE GROUND PINS!”

Particularly all the switches are interconnected with a red line, which leads nowhere in the schematic. But that is probably what the remark is for.

---

<div class="post-metadata">

**Author:** ![CTorp](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/ctorp/32/15023_2.png) [@CTorp](https://lookmumnocomputer.discourse.group/u/CTorp)\
**Post date:** [March 31, 2020, 9:51pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/60 "2020-03-31T21:51:44Z")

</div>

Yep yep all connected. First I ran it without the switches and just had the jacks go straight to arduino. Works good. Put the switches and no good

---

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [March 31, 2020, 9:52pm UTC](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467/61 "2020-03-31T21:52:49Z")

</div>

According to the schematic each button should be connected via a resistor to the GND and a diode to the keyboard gate, the other side of the button should be connected to +5V. Is that the case in your build?

[Previous page](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467.md?page=2)

[Next page](https://lookmumnocomputer.discourse.group/t/8-step-arduino-sequencer/467.md?page=4)
