K
Reaction score
41

Latest activity Postings About

    • K
      kd5rxt-mark replied to the thread Under-heel kick drum pedal.
      @danlaut: Take a look at the "SamplePlayer" example sketch, which can be accessed from the Arduino IDE (make sure that you have the T3.6 selected as the Board type under Tools) by clicking on File > Examples > Audio > SamplePlayer. That should...
    • K
      kd5rxt-mark replied to the thread Teensy 4.1.
      You haven't indicated how you intend to interface the W25X40 to your T41 (external SPI socket/adapter, etc. ??), but maybe the "SPIFlash_ReadWrite" example sketch which is available from the Arduino IDE might have some helpful info . . . Mark J...
    • K
      kd5rxt-mark replied to the thread Teensy4.1 USB Audio.
      Specifically with regard to the compilation error: did you select "Audio" or "Serial + MIDI + Audio" or "Serial + MIDIx16 + Audio" for the "USB Type" in the Ardiuno IDE "Tools" pulldown menu ?? As for what to put in the main loop, the answer to...
    • K
      Instead of a PCI interface card, could you use a USB device ?? I use the <TIAO USB MULTI-PROTOCOL ADAPTER> for any of my JTAG needs. In addition to its JTAG interface, it also supports SPI, I2C, & SERIAL. Maybe that would work for you . . ...
    • K
      If your METCAL is like the one we used to use in our development lab (when I was working . . . now retired), the soldering temperature was determined by the specific tip that was plugged in (IIRC, there were 600 degrees F tips & 700 degrees F...
    • K
      Please post your entire sketch. Important details (what libraries are included, what is in your setup() function, etc.) are missing. Without these other details, any guesses would just be just that: a wild guess !! If you can't post your...
    • K
      If you are driving your circuitry with one of the Teensy pins as an OUTPUT, maybe using OUTPUT_OPENDRAIN as indicated in <this> thread might help . . . Mark J Culross KD5RXT
    • K
      One minor observation: a DC object simply puts out a fixed DC voltage. This fixed DC voltage can be changed by calling the amplitude() function on the object. The DC output voltage can also ramp from one fixed DC level to another fixed DC level...
    • K
      Helping to troubleshoot will be much more possible & predictable if you post your entire sketch. The snippet that you have posted leaves out too many details (e.g. how much audio memory did you allocate ??). Mark J Culross KD5RXT
    • K
      @readysteadi: Simply follow the instructions given in post #8 above, and you will successfully resolve your problem. You need to delete the specific folder indicated in those instructions. Your attempt to compile is currently making use of a...
    • K
      kd5rxt-mark replied to the thread CAN SOMEONE EXPLAIN.
      Arduino IDE version 1.8.9 is quite old. Have you given any consideration to updating to the latest Arduino IDE version 1.8.19 ?? Also, are you using the latest TD version 1.59 ?? Mark J Culross KD5RXT
    • K
      Also, just to be complete, which version of TeensyDuino are you using ?? If you're not already using TD1.59, it probably wouldn't hurt to update to the latest, just to be sure. Mark J Culross KD5RXT
    • K
      @Paolo157: I have no scientific reason to suggest the following . . . just a hunch . . . maybe the keyboard [manufacturer/model ??] is registering/acting as more than a single MIDI device . . . this has been reported behavior of some keyboards in...
    • K
      @Paolo157: As an additional test point, I connected my SABRENT 4-port USB 3.0 Hub (HB-UMP3) to the USBhost port on my T4.1, with my MIDIplus AKM322 mini USB MIDI keyboard connected thru the hub. As Paul reported (and I am likewise running your...
    • K
      OK, well shucks, did you also try these (in case the device doesn't like CR/LF together . . . hoping that one of them provides the missing magic): byte rCmd[] = {255, 3, 1, 13}; - OR - byte rCmd[] = {255, 3, 1, 10}; then using...
    • K
      I believe that, without the "-n" command line option included, the "echo" command in linux will terminate the data to be sent with either CR, or LF, and possibly CR/LF. You might try adding additional characters to your rCmd array & inserting...
    • K
      kd5rxt-mark replied to the thread Registering as a USB Device.
      You've come to the right place !! This forum is specifically for the Teensy family of products. From the Arduino IDE, you can select for your Teensy to act as a variety of devices (see the screen capture below). From your initial description...
      • 1714843397051.png
    • K
      In several of my most recent projects (including the Teensy RV Leveling Helper), I am using NRF24L01 modules to allow intercommunication between multiple units. I have had very good luck (further defined as: good quality, readily available...
    • K
      It is almost impossible to provide any kind of guidance or advice without seeing both, how you have your components wired up (pictures that clearly allow wired connections to be traced are best), and the code that you are testing with (paste into...
    • K
      There are some possible approaches discussed in <this> thread. Hope that helps . . . Mark J Culross KD5RXT
    • K
      A quick review reveals that the source includes many details that are specific to the AVR family of processors (the latest Teensy boards no longer use AVR processors). Unfortunately, this almost certainly means that there is much more to this...
    • K
      Maybe <this> link answers your questions ?? Hope that helps . . . Mark J Culross KD5RXT
    • K
      @ghijkmnop: The reference regarding the 3.3V restriction applies to the display data & clock signals ("Caution: Use only 3.3V signals with this display. CS, D/C, SDI, SCK, T_CLK, T_CS, T_DIN are NOT 5 volt tolerant.We recommend using this...
    • K
      @PaulStoffregen: As requested, here are the updated photos (in reduced resolution so that they can be uploaded here - original full-resolution photos are still available at the github photos link). Mark J Culross KD5RXT
      • TRLH - display after leveling - lo-res.jpg
      • TRLH - display before leveling - lo-res.jpg
      • TRLH - on the job - lo-res.jpg
    • K
      @wearyhacker: Have you tried making use of the crash report capability is your setup() function (note that the while (!Serial); line will wait forever if nothing is connected to the serial console, so comment that line out and/or remove it after...
    • K
      @Garug: Maybe try using QNEthernet (newer/better Ethernet stack, excellent examples available, actively maintained by @shawn who is on this forum) instead of NativeEthernet (older). See <this> thread for specific mention of the problem that you...
    • K
      I have no way to test these suggestions, but at least the suggested changes below allows compilation without error . . . maybe this will help you to get started: Change the following in your sketch above: #include <FlexCAN.h> #include...
    • K
      Sorry, I am not familiar with the "ABS" effect/object that you are using. What is it, what is it supposed to do, & can you please post where you got the library/code for it ?? Mark J Culross KD5RXT
    • K
      Could you use full path references to your (appropriate for each selected target Arduino/processor) libraries ?? Mark J Culross KD5RXT
    • K
      I have not looked at your actual sketch, but something to consider/try would be to have your MIDI receiver (e.g. handleNoteOn) to just put the received notes into a circular buffer. Then (in your loop() function), have the function responsible...
    • K
      @Jeremy Smith: In that example sketch, at the beginning of the setup() function, there's the following code: #ifdef SHOW_KEYBOARD_DATA while (!Serial) ; // wait for Arduino Serial Monitor Serial.println("\n\nUSB Host Keyboard forward...
    • K
      @visionnocturne: In order to do any kind of troubleshooting and/or make any reasonable recommendations, we really need to see your entire sketch. Please post a complete sketch that exhibits the problem that you are attempting to solve & we can...
    • K
      Please post a complete sketch (every piece and every part - e.g. with the minimal snippets that you have posted, we do not have enough info to see what is going on in LeadSynth) so that someone else can reproduce the problem. Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensy 4.1 serial USB crash.
      If you have a 2nd T4.1, can you create a sketch to send the same data from T4.1 #1 thru its host port to the USB port on T4.1 #2 to see if it's really the receiver that is hanging up ?? Based upon other problem posts in this forum, I'd lean...
    • K
      kd5rxt-mark replied to the thread Tennsy 4.0 and W25Q64.
      Wouldn't you want uint8_t instead of uint16_t ?? Otherwise, you're taking up a 16-bit storage location for each 8-bit value. Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread T4 interrupt latency and etc.
      @DrM : Quoting from Paul's <post #7>, I would love to play/experiment with this. However, since only selected snippets of code have been posted/included, alas, my implementation would be, at best, a guess at accurately reproducing what you've...
    • K
      kd5rxt-mark replied to the thread T4.1 deep freeze.
      Are you using the millis() function for calculated delays ?? Are you handling overflow (as indicated, after approximately 50 days) correctly ?? Hope that helps . . . Mark J Culross KD5RXT
      • 1710881330542.png
    • K
      As for the answer to your "is this sort of RAM1 usage for code normal?" quesstion, the short answer is a definite "probably." By default, all of your code gets moved to RAM1 for faster execution. To alleviate some of this, you can selectively...
    • K
      Could you also post your "MidiFile.h" file (and any others that form part of your project) so we can build and/or analyze your complete sketch ?? Thanks, Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensy 4.1 SD card problems.
      In the following block of (commented out) code in that audio tutorial example, did you uncomment the first #define line to activate the BUITLIN_SDCARD (enabling use of the SDcard slot on the T4) ?? // Use these with the Teensy 3.5 & 3.6 & 4.1 SD...
    • K
      kd5rxt-mark replied to the thread Teensy usb midi problem.
      Almost any application will complain in one way or another if a device that is actively in use "goes away". Are you disconnecting your apps from the Teensy before reloading it (always a good idea), or are you simply "pulling the rug out from...
    • K
      kd5rxt-mark replied to the thread Teensy usb midi problem.
      @ladansedesdamnes: I get similar behavior (Teensy is no longer recognized after upload) when using the Aria Maestro MIDI player (which I regularly use to drive my TeensyMIDIPolySynth project, & highly recommended it, if you need a good MIDI...
    • K
      @manny90: Without seeing the contents of your sketch, any guesses would be just that: pure guesses. Posting your sketch would at least allow others to take a look, & maybe then, some potential causes might be noticed. Posting your sketch would...
    • K
      Try adding the following at the top of your setup() function. If there is a crash, the report will be generated & displayed in the Serial Monitor. unsigned long check_time; Serial.begin(57600); check_time = millis(); while...
    • K
      You might try the sketch given in <this> post. Note that it works best when an RA8875 800x480 display is attached to the T4, but if you just want to read the CAN bus data, the received data displayed in the Serial Monitor can be used for this...
    • K
      kd5rxt-mark replied to the thread Having more than 4 channels.
      The standard 4-input mixers that are part of the audio library can certainly be cascaded. Just be sure to manage the signal levels into each mixer so that you don't get clipping/overload. Mark J Culross KD5RXT
    • K
      Duplicate post of <here> & <here>. Mark J Culross KD5RXT
    • K
      Duplicate post of <here> & <here>. Mark J Culross KD5RXT
    • K
      @SamLoureiro: You've posted essentially the same question in three different places (this post, <here>, and <here>). Please avoid doing that in the future as it only clutters the forum, and will not likely result in any faster response. One...
    • K
      @PaulStoffregen: Thanks for your consideration including the TRLH in your blog. Steps to use the Teensy-RV-Leveling-Helper to make the leveling process easier & much quicker: 1) park your RV where you want it to ultimately rest for the...
  • Loading…
  • Loading…
Back
Top