Glad I could help in a small way. Pete & others kindly helped me when I first got started with Teensy, so I try to pay my appreciation forward to others in a similar way whenever I can.
Mark J Culross
KD5RXT
LikeToBuildStuff:
Dang it !! Sorry, I wasn't at my primary PC when I typed my first reply. I'll use the excuse that I'm old & something else, but I'm having trouble remembering what the other thing is . . . oh...
@LikeToBuildStuff:
You are essentially correct that the line that you attempted to "reuse" is only used to set things up. The line that you pointed out is a variable declaration (CCID) for an array named CCID that...
Trevor:
Yes, what you describe (4 addr pins common to all five MUXs & 1 I/O pin per each mux for a total of 9 pins) is the most straightforward way to connect your MUXs. I think you will find that reading all of...
@trevorbryden (Trevor):
Yes, for your 21 inputs, 2 x 74HC4067s would cover your need, leaving some additional expansion if/as needed. You'll need to assign 4 pins for the addressing (common to both MUXs) & 1...
Trevor:
I forgot one more bit of advice: If you aren't already too committed to your T3.5, use a T4.1/T3.6 & get the cable that allows you to connect external MIDI devices (keyboards, etc.) to the 2nd USB (host)...
Trevor:
In my <TeensyMIDIPolySynth> project, I had 48 x 50K pots + 42 pushbuttons, all sampled by the T4.1 using the 74HC4067 MUXs. The MUXs require one analog input/output & 4 digital addressing pins. If you need...
Frank:
Yup, your 180 test confirms that (as you put it) "biomechanics" is not a major contributing factor . . . well done !!
My current project uses a millis() comparison set at 200ms (in loop(), don't take...
Frank:
I can imagine that it would be almost impossible to keep the pressure on the display constant as the rectangle is drawn. Would you expect a different result if the test was run four times, rotating the...
Steve:
Just to be sure (not wanting to take anything for granted), you typed "changing the ts CS_PIN from Teensy 2 to 5", but I'm fairly certain that you meant "changing the ts CS_PIN from Teensy 8 to 5". Assuming...
@SteveW:
I happen to have a project on my workbench at the moment using the Teensy4.0 + PJRC ILI9341 (+ Audio Shield, which you don't have, so I know that we are not completely comparing apples to apples). Because...
@PaulStoffregen:
Just installed on Windows10pro 64-bit. Received a warning that the app was unrecognized, but simply clicked on "Run anyway". No problems w/ installation. With Arduino not running, Windows Task...
So, now that the simple solutions have been ruled out, how about another possibility: use an analog circuit (comparater, op-amp(s), etc.) to detect the presence of audio above some threshold, then provide that as an...
@normanras:
Your hunch is generally correct: the envelope processing is typically initiated with a call to envelope.noteOn() & (optionally) terminated with a call to envelope.noteOff(). Does your Yamaha keyboard...
As one possibility for avoiding the problem of distinguishing between "live or Memorex" (showing my age), you could have the Teensy randomly generate & display a combination of a few words from a much larger list to be...
Setting the compiler optimization to "Smallest Code" seems to cause a fatal hang when writing to EEPROM on the T4.0. This can quickly be demonstrated using a slightly modified version of a small sketch that Paul posted...
OK, thanks. I opened a new <thread> to discuss the problem that I'm seeing when writing to EEPROM on T4.0 when built using "Smallest Code" compiler optimization.
Mark J Culross
KD5RXT
@PaulStoffregen:
Your small sketch is a perfect testbed for investigating/confirming an observation that I posted yesterday. Since your sketch tests EEPROM writes in a very straighforward & simple way, could you try...
I am working on the next version of my TeensyMIDIPolySynth . . . this one is controlled via TFT sliders & buttons instead of hardware pots, pushbuttons, & LEDs as was used in the original project. I was satisfied with...
Excellent !! Very glad it is working after all. <sarcasm>Gotta wonder how much money a company can actually save by leaving those two data wires out when compared against the cost of all of the other components that...
@defragster:
From the other thread where 3D2Code has also discussed this problem (which seems to indicate that it is not "as received"):
Mark J Culross
KD5RXT
3D2Code:
You may have misunderstood a comment somewhere. The recurring problem w/ an unrecognized Teensy almost always turns out to be either a bad USB cable or use of a power-only charging cable. As Frank B...
@landshark42:
You mention high-speed data acquisition, so I understand that minimizing time between samples is probably high on the list of important requirements here. Could using a shift register to take in the...
@mlu:
Sounds like a fun project !! Would it be of any benefit to drive the solenoids from shift registers (74HC595 - I used these very nicely in my <TeensyMIDIPolySynth> project to drive 40 LEDs plus 2 x 7-segment...
@Robot:
If I understand your request correctly, I did that exact same thing for my TeensyMIDIPolySynth project using the Adafruit PowerBoost 1000 (2465) & the Adafruit Panel Mount Extension USB Cable Micro-B Male to...
Here's what I'm using in the project currently occupying my workbench:
#include <ILI9341_t3.h>
#include <XPT2046_Touchscreen.h>
#include <ILI9341_t3_Controls.h>
#include <font_Arial.h> // custom fonts...
Because we occasionally do solder-based repair/rework (cables, components, etc.) in our development lab at work, we are required to take a Lead Safety class annually. One of the biggest surprises that came out of this...
Likewise, I forgot to mention in my earlier post that OSHPark accepts KiCAD files directly . . . no need for Gerbers there as well.
Mark J Culross
KD5RXT