You could have a Hole in your PCB and mount the Teensy 4.0 up from the bottom through the PCB.
Of course this would need the header pins to be removed and replaced with some coming up from the bottom.
I don't know...
The underside of the Teensy to the Top of the USB socket is 4.3mm. So you will have 1.7mm to achieve a socket if you remove the plastic from the headers underneath the Teensy.
The lowest profile sockets that I have been able to find are 4.6mm High, so together with the amount of plastic left from the pin header soldered onto the T4.0 they will still be too high.
I measure the underside of...
Good day everyone,
I'm currently working on a redesign of my PCB with my Teensy 4.0 on it.
At the moment I solder all the pins of my Teensy directly to the PCB.
But now I want to change the PCB so I only have to...
Teensyduino comes with a sample makefile. Your easiest path to get it to download Arduino 1.8.19 and Teensyduino 1.58. Extract Arduino, then run the installer to add all the files into the Arduino folder. Once...
Thank you for the big help.
I just got the idea from the timeTeensy3 example from File>Examples>Time>Timeteensy3
I just finished testing your suggestion about using now() function and I think it works perfectly...
You need to grab the time atomically (probably using now() ) and then extract the seconds, minutes, hours etc. from that value.
The problem is you're calling minute() and then the clock ticks over to the next minute...
I'm working on a project which uses a legacy Teensy 3.2 board for its microcontroller. I need to locate a version of GCC and relevant utilities for Linux which I can use from command-line. After reviewing available...
Hi, I'm new to Teensy Boards. I want to migrate my code from Arduino Mega to Teensy 4.1.
One component of my project is using RTC to monitor time for logging and sending data.
I learned that Teensy 4.1 has built-in...
So upon further testing and investigation, we actually designed our board according to Teensy 4.1, not 4.0. We have developed many boards in this similar way, but have yet to have to use the Wire3 bus. For some...
Hello everyone,
followed this thread but find no answer to my problem of my second audio guestbook:
my .wav-files just recording nearly the half the recordings.
Hardware is the same like audio guestbook no.1:...
Thanks so much for the reply!!
It was a bit of work, but I already started going down the path you recommended and realized the LED Feedback was sending back note messages.
So program change wasn't working for me,...
Thanks muchly for the further explanation.
Serves me right for not paying attention to the "basics", every other device working except the DX sent me on wild goose chase!.
After some rest it makes complete sense. I...
I am not an R Pi expert but isn't it possible to use I2C there for your sensors?
Why not use a USB microphone or something as input for the R Pi?
Technically it should be possible to send audio data from a Teensy...
I would check what exactly is sent as feedback from the DAW when the message from the Teensy has been sent. Print the raw data to make sure that this is really a program change message or see what it is.
It is only a...
Not knowing stuff isn't dumb, though it can lead to expensive or even dangerous mistakes!
For the benefit of future generations ... the reason you had problems is actually more to do with volts than amps. If you look...
Coming back to this as I did successfully test it last year, but stopped there.
Can I take the function configure_external_ram() as well as the smalloc.c/h and put them in my project folder and call...
Sounds potentially like one of the standard things:
Look in your code, typically in setup that looks like:
while (!Serial) {}
or
while (!Serial) ;
That says wait forever until USB Serial is ready...
If I want...
I have a teensy 4.1 connected to 4 gas sensors (with their own 12V power supply, a prht sensor (pressure, relative humidity and temp) and it sends serial data via ethernet connection. The teensy is powered through 5V...
A couple of additional points, that might help.
As mentioned, there are 8 hardware UARTS (LPUART) objects, but the number of the hardware UART does not necessarily correspond to the Serial object number.
That is...
I've added a link to this thread on the T4 bootloader page, in the footnotes under the BGA pinout diagram.
Doesn't help you now, but hopefully will help others avoid this SD_B1_05 issue on their future PCBs.
Perhaps somebody else has come up with other eyes. I didn't see any other things referring to Uncanny Eyes over at the Adafruit Learning pages, but maybe do a query over at the Adafurit forum. There are 4 main strains...
Thanks!
Yup, the DX7 is fine being controlled by other gear, a KX88, the reface, a Clavinova, my computer running MidiOX or a DAW etc. I mean i say "fine" with the usual caveats around this board! :)
I also tried...
Does the DX7 respond to MIDI from another piece of equipment? Can you control it using the Reface CP? I'm wondering if your MIDI out circuit needs a buffer, usually two hex inverters in series. Your MIDI Thru box...
You could look at HardwareSerial.cpp.
https://github.com/PaulStoffregen/cores/blob/master/teensy4/HardwareSerial.cpp
Normally you wouldn't use these interrupt directly. You just use the Serial1 to Serial8...
I appear to have narrowed it down to nothing whatsoever to do with the MIDI library!
Even with the simple "blink" example running on the Teensy, the DX7 barfs as soon as power is provided to the Teensy
If i...
Oh thanks for letting me know! So what should I use for a USART receive interrupt? I'm a little confused on the documentation of the interrupts. Is there some place I can see an example code for the teensy? Especially...
Those are the only patterns I have. They came with the original Uncanny Eyes source at Adafruit.
The Uncanny Eyes page at the Adafruit Learning guides has a page about doing custom eyes:
...
So that idea (trimming the circuit) does not completely work... there's a little bit of bleed between the channels and the intensity alone isn't as bright as it should be. But it also made me double-check the resistance...
Hi,fellows
i had the same issue,so i took my ohm-meter to find the pinout of the sd card of the audio board for my teeny3.2 and these are the winning numbers:
NC / NC
DAT3 / CS-> 10
CMD / MOSI->11
GND /...
Hi in the picture below, it says there's in USART Receive interrupt. But it looks like it is only for Serial1. Is this only for Serial1 or are there ones for Serial2-8?
Its just a linearly interpolated lookup table. -1 to +1 is the full range of the audio signal. Every sample in therefore mapped to the output via the mapping.
Bourns MF-FSMF050X-2
https://www.digikey.com/en/products/detail/bourns-inc/MF-FSMF050X-2/2039256
Of course it's actually a PTC resistor, not a real fuse which permanently blows to stop all current flow. During an...
@MichaelMeissner do you have any links to Uncanny Eyes 128x128 data files by any chance?
I have the following already but guess there are many more somewhere:
catEye.h
defaultEye.h
doeEye.h
dragonEye.h...
If you look at file in FreqMeasureMultiIMXRT.cpp in the src folder of the library, you will see a table that defines all of the pins available for use by the library. Here's a quick summary:
For both T4.0 and T4.x,...
I once had to cut large 4-layer boards down in size and found that a bandsaw with a fine tooth blade did a good job. Main issue that came up was that the internal power/gnd planes would occasionally short due to...
It's the same as usual (DMA memory access is basically the same as the CPU since there's no MMU) except with those memory regions you'd need cache management - flush any source memory from the CPU's cache before the...
Thanks very much to all for the input. I will probably go with chopping off the T4.1's bottom.
The problem with external storage is access time (rather than max transfer speed). I am sure one could do some clever...
I honestly know almost nothing about DMA channels, but I'm curious about moving some data from a buffer in DMAMEM to another one in EXTMEM (PSRAM). Is that something I can do? Is the method basically the same as...
I am transferring my project from T3.6 to T4.1 / Micromod (not decided yet).
I want to measure frequency and/or duty cycle of 8 independent signals and I am a little confused about Paul's notice in the description of...
The T_4.0 also has USB_HOST pins/ability. If storage space is needed and speed provided can be acceptable, and a SMALL enough USB Flash drive could be connected that would give much larger storage space.
There is a...
Hello everyone,
I need an assessment of the capabilities of the Teensy4.1. I plan to build a real-time voice connection via a Raspberry PI and a Teensy4.1 with Audio-shield. I've been checking for a long time now...
In terms of the FETs, yes, both of those should be good. In fact both should be OK for either use, the second one is a little better but either would do.
If your LEDs are 3.3V and 20mA and your power supply is 5V then...
If the array maps to -1.0 and 1.0, it only contains half of the wave pattern. What happens to the other half? Does it just mirror the array? If so, is it impossible to asymmetrically shape a sound input?
Also, are...
That doesn't seem like the logical way to do what is desired; rather it sounds like you should be transmitting the mouse data in a separate timed loop if that's what the FPGA requires.
I think you can add quite a large buffer, assuming you have RAM space available.
I think this is a good improvement and you will see some benefit. How did you choose 12 minutes per file, which is 120 per day? It...
a short update, I got rid of the more 'elaborate' routines and loaded up this simple test Note On, Note Off program instead, with the exact same results:
works fine on Reface CP - playing the notes
works fine via a...
Hi There!
I have a very simple prototype board made up of a MIDI Output circuit (https://www.pjrc.com/teensy/td_libs_MIDI.html) and one Momentary Switch and one Pot. Both these controls are configured to send a...
Thank you so much for testing this. I increased the serial buffer to 16 * 1024 and tested for about an hour. Just like you had mentioned, I haven't noticed any issues so far. I will also be looking to add more sensors...
The PCB and components are unchanged.
The LOCKED Teensy will ship with the white image of a 'LOCK' stamped on the MCU:
image from pjrc.com/store/teensy40.html#codesecurity
Unless it's declared static, variables within functions get allocated in the top of RAM1. You can see on the chart "Local Variables" with an arrow pointing downward. As each function runs, more of that memory is...
Based on the link the allocation is always dynamic as p#1 shows.
The link shows making an explicit memory allocation and passing the pointer to the library.
Otherwise it seems the reserved space is just a pair of...
I see your point. We define that variable in the main() function, does it count as dynamic allocation?
What will happen if we define them in the global scope?
guessing the Matrix is dynamically allocated?
Quick search suggests that is the case and you can make and provide 'local' memory as indicated in the reply a couple down from the top here:...
The polling that causes the host to transmit IN tokens happens entirely in the EHCI hardware, so there is no "easy" way.
The hardware does have an option to interrupt on NAK, but I've never tried it. If you want to...
If you can go slightly wider, you might look at the Teensy micromod, which is a Teensy 4.1 with M.2 hookup instead of using through hole pins that Sparcfun sells. Now, at first glance, the carrier boards that they have...
I can confirm all the stuff beyond the 5 through-hole pin is non-essential for Teensy 4.1 to run. You'll just lose 18 I/O pins, SD socket, and PSRAM pads.
How to "safely" cut the PCB is a good question. It is a 6...
Hi everyone,
I am seeking for a little advice here...
I have an already finished project of a gaming handheld driven by a RP2040. Unfortunately, the RP2040 struggles to deliver the necessary performance.
Now, I...
Hi everyone,
I am doing my project with Teensy 4.1 and I need to report the memory usage with respect the size of the matrix variable. I am using Eigen right now.
The simple script is like this (there are more...
Hi all,
There are a lot of RS485 modbus programs but the code below works out of the box and is fully tested on a T4.0, T4.1 and ESP32C3 for the ESP32C3 you need only change the Serial5 to Serial0.
Look at the...
Hi,
I've got a teensy 4.1 connected to an FPGA to handle all of the usb host protocol stuff. Right now, the system is working with a 4khz mouse and it is great. One minor source of annoyance is that the data...
Just looking for a quick gut-check on choosing an appropriate MOSFET and calculating the resistors properly. I'm a software guy and never really "got it" with electronics.
I have done this same setup with an older...
We are trying to use the Teensy in one of our product and the question has come up as to what is the exact part number of the fuse used in the:
* Teensy 3.2
* Teensy 4.0
They seem particularly concerned on...
Twos complement is just the typical number format used by machines.
From the MPU6050 register map and descriptions datasheet:
-2857 / 340 + 36.53 = 28.127 degrees celsius = 82.63 degrees F.
My reply was...