Latest activity

  • P
    PsychoM reacted to mborgerson's post in the thread Measuring distance... with sound? with Like Like.
    The major problem with your code is that you are waiting 50milliseconds after your tone starts and then starting to read the ADC values, but you don't really know the phase relationship between your tone and the actual collection at the ADC. You...
  • U
    Ciao Paul, both shapeshifter and microcosmos is on hold (not abandoned), we have other projects to carry on at the moment and we lack of developers at the moment.
  • C
    Thanks! I ordered a power supply and the audio shield! I will post my code and draw up a schematic according to the guidelines this weekend. In terms of the audio splitting. Yes I was just thinking linear. I figured by splitting the song digital...
  • C
    This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
  • N
    There is a little more spread at the base of the odd harmonics, although the FFT sizes are also different. I had expected more of a difference, and I was wrong.
  • wwatson
    Update ER-TFTM1011-1 10.1" LCD is working on the T4.1, MicroMod and SDRAM Dev Board V4.0. All except MicroMod work with 8-bit and 16 bit bus configuration. The T4.1 is by far the most stable of all three. The SDRAM board and MicroMod are unstable...
  • D
    Code repository for V1 to save future y'all a bit of poking about.
  • J
    So I left the minilab past Friday in a rush for a weekend trip, left the teensy in the breadboard with a wire connected from GND to GND rail on breadboard, and a loose PWM wire on pin 8 that was connected to a motor , no power being supplied...
    • IMG_7405.jpeg
  • S
    Hello, forum members! Literally just did an article on homemade rotor balancing machines and came across this thread on the forum, so I decided to register. I would like to share some thoughts on the use of different types of sensors in...
  • Nshelkovenko
    Hello, forum members! Literally just did an article on homemade rotor balancing machines and came across this thread on the forum, so I decided to register. I would like to share some thoughts on the use of different types of sensors in...
  • C
    Huge topic. What kind of noise are you looking to reduce? Noise Source: Real-world noise from your environment picked up by your mic, or electronic noise that's somehow electrically getting into your signal? Frequency Characteristics...
  • PaulStoffregen
    Quick followup on this old project... is it still in development, or was it replaced with Microcosmos?
  • defragster
    The sketch below shows a fixed-point sine/cosine lookup that I think is well-suited to the OP's program, which doesn't need high precision on angles or intensity. Angles are scaled 0..2PI and sines/cosines are scaled -1..1 over the 16-bit range...
  • h4yn0nnym0u5e
    Are the line out caps part of the circuit you’re measuring? If so, could they be contributing to the distortion?
  • J
    The sketch below shows a fixed-point sine/cosine lookup that I think is well-suited to the OP's program, which doesn't need high precision on angles or intensity. Angles are scaled 0..2PI and sines/cosines are scaled -1..1 over the 16-bit range...
  • PaulStoffregen
    Thanks for measuring the high-res sine wave! I've often idly wondered this. Turns out the linear interpolation on table lookup is pretty good. Would be interesting to know if the excessive Taylor Series approach make a difference with a higher...
  • M
    AudioSynthWaveformSineHires seems to make a very small difference of 0.5dB or so:
    • T4-sine-hires-gen-1k.png
  • T
    This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
  • dimitre
    Any chance you might share the project or at least photos? Would probably be useful for others. And even if you're not looking to share the code and circuit details, just photos (or a cell phone video uploaded to youtube) and basic info could...
  • W
    Thanks for your response. I have found what the problem was. The line just before the CHOOSE macro int instrument_index = -1;//some variable used by your code (not necessarily an int) That I copied from an example in the ArduinoMenu library...
  • M
    After many months in T4.X land, I'm now embarked on a Teensy 3.2 project. I have to keep reminding myself that the T3.2 DOES NOT have a hardware floating point unit---much less one that does double-precision calculations with a 600MHz system...
  • K
    @wearyhacker: Have you tried making use of the crash report capability is your setup() function (note that the while (!Serial); line will wait forever if nothing is connected to the serial console, so comment that line out and/or remove it after...
  • W
    I am trying to get a CHOOSE submenu working in a platformio prioject for teensy 4.1. This is what the menu definition looks like. Full code is attache to this post. int instrument_index =-1;//some variable used by your code (not necessarily an...
  • PaulStoffregen
    This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
  • T
    2 weeks obsessed yield a quite satisfying outcome. I've always wanted to build a balancing rig like this And finally the stars aligned and made thoughts into matter. The physical construction is pretty self-explanatory in the images. As for the...
  • S
    Hi! I'm new using the teensy and its audio shield, anyone knows how to implement an adaptative filter for noise reduction? need help with that cause honestly I have no idea how to start
  • A
    Angelo replied to the thread Freertos with teensy 4.0.
    Thanks jmarsh, I completely missed the hooks implementation. Another good reason to use Timo Sandman implementation. In my application, printf was only used in one task, for debug purpose. Angelo
  • J
    jmarsh replied to the thread Freertos with teensy 4.0.
    printf is (as is any access to stdin or stdout) assuming the proper newlib hooks have been implemented (which they have). Serial.printf and other Serial member functions are completely different.
  • A
    Angelo replied to the thread Freertos with teensy 4.0.
    100 as task stack is probably not enough, especially if you use printf. I read somewhere that printf is not reentrant. It means you should print on serial only on one task. Angelo
  • R
    revati replied to the thread Freertos with teensy 4.0.
    and one more doubt can i use flexcan library and freertos library both together because when i am trying to use i am getting errors in flexcan library In file included from...
  • R
    revati replied to the thread Freertos with teensy 4.0.
    I Tried toggling led that is also not working in my case.
  • defragster
    defragster replied to the thread Freertos with teensy 4.0.
    Is it ok that both are using Serial.print("); ? Generally, interrupt/multitask doing that causes grief. Perhaps have the Transmit() use pinMode OUTPUT for LED_BUILTIN and do a digitalToggle(LED_BUILTIN), and not share USB print.
  • R
    revati replied to the thread Freertos with teensy 4.0.
    if (xTaskCreate(Task1, // Task function "task1", // Task name 128, // Stack size (words, not bytes) NULL, // Task parameters 1, // Priority...
  • J
    jmarsh replied to the thread Freertos with teensy 4.0.
    You are not checking the values returned by xTaskCreate(), start by doing that.
  • M
    Good point. Will retry later.
  • R
    revati replied to the thread Freertos with teensy 4.0.
    TaskHandle_t *receive_handle = NULL; TaskHandle_t *transmit_handle = NULL; void Receive_msg(void *pvParameters) { Serial.print("Receive_msg"); } void transmit_msg(void *pvParameters) { Serial.print("transmit_msg"); } void setup(void) {...
  • J
    joepasquariello replied to the thread Freertos with teensy 4.0.
    Without seeing your code, the best anyone can do is guess. Please show a small program that illustrates the problem.
  • R
    revati replied to the thread Freertos with teensy 4.0.
    When I am creating a task with Freertos ,task is not getting created properly so it is not calling that task_function.how I can resolve this error.
  • defragster
    defragster reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Note: that is simply a print to pdf of one of the pages in the excel document: https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4x%20Pins.xlsx Note: @mjs513 did a modified version of this that I think is in @defragster github project...
  • S
    Hello Ed, Sorry for the delayed reply. I switched the voltage input to Vin but it didn't seem to do much good. Tried switching gain settings around too to no avail. I got another board in I'm going to try and hook up to see if that works, and...
  • MichaelMeissner
    MichaelMeissner replied to the thread Teensy 3.2.
    In terms of existing designs, there are at least 2 things that the Teensy 4.0/4.1 just does not have (analog output on pin A14 that can be used to play music and the ability for digital pins to receive 5 volts of input from 5 volt devices).
  • N
    I took the Waveforms Audio example, set the frequencies to 1000Hz, wave type to sine, and maxed the levels with sgtl5000_1.lineInLevel(0); sgtl5000_1.lineOutLevel(13); And looked at the line outputs with my QA403 audio analyzer: Which...
  • N
    I would expect to see a big difference, if the sine wavelength is not an integer multiple of the exact sampling frequency. See https://www.pjrc.com/high-precision-sine-wave-synthesis-using-taylor-series/
  • PaulStoffregen
    Posted to the website today https://www.pjrc.com/fancy-pc-fan-controller/
  • C
    Hi Paul, Appreciate the response! Apologies for the lack of info, as the board is directly soldered to the top of an audio board probing the components underneath is a touch difficult. I will work towards replicating the issue just to better my...
  • A
    Hallo, ich möchte mit einem T4.0 eine Schnittstelle für ein IPhone erhalten. Das Interface sollte 5x Audio Line in besitzen, 1x Stereo Output und 1x Midi Input. Kann ich so etwas realisieren???
  • TomChiron
    Is there a difference in the THD between sine and sine_hires?
  • KurtE
    Sorry been awhile since I played with the joystick stuff. Most of my playing has been done on the USB Host side. There are at least three things to do to see if it works. a) Update the HID descriptor. It may or may not be as easy as removing...
  • A
    audiofreak replied to the thread 48kHz 8i80 USB Audio.
    Hallo, ich möchte einen Aufbau mit Teensy 4.0 entwerfen der ein 4 Audio Line Input, Stereo Output und Midi Input besitzt. Das ganze sollte mit einem Iphone Funktionieren. Ist sowas möglich?
  • wwatson
    wwatson reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    If you are building a specific board for a specific purpose, I say have at it! IF you like hard coding it like: IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_13 = 0x4U; IOMUXC_CSI_DATA04_SELECT_INPUT = 0; IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_13 = 0x0U, go for...
Back
Top