Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: jpk

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Yes, it helps me saving pins and code. I reset a...

    Yes, it helps me saving pins and code. I reset a DOGM204 display with it (through a voltage divider) and also Teensies 3.5/3.6 powered from DC-DC supplies. Without the MCP100s I couldn't get them...
  2. Maybe a MCP100-315 or -475 could handle the reset...

    Maybe a MCP100-315 or -475 could handle the reset independently from the teensy...
  3. Jay, just to make sure: you want a teensy pin to...

    Jay, just to make sure: you want a teensy pin to drive the reset pin of your ADC: so it's not about resetting the teensy, right?
  4. Replies
    10
    Views
    664

    Many thanks, I will try to improve my code with...

    Many thanks, I will try to improve my code with your suggestions!
  5. Replies
    10
    Views
    664

    What does your code mean: ...

    What does your code mean:

    waveformMod1.frequency(freq * osc1_oct * transpose);
    waveformMod2.frequency(freq * osc2_oct * detune);
    waveformMod3.frequency(freq * osc3_oct);
    How...
  6. Replies
    10
    Views
    664

    Many thanks, this helps a lot. When mentioning...

    Many thanks, this helps a lot.

    When mentioning that FFT was faster than Yin I used default value for AUDIO_GUITARTUNER_BLOCKS. Did you try if adding FFT helps to improve speed?
  7. Replies
    10
    Views
    664

    Ok, I am just interested in some detail such as...

    Ok, I am just interested in some detail such as how often do you read notefreqs result, do you adjust gain permanently for a steady level, does EQ the input help reducing wrong estimates, what...
  8. Replies
    54
    Views
    4,444

    Actual Debian with actual Arduino: usb audio out...

    Actual Debian with actual Arduino: usb audio out and analog in / i2c in both on T3.6 and T4 work well. I now get much cleaner signals! Thanks for the enhancements.
  9. Replies
    3
    Views
    544

    Thanks! Thats exactly one of the reasons I did...

    Thanks! Thats exactly one of the reasons I did this project: available tuners with notes and cents give the impression you are in tune even if you arent at all by lighting green etc., so if a...
  10. Replies
    10
    Views
    664

    Great project! Would you be willing to share your...

    Great project! Would you be willing to share your code?

    For faster guessing of frequencies have a look at my project here:
    https://forum.pjrc.com/threads/60796...th-FFT-and-Yin

    With FFT my...
  11. Replies
    3
    Views
    544

    20046 Today I completed the wooden housing for...

    20046

    Today I completed the wooden housing for the T3.6 tuner...
  12. Replies
    3
    Views
    338

    Sort of :-) Recently I pulled out the load cells...

    Sort of :-) Recently I pulled out the load cells and fitted better ones. There is always something to improve...

    In my older posts you can see how I tried to write the pulse ramps by myself...
  13. Replies
    3
    Views
    525

    Apart from re-thinking the earth/gnd concept I...

    Apart from re-thinking the earth/gnd concept I found a solution to emi-protect pins, i.e. for reading buttons over long and noisy lines, see here.
  14. Replies
    3
    Views
    338

    [queued] music string winding device

    Here some info about my main project: a music string winding machine.

    It runs on 2 teensies, communicating via a serial line: a T3.5 controls the cockpit and handles display, buttons, calculations...
  15. Replies
    3
    Views
    544

    [queued] guitar tuner with FFT and Yin

    Here a tuner and frequency logger project I just completed.

    The tuner uses yin algorithm from the teensy audio library, fft frequency estimation from here (had to edit cpu defines for T4), a...
  16. Replies
    38
    Views
    2,649

    I already tried to report on the beta3 thread,...

    I already tried to report on the beta3 thread, but my post disappeared: on T3.6 Audio ADC input does not compile (vtable error).
  17. Replies
    67
    Views
    4,202

    Thank you so much, I really appreciate it!

    Thank you so much, I really appreciate it!
  18. Replies
    67
    Views
    4,202

    see here, it's available again since today:...

    see here, it's available again since today: https://www.tindie.com/products/onehorse/ics43434-i2s-digital-microphone/
  19. Replies
    67
    Views
    4,202

    Fantastic, many thanks, thats good news!!! :)

    Fantastic, many thanks, thats good news!!! :)
  20. Replies
    67
    Views
    4,202

    Thanks for the hint! The pulldown can't be...

    Thanks for the hint! The pulldown can't be enabled by pinMode...?



    Thanks! But I don't have space for an additional board...
  21. see this post for further details...

    see this post for further details
  22. Replies
    67
    Views
    4,202

    OK, I read all forum posts about the SPH0645 I...

    OK, I read all forum posts about the SPH0645 I could find and spend quite some hours on fiddling with it. The problem seems to be that SPH0645 violates i2s specs. At least in my case it spits out...
  23. Replies
    67
    Views
    4,202

    Hi Duff, in addition to what I stated in my above...

    Hi Duff, in addition to what I stated in my above post I also can't get your code from this post to work with i2s/i2sQuad as input.
  24. Replies
    67
    Views
    4,202

    Hi, it seems to me that something in the i2s...

    Hi,

    it seems to me that something in the i2s part of the audio library is broken, here is my code:


    #include <Audio.h>

    AudioInputI2S input;
    AudioAnalyzeNoteFrequency notefreq;...
  25. please help with mic board into audio library

    Hi,

    I want to use a single Adafruit SPH0645 mems mic board into the audio library on my Teensy 4 and managed to get it working, but only with i2s_quad with the following code:

    ...
  26. On my machine I do the following: #include...

    On my machine I do the following:


    #include "TeensyStep.h"

    Stepper motor(48, 47);
    StepControl controller(5, 1000);

    int motor_steps_per_rev = 200;
    int motor_microstepping = 4;
  27. I will try to give some examples... Here my...

    I will try to give some examples... Here my observations. The following works in master branch but not in dev-timer:
    #include "TeensyStep.h"

    Stepper motor(48, 47);
    RotateControl controller(5,...
  28. I Did some more tests and found that estop (in...

    I Did some more tests and found that estop (in master branch) works only in one direction:


    #include "TeensyStep.h"

    Stepper motor(22, 41);
    RotateControl RotCtrl(5, 1000);
    StepControl...
  29. Thanks a lot!! I think it's a good solution. I...

    Thanks a lot!! I think it's a good solution. I did some tests on my machine, everything works fine. Also the e-stop I can now execute faster without the delay!

    EDIT: just noticed that slow...
  30. Thanks for fixing! And sorry for so many...

    Thanks for fixing! And sorry for so many requests...Yes, I think it's good to have. Some of my winding processes move really slow, for example when threading in the wires. With thin wires I could end...
  31. At the moment I am using 2 rotate and 2 step...

    At the moment I am using 2 rotate and 2 step controllers for my 5 motors and get along with them if used carefully - but if I add a new motor (say for a future grinding device) I will get in...
  32. Replies
    4
    Views
    488

    If you figured out a reliable solution: would you...

    If you figured out a reliable solution: would you mind to post a code example and the values of the voltage devider?
  33. Many thanks for your example! I played with it...

    Many thanks for your example! I played with it but couldn't do the following:
    #include "TeensyStep.h"

    Stepper a(22, 41);

    void setup() {
    RotateControl *rctrl_heap_1 = new RotateControl();
    ...
  34. Replies
    4
    Views
    488

    I would be interested in this as well!

    I would be interested in this as well!
  35. Thanks for clarifying! I see! Does this...

    Thanks for clarifying!



    I see! Does this mean I also could delete a controller manually and define a new one within the scope, re-using the resources?
  36. A new observation: moveAsync works only if...

    A new observation: moveAsync works only if stp.controller is defined in global space:


    #include "TeensyStep.h"

    Stepper motor1(22, 41);
    Stepper motor2(43, 42);

    void setup() {
    StepControl...
  37. I can confirm: it works. Thanks again for the...

    I can confirm: it works. Thanks again for the great support!!!!
  38. Thansk for fixing! But with the new version it...

    Thansk for fixing! But with the new version it seems I can't get callbacks working:


    #include "TeensyStep.h"

    Stepper motor(22, 41);
    StepControl controller;

    bool flag = 0;
  39. Yes. I checked the master branch and it did only...

    Yes. I checked the master branch and it did only happen with the develop branch...



    I just tried: it's fixed! Many thanks!! It helps a lot in my multi layer winding applications when spooling...
  40. I want to share another observation: if I issue a...

    I want to share another observation: if I issue a stop command during deceleration the motor would speed up and begin a new deceleration ramp:


    #include "TeensyStep.h"

    Stepper motor(22, 41);...
  41. You are almost there :) Perfect, I added 2...

    You are almost there :)



    Perfect, I added 2 minor details...
  42. That could be the case any time sooner or later...

    That could be the case any time sooner or later :cool: Thanks for letting me know!



    Please feel free to ad it!
  43. I managed to prepare a small video, see here:...

    I managed to prepare a small video, see here: https://www.youtube.com/watch?v=SYRmfHMnmTE
  44. I saw a difference with extremely slow speeds /...

    I saw a difference with extremely slow speeds / acceleration rates, and you also mentioned the "ugly asymmetry". I thought that was gone with my suggestion...?



    Thanks a lot, this is a very...
  45. At fast winding speeds with thin wires (for...

    At fast winding speeds with thin wires (for example 0.12mm wires @ 3000~7000rpm) I get very slow acceleration rates for pitch changes. So what about this:


    if (targetPitch > oldPitch) {
    ...
  46. At least it needs to be changed for the next...

    At least it needs to be changed for the next spindle speed change, so we could theoretically update it only before the spindle speed factor changes and keep all pitch changes with the old...
  47. Wow, thank you, very convenient! I will play with...

    Wow, thank you, very convenient! I will play with this class and study it. One thing I noticed is that you call feeder.overrideAcceleration() now before feeder.overrideSpeed(): I am wondering if it...
  48. Sorry to bother again with a code example, but I...

    Sorry to bother again with a code example, but I read so many times your explanations and still don't understand everything, so I put together another code example. What puzzles me is the difference...
  49. I think you understood much better than me :cool:...

    I think you understood much better than me :cool:

    (BTW in the library src the overrides are listed under "Blocking movements"...?)

    Requirement #4 sounds good, but I am not sure because in any...
  50. I see! I was trying to follow earlier advice...

    I see! I was trying to follow earlier advice which I understood as to do all calculations in the cockpit and let the lower teensy execute only commands coming in over serial. So at the moment all...
Results 1 to 50 of 95
Page 1 of 2 1 2