I am trying to feed an audio signal into arduino. I am aware that I have to add a bias in order to make the signal all positive.
I have checked many sites but nothing seems to work ...
well I have to admit that I am an absolute beginner in electronic so I wonder if there is a "breadboard" schematics for dummies somewhere for solving my problem
First one might ask what are you planning to do with the audio signal once it is avalible to your Arduino? Getting the whole picture might aid in how best to meet your program objective.
I've made a simple oscillator based on arduino with a pot controlling the rate of the oscillator.
Then I fed the output of the LFO from a nord-micro modular into arduino through an analogRead() . By simply adding the values from the analogRead to the rate I was able to modulate the frequency of the signal from the oscillator (...trivial , I know ... but fun ... ). I realized that the LFO from the micromodular is bipolar and arduino cannot read negative voltage. So half of the wave from the LFO is not used to modulate the oscillator.
My idea was to add a constant value to the LFO wave in order to obtain an only positive wave (ie: instead of a wave oscillating between -3 and +3 volts I would like to have a wave oscillating in the range 0 volts to +6).
Once I get it I think it would be easy to manipulate the LFO signal by the software (adding it to the base frequency etc... etc ...)
But nothing seems to work. I still have a bipolar signal on the oscilloscope.
To be honest my ability to read schematics needs to be improved (working on it) for this reason I asked for some kind of "rosetta" pict of a breadboard with a circuit for feeding audio into arduino
ok in the last picture, I think that, because of the Nyquist theorem, I didn't obtain a faithful representation of the sine-LFO fed into arduino.
But it also looks like half of the sine wave is missing.
So what I trying to do is to "add" a costant value to the LFO signal before to feed it into arduino. In this way I should be able to keep the complete shape of the wave.