Latest activity

  • defragster
    defragster replied to the thread Teensy 4.1 bricked.
    With a Teensy 4.x there is a RED LED by the USB connector. Only the bootloader can power that RED LED. Anytime the RED LED is on the PJRC bootloader chip is in control of the Teensy MCU/Processor. > This includes any non-solid blink patterns that...
  • S
    I have a fairly large and working C++ code base running on the Teensy 4.1, refered to as firmware in the following, communicating with a number of embedded digital and analog circuitery and primarily communicating over a custom simple remote...
  • K
    karelv replied to the thread Microseconds per second.
    Nice idea! I was wondering how to do it... You could add '% 1000000' such that there is no need to sync every second. sprintf(timeString,"%04d-%02d-%02d...
  • J
    Congratulations on your daughter's wedding! Regarding the volume issue in your electronics project, it could be related to the playback system's limitations or the quality of the recording. Try adjusting the playback volume or consider...
  • K
    karelv reacted to jeremy-daily's post in the thread Microseconds per second with Like Like.
    I've created a simple sketch that provides a way to get microseconds in a timestamp. I'm interested in any alternatives. Does the setSyncInterval() function create an interrupt so the microsecond reset counter is always called on time? #include...
  • M
    Hey all, first post here and I'm hoping to get some help on this one. The aim of the project here is to have a 144 LED strip light up and move a series of pixels down one strip to the other. Sort of like a cylon effect, but with a modification...
  • T
    tyzjames replied to the thread RIP Teensy 3.2.
    Supply seems to be coming for the MK20DX. This week I had > 3000 chips on order backlog suddenly getting fulfilled. But I guess the 3.2 will still remain discontinued?
  • T
    I'm currently resurrecting my Studiologic midi keyboard. Someone I loaned it to must have used an unsuitable power supply. So the electronics no longer work. I couldn't be bothered troubleshooting it, so I've opted to write a program to make the...
    • ModPitch.jpg
  • D
    Hi, I'm trying to use my Teensy 4.1 board to output wav files coming from the built-in SD card to a speaker. Upon checking the teensy audio library, Teensy can be connected using I2S to an audio board available for teensy 4x and another...
  • PaulStoffregen
    If you just want to try Phazerville firmware on Teensy 4, all you need is a normal (not VOR) version of the Ornament and Crime boards... with Teensy 3.2 installed in a socket. (sadly, it seems many were built with Teensy 3.2 hard soldered). If...
  • PaulStoffregen
    This is the info I see in the datasheet on page 9. And this on page 10. If this doesn't clear everything up, can you give a link or screenshot to the documentation you're seeing about "GAX"? From the info I can see, GAX would mean a 1.75...
    • 1701127436035.png
    • 1701127515344.png
  • A
    I have a few Arduino Nano breakout board's in use. Handy, but they are high, not nice to put in low enclosure's. A Teensy specific with low height pins for the Teensy would be a bonus and maby with an extra qwirc/stemma connector for i²c.
  • PaulStoffregen
    You need to use SPI.beginTransaction().
  • K
    KenHahn replied to the thread U4 going short on teensy 4.1.
    Are you using the Teensy 3.3V regulator output to power a lot of peripherals? There has been some evidence that hanging large amounts of capacitance on this output can sometimes cause reverse current flow through the regulator during power...
  • N
    Nantonos replied to the thread ornament & crime beta testing.
    The bill of materials and build guide is online if you want to source yourself https://ornament-and-cri.me/build-it/ You could also try a kit, with all smd soldered already https://www.thonk.co.uk/shop/plum-audio-ocp/ If you plan on using...
  • M
  • defragster
    Very cool recovering and reading that old data! Especially being able to use it again. Teensy 3 USB uses 64B blocks. If you can tolerate/arrange read delays as needed put a delayMicroseconds(100) between 64Byte writes. That is only 12 blocks for...
  • brtaylor
    SPI absolutely works on Teensy. That looks a lot like reading / writing registers for InvenSense sensors as well (i.e. masking with 0x80 to read). 1. Recommend using digitalWriteFast instead of digitalWrite for toggling the CS line. 2. Also...
  • B
    The ASCII printing of the data from the floppy in 512 byte chunks as hex and ASCII data is how I collect the floppy data, so is critical to the application. The same Perl script as posted above processes the log, extracts the hex numbers and...
  • Z
    Hello everyone. For one of my projects, I need to get the measurements of several accelerometers, at precise time intervalls, and log the data obtained on an SD card. As I want the sampling rate to be as high as possible, I choosed SPI working...
  • defragster
    Good find on 48MHz testing. The USB Hardware on Teensy is the processor itself. Perhaps there is a place where a small delayMicroseconds() slowing the output stream would prevent the corruption? Is this printing just for debug testing? I ran...
  • B
    After some more experiments, I might have found a reason for the problem. Due to needing to decode the floppy data stream "on the fly" I was over-clocking the Teeny3 to 96MHz. I experimented with compiling for a CPU speed of 48MHz. I captured...
  • B
    Perl code to create the binary from the hex ASCII log capture. Execute with something like: /path/perl hex_2_bin.pl -i CAPTURE.log #!/usr/bin/perl #use strict; print "#########################\n"; print " Simple hex to bin v1.01\n"; print...
  • B
    Here is the stripped down code. All (floppy) hardware references have disappeared. What is left is the transfer of 720k of data in hex/ASCII format. The function that generates most of the text is "dumpSector()" which I have tried to leave as...
  • B
    Thank you once again for your reply. Yes I can make a test sketch by removing all the code to do with floppy hardware control and read stream decode. I already fill the track buffer with default values before doing the read, so that any missing...
  • PaulS
    You could go for an Arduino Nano breakout board, I saw those on AliExpress for $0.62. Paul
  • C
    cdorety reacted to MarkT's post in the thread Favorite Lead-Free Solder paste? with Like Like.
    Well chipquik SMD2915NL10 comes in a convenient syringe and is no-clean.
  • M
    MarkT replied to the thread Teensy 4.1 MEMS INMP441.
    Put in a high-pass filter if DC offset is an issue? Some I2S sources are already high pass filtered and some are not, just like real audio signals :)
  • M
    MarkT replied to the thread Favorite Lead-Free Solder paste?.
    Well chipquik SMD2915NL10 comes in a convenient syringe and is no-clean.
  • N
    nemiro reacted to keplerg's post in the thread New Teensy MicroMods defective with Like Like.
    I created a harness that you can 3D print. It should alleviate the board stress issues. The files are here under the CC license: https://www.printables.com/model/655415-sparkfun-micromod-harness
  • C
    Hey all, I'm getting into reflow soldering. Are there favorite brands of SAC or other lead free solder pastes?
  • S
    shawn replied to the thread QNethernet and internal Webpage.
    The short answer is that C strings don’t work with the ‘+’ operator. If you could share your code, or even a small representative runnable snippet, I could better provide guidance.
  • J
    Hi thanks! I did see that, though it actually costs more I think than the Teensy itself? I was sort of hoping to not have to solder too much as my eyes are going a bit, so I like the terminal-screw things on that! I saw inexpensive breakouts...
  • PaulS
    What about this one?
    • 1701099216113.png
  • J
    Hi! I'm pretty new to all of this. I have a Teensy 3.2 with pins someone gave me a few years ago. Is there a generic breakout-board with screw-terminals that will work for this, or do I need one specifically made for Teensy 3.2? The pins will...
  • B
    This is in platformio not the arduino IDE but I get this: when I control-click to see it's definition, I find this.
    • 1701096424845.png
    • 1701096450948.png
  • B
    Thanks! I was hoping to do a POC of something like this with a Teensy LC I had lying around (and Launchpad Pro), but I see now that I need something like a 4.1 and a host cable to even get started. :) But this was most helpful! Great project!
  • B
    Using Arduino 2.2.1 do you get this after compiling and then hovering over time_t? Note it's now 64 bit.
    • time_t.png
  • M
    Yup, it was done as you described. In the video you can see the little usb cable loop from the Launchpad going into the integrated hub. You can connect a Launchpad (mini) directly to the Teensy usb host if needed. But the Launchpad draws 300mA...
  • R
    Would something like this be a good start to find calculate the frequency with zero crossing points? (Used Bard and some of my brain for this) #include <ADC.h> #include "circular_buffer.h" // Define the ADC pin and ADC instance const int adcPin...
  • KurtE
    KurtE reacted to PaulStoffregen's post in the thread xenForo Improvements with Like Like.
    Probably not. Profile posts seem like a pretty worthless feature relative to offering spammers a place to spew their junk. Apparently there's no way to completely shut them off, but quick searches turned up a few times the Xenforo people said...
  • B
    It's in there, it's been included in the other header files.
  • B
    Hi! This looks great. I'm currently planning a Launchpad sequencer of my own. I'm curious how you solved the physical connections of power and communication. Are Teensy and Launchpad both connected to the same powered USB hub, and communicating...
  • BriComp
    BriComp replied to the thread Teensy 4.1 bricked.
    Could you explain what you mean by the above sentence. I think I know what you mean, but we have a large number of members who DO NOT have English as a first language and may not understand your sentence, especially the halts the Teensy inviting...
  • C
    csreades replied to the thread U4 going short on teensy 4.1.
    Mine is an 8 pin IC with "GDT". I thought it would be the NCV8186 but the datasheet says that is "GAX"? Or am I reading that wrong? Edit: After spending more than 5s looking and scrolling down I can see GDT is the 3v3 non-discharging variant...
    • MicrosoftTeams-image (30)_proc.jpg
  • K
    kaspencer replied to the thread usbMIDI library confusion ....
    Thankyou, Paul ... ... Yes, it is set to "COM9 Serial + MIDI (Teensy4.1)" And I have just checked the USB Type: and it seems that the IDE update removed the USB Type selected previously, which I have now corrected. And I'm pleased to say that it...
  • defragster
    defragster replied to the thread Teensy 4.1 bricked.
    Note: The Teensy has no Reset Button. It is a Program button where the bootloader halts the Teensy inviting an upload as occurred. When the Bootloader is in control it presents as a valid USB HID device to facilitate the upload. Try again with a...
  • W
    WMXZ replied to the thread Teensy 4.1 MEMS INMP441.
    The I2S MEMS microphone (especially the one from Adafruit ( SPH0645LM4H)) can have significant negative offset resulting in always negative values (MSB always set). I use ICS-43434 microphones, that have nearly no offset. You can get them e.g...
  • B
    Don't see: #include "TimeLib.h"
  • defragster
    Odd, this is not a common problem. Can a simple sketch be posted that demonstrates the issue? With USB Serial, PJRC has implemented a true USB device using true USB hardware on the Teensy MCU that conforms to the Windows 10&11 built in driver...
Back
Top