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

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. OK, I should have be more specific, my piezos are...

    OK, I should have be more specific, my piezos are piezoceramic hydrophones, there is some inductance, but mostly capacitance.
    Yes, I'm aware of all the noise sources, including reverse current of...
  2. Yes, that is a shame, also as paralleling FETs...

    Yes, that is a shame, also as paralleling FETs could bring noise down to really sub nV/√Hz.
    so we must stick with opamps
    At the moment I try to test a AD8656 stereo piezo-preamp for a TLV320ADC6140...
  3. Replies
    3
    Views
    160

    But in theory could be programmed as a USB...

    But in theory could be programmed as a USB device, see https://github.com/WMXZ-EU/USB2/tree/master/examples/test-usb2 as an example for T3.6. Did not try it on T4, as I had no need.
  4. AFAIK, Paul uses a combination of information of...

    AFAIK,
    Paul uses a combination of information of exactly the chips existing Teensies are using. So replacing the MKL26Z64 by a MKL26Z128 will not work.
  5. Would it make sense, to define right now a...

    Would it make sense, to define right now a virtual base class that implements a user interface? Next we could try to think about the different implementations.
    Not sure if the old Arduino interface...
  6. Access to T4.1 Sd card is faster (it uses 4-bit...

    Access to T4.1 Sd card is faster (it uses 4-bit parallel SDIO protocol, while AudioAdapter user 1-bit SPI prorocol)
    Analog input on Teensy are independent from Audio I/O of Audio Adapter
    yes you...
  7. Replies
    23
    Views
    838

    in particular the dominating user pictures turn...

    in particular the dominating user pictures turn me off.
  8. mind to elaborate? is 20 kHz BW not equiv to 43...

    mind to elaborate? is 20 kHz BW not equiv to 43 dB (10log10(BW))?
  9. maybe the problem lies in Using previously...

    maybe the problem lies in

    Using previously compiled file: /var/folders/kr/g2dq1nfj5r3g9fqgvn440m1m0000gn/T/arduino_build_859156/libraries/ADC/AnalogBufferDMA.cpp.o
    to force a complete rebuild...
  10. Replies
    2
    Views
    110

    if you are happy with FAT32 formats, then go with...

    if you are happy with FAT32 formats, then go with build-in TD SD library. it works for all TD libraries T3 and T4
  11. AFAIK, all but eeprom and recovery program space

    AFAIK, all but eeprom and recovery program space
  12. That is my reasoning too, so decision to use...

    That is my reasoning too, so decision to use floating points for ADC data (max signal range is known) is always pushed into future. Also FPU could consumed in the past more power than fixed point...
  13. That is why I use T3.x and T4.x. OK, there are...

    That is why I use T3.x and T4.x. OK, there are still T2.x around and sold.

    The question for me (on T4.x) is to keep, say signal detection and the related averaging (to estimate background noise)...
  14. This statement far too much application and...

    This statement far too much application and hardware oriented (low quality ADC and 8-bit MCU).
    EMA is not only used to filter IMU accelerators and other 10bit data, but is used in sound signal...
  15. if data are 16 bit, then IMO the state variable...

    if data are 16 bit, then IMO the state variable (effectively sample<<K) should be declared as 32 bit
  16. Replies
    25
    Views
    3,999

    you order them from Paul

    you order them from Paul
  17. So, I learned is with tmp = avg*A -avg is (I...

    So, I learned


    is with tmp = avg*A -avg is (I think) equivalent to

    tmp = tmp + x
    avg = tmp/A
    tmp = tmp - avg
    ...
  18. Not sure if it is the same, but I implement exp....

    Not sure if it is the same, but I implement exp. averaging as

    float:
    avg = avg +aa*(x-avg), where aa is a small number 0<aa<1 and x in the input

    integer:
    avg = (avg*A + (x-avg))/A, where A...
  19. Replies
    27
    Views
    659

    I would flip the back image the other way around,...

    I would flip the back image the other way around, even if Teensy 4.1 is written upside down
  20. microsoundrecorder is written for T3.6 but could...

    microsoundrecorder is written for T3.6 but could be ported to T4.1, if really needed.
    For T4.1 I would consider to start from https://github.com/WMXZ-EU/MTP_t4/tree/master/examples/mtp-logger
    it...
  21. https://www.loggerhead.com/snap-underwater-acousti...

    https://www.loggerhead.com/snap-underwater-acoustic-recorder

    He integrated Teensy3.2 with custom SGTL5000.
  22. That is why I'm interested in seeing field data....

    That is why I'm interested in seeing field data.
    OK, I know at least one company that uses SGTL5000 and Teensy for a hydrophone recorder.
  23. To me it seems OK. The H2a (not seen H2c)...

    To me it seems OK.
    The H2a (not seen H2c) simulates a electret microphone (it has also only 2 lines). So I would simply connect as it were a microphone.
    to set the mic go to audio library where you...
  24. OK for more reference, but there are hydrophone...

    OK for more reference, but there are hydrophone pre-amps that 'simulate' a electret mic. In fact they only have a FET and some protection diodes (ignoring source and bias resistor)
  25. OK, which model are you using, which pre-amp?

    OK,
    which model are you using, which pre-amp?
  26. I assume you are referring to PIP Series by...

    I assume you are referring to PIP Series by virgo.
    You simply connect to Line-in (not sure about AC coupling)
  27. Replies
    10
    Views
    264

    C code is generating entry points as is, while...

    C code is generating entry points as is, while cpp modifies function names to contain also type of parameters and return value.
    So all code that e.g. is called from assembler, should be c-code or (I...
  28. Replies
    3
    Views
    167

    https://forum.pjrc.com/threads/61288-define-to-dif...

    https://forum.pjrc.com/threads/61288-define-to-differentiate-between-Teensy-4-0-and-4-1?p=242618&viewfull=1#post242618
  29. Replies
    11
    Views
    250

    maybe there is some residual .o files force...

    maybe there is some residual .o files
    force rebuild
    either exit and restart Arduino
    or change a parameter in tools (e.g.F_CPU)
    or delete temp arduino build folder
  30. Why are you asking? the header file always says...

    Why are you asking?
    the header file always says 2.0.0

    Anyhow on jun18 Bill commented
    "..... I have lost interest in developing SdFat."

    So I doubt SdFat we=ill ever become "official"

    BTW,...
  31. So, what about "WebUSB was enabled by default in...

    So, what about
    "WebUSB was enabled by default in Chrome 61 on September 5 2017, but was disabled after privacy and security concerns were raised" (Wikipedia) ?
    Is that still the case?
  32. If you mean by official, that it replaces the SD...

    If you mean by official, that it replaces the SD library in Teensyduino, then someone has to ensure that ALL existing code, that follows the ARDUINO SD API, is running with SdFat-beta.
    Maybe Paul is...
  33. Exactly, all this "programming style" speed...

    Exactly, all this "programming style" speed issues should consider compiler optimization.
  34. So, lets get rid of the stupid 8 bit bool! I,...

    So, lets get rid of the stupid 8 bit bool!
    I, personally thought, to use 16 bit, but maybe should only use 32bit variables.
  35. Replies
    86
    Views
    2,201

    BTW, there is an example mtp-logger in MTP_t4,...

    BTW, there is an example mtp-logger in MTP_t4, which could also be used to test/develp mtp aware data logger.
  36. Thread: Teensy Qt

    by WMXZ
    Replies
    445
    Views
    135,890

    one of the '+' members (e.g. KurtE) can do that

    one of the '+' members (e.g. KurtE) can do that
  37. Replies
    320
    Views
    40,797

    USB2 is setup as a library and should go...

    USB2 is setup as a library and should go completely into local libraries. Not to be selectively copied. Of course, you are free to to so, but that was not the intended operation.

    re usb_desc.h...
  38. Replies
    320
    Views
    40,797

    Cannot comment on MAC, but MTP is NOT a File...

    Cannot comment on MAC, but MTP is NOT a File system, so it would not show up as storage. It should show up as portable device.
    If you search the web for MTP on MAC-OS, you will find that Apple only...
  39. Replies
    1
    Views
    153

    AFAIK, there are no *driver*.h files for Teensy....

    AFAIK, there are no *driver*.h files for Teensy.
    I2C interfaces are named different.
    See examples in libraries i2c_t3 and wire
  40. Replies
    75
    Views
    2,726

    PID for MTP-Disk/Serial

    Paul,
    could you please assign a own PID for an experimental MTP Serial that is recognized by Teensy loader, Teensy monitor and would allow automatic reprogramming?
    It would also allow simpler SW...
  41. Replies
    8
    Views
    398

    You cannot manipulate Pin13 after initializing...

    You cannot manipulate Pin13 after initializing SPI. So you cannot set it to high by digitalWrite or by using pinMode.
  42. Replies
    320
    Views
    40,797

    @xenington, I see, you have a session close,...

    @xenington,
    I see, you have a session close, this seems 'typical' for Linux. I have on Windows never encountered session close. So, there may be some side effects.
  43. Replies
    320
    Views
    40,797

    There is a printout at the beginning of mtpd.loop...

    There is a printout at the beginning of mtpd.loop that prints out key info of the mtp requests by PC.
    heva a look to this.

    I let it in code for exacly this reason, to see exactly what PC requests...
  44. Replies
    320
    Views
    40,797

    Updated the usb_desc.h to include the missing...

    Updated the usb_desc.h to include the missing defines

    Not sure why it does not work with Nautilus (I'm not using Linux)
    The printout suggests, that the MTP server is not working properly:
    It...
  45. There are multiple users that changed pid/vid of...

    There are multiple users that changed pid/vid of Teensies.
    Only drawback is that Teensyloader does not recognize Teensy in Automatic mode, so Button press (or equivalently connecting Program line to...
  46. Replies
    13
    Views
    419

    try with consistent I2S setups e.g. both stereo...

    try with consistent I2S setups
    e.g. both stereo I2S devices
    Stereo I2S is 32 bit/word, and Quad I2S is still 16 bit/word. so frame size does not correspond.
  47. ARDUINO_TEENSY40 ARDUINO_TEENSY41 are used by...

    ARDUINO_TEENSY40 ARDUINO_TEENSY41 are used by startup.c in cores
  48. Replies
    86
    Views
    2,201

    For ExFat you need SdFat-beta

    For ExFat you need SdFat-beta
  49. Replies
    320
    Views
    40,797

    Unfortunately, in my applications, I cannot pull...

    Unfortunately, in my applications, I cannot pull the USB plug, so I must stick to unmount/mount method.
  50. Replies
    320
    Views
    40,797

    OK for Boolean comment. The only way for MTP...

    OK for Boolean comment.

    The only way for MTP responder to tell PC to do something, is to issue an event.
    Unfortunately, all my attempts to do that, failed. I could not find any information what...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4