I've been able to eek out 11 bits resolution on the Teensy 4 using a bit of averaging magic. First, I was hardware sampling a piezo sensor conditioning circuit (which produced full, non-rectified +/-...
Type: Posts; User: Bryan42
I've been able to eek out 11 bits resolution on the Teensy 4 using a bit of averaging magic. First, I was hardware sampling a piezo sensor conditioning circuit (which produced full, non-rectified +/-...
Have confirmed with a quick test that the Arduino 1.8.12 and Teensyduino 1.51beta combination works fine for my Teensy 3.2 application on a Raspberry Pi 3B.
Will do. Thanks for the fast response.
Just tried using V 1.50 of Teensyduino with Arduino 1.8.11 on an old Raspberry Pi Model 3B (not plus), which I use from time for time for testing my Teensy project on. (I compile and develop mostly...
Great! I guess I can go ahead and build up one with this arrangement and give it a go. Thanks!
While I know you can stack a Teensy board on top of a Teensy audio shield using double insulated header pins as suggested on the audio shield page of this website, what about using ordinary single...
joshnishikawa: It's been quite a while since I've looked at or used this code. I was going to use it for a project that got put on the back-burner.
A couple of points:
(1) Past lines 112-113 of...
If you just want to use poll-based touch sensing, there is a way to do it without any "blocking" calls and without interrupts -- all it involves is first starting touch scans and then polling for...
I hadn't really looked that closely at the Teensy 4 image, and yes, I see the components on the board are a lot further away from the through holes than they were on previous teensy's, so I went...
Are there plans to provide a SKU for the Teensy 4 with header pins already soldered on, like the older products, such as "Teensy 3.2/pins"? If so, any estimated schedule for these? I can solder...
Okay, then. I've refined the asynchronous touch class code, and added another class to boot that manages the "state" of the touch pads: NotBeingTouched, RisingEdge, FallingEdge, and BeingTouched.
...
I think I found a solution, if not answer. It was actually mentioned in these forums (I never seem to find stuff using the searching mechanism. Old-fashioned, pains-taking manual browsing the only...
Just a quick thought. The NXP touch documents recommend no more than 300 mm (a foot) of lead wire/trace from the chip to the sensor. Your long 1.5 meter cable is way over that limit. Perhaps the...
Was wondering: Why is a 10 microsecond delay used in the function touchRead() in the touch.c file of the Teensy library?
The code snippet below from touch.c shows what I'm talking about:
...
The Teensy touch support is indeed cool. Having a lot of fun with it. Don't know if I'm going to use it in my current project, but it's good to investigate the possibilities. Seems like an...
The main goal was to get rid of overhead in the main loop. The touch reads can take milliseconds, which was way too much, since the main loop in my current project has a timing constraint of 100...
1) I specifically am not using interrupts in the code above. Indeed that was a key part of the design.
2) Yes, a person could easily add support for button press and release logic. I didn't do...
Okay, so I've figured out how to do asynchronous touch sensing of multiple pins, without DMA or interrupts. I learned that the Teensy 3.1/3.2 devices have a different touch sensing architecture than...
Figured out a way to do what I wanted. Indeed it seems the idea with the Teensy touch sensors is to enable the pins you'd like to read, all at once, using the TSIO_PEN register, (and also set up the...
Well, I've discovered one major flaw with this code: You can only use one touch sensor at a time. You can't start the reading of, say two sensors, and then wait for either to complete. Looking at the...
One feature that's sorely missing from the Arduino serial plotter window is the ability to accept serial input from the keyboard. Why would this be nice? So while you are viewing a plot at runtime,...
Recently I've had the desire to add touch sensing to a project involving a Teensy 3.2 (or 3.6) but need the touch reads to be non-blocking due to timing constraints (each call to the main loop needs...
Are you now rectifying the signal somehow? The circuit I showed you does not do that. As far as the AC signal "not being compatible with piezo/switch pads" I'm not sure what you mean. Do you mean the...
It depends how sophisticated you want to be. I know most piezo trigger circuits you'll see on the web just toss the negative swing information away. I consider the distinction between positive and...
You're welcome.
As I understand it, your BAT 85s are Schottky's so their clamping voltage is tighter than the 1N4148s I had in mind, so that means you need a higher resistance to make the...
If you power your op-amp with 3.3V, perhaps straight from Teensy's 3.3V pin -- well some supply filtering as suggested would be good -- you won't have to worry about having voltages outside of range...
I'm currently working on a project where I use TLV277x op amps to buffer piezos. I used these amps because I had them on hand. I power them with a 3.3V single side supply and seems to work okay. This...
Yes, I'm aware of such things. Was trying to keep the circuitry simple. I wasn't aware till yesterday of the need for low impedance sources on the Teensy analog input pins.
Thanks for the reply.
Yes, I have thought of these things, especially after finding out the input impedance on the analog input pins is only 5K. I don't want to complicate the circuitry if I don't have to. I don't need...
Thanks for the reply.
Yes, I discovered yesterday after reading the reference manual for the MK20DX256VHL7 that anything over 5K source impedance could cause problems unless you set the right...
I've been exploring piezo triggering with the Teensy 3.2 board (yes, yet another piezo project), and am seeing strange behavior with noise on the analog signal line and/or grounding issues....