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

Search:

Type: Posts; User: Theremingenieur

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. These are not functions/objects of the audio...

    These are not functions/objects of the audio library, but of the Teensyduino core files: AudioStream.cpp and AudioStream.h
  2. Replies
    1
    Views
    5

    Man... Read the reference manual... By default...

    Man... Read the reference manual... By default and to save energy, many of the internal peripherals like the DAC are disabled by default and trying to access the corresponding registers leads to a...
  3. Basically, the human ear can (in the best case)...

    Basically, the human ear can (in the best case) perceive dynamics of ~120dB which means that true 20 or 21 bit would be sufficient to cover everything.
    Using a higher resolution (24bit or 32bit)...
  4. It seems that there is no better solution in...

    It seems that there is no better solution in terms of quality/price on the market for the moment. Since the SD card access seems to stray into the analog audio section, approved techniques like...
  5. After looking at the source code of the...

    After looking at the source code of the play_sd_wav.h and play_sd_wav.cpp files of the audio library, I can tell you that it's hard coded in 2ch mode (allocating 2 channel buffers and so on). To work...
  6. This code uses generic AVR (original 8bit Arduino...

    This code uses generic AVR (original 8bit Arduino etc.) registers to define the interrupt setup and handling. This can not work on modern 32bit ARM processors like the Teensy 3.x series. You’ll have...
  7. The schematic drawing keeps looking wrong,...

    The schematic drawing keeps looking wrong, though...
    Besides of that, the Yamaha FC7 does not behave like an ideal potentiometer. See manual :...
  8. Independent of the supply voltage, swap the green...

    Independent of the supply voltage, swap the green and the white wire!
  9. Replies
    5
    Views
    76

    Glad to hear that it’s solved!

    Glad to hear that it’s solved!
  10. Replies
    15
    Views
    1,266

    Hi Bart, only Paul and Robin have access to...

    Hi Bart,

    only Paul and Robin have access to the IP block list. So, you'd have to wait until one of them might look up and do something about your IP, but everybody is actually pretty busy with...
  11. There are so called pogo pins which are soldered...

    There are so called pogo pins which are soldered into the pcb and which, thanks to an integrated spring, will contact the pads when the Teensy is inserted into its socket. Another way is using pin...
  12. Actually, you are driving only 15 mcp input pins...

    Actually, you are driving only 15 mcp input pins (0 to 14) high with your pull-up configuration which would explain the missing bit:

    // setup pins, pullup resistor and INPUT
    for (int i = 0; i...
  13. Replies
    5
    Views
    76

    Just a guess: The USB cable you are using for the...

    Just a guess: The USB cable you are using for the Teensy, is it a really full USB cable with all data line connections wired or is it a simple USB charger cable without data link?
  14. Glad to see that it works for you! But I can't...

    Glad to see that it works for you! But I can't still understand why you would output a voltage, just to kill it a few CPU cycles later...
  15. Replies
    5
    Views
    128

    Hammond Mfg does produce several series of...

    Hammond Mfg does produce several series of housings for electronic projects with different IP (humidity protection) classes. I'd go for that instead, to prevent thermal or condensation problems:...
  16. Replies
    6
    Views
    60

    Sounds like the most reliable solution to me.

    Sounds like the most reliable solution to me.
  17. Replies
    25
    Views
    321

    Since I was running short on pins with a T3.2, I...

    Since I was running short on pins with a T3.2, I decided to go for a PCM5102 from TI, using a cheap AliExpress breakout board for development. This chip is also Plug and Play and has several...
  18. An analogWrite() will leave the pin connected to...

    An analogWrite() will leave the pin connected to the DAC output (to maintain the output signal). An analogRead() on the same pin will disconnect the pin from the DAC and connect it to the ADC signal...
  19. Replies
    19
    Views
    4,811

    The 6bit DACs are not accessible from outside....

    The 6bit DACs are not accessible from outside. They are kind of hardwired to the comparators.
    The 12bit DAC should theoretically be able to deliver a voltage which the ADCs could use as a reference...
  20. I think it’s mainly to ease people’s life that...

    I think it’s mainly to ease people’s life that Paul created the Teensyduino plugin for the Arduino IDE. The Teensyduino core files handle (among others) the boot process and the startup hardware...
  21. Replies
    3
    Views
    66

    If I’m not dyslexic, the question was about iOS...

    If I’m not dyslexic, the question was about iOS and not Windows. It is known that Windows does not only have a bunch of problems, but it is a problem in itself. But I’d also be interested to read...
  22. Help in these forums is provided by unpaid...

    Help in these forums is provided by unpaid volunteers (even Paul does unpaid volunteering here) who are willing to sacrifice their free time to help everybody with Teensy platform specific issues....
  23. It’s fully documented on that library’s GitHub...

    It’s fully documented on that library’s GitHub page: https://github.com/nox771/i2c_t3#clocking
  24. These analog multiplexers are not ideal switches,...

    These analog multiplexers are not ideal switches, they need time to settle and they have a nonlinear series resistance from 40 to 250 Ohms which can highly trouble these SAR ADCs with their switched...
  25. Very important point! In opposite to these old...

    Very important point! In opposite to these old and asthmatic 8bit AVR processors, where the few integrated peripheral blocks are always enabled, the modern 32bit ARM processors have a very...
  26. As old javascript developers know, key codes are...

    As old javascript developers know, key codes are not always identical to ASCII, since there are more and wider character sets than ASCII and since there are hundreds of different keyboard layouts. If...
  27. Did you check if the VM does work correctly with...

    Did you check if the VM does work correctly with the internal keyboard, or will these keystrokes also be unshifted ? Or does the VM perhaps have a different caps lock mechanism?

    I wonder why one...
  28. Replies
    5
    Views
    116

    All read or write accesses to h/w registers can...

    All read or write accesses to h/w registers can fail on the Teensy if the corresponding peripheral has not been previously activated in the system integration module (SIM). People are often not aware...
  29. I did draw the schematics with my words in a way...

    I did draw the schematics with my words in a way that an experienced technician should be able to understand and to reproduce it, I think. Sorry if I haven’t been clear enough. I’m actually in...
  30. Basically, this is a potential problem with all...

    Basically, this is a potential problem with all MCUs, be their logic voltage 5V, 3.3V or 1.8V. If an input signal is too weak, one has to design an appropriate amplifier. The SN74LVC1404 can be used...
  31. Ok, I‘ll clean that up... Edit: Done. @Paul:...

    Ok, I‘ll clean that up...

    Edit: Done. @Paul: if you‘ll need a short break from T4, you might perhaps consider processing the long, long ip blocklist...
  32. Replies
    9
    Views
    2,605

    Ask in the Arduino forums or look at the source...

    Ask in the Arduino forums or look at the source code of the Arduino SPI library. There must be a documented default pin configuration somewhere.

    Edit: A quick look at the Arduino library reference...
  33. That is a question for the Arduino forums.

    That is a question for the Arduino forums.
  34. There is no reason why this should not work if it...

    There is no reason why this should not work if it is designed and realized according to all the rules of art.
  35. Instead of potentiometers, use Alps rotary...

    Instead of potentiometers, use Alps rotary encoders. These are cheaper and less bulky than potentiometers. Especially for Midi stuff, where almost everything is quantified in 0 to 127 steps, using...
  36. No crystal sphere here. Show us your schematics ;)

    No crystal sphere here. Show us your schematics ;)
  37. That seems to be a handbrake at a first glance,...

    That seems to be a handbrake at a first glance, yes. But since no graphics, fonts and other heavy payload (it's all already precompiled in the display) has to go over that connection, just the raw...
  38. Depending on the project details, using a Nextion...

    Depending on the project details, using a Nextion HMI display might make sense. These exist in different sizes from 2.4 to 7 inch and have touch functionality. They have an integrated cortex M0...
  39. No, you can't since only one single interrupt...

    No, you can't since only one single interrupt vector can be assigned at a time. But you could use "BOTH" and check for the pin voltage (i.e. with digitalReadFast()) within your interrupt handler to...
  40. I wonder why one would make that effort....

    I wonder why one would make that effort. Applications like Shazam which do exactly that exist for a long time...
  41. Replies
    52
    Views
    746

    You are asking strange questions... Why don’t you...

    You are asking strange questions... Why don’t you simply hook up your logic analyzer or your oscilloscope to see what happens with these pins?

    Even the cheapest logic analyzers (Saleae Logic...
  42. pinMode() is needed to configure the pins (which...

    pinMode() is needed to configure the pins (which are hi-z and/or analog by default) as GPIO pins by changing the pinMUX configuration for each pin from ALT0 to ALT1.

    This might be confusing, since...
  43. did you try to declare volatile elapsedMillis...

    did you try to declare

    volatile elapsedMillis tLastNewFrame;

    ?
  44. Professional circuit design requires taking all...

    Professional circuit design requires taking all "worst case" scenarios into account. And yes, there are "USB chargers" like the one for the iPads which can deliver up to 2.4A. But you can't know in...
  45. Replies
    1
    Views
    93

    The ADCs have 12bit resolution. You can even set...

    The ADCs have 12bit resolution. You can even set them to 16bit, but the last 3-4 bits will mostly contain noise, so we start with 12 usable bits which corresponds to 4096 steps. Then, you might...
  46. 30 simple LEDs 20mA = 600mA. 30 RGB LEDS 60mA...

    30 simple LEDs 20mA = 600mA. 30 RGB LEDS 60mA = 1800mA. Both variants exceed the USB specification where one port can deliver a maximum of 500mA. Thus, you'll have to invest into an extra power...
  47. Replies
    5
    Views
    104

    You have given the answer yourself, at the end of...

    You have given the answer yourself, at the end of your question. :)

    Depending on your LCD’s brand and model (these are built by many different manufacturers), it might work with a 5V power supply...
  48. Replies
    7
    Views
    256

    The audio shield does just the A/D and D/A...

    The audio shield does just the A/D and D/A conversion, all processing is done within the Teensy. There is no hard limit for the number of wave table objects, everything depends on the over all memory...
  49. Why don't you use ALPS rotary encoders which are...

    Why don't you use ALPS rotary encoders which are more precise and long-term stable ?
  50. AFAIK, there should only one single instance of...

    AFAIK, there should only one single instance of Teensy_reboot be running. The Teensy loader should always "grab" the existing instance and use it instead of launching a new one. I've never seen your...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4