Latest activity

  • R
    Hey, I've been having a blast with the teensy 4.1's I'm working on my 4th addition, but am running into a problem. I had been using the control surface library (https://github.com/tttapa/Control-Surface) (The encoders and the software button...
    • Screen Shot 2024-06-12 at 4.01.52 PM.png
  • K
    hello, i'm trying to use more AS7265X sensors with a Teensy 4.1. i'm using a TCA9548A as i2c multiplexer because the sensor have the same address. I need to use also a MPU6050 that i prefer to connect separately. i have connected the MPU6050 to...
  • A
    Hey all, I'm looking to build a handheld game console for my kids. I made one a few years back, but displays+drivers back then only hit around ~30Hz screen refresh reliably (for an entire screen). I'm wondering in the current day, if there is a...
    • 1718222552105.png
  • M
    Nice info. I'm not entirely sure yet which LED I'll use. It's a pity that the APA106 are in 5mm/8mm only, I would've loved 3mm. I'm thinking about using WS2812 SMD LEDs with a 3mm diameter light guide, but for simplicity I might just go with the...
  • M
    Yeah, 470K should've been 470ohms in my schematic. I guess I messed up converting breadboard <-> kicad schematic. I'm designing a PCB and the resistor will be SMD. The complete circuit will look something like this: Teensy 4.1, 16 push encoders...
  • MichaelMeissner
    Another factor to consider is some of the WS2812 (neopixel in Adafruit speak) LEDs can work fine if the data pin is 3.3v but the power pin is 5v. Some cannot do this and you need to use a level shifter to convert the data pin to 5v (you need to...
  • h4yn0nnym0u5e
    h4yn0nnym0u5e reacted to jbax's post in the thread Bug in AudioOutputTDM2 with Like Like.
    Wow thanks ! I think you saved me hours of searching for a bug in my code and/or PCB when there was none. So, I can confirm that this solved an issue where noise was present on all outputs of a codec connected to the TDM2/SAI2 port overwhelming...
  • M
    Thanks for your reply. Good to know, thanks. I'll have to figure out how to add a 5V power supply to my design to drive the LEDs. I won't be running the LEDs at full power btw, in my breadboard setup a brightness of 100 (in the range 0-255) is...
    • Screenshot 2024-06-12 at 21.00.34.png
  • PaulS
    To rule out a possible WAV file issue; did you try one of these files here? Which numbers are fluctuating? AudioProcessorUsage, AudioProcessorUsageMax, AudioMemoryUsage or AudioMemoryUsageMax? Did you try to increase AudioMemory (20);? Paul
  • MichaelMeissner
    MichaelMeissner reacted to KurtE's post in the thread SPI pins of each ports with Like Like.
    Minor background comments: CS Pins: Most libraries do not do anything special with the CS pin. That is they typically use something like digitalWrite to set and clear the state. However, there are some libraries, like some of our display...
  • R
    robws reacted to shawn's post in the thread Remote code update with Like Like.
    Yes, it’s possible. Look for “FlasherX” on this forum.
  • R
    robws reacted to AndyA's post in the thread Remote code update with Like Like.
    The standard FlasherX library is designed for an SD card or serial data source but ultimately all it really needs is a copy of the new firmware somere in memory. If you look around there are examples of how to use flasherX to perform an update...
  • PaulStoffregen
    R1 at 470K will not work. The ideal resistor depends on the type of wire you use, but normally you would want 50 to 200 ohms. Placing the resistor physically close to U1 is better than placing it close to the LEDs. You might also want to add...
  • PaulS
    No, not really. 24 LEDs, each consuming ~60mA when outputting white light, adds up to nearly 1.5 amps. That's too much for the Vin pin (even if the USB host could supply it). A separate 5V power supply is the way to go. Paul PS. why is R1...
  • M
    I'm wondering if I could use the Vin pin to power WS2812B or APA106 RGB LEDs (which need 5V on the VDD pin) when powering the Teensy 4.1 using USB. There will be 24 or so LEDs in my design. When I power the Teensy with USB, I'm reading 5V on the...
    • Screenshot 2024-06-12 at 19.49.13.png
  • J
    joepasquariello replied to the thread Teensy 4 Virtual LCD.
    I didn't try building, but I looked at the source, and the "VirtLCD" objects are instances of a class called TextBox. That class is defined in the source, so tell us what error message(s) you're getting.
  • J
    jbax reacted to h4yn0nnym0u5e's post in the thread Bug in AudioOutputTDM2 with Like Like.
    Just found this one, after a lot of head-scratching. I've done PR#472 for it. The copy from the 16 incoming audio blocks to the output buffer was copying twice as much as it should have, so the second half (presumably garbage) was overwriting...
  • J
    jbax replied to the thread Bug in AudioOutputTDM2.
    Wow thanks ! I think you saved me hours of searching for a bug in my code and/or PCB when there was none. So, I can confirm that this solved an issue where noise was present on all outputs of a codec connected to the TDM2/SAI2 port overwhelming...
  • W
    WMXZ replied to the thread MTP file dates.
    My own use case is that I exclude MTP while doing data acquisition, and respond to MTP only when acquisition is stopped. I asynchronous handling of MTP request is possible and I have done it in the past. Simply use a timer to run the MTP loop()
  • D
    Yes, it would be nice to convert all of that code that is setup for each of the displays into a table each. It might make it a lot easier to detect things like what is different between ILI9488 and ILI9486... At some point maybe someone will do...
  • W
    I have been trying to compile swr/power meter code by Loftur Jonasson. Everything compiled except his reference to VirtLCD. I cannot find any library or reference to that piece of code. I would like to make it work. If I remove references to...
  • J
    @mjs513 this may be due to the poor quality GY521.
  • A
    AndyA replied to the thread MTP file dates.
    I suspect our issue could be resolved by calling the loop function more frequently and so preventing the receive buffers from filling up as much. But the system is doing a lot of other things at the same time so that's not the easiest thing to...
  • mjs513
    Not really a matter of skill. Its from experience working with the I2CDev lib. The lib actually supports a few different methods for I2C, one was standard wire, another was a fast wire type and a couple of others from what I remember. Its been...
  • J
    @kd5rxt-mark yes, this script works for me // I2Cdev and MPU6050 must be installed as libraries //#include "I2Cdev.h" //#include "MPU6050_6Axis_MotionApps612.h" #include "MPU6050.h" // Arduino Wire library is required if I2Cdev...
  • KurtE
    KurtE replied to the thread SPI pins of each ports.
    Minor background comments: CS Pins: Most libraries do not do anything special with the CS pin. That is they typically use something like digitalWrite to set and clear the state. However, there are some libraries, like some of our display...
  • R
    Yes, it would be nice to convert all of that code that is setup for each of the displays into a table each. It might make it a lot easier to detect things like what is different between ILI9488 and ILI9486... At some point maybe someone will do...
  • mjs513
    Yes, it would be nice to convert all of that code that is setup for each of the displays into a table each. It might make it a lot easier to detect things like what is different between ILI9488 and ILI9486... At some point maybe someone will do...
  • K
    @jean: Can you please post your final sketch . . . I'd like to see what my hardware test setup does with your mods. Thanks, Mark J Culross KD5RXT
  • KurtE
    Yes, it would be nice to convert all of that code that is setup for each of the displays into a table each. It might make it a lot easier to detect things like what is different between ILI9488 and ILI9486... At some point maybe someone will do...
  • W
    WMXZ replied to the thread MTP file dates.
    To access a teensy file from a program, you need some SW that lets you mount the file. I use windows and there is no easy way to get the device letter assigned to Teensy disk without another interface layer. Also one needs very likely partial...
  • A
    Thanks for reply jmarsh, I have one question in the attached program I have configured channel one to produce pulse of width 32 1588 clock mode. I am observing this on pin no 24 of teensy. I am not getting the pulse can you please help in this.
    • 1718193496452.png
  • KurtE
    @KurtE @mjs513 I am very stoked to see the both of you taking this library to the next level! I personally won’t benefit from the graphics primitives added, but others here most definitely will, and it will make this library more usable to the...
  • KurtE
    @K7MDL asked me if I would post a link to his library he and I were working on while I was writing the driver for the Teensy in FlexIO 8080 parallel mode. He was a big help in testing and debugging using the MicroMod and the RA8876. This library...
  • J
    @kd5rxt-mark Just to be sure that I'm correctly interpreting what you are saying, your T4.0 LOCK, when running the I2C scanner sketch, does detect the MPU6050 successfully ??=> YES @defragster before doing that try changing the commented out...
  • KurtE
    KurtE reacted to MichaelMeissner's post in the thread SPI pins of each ports with Like Like.
    For reference this is: Teensy 4.1: CS pins for SPI0: 10, 36, 37; MOSI0: 11; MISO0: 12; SCLK0: 13 CS pins for SPI1: 0, 38; MOSI1: 26; MISO1: 1 (alternate 39); SCLK1: 27 CS pins for SPI2: 44; MOSI2 (alternate 50): 43; MISO2: 42 (alternate 54)...
  • PaulStoffregen
    You must use at least 1 rev D board (for channels 3-4). The other can be rev D or rev D2 (for channels 1-2). Instructions for Teensy 4.0 and Teensy 4.1 are virtually identical. The rev D audio shield which becomes channels 3-4 needs to be...
    • 1718189525952.png
    • 1718189533770.png
  • mjs513
    before doing that try changing the commented out i2c clock speed in the sketch: void setup() { // join I2C bus (I2Cdev library doesn't do this automatically) Wire.begin(); //Wire.setClock(50000); // COMMENT NEXT LINE IF YOU ARE USING...
  • D
    domingo replied to the thread MTP file dates.
    Very nice @WMXZ. My program compiles now without any warnings and SD.h (@h4yn0nnym0u5e code) is unaffected. All tip-top :) Bless you. I wonder if you guys ever play or open files directly from the Teensy/SD card via MTP, or rather always copy...
  • Cviet
    As you can see, I've designed a new Teensy that is more user-friendly.The project is based on Teensy 3.2 . I added a step-down module that supports up to 17V input and 3.3V@3A output.Two pads were added for EEPROM and FLASH.The new Type-C port is...
    • 21f928d4-e433-4b9f-aad4-58a84dec4e35(1).png
    • 5d2bdf8b-f9b4-448d-a9d7-fe2bf9ba29ca(1).png
    • 49fc413f-fa08-408f-8d5a-e9883c0a16df(1).png
  • S
    Ok, Thank you very much for the info. Probably overlooked it.
  • h4yn0nnym0u5e
    The comments in the example file tell you how to switch to other SD cards.
  • MichaelMeissner
    MichaelMeissner replied to the thread SPI pins of each ports.
    For reference this is: Teensy 4.1: CS pins for SPI0: 10, 36, 37; MOSI0: 11; MISO0: 12; SCLK0: 13 CS pins for SPI1: 0, 38; MOSI1: 26; MISO1: 1 (alternate 39); SCLK1: 27 CS pins for SPI2: 44; MOSI2 (alternate 50): 43; MISO2: 42 (alternate 54)...
  • S
    Thanks for your message. I know that, but this one uses the sd card reader on the audio board. I would like to use the sd card reader on the Teensy 4.1 and not the sd card reader on the audio board.
  • defragster
    Odd for it to be LOCK'able related. Would be the first report of something acting differently AFAIK?
  • K
    @jean: Just to be sure that I'm correctly interpreting what you are saying, your T4.0 LOCK, when running the I2C scanner sketch, does detect the MPU6050 successfully ?? I entered the sketch that you provided in post #1 (I did change the...
  • R
    royontog replied to the thread SPI pins of each ports.
    I appreciate the reply. That made me look at it a little harder. The answer (for me) is to use SPI1 with the alternate MISO1 and CS1 pins. That leaves TX1/RX1 available. Thanks, Kurt!
  • D
    I've used analogue multiplexor chips (4051 8 input / 4067 16 input) to read multiple touch pads from one pin. It costs you the addressing pins and an enable pin but you can share those pins among a few multiplexor chips and read many capacitative...
  • K
    @fan_2021: Take a look at <this> post. Note that you will need at least one original Rev D audio shield to go along with your Rev D2 in order to do quad audio. Hope that helps . . . Mark J Culross KD5RXT
  • F
    @joepasquariello , Thanks for the reply. But that thread doesn't mention anything about teensy 4.1 audio shield rev D2 mod.
Back
Top