I have a project that is, essentially, a prop jetpack. It uses a Teensy 3.2 and a Prop Shield (the non-LC version). I've used Teensytransfer to load a number of .RAW sound effects into memory, and I'm playing them back...
Only had time to look for a couple min, but saw this:
if(queue1.available() ==1) {// if availabe copy 128 block to array and get out of while loop
You probably should check for >= instead of ==. If the...
Indeed the T_4.1 is fast - and PJRC support code makes avoiding the RefManual generally easy :) - and the resulting code is tested for correctness and presented for use.
Would be cool to see that on a thread. ASM.s...
Honestly, no, not really. Indeed the ESD protection diodes do tend to divert ESD charge to the power supplies, but those supplies have a lot of very low impedance (at high frequency) capacitance.
But these...
@KurtE - just did a PR to your Volums_SD branch with what I have so far for FatFormatter. Still playing - like pulling teeth for me - hope I am not too off course.
To anyone seeing this, I have been banging my head against the wall for the past 4 days, but i finally have the code to where I can compile without errors.
Now my issue is I am not getting audio out, so I believe I...
PJRC recently received 5 of the new "B" version and they were soldered to PCBs just last week.
I have a few other urgent matters to wrap up before I can work with these boards. But I hope to have a definitive...
Sadly, PJRC can no longer ship small orders to the UK. Well, not unless you have a VAT ID number.
The UK recently added a new requirement for VAT collection before shipping. Large companies like Amazon are doing...
I'm running it here on a Teensy 4.1 with a wire approx 11 cm long on pin 34.
It's not printing anything other than the initial 2 lines, even if I touch the wire, move my hand nearby, etc.
It shouldn't. Sounds like a pretty lame anti-virus program. Care to name & shame which vendor this is?
Occasionally various anti-virus programs have erroneously flagged the Teensyduino installer or other software...
I found the problem: the sketch doesn't freeze as I assumed initially, it keeps running but at some point it gets stuck in an infinite loop inside the "do while" in "antplus.cpp" line 184 waiting for the buffer to...
That IS strange. Can you share your platformio.ini contents and confirm that the only change you are making to the contents of framework-arduinoteensy is to replace the cores and libraries directories with symlinks?
Sounds like a neat project.
What do you mean by "low power"? How fast do you want the 20g mass to move up? What's your budget?
If you have the power budget, off the shelf stepper drivers can be used and could...
@blackketter: thanks for your help!
The problem here is that platformIO automatically restores a folder named framework-arduinoteensy@1.153 containing the complete 1.153 package.
If I delete this 153 version it...
My library works fine at receiving the high accuracy GNSS data that you'll get from applying CORS or RTK corrections. Be sure to download the latest from:
https://github.com/bolderflight/ublox-arduino
During the...
Brian,
Given the availability of the Ublox GPS-RTK chips, I'm thinking of replacing my GPS subsystem connected to Teensy 3.2 and 3.5 devices. Do you think your library will hold up? I doubt you thought about position...
Sorry, at the moment I don't have a compiled version myself. I can't test anything either, because my hardware is disassembled in the basement.
I don't use the program anymore.
Is the interrupt PIN of the PCF...
Hello,
For the past two hours I've been getting mad with a very basic stuff which behaves oddly, I hope somebody here would be able to help me :
I'm using a Teensy 4.1 and I have weird interferences while trying to...
Hey, my and my friend is trying to get the TI DAC81408 to work on our custom board, we think we got the code right, but cant seem to get any output from the dac.
we are both kinda new trying to implement Spi devices...
I believe I also have the same problem as you do. I have been trying to migrate my code from a teensy 3.6 to 4.1 and I also started having these freezes for about 1700ms at seemingly random places in the code. In my...
Good day,
I had a very long post written but I'm starting fresh because this just doesn't need to be complicated.
A teensy, running compiled code on a freshly installed Windows 10 PC with very limited...
Its likely to be worth figuring out if some clever mechanism can drastically reduce costs - 500 is 20 x 25 array or so.
Any way to common up the mechanical drive to a whole row may be a winner - a solenoid per reel or...
Clamping signal lines to the rails with Schottky diodes is standard really - for any logic signal going off-board.
I've seen BAT54S and QSBT40's and similar used for this. Some series resistance is good too, even on...
Hi, just FYI I am using the TXS0108 just now for a couple of projects and I have posted one question that can enter in the category of "Are there reasons I should not use this chip?" if ESD is an issue for your project....
Hi, if you want to fast-forward the story, the direct questions are at the end marked bold.
I have an issue with a report of a bricked Teensy 4.0 used with my EGA/CGA to VGA board described here.
The event was...
This might be a coincidence, but 1786ms is quite close to 2^30 processor clock cycles at 600MHz, or 2^28 timer ticks at 150Mhz. Just a wild hunch ... a missed timer somewhere.
Just completed a main.S for the blink programme. Blown away by the performance of this little machine (Teensy 4.1). The Assembler version is four times faster than the C code: the uncalibrated delay loop requires...
@MichaelM, I think you mean the SN74AHCT125N part, isn't it? The one with TTL level input IH = 2V].
The non-T part has an VIH of 3.85V at 5.5V VDD.
Regards,
Paul
Hi every one, and thanks you for sharing your knowledge,
Maybe a stupid question, but I am about to solder the potentiometer on the GRBLHAL 2.07, and asking myself, if there is a sens of direction of the component.
Hi, I am currently trying the first of many programs from Arduino Due + Ethernet Shield to Teensy 4.1 + NativeEthernet, as Teensy 4.1 promises much better performance and capabilities. Unfortunately, I am hitting an...
I've used this logic level shifter in the past. I've used it for I2C shifting and WS2812B/neopixel shifting. Unfortunately, there is no data sheet:
https://www.pololu.com/product/2595
I believe I've used it...
It seems like very time I browse various websites for products I find new (to me) offerings. I did find a breadboard version of the TXB0104 at adafruit (https://www.adafruit.com/product/1875).
Interestingly, the...
The replacement chip is the "B" version from the previous few messages. Should work identically for our purposes but hasn't been verified at this point.
PaulS and BriComp, Thank you for the replies. I haven't overcome my skill/fear of soldering those surface mount parts, so I like the product that PaulS recommended. I haven't found a similar version for the the...
thank you mlu for your replay
you right.
im guessing that right now its working better with my code that close all relay in UP mode before its opens the the others
its because the suppression diode not closing the...
thank you paul for your quick replay.
ill try go for the zener method first (with a tvs diode) instead the regular diode to see how its improves the closing relay time and if it reduce the switching peaks in signal...
Interesting I had tried just including PFsVolume.h but it failed but if I did a #include "mscFS.h" to worked. Live and learn something new everyday.
Ok with that said I added format to the procesMSDrive and it gave...
OK I have a quick and dirty version of the code to read the information sector for free space...
uint32_t ReadFat32InfoSectorFree(USBmscInterface *usmsci, uint8_t part) {
uint8_t sector_buffer;
if...
thank you for your replay PhilB
the relay path is for in line audio signal so any LPF must be 13nf related to 600ohm standards.
ill prefer to avoid them. its a passive control volume path for stereo balanced analog...
Yes. Look on the product page.
https://www.pjrc.com/store/teensy41.html
Scroll down to "Software" and look for "Command Line with Makefile".
Similar info is also on the Teensyduino download page.
...
Hi Andy,
Only in case a peripheral wants to drive a signal higher than 3V3 to the Teensy.
For your application, CS, MOSI and SCK are all outputted by the Teensy at 3V3 max so no problem in that respect.
You...
The problem is you are using code to read files from the SD card reader. The Teensy 3.2 does not have a built-in micro SD card reader, and nor does the Prop shield.
You could get a Teensy 3.5 or 3.6 and use the Prop...
I can't see your screen and I know know precisely what you're clicking and typing, but my best guess is you may have installed Teensyduino into a copy of Arduino you downloaded from Arduino.cc (the only thing...
I am using Ubuntu 20.04.2 LTS. The installer doesn't seem to work with snap package. When I download arduino from the arduino website, the installer work, but I still don't see anything in the arduino IDE.
@mjs513 - Good morning.
Probably need to include: UsbMscFat\.....\PFsLib\PFsVolume.h
Which is probably included in some other higher level include files.
Like:
#include "mscFS.h"
Sorry I am not 100% sure of your setup. Also I do most of my stuff on Windows, but do keep a machine with Ubuntu...
Might help to know what version of Ubuntu, running on? 32 bit or 64 bit...
Also Teensyduino...
well, guess i'll make sure every output is set to low, and have an input where i measure the 3.3V line of the DC-DC converter and halt my setup code until it is digitalRead(DCDC3V3) returns 1.
any recomendations on...
When I try to install Teensyduino on ubuntu, it's not working. How should I proceed?
I created the file https://www.pjrc.com/teensy/00-teensy.rules like described in the docs. Then dowloaded the installer for linux....
That size of VFD now seems to retail for about 100 ukp here, the ILI is by far the more cost effective option. Just meant was touch sharing the MOSI,MISO and CLK with the display, it’s now clear it is and that is good...
While far from elegant, you could just change the delay to be the length of your WAV file.
void loop() {
playSdWav1.play("SDTEST2.WAV");
delay(93200); // wait for SDTEST2.WAV to completely play, approx...
AGND on Teensy 3.2, 3.5, 3.6 is meant to help with the analog input pins. It's unrelated to the audio shield (which is all digital audio signals as far as Teensy is concerned), except for the specific case if you add a...
Good morning all as well
Sounds fun. I started playing with trying to get a kludged together fatformater working, going piece by piece but knowledge getting stuck on c++ issue. I started with just the basic call to...
I would not recommend connecting the two 3.3V outputs together. Especially if the DC-DC converter is a modern design with a synchronous rectifier, that would end up with a pretty unsafe situation.
Probably the...
Morning all,
The info sector is interesting thing, may add another hack onto the VolumeName sketch version which tries to read it. I am sort of curious for example if I then transfer a stick to Windows, does it...
The code checks if cycle_start pin is HIGH and calls cycleStart() that sets the output pins and led high.
You need to check when the cycle_start pin goes low to turn off the leds, or use a timer for that or the...
all io pins of the nextion adapter are setup as 3.3v outputs, but i dont use all of them. They go straight into pin 14-18 of the teensy, which are set to input. When i press a button on the Nextion, it sends a high...
Hy,
I am making a board where the 3V3 power usage exceeds 200mA. As such, I'm planning on adding a seperate 3V3 switching DC-DC converter in combination with the Vin 5V input.
However, i was wondering if i need to...
general understanding in seeing some posts ...
use AGND for Analog signal ground as it has some isolation from digital ground to eliminate some noise digital circuit usage may present on an otherwise shared ground.
Try this in the loop() code - from : ...\hardware\teensy\avr\libraries\Audio\examples\Tutorial\Part_1_03_Playing_Music\Part_1_03_Playing_Music.ino
void loop() {
if (playSdWav1.isPlaying() == false) {
...
I just installed Teensiduino beta version as usual and then manually copied the cores (from the Arduino folder) into the respective PlatformIO directory, replacing the existing ones. I have read that you can explicitly...
Looks right to me. And LC is the obvious choice for MIDI out of the current line-up because it's the lowest cost.
MIDI is not very demanding of resources and human interactions with controls are glacial in timescale...
There is this extended Tool that allow this.
https://Manicken.github.io
There you can group items into a voice class.
There is one example at the main menu- examples-poly synth.
That describes how to use the tab...
In UP mode you always turns relays off before setting them to correct value, that will cause spikes
if(num > PrvNum){
Serial.println("UP");
PrvNum = num;
for (int i = 0; i < 7; i++) { ...
This is slightly confusing exactly how are the Teensy, Nextion and optocouplers connected ? Which pin is input from Nextion, and which is the corresponding output from Teensy ?
Hey there, no need to apologize :) Yes, PCM1681-Q1 is my workhorse and it worked straight away with T4 in both I2S and TDM mode. I'm using it in hardware config because it requires no pins or code from Teensy.
...