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. I think the problem is connecting the analog pin...

    I think the problem is connecting the analog pin to the whole typewriter frame - this will pick up a lot of noise due to
    its large capacitance to the surroundings (ie pick up loads of mains hum).
    ...
  2. Replies
    4
    Views
    90

    It wouldn't be ethernet compliant of course, but...

    It wouldn't be ethernet compliant of course, but I suspect for short cable runs you could get away with it, until someone plugs the cable into a PoE sender that is.
  3. The 4051 is an analog multiplexer, not a shift...

    The 4051 is an analog multiplexer, not a shift register, meaning it can route signals agnostic of whether they are
    inputs or outputs. No shifting happens.
  4. Replies
    2
    Views
    54

    Sugru is listed as having a thermal conductivity...

    Sugru is listed as having a thermal conductivity of only 0.189 W/m/K, which might be an issue.
    Thermal potting compounds are available with much higher conductivity.

    Also I found:...
  5. I know 87kHz is used for cave rescue services in...

    I know 87kHz is used for cave rescue services in the UK, its probably licensed for single-sideband only - many "public use"
    bands have bandplans that prescribe the modulation types, duty cycles and...
  6. HTTP requires "\r\n" as a line ending for every...

    HTTP requires "\r\n" as a line ending for every header line and for the mandatory blank line before the content body.

    So change lines like:


    client.println("POST...
  7. https://github.com/PaulStoffregen/Audio/pull/400...

    https://github.com/PaulStoffregen/Audio/pull/400

    Not sure about shortnames - it currently uses the id I think which has the Audio class name embedded in it, or similar.
  8. Forgot to declare pullups? I don't think you...

    Forgot to declare pullups?

    I don't think you mean noise - be aware of the difference between noise, interference and signal - here you have a signal
    you want to sense I think - but its unclear
    ...
  9. Can you fix the malformed code and use code tags...

    Can you fix the malformed code and use code tags please - no easy way to copy/paste that....
  10. This is because the matching is case sensitive...

    This is because the matching is case sensitive and you didn't type "Delay" - not a great user experience...

    Line 152 in gui/red/ui/palette.js needs to be changed from


    var re = new...
  11. Replies
    24
    Views
    361

    Well the diurnal variation can be 20C in...

    Well the diurnal variation can be 20C in temperate areas and 60C in a desert,
    and a summer thunderstorm is a large and rapid cooling event in a metal enclosure.
  12. Replies
    65
    Views
    17,714

    Chipset heatsinks typically come with suitable...

    Chipset heatsinks typically come with suitable adhesive already - I measure on a T4.0 that there's a 20mmx12mm area clear of obstructions,
    can probably cut down a chipset heatsink for that.
    ...
  13. Replies
    6
    Views
    157

    The official library is 16 bit throughout, though...

    The official library is 16 bit throughout, though some people are working on branches that extend to higher bitdepth -
    have a search around, theres a few active threads on these IIRC.

    The...
  14. Replies
    24
    Views
    361

    That gave me a shock till I realized you mean...

    That gave me a shock till I realized you mean Farenheit. Electronics uses degrees C, read any datasheet.
    75 degrees C doesn't sound too bad. I mean you'd like it to run cooler if possible, but...
  15. Replies
    4
    Views
    162

    You don't have to provide the maximum rated...

    You don't have to provide the maximum rated current to an LED - in fact today they are so efficient that
    this is usually blindingly bright.

    Try 1mA to 5mA range - some experimentation may be...
  16. It strikes me a LA with dual comparator sets...

    It strikes me a LA with dual comparator sets would be able to show trapezoidal waveforms fairly accurately and indicate fault
    conditions (static and dynamic discipline violations). Just having a...
  17. Yes, that's the issue I think, with 100MHz...

    Yes, that's the issue I think, with 100MHz bandwidth you'll see
    25322
    for SCLK at 5MHz

    That LA's analog mode uses much slower ADC that has 12 bit resolution - the digital channels are fast but 1...
  18. Looks like you are using the analog inputs (BW...

    Looks like you are using the analog inputs (BW 5MHz), rather than digital inputs for this.
  19. If you want to generate very high frequency PWM...

    If you want to generate very high frequency PWM perhaps?

    I've used limited resolution PWM at high speed to allow noise-shaping for instance. The noise
    shaping has the side effect of increasing...
  20. Replies
    9
    Views
    276

    Some but not all audio objects can use a...

    Some but not all audio objects can use a different power-of-two for the samples per block - I know the FFT
    objects assume 128, but many are agnostic. I would risk lower than 8 though and often the...
  21. Replies
    516
    Views
    372,876

    This will be capacitive coupling issues I think -...

    This will be capacitive coupling issues I think - ADC input sample/hold caps on modern silicon are only a few pF.
    If you want noise-free ADC operation you may have to stop the processor to eliminate...
  22. Replies
    9
    Views
    764

    Here's a crazy(?) thought: Low temperature...

    Here's a crazy(?) thought: Low temperature solder paste squeegeed on the holes for the pins, oven reflow... Header
    pins are unlikely to see any high temperatures, and a low temperature oven cycle...
  23. Replies
    23
    Views
    328

    Only one variable is needed: uint32_t...

    Only one variable is needed:


    uint32_t count = 0 ;
    count -= ARM_DWT_CYCCNT;
    ... code to time ...
    count += ARM_DWT_CYCCNT;

    Using the -= allows discontinuous time periods to be summed...
  24. Replies
    45
    Views
    917

    C#? Garbage collection overhead perhaps?

    C#? Garbage collection overhead perhaps?
  25. Replies
    2
    Views
    106

    You simply record 10 values per second, being the...

    You simply record 10 values per second, being the counts at 0.0s, 0.1s, 0.2s etc, and when a new value comes in take
    the difference from the one 1.0s ago. Display can update every 0.1s, the counts...
  26. Replies
    33
    Views
    1,342

    The resistor needs to be small enough to prevent...

    The resistor needs to be small enough to prevent the output straying from the compliance range, which is typically less than a diode drop.
  27. Replies
    45
    Views
    917

    UDP is best thought of as Unreliable Datagram...

    UDP is best thought of as Unreliable Datagram Protocol, even though it stands for User Datagram Protocol!

    Reordering, packet loss, packet duplication, all can happen with UDP. Its not intended...
  28. Thread: Teensy 4.0

    by MarkT
    Replies
    6
    Views
    259

    That chip seems to support I2C fast mode - are...

    That chip seems to support I2C fast mode - are you already using this?
  29. https://www.pjrc.com/store/header_14x1_d.html...

    https://www.pjrc.com/store/header_14x1_d.html
    Are recommended, but standard male to female headers leave plenty of room and allow access and stacking with other
    boards if you need to.
  30. Clearance between the boards?

    Clearance between the boards?
  31. Replies
    45
    Views
    917

    Actually people don't really hear jitter, they...

    Actually people don't really hear jitter, they hear the spurious tones due to jitter corrupting the spectrum - jitter
    causes intermodulation with the signal tones, and if the intermodulation...
  32. Replies
    33
    Views
    5,323

    Instability is one possibility as I stated, the...

    Instability is one possibility as I stated, the headphone ground output is not meant to be loaded w.r.t. real ground, it seems it might be
    the output from an internal opamp on the chip AFAICT, which...
  33. Replies
    41
    Views
    3,199

    The output of the filter should be float or at...

    The output of the filter should be float or at least fixed point, not integer, the correct solution to your problem is to
    add hysteresis to your thresholding I think. The steady state ought to be...
  34. Replies
    6
    Views
    197

    Its a fundamental trade-off - the bandlimited...

    Its a fundamental trade-off - the bandlimited waveforms use table-driven sinc-interpolation, which is the fastest way
    I could find to implement a good quality interpolation (all spurs well down to...
  35. Replies
    6
    Views
    198

    Not sure its possible to miss the design tool: ...

    Not sure its possible to miss the design tool:

    https://www.pjrc.com/teensy/gui/
    click on to each object on the left to see its docs.
  36. Replies
    6
    Views
    198

    There's a whole slew of docs for the audio...

    There's a whole slew of docs for the audio library, and a video, and it comes with lots of examples.
  37. Replies
    22
    Views
    656

    Sounds entirely as expected - ISRs taking a...

    Sounds entirely as expected - ISRs taking a couple of microseconds aren't normally a problem, and 70ns jitter on a machine with a
    complex CPU with caching isn't a surprize, cache-misses are...
  38. Replies
    7
    Views
    270

    I still don't see what you are trying to do: ...

    I still don't see what you are trying to do:

    Is 61 nearer to 60 than to 62? Its fundamentally ambiguous. Perhaps you didn't mean "nearest"?
  39. Replies
    6
    Views
    198

    Do you mean vibrato (pitch modulation) or tremolo...

    Do you mean vibrato (pitch modulation) or tremolo (volume modulation)?
    Yes its easy to generate low frequency modulation signals with the various oscillator (waveform) classes.
    There is the...
  40. Replies
    7
    Views
    270

    Since MIDI notes are semitones and most scales...

    Since MIDI notes are semitones and most scales have whole tone intervals this is ambiguous:
    do you sharpen a rogue note or flatten it? Only with intervals of 3 semitones or more can "closest...
  41. Replies
    3
    Views
    139

    For instance searching for I18N should find...

    For instance searching for I18N should find things like gettext: https://en.wikipedia.org/wiki/Gettext
  42. You said you were memory limited, this is one way...

    You said you were memory limited, this is one way of trading speed for space.
  43. Replies
    3
    Views
    139

    A common technique is to use code numbers for...

    A common technique is to use code numbers for text strings, and a dynamic mapping occurs when printing strings to
    the screen, dependent on the selected language. I'd suggest googling "I18N"
  44. A cryptographic hash function can be used to...

    A cryptographic hash function can be used to detect repetitions of previous states without
    having to store all the previous state - perhaps only 256 bits per repetition.

    The chance of different...
  45. Replies
    22
    Views
    656

    The correct way to run something every 50us is...

    The correct way to run something every 50us is this:


    #define PERIOD 50

    unsigned long prevtime = 0L;

    void loop ()
    {
    if (micros() - prevtime >= PERIOD)
  46. Searching by content is a useful operation in its...

    Searching by content is a useful operation in its own right, not just in the context of programming languages, a generic
    tool for search is usually much easier to learn and use than learning a...
  47. I suspect there are implications for distortion...

    I suspect there are implications for distortion and noise, especially for low-impedance load like a headphone - basically this is not
    what the chip was designed for. Perhaps you need a different...
  48. If the boards are identical and programmed...

    If the boards are identical and programmed identically I would expect the LEDs to light identically.
    Yes the pin drives the LED so it will light up when there's activity. LEDs light up in...
  49. Replies
    4
    Views
    240

    Current only flows when the load demands it. A...

    Current only flows when the load demands it. A 50A regulator isn't going to damage a 1mA part(!) - but if the voltage was
    too high, that's a different matter...

    The 78xx series is not an LDO...
  50. You can get standalone file content search tools,...

    You can get standalone file content search tools, including versions of the original grep unix tool https://en.wikipedia.org/wiki/Grep
    No idea how anyone would cope without such a tool frankly!
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4