Its saying the control voltage can be 3V to 10VDC. What can that mean other than input 4 can be upto 10V more positive than input 3?
If that's the case, you don't have to worry.
Yes I think so, the risetime of the signal is not instantaneous, and the thresholding will likely be different for each microphone
due to signal level variation. Cross-correlation uses all the information in the...
This is the correct link, https://www.ap.com/blog/fft-spectrum-and-spectral-densities-same-data-different-scaling/
The basic insight is that a discrete spectrum is measured differently from a continuous spectrum...
3V is possibly not safe on low voltage CMOS chips. Many standard multimeters use 0.2V full-scale except on diode mode.
The 56k you see on the powered down chip is because you are back-driving the power through the...
I've not played with the T3.6, but I wouldn't be surprized if you can generate suitable square waves from the PWM units in it?
This thread seems relevant. ...
I think you mean correlation, not convolution (very different things), and secondly its cross-correlation,
an autocorrelation cannot be between two signals!
Let me say it again, FFT plots of signal spectrum are not useful for measuring noise floor, you need a PSD plot for that.
Noise is measured in W/Hz, or V/√Hz, and an FFT bin is typically not exactly 1Hz wide...
Audio is an ac signal, typically I2S audio ADCs have a DC-removal filter built in so the result is strictly zero-centred.
Oddly typical audio DACs are not DC-blocking, which is a problem (if the code crashes and your...
Hmm, perhaps that level shifter isn't able to drive the opto-coupler LEDs properly - can't see any
datasheet for it. Opto coupled inputs probably want 15mA or so, which is more than some logic
devices can output.
...
Sounds like a job for a DDS module, not a microcontroller. Cheap AD9833 module perhaps?
Or you could use square wave output and a high-order low-pass filter on the output to kill the harmonics.
That's not a small motor. This is the small type of stepper: https://www.hackster.io/news/drive-a-tiny-stepper-directly-with-arduino-911571f8cd0e
Try with AccelStepper library and 1000 steps/sec/sec.
Or try 5Hz
...
For a strain-guage wheatstone bridge configuration you need an instrumentation amp to boost the differential mode signal.
There are many instrumentation amps you can get, its basically 3 opamps in a single package.
...
If you want to integrate pulses, use an integrator before sampling. Then you need a much lower sample rate.
The pulse time can be captured with a comparator, the pulse energy by differencing the integrated values...
This is the classic scheduling problem, and a good data-structure to use is a heapsorted list, aka binary heap.
inserts and extracts are O(log(N)) so it scales well to 100's or 1000's of entries, but you'll just need...
I guess I was saying either use a standard Bressenham's or write something cleaner without the arbitrary mix of global variables and
passed arguments. For me a nice clean interface would be a function you pass two...
Most 'scope front-ends aren't linear enough for any kind of audio quality measurement work! They are designed for a large bandwidth with constant group-delay,
and are typically 8-bit so only have 50dB of dynamic range...
10MSPS ADC needs a separate (presumably parallel) ADC chip and you need a datapath for it too, this is high speed acquisition.
FPGA's are often used once you get to these kinds of speeds as the hardware needed can be...
All pn junctions are photodiodes and LEDs, if the material is transparent at the relevant wavelength, since photons generate
electron-hole pairs and recombination can emit a photon (although the probability for this...
I think you'll need to do some low-pass filtering then. Try an RCRC to start with, that might have enough roll-off and
is very simple. For differential RC filter you have two resistors and one capacitor per stage,...
The logic doesn't look good in linearInterpolation... First you are not dealing with any edge cases, such as when X_old == pTS.x.
Second you are overwriting wave1Values the first time round the loop - you should only...
The default volume is 0.3 and 4 x 0.3 > 1.0 so your mixer output is clipping I think. Try 0.25.
Ah, but I think your oscillators are at 0.3 already so that won't be it....
Ah, looked again, you are setting the...
I'd say should use, not must use :)
For low voltage circuitry many old style opamps are bad news as they require dual rail supplies - a modern
true rail-to-rail audio spec'd opamp is a better choice as only a 5V...
Absolutely not, you'll be driving them into slew-rating limiting which is massively distorting (the feedback loop
completely loses lock). Also the step change in input may destroy the front-end of an audio opamp,...
Inductance is measured in henries, not farads... 33µH perhaps?
If you drive audio amp from a switch-mode supply (not recommended), then make sure its one with an
ultrasonic switching frequency (and beware the sort...
Ah, xyproblem again.
You can't process the output of a class D amplifier in the analog domain as its a digital signal.
First you need to low-pass filter the signal.
The MCP6002 won't do audio, far too slow(*). Its an ultra low power opamp, so the bandwidth and slew-rate are woeful.
Your virtual ground reference network, the two 47k resistors, lacks decoupling, so there'll be...
The PCM1808 datasheet clearly shows the analog supply is 5V and digital 3.3V. If a module doesn't have a separate regulator
on it then both voltages need to be brought into the module.
Its always worth checking the...
The FFT output is always equally spaced frequency bins, nothing you can do to change that, you simply want
to present that information recscaled logarithmically. For each x position map to an actual frequency...
Then you'll need to map your x coord to frequency through an exponential function, and use that to decide which FFT bin corresponds
to that frequency. And you'll probably want to interpolate between bins at the low...
I'm just trying to correct the common misconception about noise-floor measurements using the FFT - its very
rarely appreciated that noise isn't measured the same as a single tone. Noise is measured per hertz, and thus...
Noise floor is measured as power spectral density, that plot is showing the power spectrum w.r.t. the loudest tone, so the
-78dB isn't meaningful as a measure of noise, since changing the FFT number of points will...
These are CMOS isolators, not opto-isolators, so standard CMOS input and output behaviour. Outputs good to 4mA from
what I can tell, fine for any logic input. The WS2812 input is just CMOS logic signal.
Each side...
Well if you don't need well defined phase response IIR filters are probably more straight-forward, and if you need several their coefficient
arrays are _much_ more compact.
For simple frequency analysis an FFT is...
If you followed the forum rule, we might have solved this already. One thing to watch out for is correct block handling
in the update() method, always checking for NULL blocks and releasing each (non-NULL) block after...
Ah, I wasn't expecting a +/-15V preamp and +15V phantom, +48V is standard for phantom power, and a 5V rail to rail preamp would be
more usual in a microcontroller context these days :)
Make them both a few k.
Your phantom power circuit will destroy the mike preamp, you don't have diode clamps to protect it from the 48V phantom-power switch transients.
See the diodes here for instance:...
The way to protect any CMOS chip from overvoltage inputs is the standard resistor + 2 schottky clamps to the power/ground rails.
However the audio shield doesn't include this on the line inputs - and they need to be...
If you use an array of uint8_t for the top 8 bits, and pack the remaining bits into a subsiduary array you allow
faster operations on the 8 MSBs of the data, which might sometimes be useful.
Often for sampled data...
You'd have to edit filter_fir.h to change the #define FIR_MAX_COEFFS to be more than 200.
Note the number of taps needs to be even and 4 or more to work with the ARM fir primitive used in filter_fir.cpp (for T4 at...
Go to the Audio design tool and drag one of the sgtl5000's into the frame, you get all the docs displayed.
(It shows AUDIO_INPUT_LINEIN as the value to use)
You should be using a library that handles speed-ramping (acceleration) for steppers - this is essential to smooth operation
of a stepper. The classic library is AccelStepper but there's the TeensyStep library...
A bleeder resistor to ground on the outputs will ensure the output capacitors get charged up properly and avoid the loud crack/thump
on plugging them into some external amplifier. Something like 10k ought to do it.
...
Both the low-pass and band-pass work perfectly for me on T4.0 + audio adapter. You are using the left channel for the low pass?
Shouldn't make any difference
I'd suggest using sampling and auto-correlation if you can't rely on well-timed edges since auto-correlation is powerful at extracting
signal from noise and doesn't care about phase distortion.
DXF file format is typically used for 2D CAD, such as laser cutters and the like, so that's a candidate.
The open source InkScape tool does SVG and can export to DXF and various other file formats.
I've just been...
If use use Eagle then Sparkfun have a useful gerber-generator CAM script for it, https://github.com/sparkfun/SparkFun_Eagle_Settings/tree/master/cam
Some fab houses will accept Eagle .brd files direct (I think...
What bandwidth do you actually need for this - the nRF24L01 only supports 250k/1M/2Mbaud, so its sensitivity is correspondingly poor.
Sensitivity increases with narrower bandwidth, so if you only need 25kbaud (for...
The speaker driver has to match the speaker enclosure, as they are both resonant systems and couple to each other.
The surroundings are another thing entirely - typical rooms trap lower frequencies so there is a rise...
My approach to this problem is to use photo diode in reverse-biased configuration (the fastest), and use a modified transimpedance
amp configuration using multiple pn-diodes to produce a logarithmic response to the...
There's a rule of thumb for speakers - you can't have all three of these qualities, but at most two of them:
1) small speaker enclosure
2) high power efficiency
3) good bass entension
So the usual answer is...
The standard biquad will do upto 8 poles of arbitrary filtering, don't think there's anything to stop you creating an unstable filter using it, but
offhand I've no idea if it behaves well when clipping (ie whether it...
240mAh is a capacity rating, not a current rating. To figure out if the battery can source enough current
you need to know the current rating.
For many batteries you'll see a C value, indicating the ratio between...
Here's one approach:
First a filter layer to generate extra noteOff and noteOn messages/calls to ensure the live note count is <= 5.
Secondly a standard mapping from notes to oscillators which never has to deal...
no idea where you got that from. FFTs always generate entire spectra.
What frequency resolution do you want? The audio lib 1024-point FFT at 44100 samples/second has a bin size of 43Hz (44100/1024).
For...
That 8 pole bandpass will be very peaky as all the poles are coincident, leaving gaps between the
centre frequencies. It might be an idea to derive standard Butterworth poles if you want a flat-topped
bandpass...
Is this simply a consequence of 16 bit intermediate results in the freeverb object? 16 bits is enough for a signal, but not usually
sufficient for complex processing of signals as quantization/rounding errors...
The FFTs in the audio lib are 256 and 1024 point, locked to the sample rate.
One FFT can do the full frequency analysis, then you would apply different frequency windows on
the results to sum power for each target...
General use, NE5532, great all-round performance, very cheap, although its not the best for a low impedance source. For
low voltage rail-to-rail the situation changes all the time, but anything designed for audio...
That's noisy for a studio mic, 10--15dB is more reasonable. At 1m distance you are in studio conditions, and not being a mobile phone mic - there's
perhaps 20 to 30dB path-loss from moving the mic back that far for...
The voltage levels for the chip's I2C bus look to be for 5V logic, not necessarily reliable at 3.3V, note - this
must be an old design...
Don't forget the input bleeder resistors. I'd add RF filtering on the...
Its possible to sum two PM/FM signals to get SSB (or any QAM modulation)
The average phase of the two phase modulators is selected to match the wanted instantaneous
phase, the cosine of half the phase difference...
the code in AudioPlaySDWav seems to do the right thing on stopping, so should be sending zeroes when not playing,
so the clicks are likely to be the actual samples in the files being offset? Have you looked at them in...
Slightly more advanced you can add a bleed resistor and RF filtering:
The 100pF caps would be ceramic and as close to the input socket/connector as possible - if you have severe
problems with RF break-through the...
It vital to prevent out-of-range voltages hitting any pin - this can instantly destroy the chip, or if lucky just that pin.
And for an ac signal you must level-shift it to midrail to see the whole waveform.
...
Need to see all the changes, not just the highlights. Is there a git branch for this? The declaration of
the variable ph64 is crucial to understanding this code.
BTW you should move the switch outside the loop,...
The MAX4466 is _incredibly_ noisy(*) at 80nV/√Hz, completely not a microphone preamp, but sold as such.
This is the problem with using a micro-power device, the other specifications are usually woeful to reduce
power...
The SGTL5000 is designed for use in a cheap mobile phone - the inputs in particular are lowish quality, and the headphone
amp is a high current circuit that is probably imposing ground currents internally to the chip,...
Two points about modulating volume: firstly the modulation value should be ranging between 0 and 1, ie not going negative,
so using a simple sinusoid centred on 0 isn't right.
Secondly the modulation is ideally...
The audio library is interrupt driven in units of blocks, not individual samples. Out of the box its 128 sample
blocks at 44100 SPS, so about 3ms between interrupts. The library auto-configures one of the DACs or...