I verified your sketch on a T4.1 and with or without the analogRead(randomVar ); line, it shows a serial USB device .
Did you set Menu > Tools > USB Type to Serial?
Using Arduino 1.8.13 & Teensyduino 1.53 on Windows...
Generally, for strips having more than 3 DotStar LEDs, you want to power that strip externally. You don't want the propshield board to supply significant current to DotStar strips. See this page for more info how to...
When searching further about the difference between an SSD1306 and a SH1106, I saw some display pictures looking very similar to your picture in message #4.
Here is such a thread.
And another thread. The solution is...
Allright. Now it's time to measure whether pullups are present the I2C lines.
With the display disconnected from the Teensy, measure with an ohm-meter between the SDA pin and GND and between the SCL pin & GND.
Paul
I would not be surprised if the 1.3" display is on another I2C-address. The zero ohm resistors near the 4 pin connector are differently strapped.
Did you run the I2C scanner example sketch on both displays?
Paul
Hi Bruce, you may consider buying a cheap CANbus analyzer like this one. This device saved me a lot of time while implementing & debugging a wireless CAN bus.
Here is a thread with some screenshots of the analyzer...
The datasheet of the CirrusLogic CS4272 specifies group delay for the both the ADC and DAC circuitry.
This 24bit/192kHz codec is used in the Focusrite Scarlett 2i2 3Gen USB audio interface.
Paul
I hope these 2USD boards have a genuine PCM5102A mounted...
On Aliexpress I see PCM5102A chips offered at 1.5USD but they do not have the BB logo printed on the package. Genuine parts do have the logo on them.
Paul
Not obsolete (yet), see http://www.princeton.com.tw/en-us/products/multimediaaudioic/digitaltoanalogconverter.aspx
I had an email discussion with them recently on the 2 versions of the PT8211, see this thread.
Paul
In case you're interested; I did a bunch of measurements on several DAC's. See this thread.
The PCM5102A is my favorite from a cost vs quality perspective.
Paul
For completeness, here are the measurements on the SGTL5000/PJRC audio adapter board:
and the TDA1543 :
Disclaimer: these are all non-laboratory measurements so your mileage may vary...
True. I'm so used to Teensy's with multiple serial ports that I forgot about this.
But you could use the SoftwareSerial library to create an additional serial port for the HC-05 on the Leonardo.
Here is an example.
...
Do you have also suggestion for using bluetooth connectivity between teensy and arduino leonardo?
You could have a look at the HC-05 BT module. Google for "HC-05 arduino", you will find a lot of information.
...
Again it depends on datarate, distance, power consumption for the wireless link but perhaps the nRF24 module is a good starting point?
See these links for more info:
Information:...
Hi Ryan,
Reading the Github start page of the FreqMeasureMulti library, it states a capture mode called "FREQMEASUREMULTI_INTERLEAVE".
If I read that correctly, it measures time between edges .
Perhaps that is...
Hi,
It depends on what code you want to run on the Teensy end. If you need a lot of processing power, go for the Teensy 4.0.
If you don't need that, go for the 3.2. It is still is plenty more powerful than a Leonardo....
Correct. However, there are a lot of (semi)pro DMX spots out there with the 3-pin XLR. This is the spot I tested with.
You're right, I mixed up the pin numbers in message #4. Pin 2 of the XLR plug connects to pin B on...
You can compile your code by selecting the LC in the IDE and see whether RAM and Flash is sufficient.
Performance-wise, the LC should indeed be OK for your purpose as you describe it.
Paul
Good, so the hardware seems to be OK then.
So the issue is playing the .raw file, either the file itsself or the audio library.
Did you try the WaveFilePlayer example using an ordinary 44.1kHz/16bit .wav file?
Paul
That's what I didn't know either but Pete's links in his message showed that it is feasible.
I just tried it. Using Goldwave, I inserted 2 cue points:
saved the .wav file, closed the file and re-opened that...
What kind of amplitude analysis do you have in mind? Peak level of the whole .wav file or RMS value of shorter part or...? The Teensy audio library has a number of analysis functions.
About the cue points: if I...
The pads must be separated if you want to power the Teensy externally and connect the USB cable for uploading/serial communication at the same time.
If the pads are connected, the external power supply will power the...
Well, not really a strip but yes, I've got the APA102 to work on the T4 using this code:
#include <FastLED.h>
#define NUM_LEDS 1
#define DATA_PIN 11
#define CLOCK_PIN 13
CRGB leds;
void setup() {
...
Yes, it is possible to use the objects of the Teensy audio library inside the Arduino IDE .
On the Mozzi GitHub page you can see that they already tested on a Teensy.
Paul
Hmm, I'm out of ideas now. I would have a close look at the PCB again with a magnifying glass and check whether there are very tiny solderballs laying around that short pads/pins/parts.
Is your soldering iron hot...
Hi, are you currently using the Arduino IDE for programming the Nano with the Mozzi software? If so, you only have to install Teensyduino which is an add-on the Arduino IDE.
See this page.
Paul
Perhaps the red and yellow wire in your setup are flaky? I have had problems once or twice with such wires...
When the 5V and 3V3 are present, but still no blinking, you can do a factory reset of a Teensy 4: power it...
Usb only with no external 5v works fine
This means that the Vin was not separated from the USB.
Are you sure that you cut the very small trace between the pads ? Please measure with an ohm-meter whether it's really...
Do you mean USB only, or USB and 5V external power connected?
Can you show us a photo of your setup? And a close-up photo of the backside of the Teensy 4 ?
Paul
Please correct me if I'm wrong, but I believe the E6B2-CWZ3E part does not have an open-collector output. I think it's called totempole output.
See these parts from the datasheet:
The -CWZ3C part does have...
The CD4051 is probably OK if you don't need super high audio quality - the distortion is around 0.3% for a 1kHz sine.
There are better parts available for audio. Check out this informative application note.
Paul
Yeah, the Receiver Output of the transceiver is called "TX-O" on the Sparkfun board . Anyway, you hooked it up correctly.
When I run your exact sketch, this is what is shown on the serial monitor:
Looks OK...
Tried the Sparkfun DMX board on a Teensy 4.1 and it's working fine with the TeensyDMX library.
Here is the setup:
Pin 2 of the XLR plug connects to pin A on the SF board, XLR pin 3 to SF pin B, XLR pin 1 to SF pin...
The RS485 module you are using is a 5V part. Meaning it will output a too high voltage on the RO line that could kill your Teensy 4.1 .
You should look for a module that uses the MAX3485 part and will be powered by...
The purpose of the ferrite is additional high-frequency filtering of the incoming DC voltage .
The diodes are there as protection against reverse voltage when powered by the Vin pin.
Paul
While testing the FreqCount feature in another thread with high frequencies , I probably ran into a limitation/constraint of the analogWriteFrequency() function.
This code produces a 75MHz signal on pin 8:
void...
My 2 cents: coming from a background as electronics designer in the days that it was mostly hardware development, software became more and more important. And I must say that the Arduino IDE brought me a lot in...
Exactly, when I had a 75mm jumper cable between pin 8 & 9, it did not work well. So I had to bent a wire for the shortest distance possible.
Mind you, Teensy 4.x pins can only handle 3V3 maximum!
Paul
Since I'm interested in measuring MHz's as well, I tried example "Serial_Output_T4.ino".
The serial monitor shows a rock-solid "50000000".
Even when setting analogWriteFrequency(8, 75000000); // very short jumper...
Did you solder *ALL* the Teensy pins on the back of the Octoboard?
If you power the Octoboard with the red and white wire, you should see that +5V also on the Teensy pin Vin. If not check you soldering.
Paul