Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MarkT

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    87

    Apparently there are counterfeits of this sensor...

    Apparently there are counterfeits of this sensor around. Do you have an indepedent means to check the output frequency
    such as a 'scope (some multimeters can do frequency too)?

    I believe its 5V...
  2. Replies
    1
    Views
    95

    The typical current draw of the screen is stated...

    The typical current draw of the screen is stated as 9mA. So the 2k2 resistor can't really be powering the display, its probably
    being phantom-powered via the I2C pins which is not a good idea at...
  3. Replies
    28
    Views
    1,201

    You mentioned Matlab before - surely it can...

    You mentioned Matlab before - surely it can generate whatever you want?
  4. Replies
    4
    Views
    183

    No, the latency is a fixed number of blocks, this...

    No, the latency is a fixed number of blocks, this is just like a pipeline.
  5. Replies
    4
    Views
    183

    I've had a quick scan of the code, and I think...

    I've had a quick scan of the code, and I think you need to use two blocks per FFT, so that the overlap
    is 50% of the FFT period - the current code seems to have no overlap.

    BTW a Hann window...
  6. Replies
    1
    Views
    134

    A wide-range bandpass filter is easiest to...

    A wide-range bandpass filter is easiest to realize as a high-pass filter and a low-pass filter chained together.
    Can you generate Butterworth low-pass and high-pass filters? There are many on-line...
  7. Sounds travels much faster in solids than air, so...

    Sounds travels much faster in solids than air, so you may have multiple paths for acoustic energy to travel to your sensors unless
    you go for the shortest path inside the solid target itself? In...
  8. That's what I mean - in software you can...

    That's what I mean - in software you can crossfade instantly as well as gradually.
  9. Thread: Measure mV

    by MarkT
    Replies
    3
    Views
    206

    You need to shift the signal to mid-way between...

    You need to shift the signal to mid-way between the voltage rails. The negative voltages cannot be measured by the ADC,
    and if more than 0.3V or so could damage the chip permanently.

    Normally a...
  10. Replies
    7
    Views
    144

    I'd advise always disabling file-hiding in any OS...

    I'd advise always disabling file-hiding in any OS you use, otherwise it will bite you one day.
  11. IC2 is used as a 4-bit address comparator I think...

    IC2 is used as a 4-bit address comparator I think - and is set by the (jumpers?) you've labelled CON. 2
    Until that matches the 245 won't drive anything - is that what writeBoardAddress(3) is...
  12. Replies
    13
    Views
    1,433

    Well as the MOSFET is logic level I'd expect it...

    Well as the MOSFET is logic level I'd expect it to work at any of those voltages no problem.
    I'd suggest careful checking of your circuit, especially the OUTL connection.

    Note the 100nF cap on...
  13. Like all CMOS chips a pair of Schottky diodes to...

    Like all CMOS chips a pair of Schottky diodes to the rails and a series resistor will do the job of protecting inputs.
    To my knowledge exceeding the rails in the inputs by more than a diode drop...
  14. Replies
    13
    Views
    1,433

    You haven't indicated any Vcc in the diagram so...

    You haven't indicated any Vcc in the diagram so its not at all clear what you mean.
  15. You seem to be turning wav file volume on at the...

    You seem to be turning wav file volume on at the same time as microphone volome on, rather than cross-fading -
    I thought you wanted to cross-fade between them?
  16. Replies
    1
    Views
    114

    That chip is limited to 10MHz SPI, you need to...

    That chip is limited to 10MHz SPI, you need to ensure the Teensy version sets the SPI clock speed to <= 10MHz.
    The Uno is physically imcapable of clocking faster than 8MHz so it won't see this...
  17. Which module? Is it I2S master or slave?

    Which module? Is it I2S master or slave?
  18. But only in the abbreviated form... Hz stands...

    But only in the abbreviated form... Hz stands for hertz, N for newton, A for ampere. This distinquishes the unit from
    the person (as in "the newton (N) is named after Newton").

    There is one...
  19. Replies
    27
    Views
    628

    Grounding the input means connecting it to ground...

    Grounding the input means connecting it to ground (0V normally). Gnd is short for ground
  20. Add an AudioInputI2S and connect it to channels 2...

    Add an AudioInputI2S and connect it to channels 2 on both mixer1 and mixer2.

    Initialize the sgtl5000 to use microphone input and configure the mic gain as necessary. By turning the channel 2...
  21. Replies
    10
    Views
    398

    The outputs are not designed to be continuously...

    The outputs are not designed to be continuously shorted even in current limited modes, so always use a resistor with an LED.
    The configuration of output currents is about reducing EMI, not driving...
  22. Forum rule is there for a reason... Post your...

    Forum rule is there for a reason... Post your current code and explain what's not working?
  23. Replies
    11
    Views
    325

    Well I think its various lines of code, the setup...

    Well I think its various lines of code, the setup for I2S hardware could be copied from the I2S classes and the BCLK changed to
    16 per sample from the 32 per sample used by the audio library. What...
  24. Uses half as much memory and nearly twice as fast...

    Uses half as much memory and nearly twice as fast I suspect. An N-point FFT with real inputs can be done using an N/2-point complex FFT
    using some clever pre- and post-processing.

    An N-point...
  25. It has various logic to set the mode variable,...

    It has various logic to set the mode variable, and then updates various mixer gains dependent on the mode.
  26. Replies
    9
    Views
    433

    An audio device with nothing plugged in is going...

    An audio device with nothing plugged in is going to see the thermal noise from its internal load resistance, which can be considerable if this is
    the standard value (50k). With a low-impedance...
  27. The internal clock speed of a processor is often...

    The internal clock speed of a processor is often higher than the speed the GPIO pads are clocked, since those aren't in the
    low voltage core of the chip which has the fastest speed. This is why...
  28. OK its not line endings then, but taking another...

    OK its not line endings then, but taking another look this is a worry:


    client.println("Host: https://eu-central-1-1.aws.cloud2.influxdata.com");

    Since the Host line takes a domain and port...
  29. Yes, you use a mixer to combine them as I said. ...

    Yes, you use a mixer to combine them as I said. You can choose whatever combination you like - the mixer is just an audio mixer with
    control inputs from 0 to 1 representing the range of movement in...
  30. Perhaps that's not generating valid HTTP headers....

    Perhaps that's not generating valid HTTP headers. Every line in an HTTP header _must_ end with \r\n, including the blank line at the end of the headers.
    I don't know if the EthernetClient library...
  31. Replies
    9
    Views
    433

    Could it just be clipping that you are...

    Could it just be clipping that you are experiencing? The Audio shield inputs have a limited voltage range they can tolerate
    (somewhat less than 3.3V peak-2-peak) before they clip, and once above...
  32. Its a decoupling capacitor so the value isn't...

    Its a decoupling capacitor so the value isn't critical. The polarized symbol on the schematics is a known inaccuracy, they are all MLCC's (there isn't room for anything else)
  33. Perhaps use a mixer with the mic input and synth...

    Perhaps use a mixer with the mic input and synth waveforms as inputs, allowing switching/crossfading between these sources?
  34. Just feed an attenuated sample of the TX coil to...

    Just feed an attenuated sample of the TX coil to the other channel and you can compare the phases between channels perhaps?
  35. Since the system samples at 44100Hz, 22kHz is...

    Since the system samples at 44100Hz, 22kHz is indeed the maximum frequency supported by the Audio library, in its out-of-the-box configuration. Increasing this is possible, there are various threads...
  36. Replies
    2
    Views
    211

    The AudioOutputI2S2slave class is work in...

    The AudioOutputI2S2slave class is work in progress I think - its commented out in the sources at the moment.

    The classes are named from the Teensy's point of view - ie the slave classes work with...
  37. I guess that's perfectly possible - you'd need to...

    I guess that's perfectly possible - you'd need to ensure suitable scaling of the received signal to the right level for best sensitivity without clipping too readily.
  38. Replies
    4
    Views
    241

    Or I think you can use AudioOutputI2S and...

    Or I think you can use AudioOutputI2S and AudioOutputI2S2 together if on an Teensy 4.x
  39. Pretty sure it doesn't from what I've seen here...

    Pretty sure it doesn't from what I've seen here (not played with it myself)
    USB doesn't run on a 44.1kHz clock, so I presume it can't do the timing for the library like the I2S hardware.

    If you...
  40. Replies
    7
    Views
    266

    FYI: surface mount resistors are identifiable as...

    FYI: surface mount resistors are identifiable as they are nearly always black on top with white printing on them
    showing the value (unless really tiny) they also have metal endcaps.

    Brown/tan...
  41. You need at least one class that generates...

    You need at least one class that generates regular interrupts to fire up the whole audio library - try adding one of
    the I2S classes. I suspect the mono and stereo analog inputs differ in this.
  42. The DMG3406L is only rated for 4.5V gate drive,...

    The DMG3406L is only rated for 4.5V gate drive, but will probably work at 3.3V (for these low currents).
    You need to use a switching configuration when switching, ie a common-source circuit with the...
  43. Replies
    196
    Views
    39,246

    Its all too credible that just-in-time supply...

    Its all too credible that just-in-time supply chains are very brittle to unexpected disruptive world events,
    since by its nature nearly everything is on the critical path leading to cascades of...
  44. Replies
    5
    Views
    417

    You can use the main high current wiring as a...

    You can use the main high current wiring as a shunt, basically tapping into it at two points for a Kelvin connection. This isn't
    ideal as the tempco. of copper is quite high compared to most...
  45. Replies
    11
    Views
    512

    A bare FFT produces an amplitude spectrum - the...

    A bare FFT produces an amplitude spectrum - the values are related to the power in each frequency bin, so more level
    means larger values. If you want to normalize this somehow you have to decide...
  46. Replies
    2
    Views
    312

    Audacity has 0dB as full scale, no headroom. ...

    Audacity has 0dB as full scale, no headroom.

    WAV samples are signed unless 8 bit, IIRC. For 16 bit that's +/-16384 for -6dB.

    I just use wav files and chop the header off if needed raw.


    ...
  47. Replies
    11
    Views
    512

    You always need to call AudioMemory - perhaps...

    You always need to call AudioMemory - perhaps look at a working example program for the Audio library, there are several preloaded into the IDE
  48. The problem was the LED current was sharing the...

    The problem was the LED current was sharing the same ground wire/connections as the audio signal. Wires have resistance
    (a few milliohms per inch or so, but depends on the gauge of course),...
  49. I don't see the problem, an array of voltage...

    I don't see the problem, an array of voltage dividers into an 8-channel ADC does the job, nice and simple. Yes you
    need suitable precision to address the dilution of precision, but its not like...
  50. Not sure I can figure out what you'd done without...

    Not sure I can figure out what you'd done without a circuit diagram....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4