I am currently working on a Lasertag project, using two Teensies (one for IR/Game management, and one for sound)
Project Video: https://www.flickr.com/photos/95492142@N00/20878723950
Populated PCB:...
Type: Posts; User: Blitter
I am currently working on a Lasertag project, using two Teensies (one for IR/Game management, and one for sound)
Project Video: https://www.flickr.com/photos/95492142@N00/20878723950
Populated PCB:...
In the SerialFlash library, the CopyFromSD example contains this:
const int SDchipSelect = 4;
const int FlashChipSelect = 6;
void setup()
// uncomment these if using Teensy audio shield
...
Thanks Paul. I broke your rule for tech help, and didn't list ALL of the includes I was using:
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <Audio.h>
Indeed, I was missing...
Please excuse me if this is not the place to post bug reports, or if the format is not proper.
Arduino 1.6.5r5
Teensyduino 1.25-beta2
My program contains:
#include <Audio.h>
During...
Sure. I am doing it now on my Teensy 3.1, for a string of 23 W2812's. I am not using a pullup, but am using a 100 ohm resistor on the drive line. The string is powered from a dedicated 5V supply,...
Bingo! Thanks for the help, guys.
I hadn't thought to mix both stereo channels of each WAV into a single channel with a mixer, and then feed that into the I2S In separate channels.
On a...
Thanks for the help, mxxx. I understand the mixing, but I am unaware of a pan function. When you say "hard pan left/right", how do you suggest this be done?
I have two WAVs (each in full stereo), and a fully functioning Audio Adaptor board. I'd like one WAV to play only in the left ear, and the other to play only in the right.
I know I can just alter...
It has been done already for Arduino. https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinocommander
In Dec 2012, someone tried to port the Teensy Loader to Arduino:...
I'll soon have some Teensy implementations "out in the wild", and I'd like to update them without lugging a laptop with me.
Are there any options for programming via an Android phone over USB?
Will do! I already have one "convert" that was lamenting the SRAM ceiling on his current crop of Nanos. I think the attractive price - and the fact that you don't have to unplug your serial lines...
Thanks Guys. I can see from Ken's IRremote library, that it will ultimately be the direction to go. Being able to read pulses on interrupt is far more efficient than my current polling-type method....
I suspect the Audio library takes too many dedicated clock cycles to play nice with other clock-dependent operations. The three I2S clock signals (LRCLK @ 44.1 kHz, BCLK @ 1.41 MHz and MCLK @ 11.29...
My Teensy 3.1 has a piggybacked Audio Adaptor Board.
The Teensy is powered from a 1A 5V supply to Vin (pin 24), and the same 5V supply is powering a TSOP4856 IR Detector wired pin Pin 2.
1)...
My current project maps every single pin on my Teensy 3.1. Of course, I still need another serial line (who doesn't?), so I grabbed a couple of extra "dupont" jumper wires and soldered them to the...
Found it. Looks like a classic 8-bit to 32-bit problem (Nano to Teensy)
https://forum.pjrc.com/threads/24940-Teensy-3-1-nrf24l01-issue
Also, the nondisplay of serial printing in Startup() was...
Bingo. Works like a champ. Thanks!
I have a Nano, and a Teensy 3.1
Both have the RF24L01+ modules wired to the same pins and are both running this RF receiver sketch:
#include <SPI.h>
#include <Wire.h>
#include <nRF24L01.h>...
Thanks! I'll give it a shot.
The only thing that might happen is that I receive a pulse from on a different pin during my 38kHz modulated pulse.
That incoming pulse would take precedence, so...
Duration is critical, and the 300us pulse is followed by 4 others.
I am looking to pass microseconds into the tone function, but it accepts only millis:
tone(1, 38000, 300) will give a 300...
I'd like to run a 38kHz tone on an output pin.
I know I can do it this way, but it isn't optimal:
tone(1, 38000); // Begin the tone
delayMicroseconds(300);
noTone(1); //...