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.01 seconds.

  1. Replies
    9
    Views
    174

    That's not a small motor. This is the small type...

    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...
  2. Replies
    4
    Views
    131

    SDRAM needs about 26 pins to connect to it,...

    SDRAM needs about 26 pins to connect to it, several control lines and an 8-bit databus and 12 or so address bits.
  3. Replies
    5
    Views
    138

    You mention an existing diode, but don't...

    You mention an existing diode, but don't explain...
  4. Replies
    57
    Views
    3,068

    For a strain-guage wheatstone bridge...

    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...
  5. Replies
    24
    Views
    910

    If you want to integrate pulses, use an...

    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...
  6. This is the classic scheduling problem, and a...

    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,...
  7. I guess I was saying either use a standard...

    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...
  8. Replies
    9
    Views
    174

    Indeed you'll never get a stepper to jump to high...

    Indeed you'll never get a stepper to jump to high speed from standstill without speed ramping, unless its a really tiny motor.
  9. Replies
    16
    Views
    327

    Most 'scope front-ends aren't linear enough for...

    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...
  10. Replies
    24
    Views
    910

    10MSPS ADC needs a separate (presumably parallel)...

    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...
  11. Replies
    15
    Views
    380

    All pn junctions are photodiodes and LEDs, if the...

    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...
  12. Replies
    13
    Views
    293

    I think you'll need to do some low-pass filtering...

    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...
  13. The logic doesn't look good in...

    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[Xold] the first time round...
  14. The default volume is 0.3 and 4 x 0.3 > 1.0 so...

    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,...
  15. Replies
    10
    Views
    276

    I'd say should use, not must use :) For low...

    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...
  16. Replies
    13
    Views
    293

    Absolutely not, you'll be driving them into...

    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...
  17. Replies
    13
    Views
    293

    That 33uF on the output of the buffer should...

    That 33uF on the output of the buffer should definitely not be there! Opamps don't drive capacitive loads!
  18. Replies
    10
    Views
    276

    Inductance is measured in henries, not farads... ...

    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...
  19. Replies
    13
    Views
    293

    Ah, xyproblem again. You can't process the...

    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.
  20. Replies
    13
    Views
    293

    The MCP6002 won't do audio, far too slow(*). ...

    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...
  21. Replies
    9
    Views
    182

    Is this a layout issue? Cables too long? ...

    Is this a layout issue? Cables too long? Missing or misrouted ground return wire?
  22. Replies
    90
    Views
    6,260

    If you want to find out more, this is the paper...

    If you want to find out more, this is the paper that inspired me: https://holometer.fnal.gov/GH_FFT.pdf
  23. Replies
    25
    Views
    6,291

    The PCM1808 datasheet clearly shows the analog...

    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...
  24. No, you want to reduce the sampling rate or...

    No, you want to reduce the sampling rate or increase the number of FFT bins or both.
  25. The FFT output is always equally spaced frequency...

    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...
  26. Then you'll need to map your x coord to 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...
  27. Replies
    90
    Views
    6,260

    I'm just trying to correct the common...

    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...
  28. Replies
    90
    Views
    6,260

    Noise floor is measured as power spectral...

    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...
  29. These are CMOS isolators, not opto-isolators, so...

    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...
  30. Replies
    4
    Views
    200

    You do need sin to work reasonably on largish...

    You do need sin to work reasonably on largish arguments though, a classic example being in implementing sinc().
  31. Replies
    22
    Views
    355

    Well if you don't need well defined phase...

    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...
  32. If you followed the forum rule, we might have...

    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...
  33. Replies
    2
    Views
    99

    Like switch-case?

    Like switch-case?
  34. Replies
    22
    Views
    355

    But do you need phase information?

    But do you need phase information?
  35. Replies
    8
    Views
    228

    Ah, I wasn't expecting a +/-15V preamp and +15V...

    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 :)
  36. Replies
    8
    Views
    228

    Make them both a few k. Your phantom power...

    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...
  37. Replies
    22
    Views
    355

    BTW why use FIR for simple audio LP/BP/HP...

    BTW why use FIR for simple audio LP/BP/HP filtering? Do you actually need linear-phase?
  38. Replies
    8
    Views
    228

    The way to protect any CMOS chip from overvoltage...

    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 -...
  39. Replies
    22
    Views
    355

    The documentation for the arm primitives notes a...

    The documentation for the arm primitives notes a restriction on scaling to prevent overflow - this might be why the 200 limit is there?
  40. If you use an array of uint8_t for the top 8...

    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.
    ...
  41. Replies
    22
    Views
    355

    You'd have to edit filter_fir.h to change the...

    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...
  42. Replies
    2
    Views
    110

    Go to the Audio design tool and drag one of the...

    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)
  43. Replies
    2
    Views
    143

    You should be using a library that handles...

    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...
  44. Replies
    5
    Views
    198

    Hmm, that's odd - perhaps this PCB has some...

    Hmm, that's odd - perhaps this PCB has some hardware issue?
  45. Replies
    90
    Views
    6,260

    A bleeder resistor to ground on the outputs will...

    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...
  46. Replies
    5
    Views
    198

    You should be calling codec.lineOutLevel (). the...

    You should be calling codec.lineOutLevel (). the volume method is for headphones only I'm pretty sure.
  47. Replies
    22
    Views
    355

    Both the low-pass and band-pass work perfectly...

    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
  48. Replies
    6
    Views
    169

    I'd suggest using sampling and auto-correlation...

    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.
  49. DXF file format is typically used for 2D CAD,...

    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....
  50. If use use Eagle then Sparkfun have a useful...

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4