Since there are many happy users of Teensy Audio Adapter boards, I would not just discard them out of frustration.
Sure, they apparently 'suck' in your application but this forum may be of help in nailing down the...
To 'rescue' the worn USB connector, you may try to press the top and bottom metal closer together using pliers.
But that's definitely not a permanent solution...
Paul
Sounds to me that the USB cable is not inserted all the way into the Teensy 4 USB connector. Is the opening in the plastic housing large enough to let the cable through? Can you show us a close-up photo of the Teensy...
Since your code ran successfully on the T3.6 and not on the T4.1, and you only changed the resistor you may want to check your external hardware.
Fastest test is probably using the RMS object to see whether any audio...
If I understand this page correctly then timer.setTimer(10); instructs the Teensy to sleep for 10 milliseconds only and then wakeup and flash the LED for 4 secs. That will indeed not show a lower power consumption.
But...
Can you explain in more detail the functionality you are looking for? I do not understand what you mean by "control a midi file". What properties of a midi file do you want to control? Or do you want to control pitch...
Sorry, can't recommend a quiet alternative because I did not (yet) run into a noise issue with those 0.96" Oled's (or other displays for that matter).
But how did you find out that the Oled charge pump circuit is...
For Teensy 3.x, there is an I2C library (i2c_t3) that can do non-blocking transmit.
From the documentation:
This library is included with the TeensyDuino installation.
For Teensy 4.x, found this non-blocking...
Yes, it is. PCM5102A board, powered with 5Vdc, connected to a Teensy 3.2. The PCM5102A chip has a charge pump internally to realize an output voltage of 2.1Vrms.
Paul
Good to hear it's working now!
About the popping sound - this not something I heard before and should not be there. Could it be the amplifier your using?
You could try to power the UDA1334A board from the 3V3 Teensy...
Interesting, didn't know that.
But how would I code for that? Is it as simple as this?
void setup() {
Serial1.begin(19200, SERIAL_8N1_HALF_DUPLEX);
}
void loop() {
Serial1.write(0xAA); // write...
If you want your setup to be recognized as a USB audio device for your computer, you need to set the USB type to "Audio":
Then this code will do the trick:
// set Tools > USB Type: to "Audio"
#include...
Apparently it's not just that simple to realize half duplux, see this thread.
More threads to be found when you Google for "teensy serial half duplex".
Paul
Perhaps it's better to read serial data like this:
// CAT -> USB
if (Serial1.available() > 0) { // got anything?
int c = Serial1.read(); // read from UART
Serial.write(c); // Yes write to USB
}
See...
Well, I tried to make a working setup using the code from the tutorial you linked to but could not get it to work...
So I changed to another sketch that I know I had working before: File > Examples > RF24 >...
Just uploaded the Guitar.ino to a Teensy 4.1 but I don't see the 9 LED blinks.
Could it be a soldering issue? Some short between pins?
I also noticed a No Teensy boards were found on any USB ports of your computer...
Well, I could be wrong also, I'm getting older too...
Paul
Edit: right, setting USB type to Audio is needed when you want the Teensy to be recognized as an audio device...
Looking at the datasheet of the CO2 sensor, the current consumption is rather low (<85mA), so I would just power the interface board and sensor from the 5V pin on the Teensy 4.1. The USB host port on your PC or laptop...
Couple of comments:
1. You may want to add radio.setChannel(100); to both the RX and TX sketch to make sure the modules are using the same RF channel.
2. Is there a specific reason for using pin 27 as SCK and not pin...
Well, at least you have one board up & running...
The photo you made of the PCM5102 board does not fully look like the one in the Ebay ad - the board misses the silkscreen writing that states "PCM5102MK" etc.
Does the...
Click on the icon in the orange circle and upload your photo.
There is a size limitation though. Don't know the exact max size but it will complain when you try to upload a too big photo.
Hope this helps,...
That's weird, those pins are marked correctly on the PCB. BCK connects to pin 13 of the PCM5102A, DATA to pin 14.
Wonder if you received the same board as shown in the ad.
Paul
Hi Keith, have the same PCM5102 board running on a Teensy 4.0 without problems here.
Your code should work. Your pin assignments are OK. Jumper on my board is also set to I2S.
Can you show a picture of your setup?
...
Used a NRF24L01 module several times with a Teensy 3.2.
Powering the module from the 3V3 Teensy output pin never gave an issue.
However, I did use a 10uF + 100nF decoupling capacitor near the NRF24L01 module.
I...
Found it; you need to play with the pulse width: waveform1.pulseWidth(PulseWidth);
PulseWidth has to between 0.0 and 1.0. Default seems to be ~0.2.
waveform1.pulseWidth(0.0); shows this:
...
Although I never played with a waveform other than a sine, I tried to reproduce your observation.
Looking into the WAVEFORM_TRIANGLE_VARIABLE function, it's not clear to me how to change the shape of variable .
I...
I don't see a reason why that buck converter should not work.
But you may want to have a look at this one. Or maybe more convenient, this one, saves you 2 USB-A to micro-USB cables.
Paul
Good find! This encoder seems to replace the 19067 encoder that roarkhen showed in his first message.
Unfortunately that flyer does not give any additional information we are looking for...
Paul
I'm beginning to wonder whether the encoder is just broken or not a quadrature encoder at all.
Looking closely at the board photo I see 4 LEDs arranged in a quadrant style, columns A & B and rows IN & OUT.
The...
For inspiration: the code for the Teensyduino-supplied Encoder library, which I used in the example above, is on your PC, here: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Encoder\Encoder.h.
And yes,...
Not too long ago I played with a similar looking 600 PulsePerRevolution encoder.
Powered it by 5V, connected the A & B signals to pin 5 & 6, and ran the following code on a Teensy 3.2 :
#include <Encoder.h>
Encoder...