I'm wanting to do some Piezo TDOA detection using a Teensy LC (if it matters). I'm planning up to about 5 piezos - 3 for TDOA and 2 others for external noise rejection. The 3 TDOA sensors are spaced...
Type: Posts; User: swarfrat
I'm wanting to do some Piezo TDOA detection using a Teensy LC (if it matters). I'm planning up to about 5 piezos - 3 for TDOA and 2 others for external noise rejection. The 3 TDOA sensors are spaced...
I hooked it up to pins AGND, 3.3V, and A9. Yes it's biased to 1/2 VCC but A9 reads that range anyway - it can't read negative. Raw reading shows bias reads 512 over time, as I'd expect it to. The...
The source in the first post will do it - removing the analogread for clarity will result in the app running as expected, but never going below 10 once the mic clipped.
#include <Audio.h>...
Thanks for clarifying that it makes sense - I was just trying to independently verify what was going on. AudioAnalyzePeak however still seems to get stuck with a non-clearing peak value of 10 in the...
I'm hesitant to say it's the audio library hanging, but on my Teensy 3.0, I have a couple problems with this simple program (below). I've got an Adafruit MAX4466 board wired up to pin 9, running off...
Doh. and thank you.
Ok, still getting poor sample rates (about 345 Hz on a 96 Mhz Teensy 3.0) Here's my code:
#include <Audio.h>
#include <Wire.h>
AudioInputAnalog microphone(A9);
AudioRecordQueue rq;...
Thanks - that's sufficient for the audio analysis portion of my project. But .. I looked at the AudioAnalyzePrint class, and besides verbage saying not to use it - I couldn't seem to get it to tell...
I'm doing an SPL meter stoplight, and using analogRead() with a Teensy 3.0, I'm only getting about 390Hz sample rate. I've got analogReadResolution(6) and analogReadAveraging(0), running open loop...
You could, but that's actually more complex if the circuit already has a teensy involved.
You're just wanting a noise activated trigger? You can just sample, rectify, filter and level trigger off that. Doesn't require anything as complex as FFT unless you want to trigger off specific...
Yes, I'm familiar with the Hall Effect, and did look at a couple Hall effect sensors I was familiar with from past projects - but nothing I was familiar with would survive hundreds of amps while...
I'm thinking about throwing a teensy on my car battery - I have something which appears to be draining the battery, but it's not always on. (Charging, Starter, Battery all check out fine). So I want...
I've been doing some more thinking, and I like the per string processing rather than just doing 2 octaves down on a summed mix. The highest frequency I'd need to detect is 784 Hz, the lowest possible...
I was looking to do an octave pitch shift, and I have a couple teensy 3.0's laying around. Basically this is supposed to be a polyphonic octave effect, and I'd like to shift down 2 octaves, fixed...
I can build frBlink inside the arduino IDE. I can build a simple arduino blink from a makefile. But I can't seem to build frBlink from a makefile. It builds if I insert a main, but it doesn't run....
A google search brought me to Freescale's web site, and found MK20DX128VLH5 in the K20_50 family, but I too came up blank on any sort of SDK to make spacewrench's makefile happy.
Is this a multi input single output system, and is that three nested loops, orthree parallel loops, selecting the most restrictive output? Describing the problem sounds like the latter case, but it...
It's on! (Like Donkey Kong, since there's a 10 character min post limit)
I'm using a teensy3 as a glorified power supply monitor/controller/logger. One of my outputs is a 0-450V linear supply, limited to 20mA or 8W, and I'd like software control of the limits. I'm using...
Linux loader is giving me fits. At least one "you should never see this error, contact Paul" error, plus numerous infinite waits that can't be killed with even kill -9.
Another approach might be to just LPF at 1.5 khz, sample at 3khz, and do your envelope tracking in software.
I have really limited cycles right now (with a baby in the house). But it frustrates me enough that I end up using my available cycles trying to get a makefile working to build it as static libs...
I thought it was a simple overlay. However, I don't use the arduino executable either. It's klunky and frustrating for anyone used to a real editor. But Arduino source is downloadable too. The...
Is there a reason that it's only delivered in an executable? I know this is common place in the Windows world, but it's really disturbing for some of us ingrained this way.
I'm still in the sketching phase, but I'm planning to run NiMH instead of LiPo because I can run boost converter and avoid the futzing that comes with extracting 3.3v out of a battery that can range...
Thanks, I'll check out the AES lib. Up until recently I was under similar impression about CRC. I'm not sure how I picked up the idea that it could work for authenticating the sender. (Seed perhaps)...
I've looked over the docs on the CRC module a few times, (mostly on the tiny phone screen, which never helps). I think I can figure out how to feed it stuff and get results out. I'm a bit unsure of...
If you do run it of an ATX power supply you might want to consider running off the 5V standby (purple) line instead. This is designed to run low power devices while the primary 5V and 12V rails are...
In the microcontroller world this is usually done with interrupts, but its not a 1:1 translation from multithreading. I'm looking at rewriting my arduino app to be driven off the IntervalTimer...
On more reflection... The oversampling is way over. Even if i did attempt the extraction of harmonics... The higher the frequency goes, the less important it becomes. In standard tuning, a 24 fret...
I figured it was a simple divider.
http://joflaherty.org/MidiExprPedal/Midi%20Pedal%20schematic.png
A couple options - you treat the input pin as a capacitive sensor at startup, see if it's...
Sorry - I meant an unused (but non switching) pin on the connector, not the micro. You could use the ring for it if you weren't already using it for signal. Of course, if you have need of that info,...
It's common (no pun intended) to just short them to ground, though a series resistor can reduce switching transients. I've seen some amazingly clever things done with just a humble switching jack....
I'd strongly consider a switching jack over a pullup on an analog pin, especially if the other end isn't really low impedance
I have a stockpile of them I use for more mundane purposes. The pullup (or pulldown, if its active low) swamps the power dissipation calculation. However...
You really should also consider a...
Last reply dissapeared. I've read of someone doing something similar for their child. For an adult you strongly need a slight but nonzero chance of detecting zombies just far enough away that you...
It works, but only in the installed directory (in this case /usr/local/arduino-1.04/hardware/teensy/cores/teensy3). Thanks - that's helpful. I see now (with a bit o sleep and that clue I had missed)...
I'm trying to get my program building via Makefile. I've stripped it down to this amalgamation of modified sample code.#include <unistd.h>
#include "mk20dx128.h"
#include "usb_serial.h"
#include...
Yes. They're buffered and go out the 13 pin jack. The number of frets doesn't really help unless you're doing something like a capacitive or resistive input sensor, and that doesn't get you velocity...
No - but I do have hex pickups (piezo). Actually, in an effort to get pitch tracking latency down, I was thinking something like
96khz sample rate
96khz [BUFF] ... rollover shifts average into...
Ah drat. I actually bought it for more mundane project, but the idea of way more power than an AVR based Arduino sorta got to my head, and I started having delusions of grandeur. Especially when I...
Most microcontrollers with multiple analog inputs mux a single adc. How fast can i sample if I need to switch between inputs?
I'm not certain exactly how much precision I need. The source is...