When I have two Teensies connected to my Mac, I can't program either of them. I can select one from the Teensyduino Port setting prior programming, and it seems to do the job, but it doesn't, and...
Type: Posts; User: Pazi
When I have two Teensies connected to my Mac, I can't program either of them. I can select one from the Teensyduino Port setting prior programming, and it seems to do the job, but it doesn't, and...
It's the hardware of Radiomusic module that is restricking here. There are caps in signal route, designed for audio use only. If you bypass the caps it probably works, but then you'll lose the audio...
Midi over BLE, I didn't even know there is such a thing, interesting!
I think it should be possible with Adafruit Bluefruit LE SPI Friend, it features at commands even for midi. I don't have that...
Seems it isn't. My guess was setting amplitude(0.0), but you already tried that.
Seems that someone should modify the AudioSynthWaveformSineModulated::update method, to test if magnitude is zero....
With how large a number of leds? I just made a quick test with 4008 leds, without touching interrupts, and everything seems to be ok.
Well, actually I only have 8 leds plus 4000 "virtual" leds...
Yes. See: https://www.pjrc.com/teensy/teensyLC.html
Also, DAC analogWrite sample on page: https://www.pjrc.com/teensy/teensy31.html
But the 3.1/3.2 pin for DAC is A14, when for LC it is A12...
Some observations:
- When the load (i.e. Teensy, a display, leds etc) is in place, the indicator LED stays red and never turn green. You'll need to disconnect the load, to see if the battery is...
The best solution depends on what exactly are you trying to do. How many leds are you planning to use, and what kind of animation to display (30FPS video, or something less demanding)?
If you are...
Yes, that must be cut! I edited my previous post to include that.
Just tested. You can pull the USB and plug it back, and the program just keeps running :)
However, there seems to be no boost circuit. I measured the BAT voltage. It was 3.99V when loading, and a...
I happen to have that same LiPoly adapter.
Here is my setup:
10456
The black wire is from "G" to Teensy GND.
The red wire is from Teensy VUSB to adapter "5V".
Adapter's BAT is connected to...
Looks like a fake. What should you do, depends of if the seller is an individual or a company, and how much you paid for that.
If it's a company, you should demand full refund and possibly report...
I tested this method and it works as expected. However, I found out that AudioEffectDelay was a poor choice for this exercise, because it makes AudioMemoryUsage running wild. So I can't see how much...
There is something funny about AudioEffectDelay.
Try this code on Teensy3.2 (tools: "Serial + MIDI + Audio"):
// Delay demonstration example, Teensy Audio Library
// ...
If I understand that correctly, I'll just insert Faders (or Mixers) before the effect chains I might want to turn on/off?
Like in this example:
10426
There is two effect chains there: one with...
I'll do that later, but in case I forget it, I'll just copy-paste the code here for now.
I made some more testing and scoping and I think this works good enough. Like I said, I changed the output...
No I didn't. Looks like a nice kit, at a very nice price!
I know that feeling ;)
I think I got this damn TDA1543A working. I didn't know how to make the transmit 24 bits, but I managed to do...
It is different, believe me. Maybe "Japanese format" is not a standard.
I might. Please PM me your postal address?
Already tried, sounds awful. The "Japanese format" is NOT standard I2S.
I managed to get the sound out with an opamp, that's not the problem.
Copy-pasting code that works with my TDA (but only...
Confirmed. My TDA performs nicely, when I fill the first byte with the first bit, and second byte with sample >> 7.
Like this:
int16_t t = (d & 0x8000) != 0 ? 0xff00 : 0;
d = ((d >> 7) & 0xff) |...
I finally got it! My TDAs probably are not faulty, they just aren't TDA1543. They are TDA1543A!
The difference is, this variation doesn't use I2S, but "Japanese format". It is similar, but there...
I think not. It says "the most significant bit (bit 1) must always be first" in the datasheet.
I too got some TDA 1543 chips. I actually managed to get some sound out. I didn't use the sine...
I have this screen from PJRC store http://pjrc.com/store/display_ili9341_touch.html
I just measured it: when the bg LED is powered by 5 V thru a 100 ohm resistor, it takes just about 21 mA. So it...
Awesome projects, Baddog and BoothJoe!
I see a transistor and a FET on the Flexiboard, driving the bg LED. I think it's an overkill, for this display unit. But can't say anything sure without measuring the current.
According this document https://www.pjrc.com/teensy/K20P64M72SF1.pdf
- Maximum current single pin limit (applies to all digital pins) is 25 mA
- Output high current total for all ports is 100 mA...
There is no option "Keyboard" for Teensy 2.0. There is "Keyboard + Mouse + Joystick" and "Serial + Keyboard + Mouse + Joystick".
Baddog: I tried your code with "Keyboard + Mouse + Joystick" and it...
Without seeing the error report, I'm just guessing that you haven't changed the "USB Type" (in the Tools menu) to something that includes Keyboard.
When trying examples, forgetting to change the...
I think the Sparkfun USB Host shield should also work. But it is intended for using with a 5 V Arduino, so it contains unnecessary and potentially dangerous 3.3 to 5 V level shifter. But it should...
You can do that with AVR based Teensies, but not with 3.x or LC. Because on ARM based Teensies, there is a separate bootloader chip there. And in any case, the bootloader is the part that is not open...
Ok. And by default the lock bit is off. Good to know.
Yes, I know the bootloader only provides write-only access. I'm just curious if the chip pushes the bootloader into the main MCU ram to be ran from there? And if that's the case, and if someone could...
I've read that, but if the bootloader chip pushes the bootloader to the ram or the flash, is still not clear. If it's ram, could that program read the existing code from the flash, or is it locked...
Thanks, but I don't really need it, just yet. My current projects don't need all this horsepower, so I use smaller Teensies for now, and come back to 3.6 later anyway.
There was no claim anywhere in that Kickstarter page, that this would be an open source project. "Arduino" is mentioned, but there is no law that everything related to Arduino should be completely...
In 2.0(++) it's just an AVR bootloader. But starting from (ARM-based) 3.0, there have been a separate bootloader chip. I've figured out that this is a tiny (ARM M0 type?) MCU.
I've read that it...
Good to know. I'm sure it will be available before I'll have the time to really build something on the 3.6. In the mean time, the SD adapter on Audio board still works with the 3.6, with the old...
My 3.6 arrived on Tuesday, the Oct 11 (Finland). I placed another order to PJRC shop in Oct 1, it was shipped in Oct 3, and also arrived last Tuesday. The same day as the Kickstarter award! (I didn't...
I also have stupid questions, so I think this is the right thread...
The standard SD library doesn't work with the new 4-bit interface. There is SDFat Beta by Billy, then there is uSDFS mentioned...
I found the source also, but that (KINETIS) uTasker thing seems a bit complicated. And, for 3.6 you'll also need to change the SD library, to use the new 4-bit SDIO.
Interestingly, the SD card USB...
I think it should not matter if the USB devices are HID or not, you still should be able to combine them. But I can't help you how to do it, with current Teensies. I've done similar thing in the...
Sorry, why are you using BootCamp? Why don't you just use Mac OSX versions of Arduino and TeensyDuino?
You have forgotten the line with 20k resistor between pins 4 and 5?
I've got my 3.6 just today! Yes, I'm in Europe. The shipment was a little slow, but it was cheap, so it was perfectly ok. And for a Kickstarter project, very very good.
Haven't soldered anything...
Yes. That's one of the reasons I choose the 3.6. :)
But I'm prepared to wait for a while, because I think Paul is a busy man right now.
That's why I suggested using a USB host shield. I have done similar project myself, not using Teensy though. I have an Arduino sized host shield, so it was easier to mount that on an Arduino. But the...
You want a device to connect a USB game controller to a NES? It is doable, but you'll need http://www.pjrc.com/teensy/td_libs_USBHostShield.html
and someone who can code!
Reading a USB joystick...
Good point. And said so, right in the start. I didn't read well enough...
When Charlieplexing, would not need the diodes.
Actually, even Teensy 2.0 (16 MHz AVR) is more powerful than most of those vintage computers. And I think Teensy 3.2 outperforms even the ST and Amiga.
That doesn't necessarily mean you could play...
Cool, but what are those diodes for (in the diagram)? A LED is a diode itself ;)