Arduino Arpegiator module

schematic and code

http://www.ymnkmusic.com/projects/arpeggiator.php

11 Likes

Nice, I’d want a little more protection on that clock input though.

1 Like

A question, are the 2 GND pin on an arduino need a connection to GND ?
I think about another schem, because he don’t write GND connection on it :

on other arduino project schem i find only the GND pin near Vin connect to GND, the 2 GND pin are connect inside together ?

On the nano, I usually connect just one, the most easy one to connect in that project, and it always worked…
Looking at the schematics, they are connected internally.

1 Like

But remember, that’s for a Nano.
If you are using a bare '328, which has also two GND pins, you need to connect both to gnd…

2 Likes

Think I can get that Nocked up and sent to JLC tomorrow, Try and tag it into the other boards I have in the Pipe Line :wink:

Rob

1 Like

what’s bare’328 ? only the chip ?

2 Likes

Yes. Chip only. Without the board the grounds are not linked.
That said it’s a very forgiving chip for power.

2 Likes

Check out his insta, this guy is building Kosmo! Is he a poster here?

1 Like

@Dud has a similar panel style. @dud is this yours too?

1 Like

thx @eric & @Farabide !

… it’s not me : too many white panel :grin:

4 Likes

I am working on this and have simplified it ( I think )

Using GND rail for the switches and INPUT_PULLUP in the code should allow for all of the resistors to be removed. I hope…

2 Likes

I have left the resistor on the clock, but I will try it without and set Input_Pullup on that.

1 Like

First thing I thought when I had a look at the schematic !
Just wire the switches on D2 … D13 to GND, and invert the value you read.
Furthermore you do not need to use a 78x05. The arduino nano can be powered using the VIN input which can be used for an unregulated 7 to 12 Volts DC.

3 Likes

And they connected the 78x05 to VIN, which is incorrect.

1 Like

Yeah I used +5 in.

Couple of alterations on the schematic for mechanical interface layer…

PCB all but done

3 Likes

I’d use a series resistor and a couple Schottkys to the rails (instead of the series diode and resistor to ground) on the clock input:

image

Yes, the ATMEGA328P has internal protection diodes, but the datasheet nevertheless says maximum input voltage is -0.5 V, Vcc+0.5 V.

Likewise the output pin on the MCP4725 is supposed to be within -0.3 V, Vdd+0.3 V, and output current is max 25 mA, so it should have similar protection. Or buffer with an op amp.

4 Likes

I will take your advice and update the Input.

Revised, just got to update the PCB

4 Likes

I like that approach. It’s elegant and yet belt and braces too. Pinched for my notes. Thank you.

2 Likes