I measured the resistance between the sleeve and ring 2 on my Bose QC25 headphones: 5.6 kΩ
This led me to adding a 5.5 kΩ resistor to my plug:
19489
There were some other random audio...
Type: Posts; User: feklee
I measured the resistance between the sleeve and ring 2 on my Bose QC25 headphones: 5.6 kΩ
This led me to adding a 5.5 kΩ resistor to my plug:
19489
There were some other random audio...
I already asked this on Electrical Engineering Stack Exchange, but so far without an answer: How to connect a line-out to mic on Android plug? (CTIA)
We have set up a sound installation in the...
See my original post: 3.6
A Teensy 3.6 plus matching audio shield was easier to get. I’m in Hong Kong, ordered from Taobao. It’s more expensive here than in the West. I should’ve ordered two...
According to my own research, it should be possible to use the two ADCs as well. That would give a total of four inputs. I haven't tried it yet.
However, I would want to keep one ADC for reading...
The audio shield has five mono inputs (2 × stereo + 1 × mic), and then the Teensy 3.6 has 2 ADCs.
Using AudioControlSGTL5000::inputSelect(), however, it only seems to be possible to select one...
Thank you! Well I only need 500 ms of delay, and the sketch is small, so I guess getting the RAM was superfluous.
Anyhow, I added a comment to the aforementioned YouTube video, which may be...
Thanks, that's it! Sorry for not reading the documentation thoroughly. I was following Paul's video Teensy Audio Library, Delay Line Demo with (0:27):
AudioMemory(10);
What RAM is my sketch...
I have a Teensy 3.6 with the Audio Shield and RAM (23LC1024T-I/SN 全新芯片SOIC8IC SRAM 1M SPI 20MHZ 8SOIC):
19326
19327
When I delay the microphone input, I hear cracks if the delay is greater...
Find the full PNG attached in a separate ZIP file, for completeness.
That’s totally believable. In fact, the first image in the data sheet showing the pinout is wrong and was responsible for...
Well, then why does it mention the logic input voltage in quantities of VDD? (VIN = -0.5~VDD+0.5)
If the addressable LED was just specced for 5V, then they could’ve written VIN = 4.5V – 5.5V. Also...
Thanks Paul, and thanks @markonian also for the circuit!
However, I'm not sure that you’re right. According to the specs, 3.3V should be OK as long as it is used for both power and logic high:
...
OK, we did some more tests, and if we swap the power adapter for 5V from the Arduino Mega or for another power adapter, then the SMD LED works.
The through hole LED does only work with 5V supplied...
We tried two different W2811 addressable LEDs, one SMD, the other one through hole. They are connected to a Teensy 3.2.
Both work when power is drawn from the Teensy’s 3.3V power supply pin.
...
The first version was with a Digispark/Attiny85. Then – after running out of flash memory – I switched to the Arduino Pro Mini. I also considered the Teensy LC, but decided against it for cost...
Update: I decided to go with a battery in each node for now.
For serial two-way communication, I just finished writing my own library: MultiTrans
MultiTrans is an implementation of a multi...
Current status concerning supplying power to nodes:
Stereo plugs: When inserting them, they short poles. ⇒ scrapped
Batteries: That’s what I plan to use for now, for demonstration purposes.
...
Thanks for the suggestion! In fact I was thinking about stereo jacks before. The advantage of BNC connectors is that they can be secured against pulling. However, if things get too complicated, I may...
As I still don’t know where to start, and as I have the feeling that I’m being misunderstood, I decided to simply the problem:
12985
Details:
Distance between each two nodes: about 10 cm (4...
Thanks for the suggestion, but:
I’m not sure you understand what this is about. People playing with the construction kit should be able to assemble it in any way they want. The network then...
Thanks for the suggestion! I’ll have to do some reading on that topic.
I am only aware of POE over twisted pair, and that’s not what is used here. Connectors that can be rotated freely are a...
Because I’m an electronics layman.
Thanks for the suggestion! However, I’ve no clue how design such a thing.
Just to keep in mind: While individual cables are short (about 10cm or four...
Consider a mesh of nodes:
12954
The nodes may also be connected in sequence:
12955
Details:
Very attractive, thanks!
Thanks for all your suggestions! In fact I’ve a Teensy LC here. Unfortunately, three UARTs is one too few.
In the meantime, I’ve read that some boards allow reconfiguring UART pinout. The ESP32 is...
I’m back at receiving junk on the Teensy. But this time, I think it’s my code. I added another ATtiny85 as a relay:
12883
Every time the relay receives a character from the sender, it sends it...
Thanks for all the help! In particular thanks to @PaulStoffregen for trying to reproduce the issue using an Arduino Uno, for debugging my code, and for explaining 300 baud support!
Finally, I got...
Both were connected to the same USB hub. Anyhow, I added common ground on the breadboard as well, but the issue persists:
12845
I forgot to mention: When the Teensy receives “Hi!” from the...
I want a Digispark clone (ATtiny85) to send data to a Teensy 3.2. On the Digispark, I use the SoftSerial library. On the Teensy, I use one of the hardware serial interfaces. The problem is that the...
Thanks for the suggestions! Instead of delayMicroseconds, I now consider using some sort of timing interrupt, have to read up on that topic. That way the controller can do somthing useful in between.
Thanks for the explanation!
Also thanks to @Theremingenieur for the suggestions! I am now considering alternative solutions.
On the Hackaday article DAC with DMA and buffer on a Teensy 3.2, it says in several places in the source code:
delayMicroseconds(125); // this function may be broken
What could the author be...
Makes sense. I am more of a software developer. With hardware, to me the amount of options is often overwhleming; And some options require components which first need to be ordered. That makes me...
Thanks for the suggestions. Note, however, that I don't want to interrupt the Teensy while it is busy: The Teensy should only set X and read Y once per second! Furthermore, I don't think the Teensy...
Thing is that communication is completely asynchronous: While the Teensy sets X every second, the Raspberry Pi may read it only every minute. Also, vice versa, while the Teensy reads Y every second,...
Teensy:
Output: Every second, the Teensy sets an output, X.
Input: Every second, the Teensy checks for an input, Y.
Raspberry Pi:
Input: When it finds time, it checks the value output...
The disadvantage of IRremote is that it’s designed for only one IR LED, while we have multiple LEDs that need to be cycled.
I now tried a simple solution:
analogWrite(myPin, 128); // 50:50...
Thanks, @manitou!
Thanks for the suggestions. However, I was not asking how to time the switching. I was asking how to quickly switch, in particular which one of the following methods is quicker:
Alternate...
As suggested in the thread Create 38kHz square wave with Teensy LC?, to generate a 38kHz signal, I am using:
analogWriteFrequency(myPin, 38000);
analogWrite(myPin, 128); // for a 50:50 square...
Thanks for the explanation!
Now it works: :)
10573
10574
Maybe there was a bad connection. As you can see, I connect the scope directly to ground and pin 3. I now moved the Teensy around on the breadboard and I changed...
Thanks for the suggestion! Here is what I tried:
void setup() {
const uint8_t pin = 3;
analogWriteFrequency(pin, 38000);
analogWrite(pin, 128); // for a 50:50 square wave
}
void...
With an Arduino I am using a code snippet that Nick Gammon published in an Arduino forum post:
// set up Timer 2
TCCR2A = _BV (COM2A0) | _BV(WGM21); // CTC, toggle OC2A on Compare Match
TCCR2B...