Pancra85
Junior Member level 1
I made a little synth with Arduino (atmega328 standalone really) and it works very good but has one problem.
When Arduino outputs midi notes or clock it makes a *click* noise for each byte (clock is a constant stream of clicks and notes are a little louder click), midi output not pictured in schematic.
Also when Arduino gets midi notes on midi input when the synth audio output is off (gain=0) I can hear the *clicks* the same way.
If I disconnect RX from the midi part it stops doing it.
They are not that loud, as I said, I can only hear them when the audio output is off, but when amplifying the output on another stage it gets louder and they are annoying.
It's making me crazy, I don't know what to do anymore.
I know it has nothing to do with the atmega328 code itself, because if I load another code (led blink for example) it still does it.
If I disconnect AGND from GND it stops that but the clicks come back later.
I also tested this on a PCB design of my (poorly designed) that has this chain: Arduino -> LPF -> Delay -> Amp.
If I disconnectAnd I noticed that every stage of the chain has that noise, for example if I close the LPF, the *clicks* are still heard within the delay. Even if I just connect just the LPF,Delay and Amp part.
ITS LIKE THE MIDI SIGNAL IS PARASITING THE ENTIRE CIRCUIT!!
Thanks!
When Arduino outputs midi notes or clock it makes a *click* noise for each byte (clock is a constant stream of clicks and notes are a little louder click), midi output not pictured in schematic.
Also when Arduino gets midi notes on midi input when the synth audio output is off (gain=0) I can hear the *clicks* the same way.
If I disconnect RX from the midi part it stops doing it.
They are not that loud, as I said, I can only hear them when the audio output is off, but when amplifying the output on another stage it gets louder and they are annoying.
It's making me crazy, I don't know what to do anymore.
I know it has nothing to do with the atmega328 code itself, because if I load another code (led blink for example) it still does it.
If I disconnect AGND from GND it stops that but the clicks come back later.
I also tested this on a PCB design of my (poorly designed) that has this chain: Arduino -> LPF -> Delay -> Amp.
If I disconnectAnd I noticed that every stage of the chain has that noise, for example if I close the LPF, the *clicks* are still heard within the delay. Even if I just connect just the LPF,Delay and Amp part.
ITS LIKE THE MIDI SIGNAL IS PARASITING THE ENTIRE CIRCUIT!!
Thanks!