Latest activity

  • R
    Another quick update: @mjs513 and myself have been doing some testing with this and as the library now builds for both Micromod and Teensy 4.1 We (he) renamed the library up on github. The current Project and branch is up at...
  • J
    Something you might want to look at is the jpg_server example, for the camera stuff you were working on - it uses QNEthernet to set up a basic webserver to stream continuous jpeg images. You could reuse the EthernetClient related functions to...
  • wwatson
    wwatson reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    The CD stuff is a bit of fun... when I get around to it I want to write an ISO9660 filesystem library, so the files can actually be accessed. But in the meantime there's an example that can use CD drives to play audio, and if they have an SPDIF...
  • J
    The CD stuff is a bit of fun... when I get around to it I want to write an ISO9660 filesystem library, so the files can actually be accessed. But in the meantime there's an example that can use CD drives to play audio, and if they have an SPDIF...
  • M
    MichaelMC reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • KurtE
    Another quick update: @mjs513 and myself have been doing some testing with this and as the library now builds for both Micromod and Teensy 4.1 We (he) renamed the library up on github. The current Project and branch is up at...
  • mjs513
    Quick udpate: I merged it into the main branch. Created a backup branch. Not sure when it will be picked up in a Teensy beta and release. No idea when those might happen.
  • KurtE
    Nice, Now I don't feel so bad about my clean desks😀
  • KurtE
    Quick udpate: I merged it into the main branch. Created a backup branch. Not sure when it will be picked up in a Teensy beta and release. No idea when those might happen.
  • M
    Very good. Just so happens I decided to do exactly that a few hours ago. Thorough rubbing alcohol clean with qtips. Then dry it. It appears to be working fine now:) Before, it would be working or not depending how long I had it powered it seemed...
  • defragster
    defragster reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • defragster
    defragster reacted to KurtE's post in the thread New USB Host library for Teensy 4.x with Like Like.
    Looks like fun. Who knows, maybe it can replace the USBHost_t36... I always wanted to use something like threads, but... Note: If I try to clone it using Windows github desktop it gives me a real strange error message. Maybe the submodule...
  • J
    jremington replied to the thread Small bandwith FFT analysis.
    The Goertzel algorithm is essentially a single point FT, and is used for fast tone detection. May need fine tuning, though. https://en.wikipedia.org/wiki/Goertzel_algorithm You can find code examples in just about any language. One here, with...
  • KurtE
    KurtE reacted to wwatson's post in the thread New USB Host library for Teensy 4.x with Like Like.
    Exellent work:D Tried the USBHost storage "basic.ino" on a FAT32 formatted USB stick through a HUB. Result: Found a FAT32 partition. Checking free space... Done. Bytes free: 30812176384 of 30927306752 (99%) --- FILE LISTING BEGIN --- DIRECTORY: /...
  • KurtE
    Looks like fun. Who knows, maybe it can replace the USBHost_t36... I always wanted to use something like threads, but... Note: If I try to clone it using Windows github desktop it gives me a real strange error message. Maybe the submodule...
  • C
    Beer likely has conductive elements in it and that could be shorting out places on the board. I'd wash it thoroughly then let it dry. Contrary to popular belief, most circuit boards handle water just fine, so long as they aren't on. In fact...
  • R
    you could look at some of the standalone "Mixx" devices people made with rasberry pie
  • defragster
    defragster reacted to markkimball's post in the thread Teensy 4.0 with odd boot problem with Like Like.
    I found the problem. It is due to a programming issue of my own making. I was having some different problems so I decided to make a pared-down program that just represented the problematic portion, and failed to copy two very important...
  • C
    Hi all, I'm currently using the standard audio library, which requires wav files 44100hz and 16-bit. No other formats work. Are there any solutions that would allow me to accept and play back other file types/settings? Basically, I'd like someone...
  • R
    Thank you so much!!!!
  • R
    Rezo reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • wwatson
    Exellent work:D Tried the USBHost storage "basic.ino" on a FAT32 formatted USB stick through a HUB. Result: Found a FAT32 partition. Checking free space... Done. Bytes free: 30812176384 of 30927306752 (99%) --- FILE LISTING BEGIN --- DIRECTORY: /...
  • PaulStoffregen
    Use FASTRUN on your erase function, so it's allocated in RAM. Hopefully that can prevent the inevitable crash long enough to allow accomplishing all the memory erase you want. After erasing, remember the CPU caches will still hold some info...
  • J
    Just a note, I ran the SdFat library SdFormatter example sketch on my 32GB Sandisk Extreme, and I noticed that after the erase, it says "All data set to 0x00".
  • A
    On Sunday I committed some changes. Did you already use this code? Can you post a short example that I can use to reproduce the problem?
  • S
    skylight replied to the thread sketch self-delete in runtime.
    I'll see what I can do. Thanks a lot!
  • L
    Well... now it works. After sitting on the bench for 5 hours, I plugged it in and it works. The only explanation I can think of is this... 1. I soldered the pins to the board as usual... 2. I soaked the board in household ammonia to...
  • PaulStoffregen
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • KurtE
    KurtE reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • wwatson
    wwatson reacted to jmarsh's post in the thread New USB Host library for Teensy 4.x with Like Like.
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • F
    Do you have a 5pin socket,(or a source) that will fit between the on/off...Vbat when the two 24 pin headers are installed?
  • P
    The QNEthernet library should support Teensy 4.0 just fine, including accessing the MAC address. I tested this. If it doesn’t, that’s a bug. I’ll explore more later today.
  • J
    I've written a new USB Host support library for Teensy 4.x boards: https://github.com/A-Dunstan/teensy4_usbhost Key features: - dynamic driver instantiation, e.g. can support any number of hubs or other devices since driver objects can be...
  • P
    I've tested a TEENSY41_NE board and found a MAC address.
  • Y
    Yucheng replied to the thread Hardware serial.
    I see. But what is going on with the SerialX.available(). Why does it always return false? Do you have any ideas
  • J
    jmarsh replied to the thread Hardware serial.
    That would be the VIN pin only, because it feeds a power regulator. The I/O pins are only expected to take 3.3V (around 3.6V max). If you connect them to a 5V UART it will damage either those pins or the entire chip.
  • Y
    Yucheng replied to the thread Hardware serial.
    I am a bit confused. The diagram for teensy 4.1 suggests that there is a pin that can handle voltage from 3.6 to 5.5 volts
  • J
    jmarsh replied to the thread Hardware serial.
    You don't want to do that. The voltage on the UART pins will be too much for the Teensy.
  • Y
    Yucheng replied to the thread Hardware serial.
    The control board also handles the power for the motor which is 11.1v. It also has 4 pins 5v, GND, RX, TX. I have connected 5v and GND to the teensy, and I am using RX1 and TX1 for TX and RX from the control board respectively
  • J
    jmarsh replied to the thread Hardware serial.
    What voltage is the control board using? Unlike the Uno the Teensy can only handle 3.3v... You didn't mention anything about a common ground connection which might have actually saved it from being damaged.
  • J
    jmarsh replied to the thread SD.h and RDWR.
    SD implements the FS interface: https://github.com/PaulStoffregen/cores/blob/master/teensy4/FS.h#L37
  • Y
    Hi, I am new to Teensy 4.1 and I am confused on a problem I just ran into. I am trying to control a motor through another control board, and I have connected teensy 4.1's hardware serial1 pins to the control board. I also got the code package...
  • M
    I found the problem. It is due to a programming issue of my own making. I was having some different problems so I decided to make a pared-down program that just represented the problematic portion, and failed to copy two very important...
  • L
    Helo! Thanks For The reply & the link. I will try that & let you know the results. Thanks Again Liam
  • W
    WMXZ replied to the thread SD.h and RDWR.
    Best to check the examples of SD library Edit: AFAIK, Problem is that O_RDWR and similar SdFat declarations are not Arduino compatible
  • K
    Have you tried the <factory reset procedure> to revive your T4.1 ?? Mark J Culross KD5RXT
  • J
    If you are using EEPROM, you must set the value of FLASH_RESERVE_HI in FlashTxx.h to 256KB (64 sectors) as shown below. This tells FlasherX that the buffer must be below EEPROM. #elif defined(__IMXRT1062__) && defined(ARDUINO_TEENSY41) #define...
  • P
    In my code on the ESP32 I use for a file to open for RDWR : file_RW = sd.open("/vm.mem",O_RDWR); How to to this for the teensy 4.1? The above code wont works in the Teensy 4.1. sheers, Jan
  • J
    Yes, I think it is possible. Your programs have access to the program flash, which begins at address 0x6000'0000. If you look in cores\Teensy4\eeprom.c, you will find a function to erase a sector. If you erase the sector at the base address and...
  • S
    sRGB565 replied to the thread Game Console with iMXRT1062.
    Thanks! It has taken no small amount of time to come up with the concept, and we're still refining it. The current major step we're on is PCB design, which since I'm not at all good at it, is going to take a while. I'll detail the link further...
Back
Top