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. If you use only the full voltage from the battery...

    If you use only the full voltage from the battery and buck converter(s) you'll be able to change to a different power
    source flexibly, as well as not unbalancing the cells.
  2. Replies
    2
    Views
    430

    Stencils are designed to be stretched taut in a...

    Stencils are designed to be stretched taut in a stencil frame, the fact the stainless came off a roll (which is why they
    have a curve) wouldn't normally cause issues used with a frame (might make...
  3. Replies
    40
    Views
    704

    Perhaps a link to the datasheet for the parts in...

    Perhaps a link to the datasheet for the parts in question? - better than trying to guess what "high definition"
    might mean to you, 1000 PPR, 10000 PPR, or even more?

    How many encoders are likely...
  4. Replies
    40
    Views
    704

    What are you interfacing to that needs so many...

    What are you interfacing to that needs so many interrupt inputs?
  5. Python3 bytestrings are not the same as unicode...

    Python3 bytestrings are not the same as unicode strings (Python3 strings are unicode). A bytestring is notated b'xxxxxxxx'
    Python3 strings can be interconverted <-> bytestrings if you give the...
  6. IIR isn't used for oversampling normally due to...

    IIR isn't used for oversampling normally due to the phase error, and the fact polyphase FIR filters can be _much_ faster.
  7. Replies
    5
    Views
    207

    ILI9341 is a chip, not the actual TFT display. ...

    ILI9341 is a chip, not the actual TFT display. This sort of thing is why you should try to find something with a decent datasheet.

    I'm sure there's a lot of difference between different displays....
  8. What bit depth are you assuming? Why double...

    What bit depth are you assuming? Why double floats if only sampling 16 bits (the Audio lib is 16 bit)
  9. Thread: Mushroom Music

    by MarkT
    Replies
    1
    Views
    144

    No, those signals are way too small to be fed...

    No, those signals are way too small to be fed direct to the ADC and get anything meaningful out.

    An instrumentation amp is probably the way to go, though you'd need to ensure the potentials fall...
  10. Replies
    7
    Views
    176

    Forum rule? This is a software problem I think,...

    Forum rule? This is a software problem I think, the dropout is one audio block I suspect, ie 2.9ms, although
    your 'scope shots omit timebase info so that's a guess.
  11. Replies
    16
    Views
    274

    The pin probably has bus-hold enabled. See...

    The pin probably has bus-hold enabled.

    See this thread:
    https://forum.pjrc.com/threads/69671-Teensy-4-0-4-1-web-pages-need-a-warning-about-INPUT_DISABLE-on-Analog-Inputs?highlight=bus-keeper
  12. Replies
    17
    Views
    2,374

    Just to clarify, 400kHz. 2.5Ás clock cycle, not...

    Just to clarify, 400kHz. 2.5Ás clock cycle, not 2.5ns! 100kHz and 400kHz are the commonest I2C rates.
  13. Replies
    39
    Views
    1,046

    Clearly visible 7.68MHz xtal, so good!

    Clearly visible 7.68MHz xtal, so good!
  14. Replies
    39
    Views
    1,046

    Well you have the circuit... Can you post the...

    Well you have the circuit... Can you post the schematic? Is this a module? Does it have a xtal on it?
  15. Replies
    39
    Views
    1,046

    I second that - its essential for a sigma-delta...

    I second that - its essential for a sigma-delta chip like this has a good quartz-controlled clock - is it actually running at 7.68MHz?
  16. When begin_v2_b2() returns all the audio objects...

    When begin_v2_b2() returns all the audio objects have their destructors called and cease to exist. This won't be useful, and won't
    work at all because audio objects that do I/O set up DMA and...
  17. That's the point - the signal "bypasses" the...

    That's the point - the signal "bypasses" the diodes unless the input voltage strays out of range, in which case one of the diodes
    conducts and clamps the voltage.
  18. Two Schottky diodes and a Teensy (or any CMOS...

    Two Schottky diodes and a Teensy (or any CMOS logic chip at all). This is the standard voltage protection - for surface mount people
    generally use a dual Schottky in a SOT23 package for this.
    ...
  19. Replies
    39
    Views
    1,046

    To get precision timing the #SYNC line probably...

    To get precision timing the #SYNC line probably should be driven in hardware from, say, a PWM output set to the right speed.
    Then the code to read the data can be interrupt driven from #DRDY going...
  20. Zeners are not really the answer (they can have...

    Zeners are not really the answer (they can have pretty soft knees in their response too), the way to do this is with a pair
    of Schottky diodes to the rails and a series resistor:

    28183

    The...
  21. Replies
    1
    Views
    112

    I believe the range depends on which FFT window...

    I believe the range depends on which FFT window is used as they are not normalized for level IIRC.

    Perhaps connect a AudioSynthWaveformSine into AudioAnalyzeFFT1024 to find out? A full-scale...
  22. 20MHz is just about doable on a breadboard, but...

    20MHz is just about doable on a breadboard, but you must use good layout - short direct cut-to-length wires, form a ground-plane
    (well, ground-grid) using regularly spaced ground links. Decoupling...
  23. Replies
    23
    Views
    794

    Maybe use star-grounding for the various power...

    Maybe use star-grounding for the various power supplies? I see several loops in the ground including high-current paths, which isn't a
    great plan. Try to ensure any signal wire only runs alongside...
  24. Replies
    5
    Views
    228

    The audio shield socket does not have microphone...

    The audio shield socket does not have microphone connection, and is definitely intended for a TRS cable. If you need a microphone connection
    you'll need a splitter.

    Thinking about the SGTL5000...
  25. A 'scope allows you to check the signal integrity...

    A 'scope allows you to check the signal integrity on the bus - needs to be reasonable bandwidth for high speed logic, 100MHz+ really.
    This is the sort of problem a logic analyzer will not help with...
  26. Replies
    5
    Views
    228

    Do you have a TRS-TRS cable? Try that in the...

    Do you have a TRS-TRS cable? Try that in the first instance, shouldn't be any issues.
  27. Replies
    3
    Views
    252

    The band limited waveforms are a succession of...

    The band limited waveforms are a succession of step functions, at arbitrary timing, so its a little different from a succession of
    samples so I fear the code won't translate well. There are...
  28. Are you sure the T4.1 pins have enough fan-out...

    Are you sure the T4.1 pins have enough fan-out for that may loads at high speed? This sounds like a case for a high-current logic buffer, or a distribution-tree (T4 drives 4 buffers, each drives 5...
  29. Replies
    5
    Views
    228

    You probably have some CTIAOMTP adapter cables...

    You probably have some CTIA<->OMTP adapter cables then, which are have different pinouts at the two ends.

    I'd stick to TRS (3-pole) 3.5 lead for standard audio (as opposed to computer/phone...
  30. The easiest way is to add a recursion count - if...

    The easiest way is to add a recursion count - if you recurse more times than the number of clocks you know you are on a cycle.
  31. Replies
    3
    Views
    252

    Playing a sampled waveform back at various...

    Playing a sampled waveform back at various different rates is a problem of interpolation or decimation, ie rate-conversion.

    Straight IIR and FIR filters only work when the input sample rate is the...
  32. The address is local to the bus, its set in the...

    The address is local to the bus, its set in the hardware of the device. If you have a device that doesn't allow selection of alternate I2C addresses you have to use multiple busses or an I2C...
  33. It seems that example only scans using the Wire...

    It seems that example only scans using the Wire object (SCL0/SDA0), not Wire1 (SCL1/SDA1).

    Seen: https://github.com/nox771/i2c_t3 - its mentioned on the Wire library page.
  34. Replies
    29
    Views
    666

    You know the Teensy runtime already sets up the...

    You know the Teensy runtime already sets up the clocking before setup() is called? You may be misconfiguring things
    if using a code example that's designed to run from reset state?
  35. Replies
    29
    Views
    666

    Do you have a link to the document in question?...

    Do you have a link to the document in question?
    And you've taken note of the forum rule?
  36. Replies
    7
    Views
    138

    Vehicle supplies are very noisy and spikey -...

    Vehicle supplies are very noisy and spikey - normally you'd have filtering / clamping circuitry to tame this.
    https://www.avrfreaks.net/forum/automotive-power-suppy-filtering

    I2C is indeed...
  37. Replies
    4
    Views
    281

    Are you immediately decimating the signal(s)?

    Are you immediately decimating the signal(s)?
  38. Replies
    39
    Views
    4,190

    Two gains and multiplying are necessary in fact...

    Two gains and multiplying are necessary in fact :)

    You were looking for a cross-fade in particular, but didn't use that term, which I think helped sow confusion
    especially as we've been talking...
  39. Replies
    10
    Views
    770

    So no 3-phase induction motor? That's the...

    So no 3-phase induction motor? That's the ultimate challenge - easier with an encoder.

    Yes, a 4-quadrant motor controller needs a rail clamp circuit (braking circuit), that's pretty much...
  40. Replies
    39
    Views
    4,190

    Now I've even more confused - you said you didn't...

    Now I've even more confused - you said you didn't want multiplying or gain, and how you want a wet/dry control which necessarily
    has gains and therefore multiplying.

    Do you want :

    constrain...
  41. Replies
    39
    Views
    4,190

    I don't get your point - you have 10 bit unsigned...

    I don't get your point - you have 10 bit unsigned ADC data by the sound of it, but not using the Audio library (is there a deep reason for this BTW?), so clearly you have some other framework in mind...
  42. Replies
    39
    Views
    4,190

    constrain (a+b-511, 0, 1023) ;

    constrain (a+b-511, 0, 1023) ;
  43. Replies
    10
    Views
    770

    Interesting - not come across the DRV8301 before,...

    Interesting - not come across the DRV8301 before, seems quite complex but I can see the benefit of some of the protection features.

    What motors have you managed to drive?
  44. Replies
    5
    Views
    3,089

    https://www.pjrc.com/store/teensy40.html#timing

    https://www.pjrc.com/store/teensy40.html#timing
  45. Replies
    5
    Views
    252

    That page dates from the days when all Teensy's...

    That page dates from the days when all Teensy's were Atmel based, ie Teensy 1 and 2. Its specific to that hardware, so not relevant to T3's or T4's (which didn't exist when the page was written I...
  46. I know I'm resurrecting an old thread, but I just...

    I know I'm resurrecting an old thread, but I just measured the MCLK spectrum on a T4.0 so can show what it actually looks like:

    28107

    This was with TDM at 48kSPS, BTW.

    It strikes me that for...
  47. Replies
    32
    Views
    717

    There are a lot of examples of reballing BGA...

    There are a lot of examples of reballing BGA chips on YT, but this tutorial seems to be a good one for the initial
    soldering of a BGA package on a new PCB: ...
  48. Replies
    8
    Views
    273

    Its AC coupled, this does nothing (except very...

    Its AC coupled, this does nothing (except very briefly at power up perhaps).
  49. Replies
    4
    Views
    339

    Link to the source repo for this library?

    Link to the source repo for this library?
  50. Replies
    8
    Views
    273

    Have you tested with the 10k/1nF yet - that ought...

    Have you tested with the 10k/1nF yet - that ought to keep the slew-rate down to something a sigma-delta ADC can actually handle without aliasing issues. The TL072 is fast from what I remember...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4