Connections via Arduino

I am using an Adruino UNO R4 WiFi board. I am building a guitar distortion pedal on a PCB board. Here is what I want to accomplish with the Adriuno.:

Imagine two wires on the circuit that connect to two diodes that are connected in parallel. These diodes are what determines the sound of the applied distortion, once you plug a guitar into the pedal.

But what I want to do is have a number of different options for diode configurations. Let;s imagine we have three sets of diodes. A, B and C

Using the two wires described above, I would like to stream these wires to either A, B or C in order to compare how the distortion sounds depending on the diodes chosen.

So, using the Adruino and its pins, I wonder if I could use the Adruino as the go between to connect to one of the three different sets of diodes (A, B or C).

To use an analogy, we know that sometimes train. tracks are switched so that a train can travel down a set of tracks, but switch to a different set of tracks. Can the Adruino do this in my circuit? Can it facilitate the switching of the two wire leads described above, to one of the three diode configurations?

I would imagine that once this is set up. I would use code to tell it whihc of the three diode configurations to choose.

I need help understanding how to utilize the Adruino pins to accomplish this.

To be as clear as I can, the two leads would come from a PCB circuit, would travel into the Adruino, and then, depending on which Pins I choose in the code, it will be streams to diodes A, B or C, whihc will be found on a PCB circuit.

Thank-you for your time and expertise.

Most of what is called sound is AC. Is this what you are using?

Not sure what you mean by AC. It is being powered by a 9 volt battery.

I’m having trouble understanding how this is connected. An annotated schematic would be extremely helpful.

Taking a SWAG (Scientific Wild-Assumed Guess), it could be popcorn noise (also known as burst noise). This type of electronic noise occurs in diodes and other semiconductor devices. If this is connected to your amplifier, the noise might appear as sudden, random transitions between different voltage or current levels, often sounding like popcorn popping when amplified.

While the Arduino could handle switching, it’s not well-suited for the audio processing part of this problem.

1 Like

Thank-you. Probably wrong approach,

Try searching for this: "guitar effects pedal DIY"

1 Like

The signal that represents the sound is AC. That is it swings high and low about the ground signal.

In order for this not to damage the Arduino (note spelling of this word, I have changed your title to reflect this) then this AC signal is often biased around a mid point between your two voltage rails normally ground and 5V or 3V3 depending on your Arduino type.

How would an arduino be better than a three position switch?

The Arduino would enable me try try various diode combos on the fly without having to hard solder the entry.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.