I already have better computer, but since I knew that @mjs513 was probably using a faster machine, I thought I would try a slower one, as mentioned:
Net - yes could be faster. Could go with the Cell phone type connection, although 5G is somewhat...
Please understand I'm guessing trying to figure out what's wrong over the internet without access to your hardware... so here's another blind guess.
I see you have Adafruit_NeoPixel library in use. Looks like Adafruit_NeoTrellis might also have...
I went through the same process of writing DMA mode libraries for T4.1, not only for Serial/UART but also for SPI master, SPI slave. I had to because the standard libraries did not give me the functionality that was needed in the applications...
I did some more testing with many different cards now and my last provided code snippet seems to work fine. It is very rare that a card will not respond to CMD6 after re-inserting, but it happened. The re-try mechanism always successfully made...
@KurtE seems like you might be ready for a computer upgrade - and/or better internet?
I ran the ZST again after XZ and it was under a minute - so part of the time seems to be on the fly downloading?
When I removed 0.59.3 (as before) then...
Be aware that these ST MEMS with their SPI and I2C interface options can cause trouble during initialization. More on that in this thread: https://forum.pjrc.com/index.php?threads/spi-help-moving-from-teensy-3-2-to-4-1.73318/page-2
The bottom...
You need a buffer big enough for twice the longest interval between yield() calls, plus some margin. It looks as if your code exits loop() often, so if you monitor the loop interval and print the maximum value, that’s going to help a lot.
Say...
You need a buffer big enough for twice the longest interval between yield() calls, plus some margin. It looks as if your code exits loop() often, so if you monitor the loop interval and print the maximum value, that’s going to help a lot.
Say...
hi again sir @h4yn0nnym0u5e, I already tested the library, just had some problems installing it earlier but now I have it.
Thank you for the modification of the Audio Library.
I just had some questions, for the createBuffer(****...
Pin 9 should be okay. Try using FREQMEASUREMULTI_RAISING as MEASURE_TYPE. I have never used the MARK types, so I can't say for sure they all work. Add code in loop() to wait some amount of time for data before printing "No Signal Found". T4.1 is...
I have multiple Teensy in an industrial environment, each inside an enclosure powered by 24V stepped down to 5V using Mean Well DDR-15G-5. They have worked well for me about 4 years now, and they have built in protections which may be helpful for...
You might also consider placing resistors in series with the Teensy pins. Even 1K will go a long way towards limiting current and protecting Teensy is something really bad happens to the transceiver chip, or anything else that has a GPIO pin...
Looking like ZST is the clear winner. And wow is XZ slow (as implemented by Arduino using Google Go) on Windows. It was slower when I tried on Linux, but nothing like that slow!
In this screenshot you can see a slightly different URL than the one recommended on the download and install page. It's from this forum thread where we're testing alternate compression for the next release. For long term use, you should use the...
Version 2.2.1 is the latest stable release. I downloaded the nightly build from Arduino's website just now. It says versions 2.2.2-nightly-20231130. That ought to be the very latest.
Indeed it has the same "Additional boards manager URLs" in...
No the instructions to load don't quite work for my version, do I just have to use an older version? When I pull up preferences there is no reference to board mangment and the board manager functions do not recognize the provided link nor can I...
For the heck of it I tried it with a secondary lower end Window's machine. An earlier Surface Pro laptop (originally with Windows 8),
Now running Windows 10. i5-4300 1.9ghz 2.5ghz 8gb of ram...
Also our network at times is not the fastest and...
Following on from a previous thread regarding serial data corruption over USB, likely due to using the 96MHz overclock on a Teensy3.0.
The project uses a Teensy3.0 to decode the read-data stream from a double density disk in an Atari ST disk...
Sounds good! Based on the README, it sounds like the FreqMeasureMulti library would be perfect if I could get it up and running. However, I'm having a little bit of trouble getting even a basic script going. It seems to stop working when I use...
Thank you. I'm glad that my components aren't dead as that was my first thought. My set up is not nearly as well constructed! I will take some time to do things the right way and report back once I have something that works (or doesn't!)
Hi Mark,
Thanks for taking the time to respond to my question and offering your advice, its much appreciated.
I don't have common mode chokes installed on the CAN bus. I read a TI application note that spoke of potential issues with high voltage...
Wow, I saw XZ was slower on Linux too, but that's a pretty incredible difference.
Hopefully more people with Windows can give this a try and report on the overall speed....
I'm using IDE2.2.1 on macOS with the latest QNEthernet it installs. I'm not great at GitHub Desktop but do use it (probably incorrectly).
Should I clone the master into ~/Documents/Arduino/libraries replacing the existing QNEthernet folder ?
About the sensor boards, I have and want to use :
The LSM9DS1 board from adafruit
https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout
The blue with wider pcb version
The LSM6DSOX board, also from...
One suggestion: buck convert down to 8V, then use a linear regulator to get a clean 5V from there. Defence in depth. Simple buck converters have a path between input and output that becomes a short circuit if the inductor saturates. Inductors...
Running on a Windows 11 home edition pc I removed Teensy before each test then did the install. Used 1.58.1 as the common denominator. Windows stopwatch was used for timing.
Original BZ2 Compression: 3 minutes 43 seconds
ZST Compression: 3...
Just as a further note I downloaded the Adafruit version of the LSM9DS0 library and ran the 2 example sketches using SPI and both worked no issues:
Accel X: -0.88 Y: -0.04 Z: 9.90 m/s^2
Magn. X: -27.50 Y: 7.24 Z...
For most uses rollover is immaterial if you compare timestamps correctly and never want to wait too long, using the idiom:
if (micros() - previous_timestamp >= DELAY)
{
previous_timestamp += DELAY;
// do stuff
}
The key point is the...
Its symmetrical, typical full drive outputs are +4mA and -4mA. This is for the specified output voltage droop, note, you can probably pull more, but don't expect too much from the IO pads they have to be very small indeed on a chip like this...
Simpler symmetrical method, no LM4040 needed:
I picked the AD8656 because I know its properly rail-to-rail on the inputs and outputs, cheaper options exist. Decoupling cap omitted, it is not optional though.
Folks, the tech specs for the Teensy 4xs say 4ma max as a source. But it's mute on max current controllable with a pin in OUTPUT_OPENDRAIN mode. I'd guess I could expect 10ma or so, but I'd rather be sure. Let me know.
Thanks
TD1.59 Beta 3 on Teensy 3.6 => attempts to use the predefined Wire2 interface result in a program freeze. The problem is solved by calling:
Wire2.begin();
Wire2.setClock(400000);
before calling beginTransmission();
However, this is not...
I do have a camera with a bulk endpoint. It's not exactly a web camera---it's a FLIR Boson 640 with radiometric calibration. They retail in the $3-$5K range. I got the camera in return for developing a T4.1 driver using the CSI in 8-bit mode...
If you are using the code from msg #4, try using the FreqMeasureMulti library instead. FreqMeasureMulti will provide much better accuracy because the period measurement is done in hardware, not in the ISR (software) of msg #4.
If you are using the code from msg #4, try using the FreqMeasureMulti library instead. FreqMeasureMulti will provide much better accuracy because the period measurement is done in hardware, not in the ISR (software) of msg #4.
I appreciate all of your input! I was able to basically use the code above to get everything running!
However, when using the interrupts to measure pulse width, or even when just using the pulseIn() function, I get little spikes in the signal...
I guess you are referring to this board?
Yes, the board's regulator will have a small dropout but the LSM9DS1 chip will work from 2.4 - 3.6V.
No. The board's Vin is an input so that can be connected to Teensy's 3V3 regulator output pin. But the...
Hi,
We've got about 20 x Teensy 4.1 in daily active use in an automotive/24v environment (industrial mobile plant). Each Teensy is connected to the 24v vehicle supply via a OKI-78SR 5V and decoupling capacitors. Both CAN interfaces are...
Confirm, the main reason is to prevent possible back flow of current into your PC. Or the same into whatever power supply is connected to Teensy, if that power supply is turned off while the PC gets connected.
Indeed the risk in practice is...
The stock audio / SDFAT libraries do not allow you to play back audio from SD while simultaneously accessing it from your sketch. See this thread for discussions and links to a new set of audio objects which do allow this (because no file access...
Yes, personally, I have encountered this behavior several times: the wiring, just one wire that fails is enough.
But, let's go in parts:
1) Please share some photos of the way you have the 20 pin flat cable connected to your teensy
Short...
Before beginning this project, I at first researched what else was out there (and I do own other programmable pedals); For instance, was I about to waste my time producing what already exist? Thus I found Multiverse whilst doing so. Whilst...