Latest activity

  • K
    thank you. i tried another AS7265X sensor on PINS 19-18 , and the result of the scan is 13:14:13.681 -> Scanning... 13:14:13.760 -> I2C device found at address 0x49 ! 13:14:13.760 -> done but when i try to print the data from sensor using its...
  • T
    I mentioned this issue in a different thread (different problem) but I wanted to open a new one specific for this. The problem I'm having is this: When using the USB audio output to a DAW, after a while playing (not exact time, but around...
  • R
    Rezo replied to the thread Teensy 4.0 and non DMA I2S transfer.
    @Jean-Marc can you point me to a working version of the non DMA i2s code? I looked through some of you github repos but couldn't spot it
  • J
    I have a small project that uses a t4.1 with 21 fastTouch pins. It plays music over I2S and a light display, but obviously doesn't use a lot of pins for other things. uint8_t touchPads[] =...
  • snowsh
    snowsh posted the thread Interesting… in General Discussion.
    I just read this article: https://www.tomshardware.com/pc-components/cpus/startup-claims-it-can-boost-any-processors-performance-by-100x-flow-computing-introduces-its-cpu-20-paradigm A 60ghz t4.1 anyone?
  • S
    sndsgd replied to the thread 60Hz+ display refresh rate?.
    You can definitely get well over 60fps at 16bit color with an ILI9341 using https://github.com/vindar/ILI9341_T4. That said, the true frame rate (and how "solid" it is) will come down to how much detail you have per frame, and how you go about...
  • N
    Hello everyone, I know this might be a stupid question to most of you but I have no experience with microcontrollers or mulitplexers. I have a multiplexer ADG731 and want to connect it to my Teensy 4.0. I would like to use a EAGLE schematic...
    • 1718355444332.png
  • R
    Appreciate it, will keep these things in mind when I make the switch connections.
  • S
    shawn replied to the thread weird weird weird.
    Changing compilers, changing struct member ordering, adding and removing structs, can all mess with the physical structure. Just because it works now, doesn't mean it will work later. At the very least, my suggestion is to use a packed struct...
  • snowsh
    snowsh replied to the thread weird weird weird.
    This is kind of my approach so far. I have some upgrade methods if I ever need to retain the SD data. I can take care of the naming within the code, the SD files are already named based on their counterpart struct, albeit with a 3-letter code. I...
  • J
    jmarsh replied to the thread weird weird weird.
    Well if you're set on just dumping the raw struct contents to disk... I would suggest putting a version field at the start of the struct, and name the struct accordingly (e.g. ConfigV1). Then any time you change the layout, make it a new...
  • C
    Problem found and solved. The platformio teensy configurartion file version 4.17 uses the "cxx_flags" switch "-fsingle-precision-constant", which if perfect for the Teensy3.x, because their Floating Point Unit (FPU) can handle only 'floats'. But...
  • snowsh
    snowsh replied to the thread weird weird weird.
    Yes, I'm aware of the issues with changing the structures. I have gone with this because I need it to be as fast as possible. I had experimented with JSON but there was too much overhead and it became unworkable due to the real-time nature of...
  • snowsh
    snowsh replied to the thread weird weird weird.
    well, that seems to have found it! here is the intialised SD data: and having reworked the values:
    • ss-bool-debug-cfgData-dumpFreshStruct.PNG
    • ss-bool-debug-cfgData-dumpNew.PNG
  • J
    jmarsh replied to the thread weird weird weird.
    I'd say it's a problem with how you're filling the struct with data from the SD card. It's not safe to just take the pointer of a struct and access it like an array; there may be padding bytes between members, and the format will shift around if...
  • snowsh
    snowsh replied to the thread weird weird weird.
    here is my struct definition: struct DrummerConfig { uint8_t channel; uint8_t screenMode; uint8_t midiOutChannel; uint8_t midiInChannel; uint8_t stepLength; uint8_t kitId; uint8_t currentPatternId; char...
    • ss-bool-debug-cfgData-dump.PNG
  • snowsh
    snowsh replied to the thread weird weird weird.
    hmmmm.... if i place this at the end of setup(): drummer.config.enableFills = false; saveHandlerToSD(SD_TYPE_CONFIG, 0); it works, even with the SD card present.
  • snowsh
    snowsh replied to the thread weird weird weird.
    at startup, yes. I am studying the data now.....
  • PaulStoffregen
    Here is a Teensy specific tutorial for connecting a pushbutton. The info is same as all other Arduino compatible boards. However, you might consider using the Bounce library instead of digitalRead(). The Bounce library gives you automatically...
  • K
    kd5rxt-mark replied to the thread weird weird weird.
    Suggest looking at where config.enableFills is defined, then look at whatever is defined/allocated right above it in the definition. With unexpected values like 4 & 5, one strong possibility is that whatever is right above config.enableFills in...
  • J
    jmarsh replied to the thread weird weird weird.
    When you say "an SD card is present"... is this config struct being read from a file on the SD card?
  • W
    wayneg replied to the thread Teensy 4 Virtual LCD.
    You clued me into the problem. I didn’t understand classes so I dived right in and figured it out. Thanks for the kick in the pants. You never quit learning!
  • snowsh
    I have this section of code, please don't ask for the full codebase, its enormous. if (checkButtonPress(BUTTON_DRUMMER_FILLS_ENABLE)) // this works fine { Serial.println(F("Button press detected...
  • J
    googling "adafruit circuitpython teensy" shows that 9.05 is the latest version (just 3 weeks ago), and I don't see anything about Ethernet.
  • Q
    Qengineer replied to the thread CircuitPython on Teensy 4!.
    Hi, I deeply apologize for necro'ing this thread, it's the most relevant to the question I have for a project. Has there been any updates/changes on having ethernet support via CircuitPython on the Teensy 4.1? Thank You All, -t
  • D
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • R
    Sounds good. Thanks for advise about resistor, will try it and see if it works.
  • BriComp
    You could watch this video. It will give you an idea how to connect a momentary switch. It's for an Arduino Uno, but the same applies to the Teensy EXCEPT when they mention using an External Pull Up Resistor to 5V. DO NOT connect an external...
  • R
    I see, appreciate your quick replies helped a lot. Is there a tutorial link or article that you suggest for connecting button to my quad channel teensy setup. Even 2 channel links works for me if i can simply extend the connections. I am not very...
  • BriComp
    No it will simply clear all the memory and reprogram the Teensy. Why not simply use a button attached to a Teensy pin?
  • R
    Thank you so much. But is there a way to use this to re-run the program again every time I press it?
  • BriComp
    It's NOT a reboot button but a Teensy (re)program button.
  • KurtE
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • R
    Hi All, I am working on this toy project where i want to write a text file to sd card on audio shield (Rev D) sd card holder through teensy 4.0. The goal: Every time I press the reboot button on teensy board the data should be written to the Sd...
    • 6CB2B70A-E910-4BBC-8B08-6A9D941C2C7C_1_201_a.jpg
  • G
    That is it! Thank you! For reference the issue I was having is related to an optimization where synth objects don't generate an output buffer if their amplitude is set to 0: void AudioSynthWaveform::update(void) { audio_block_t *block...
  • R
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • wwatson
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • mjs513
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • K
    Kinsey replied to the thread Teensy 4.1 in a drone not working.
    yo,uhm so i tried it again with another microcontroller (arduino uno r4 wifi) and i still get the same "bug" (idk what it is)
  • Cviet
    Cviet replied to the thread Teensy 4.1 unable to start.
    Thank you for your reply. I put the RT1062 re-soldered then the teensy worked well. It may have been physically damaged.
  • mjs513
    mjs513 reacted to BriComp's post in the thread How to connect Teensy 3.2 to an SD card? with Like Like.
    This might help you.
  • BriComp
    This might help you.
  • P
    I am currently working on a new project. It involves controlling LEDs by connecting an OCTO28 Shield (OctoWS2811) to the Teensy 3.2 model. However, I want to use 24-bit image data read from an SD card. I need to know the hardware connection...
  • W
    W6oody reacted to PaulStoffregen's post in the thread AUDIO BOARD with Like Like.
    Yes, simply buy a Teensy board.
  • A
    Problem found and solved. The platformio teensy configurartion file version 4.17 uses the "cxx_flags" switch "-fsingle-precision-constant", which if perfect for the Teensy3.x, because their Floating Point Unit (FPU) can handle only 'floats'. But...
  • A
    Oh, my fault. There's a signal on pin 13. I missed the correct setting of time in the oszi :-(. Sorry Now I adjust the both parameters to get the correct settings to transfer a byte in 4ms. The board is running at board_build.f_cpu = 100000000...
  • BriComp
    The connections should be WIRE: pin 18 SDA, pin 19 SDL and WIRE1: pin 17 SDA, pin 16 SCL. Your text is indicating that you have the WIRE (0) connections the wrong way round. Try using an I2C scanner to show attached devices. The PJRC Advanced...
  • PaulStoffregen
    On MacOS with Arduino IDE 2.0.0 or later, the default location is /Users/{username}/Library/Arduino15/packages/teensy/hardware/avr/{version}/libraries/Audio
  • R
    So I have an ambitious project I want to dive into - Build a Teensy based CDJ - Like the Pioneer CDJ1000. This project is purely for fun right now. I have a CDJ1000mk3 jog wheel with the pressure sensor and encoder on the way, and I would like...
  • A
    Hello together, I need to steer a CPLD test mode via SPI in my project but the lowest SPI speed is just too fast for the CPLD. So, instead of using SPI on pins 11-Data,13-Clock I used the shiftOut_lsbFirst function on a Teensy 3.2 on these pins...
    • 2024-06-13_09h57_39.png
Back
Top