This resulted in the following waveforms, yellow being input to the clipping circuit and green being the output the Arduino would read.
These 10000 datapoints were used to create an equation to map the Arduino read voltages to the actual unclipped values:
y = 0.0872x3 - 0.2738x2 + 1.2169x
This trendline has an R^2 of 0.9993
No comments:
Post a Comment