Search results

  1. K

    Precision and drift of GPS position

    Sorry, I missed that in the original requirements specification !! :rolleyes: Mark J Culross KD5RXT
  2. K

    Precision and drift of GPS position

    @Angelo: I don't have a direct answer to your specific question, but maybe you could employ the methodology that is employed by the <DGPS system> (a friend of mine wanted to create a robotic mowing system, & needed a way to remove the variability of the reported GPS system, so this is the...
  3. K

    Best way to get MIDI input

    @pirko2001: Take a look <here> for the recommended traditional serial MIDI circuitry. In addition to this traditional serial MIDI in/out, the T4.x also supports MIDI in/out over the primary USB interface (the microUSB connector that's used to program & monitor it), as well as MIDI in/out over...
  4. K

    Adafruit SSD1306 is causing a crash by accessing reserved memory (Teensy 4.0)

    Using the addr2line utility & the elf file generated when compiling the sketch that you first posted, it indicates that the crash is occurring at line #498 in the Adafruit_SSD1306.cpp file: C:\Users\xxxxxxxx\AppData\Local\Temp\arduino_build_745234>"C:\Program Files...
  5. K

    New Reverbs and Delay for the standard AudioLib (int16_t)

    @Pio: Likewise, I added your Stereo Reverb SC to my TeensyMIDIPolySynth (TMPS) & the resulting sound is excellent (it is also much more processor efficient than anything else I had tried) !! I had previously experimented with several other reverbs that were available, but was not very satisfied...
  6. K

    Forum top-level goes to Apache test page

    Normally, with a properly installed security certificate (at the server), the setup configuration would cause the http:// page to automatically forward to the secure page. I almost always just type forum.pjrc.com into my phone browser to start viewing the forum, and like I said, I haven't...
  7. K

    Forum top-level goes to Apache test page

    Not sure that I've ever seen this previously, but the forum's top-level page is showing the Apache default/test page. Mark J Culross KD5RXT
  8. K

    little "click" when re-triggering envelope monophonic synth

    Use a slightly longer attack to eliminate any clicks at the start of the envelope. Mark J Culross KD5RXT
  9. K

    New learner looking for guidance

    Take a look <here> for the recommended MIDI circuitry. MIDI on the Teensy is very easy, and the audio library capabilities are fantastic !! Mark J Culross KD5RXT
  10. K

    Tons of noise while reading from SD card

    General comment: the additional features that you mention should all be fairly easy to implement using the Teensy, where most of these items are available directly in the stock audio library objects. And while you're at it, you may find additional capabilities that will also be easy to...
  11. K

    Using AudioAnalyzeToneDetect crash up Teensy

    You can check the entry in the unofficial Teensy wiki <here> for links to descriptions of where to find the addr2line utility for both the old (1.8.x) & new (2.3.x) Arduino IDE, as well as detailed descriptions of how to use it. Hope that helps . . . Mark J Culross KD5RXT
  12. K

    Weird SPI Clock Signal on Teensey 4.1, Pin 13

    @Bluthen: Not sure if you are using custom pins for a specific reason, but standard SPI0 pins on the T4.1 (which work very well) are as follows: MOSI: 11 MISO: 12 SCK: 13 CS: 10, 36, 37 Standard SPI1 pins are as follows: MOSI: 26 MISO: 1 SCK: 27 CS: 0 Mark J Culross KD5RXT
  13. K

    Teensy 4.1 Ethernet Kit w/POE Module

    Be careful of any pins acting as inputs on the Teensy that might be driven by the featherwing adapter. The T3.2 was 5VDC tolerant, whereas the T4.x devices are not (with the exception of the power input, 3.3VDC inputs only). Mark J Culross KD5RXT
  14. K

    Can't get limit switch to work on Teensy 4.1

    OK, time for some simple troubleshooting. TEST #1: While running your sketch, simply connect a wire between GROUND and the pin that you have configured your sketch for. You should see the printed value go to "0". Disconnect the wire & you should see the printed value go to "1". Try multiple...
  15. K

    OpAmp and Teensy 4.1

    Doh, you're right !! Obviously, its been way too long since my cup of coffee this morning !! Sorry for the unrelated/non-applicable recommendation !! Mark J Culross KD5RXT
  16. K

    OpAmp and Teensy 4.1

    @jonweisw2: The mid-range anomaly may be an interaction with the internal resistors on the GPIO pin (as discusses in <this> thread). This can be avoided by calling pinMode(<pin>, INPUT_DISABLE); in your setup() function. Sorry, I don't have any concrete suggestions for the upper range behavior...
  17. K

    Can't get limit switch to work on Teensy 4.1

    @Quill213: Your connection diagram shows the switch connected to pin 19. Pin 6 is in the same location relative to the microUSB connector, but is on the other side of the Teensy. Hope that helps . . . Mark J Culross KD5RXT
  18. K

    How can I avoid destroying my Teensy?

    @kadukes: The good news is that it is very unlikely that you could make the Teensy unusable strictly with the firmware that you load into it. The even better news is that the Teensy 4.x can easily be restored back to factory configuration using the procedure listed <here>, no matter how bad...
  19. K

    New learner looking for guidance

    The PJRC Audio Adapter Rev D stacks perfectly on top of either the T4.0 or the T4.1 (the pinout of the Audio Adapter matches 1-for-1 with the Teensy). It is not recommended to hard solder them together, but rather to use stacking header pins & sockets, just in case one or the other may need to...
  20. K

    New learner looking for guidance

    @4aestral: Welcome to the Teensy world !! You will be very pleasantly surprised with how much you can do with the Teensy + Audio Adapter towards a very capable synth !! @PaulStoffregen has created a very capable collection of hardware & software in the Teensy world that the rest of us get to...
  21. K

    Teensy 3.5, XPlane, and exit status 1

    Yes, the specific output helps to see exactly what the compiler/linker might be complaining about. I don't have any experience with Flight Sim. Like @BriComp, I'm using the latest Arduino 1.8.19 + TD1.60b3, along with the Flight Sim Controls USB type. I also am able to compile your sketch...
  22. K

    Teensy 3.5, XPlane, and exit status 1

    @jonweisw2 (Jon): Can you please post the actual report from your failed build ?? For best readability, make sure to use the </> (code tags) when pasting the report into the new post. Mark J Culross KD5RXT
  23. K

    Teensy 3.5, XPlane, and exit status 1

    @jonweisw2 (Jon): It appears that you have a simple typo in the following line in your loop() function: int pin9 = digitalgRead(dpin9);, which should be changed to int pin9 = digitalRead(dpin9); (remove the extra "g"). Hope that helps . . . Mark J Culross KD5RXT
  24. K

    TeensyVariablePlayback library could not compiled with keypad library

    Your error in lines 70/71 is trying to tell you that you have a mismatch in function definitions and/or usages: somewhere, the function process_key_pressed() is defined to return a bool, but the external reference to the same function extern void process_key_pressed(int mykey); declares that it...
  25. K

    Rats Nest in Audio System Design Tool (layout helper??)

    @blakeAlbion : Something to check that might be of help: in the development of my TeensyMIDIPolySynth (TMPS), I found that sometimes I would get the same "single massive blob" when loading my audio descriptions back into the design tool. In my particular case, it was because I had hand-edited...
  26. K

    Morphing waveforms with potentiometer

    @aranis22: You're welcome & glad you got it going !! Mark J Culross KD5RXT
  27. K

    USB1_ENDPTCTRL1 not usable?

    Take a look at <this> post, which hopefully answers your question. Mark J Culross KD5RXT
  28. K

    Morphing waveforms with potentiometer

    I would suggest creating five separate waveform generators: one sine, one triangle, one saw, one square, & one pulse. Feed each of these waveform generators into a mixer (you'll actually need two 4-input mixers to accomodate the 5 inputs, then feed the output of these two mixers into yet a...
  29. K

    MotionCal magnetometer calibration - Gyro and Acceletometer values

    What Teensy ?? What library/libraries ?? What IDE ?? What OS ?? Not nearly enough information here to even attempt to help !! Mark J Culross KD5RXT
  30. K

    Adding a third sound introduces noise to the first two?

    I haven't looked at your sampled sound files specifically, but just on a lark, could you try setting the gain level on each of the two mixer inputs being used to 0.5 (& set any unused to 0.0 as well) & see if that makes a difference. My thinking is that, if the playing of the first sound leaves...
  31. K

    Teensy 4.1 USB connection

    @bdoan: I am by no means a USB expert of any kind. My knowledge of hubs & how they work/interact with the Teensy (mostly from my personal development of my TeensyMIDIPolySynth (TMPS) project, which gets other MIDI devices plugged into its USBhst port) only goes as far as "define & initialize a...
  32. K

    Teensy 4.1 USB connection

    Just in case you missed this point earlier: And most of all, try not to let any conclusions that you may have already drawn interfere with the ability for others to attempt to help. Mark J Culross KD5RXT
  33. K

    Teensy 4.1 USB connection

    @bdoan: Let me see if I can add yet another perspective without further muddying the waters: I don't believe that it is 100% clear when using your home built hub, whether a PC is also connected to your home built hub or not ("If I attempt to connect through the AT43301 hub device on my test...
  34. K

    Teensy 4.1 and CanBus

    It would be much easier to provide help if you would post a complete sketch. This would allow others to load & compile your sketch locally, as well as to evaluate your complete sketch for errors, etc. With the minimal snippet that you posted, it is almost impossible to provide any kind of...
  35. K

    PWM oscillator with the audio library

    @Phm78: Not sure which of these two options you actually want, so here's a description of each. VFO, modulated by a mix of PWM & LFO frequency: Configure one waveform object where you control the pulseWidth() (identified as your PWM object, started with begin(WAVEFORM_PULSE)). Configure a...
  36. K

    2.8" TFT woes

    Ah, didn't realize that PJRC products are not all available outside the US. Maybe someone actually inside the UK will have something more useful to offer. Sorry for the wasted bandwidth . . . Mark J Culross KD5RXT
  37. K

    2.8" TFT woes

    @SteveSFX: If I'm viewing the same Amazon item (Amazon US vs. Amazon UK), for about the exact same price, you could just get the PJRC touchscreen display & be so much more sure about what you're getting, no ?? Personally, after much trial & tribulation, I've had really good experience with the...
  38. K

    teensy4.1 USB hub+Scanner

    Would be much easier to help if you would post your sketch. As a completely blind guess, did you include a hub object in your sketch ?? Mark J Culross KD5RXT
  39. K

    Question on external power, Teensy 4.0

    Your sketch very likely contains a line in your setup() function like while (!Serial) {}. This line will cause your Teensy to wait forever until a serial connection is available for your Teensy to put out any status. When you connect the USB cable to your PC, you get a serial connection by...
  40. K

    Teensyduino 1.60 Beta #3

    I figured it out: the IDE did me a great favor & re-installed 1.59.0 over 0.60.3...deleting 1.59.0 & re-installing 0.60.3 did the trick :p EDIT: Or, more likely, I just forgot to install 0.60.3 in the first place...DOH...need more coffee !! Mark J Culross KD5RXT P.S. The "Security Steps" also...
  41. K

    Teensyduino 1.60 Beta #3

    Environment particulars: Win11pro Arduino IDE: 2.3.3 Entered updated additional boards manager URL in File/Preferences: https://www.pjrc.com/teensy/td_160-beta3/package_teensy_0.60.3_index.json Restarted the Arduino IDE (several times) & occasionally see "Indexing: xx/87" in bottom left corner...
  42. K

    Schematic file for teensy 4.0

    You can look <here> to find the technical information for the T4.0, including the schematic. Mark J Culross KD5RXT
  43. K

    Playing a wav file from SD Card reader

    The non-necessity of the additional delay was questioned/discussed in an earlier thread <here>. The recently created page covering the CrashReport() details <here> does not show that same delay as required. Should it be there ?? Should the CrashReport() page be updated ?? Mark J Culross KD5RXT
  44. K

    Playing a wav file from SD Card reader

    @joebmz98: I may be misreading what you mean in p#12, but just to make sure that there is no misunderstanding, the code listed in p#11 must be placed specifically & only within your setup() function. It will cause a check to see if the previous run resulted in a crash, and generate a report...
  45. K

    Compatibility of Stepper Motor Libraries with Teensy 4.1

    You can find descriptions of the libraries that work well with the Teensy <here>. Note: even though the list only shows library compatibility for Teensy boards up thru T3.x, it is a good place to start to find compatible libraries for T4.x as well. Also, you can always check in either the .h...
  46. K

    TEENSY41_NE problem with i2c (wire2)

    Which specific display from Amazon are you using (checking to see if I have the exact same one) ?? Is that display made to run from 3.3VDC (that's how it looks that you have it wired in your pictures) ?? Mark J Culross KD5RXT
  47. K

    color display touch resolution

    In typical usage, the numbers returned from reading the touchscreen are then scaled down to the 320x240 display resolution using the map() function. In my personal experience (10+ projects using the PJRC 320x240 TFT touchscreen display), I have not had any trouble with touchscreen instability...
  48. K

    Making a shortcut keyboard

    I built up a control system for our amateur radio clubhouse which allows members to make reservations on a schedule for the use of a radio & an antenna from a web-based scheduling system. I have an RPi that reads that database & uses the reservation information to selectively control the power...
  49. K

    Problem of overriding touches in menus selection - TFT display

    When I have questions about what function calls are provided by a library, I go take a look at the .h file for the library, and look at the function definitions in that file. In this case, looking at C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\RA8875\src\RA8875.h, you'll find...
  50. K

    Part_2_01_First_Design_Tool_Use ?

    Yes, and when prototyping, I typically put the Teensy (with pins pointing down) on top, with the Audio Adapter (with sockets pointing up) on the bottom. This makes being able to push (and/or hold, in order to activate the factory reset procedure) the PROGRAM button on the Teensy much easier...
Back
Top