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

Search:

Type: Posts; User: 450nick

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    277

    21276 Hi Lutz, I have added a cut down version...

    21276

    Hi Lutz, I have added a cut down version of the code which should demonstrate the problem with all of the serial stuff removed and the analogue smoothing library. The steppers are driven...
  2. Replies
    3
    Views
    277

    TeensyStep Re-homing question

    Hi there! I have been using the fantastic teensystep for some time, and am just starting to tidy up my code and finalise it for use in my car dashboard project. The one remaining function I'm trying...
  3. Replies
    33
    Views
    1,469

    Wait no, it was a bug with the scaling of my...

    Wait no, it was a bug with the scaling of my input.. It works! Thanks so much Luni, it works so much smoother than Accelstepper! Amazing job. Thanks for your help getting it working. If anyone is...
  4. Replies
    33
    Views
    1,469

    Thanks Luni that works, but I don't fully...

    Thanks Luni that works, but I don't fully understand what that piece of code is doing. All 4 steppers now sweep then return to zero, I have control over the steppers but after starting, stepper 4...
  5. Replies
    33
    Views
    1,469

    Hi Luni, Right I've got the startup homing...

    Hi Luni,

    Right I've got the startup homing sweep working, but now the rotate controllers don't respond - do I need to somehow release the step controller?


    #include "TeensyStep.h"
    #include...
  6. Replies
    33
    Views
    1,469

    Ah ok I found this:...

    Ah ok I found this: https://github.com/luni64/TeensyStep/issues/53

    It seems to suggest that I might be better off declaring the controllers locally. Would this be a better approach do you think? I...
  7. Replies
    33
    Views
    1,469

    Ah found it.. But I also found this:...

    Ah found it.. But I also found this: https://github.com/luni64/TeensyStep/issues/53

    Do you recommend declaring the controllers locally or using the DevTimer branch?

    Thanks!
  8. Replies
    33
    Views
    1,469

    Thanks luni, where do I find this?

    Thanks luni, where do I find this?
  9. Replies
    33
    Views
    1,469

    Hi Luni! Here is my updated code, but something...

    Hi Luni! Here is my updated code, but something is wrong... Now I have the two controller types, neither work. The pointers do not move on startup and also don't move when I move the input signal as...
  10. Replies
    33
    Views
    1,469

    Hi Luni thanks but I'd like to go to a specific...

    Hi Luni thanks but I'd like to go to a specific step count to sweep a scale. Could I raise a step controller and .move to a step number then to 0 before I use rotate control?
  11. Replies
    33
    Views
    1,469

    Success! I now have some code that runs really...

    Success! I now have some code that runs really nicely, so much smoother than accelstepper! The last thing I would like is to do a nice sweep of the steppers on startup but I can't work out the best...
  12. Replies
    33
    Views
    1,469

    Morning Luni! I hope you had a good weekend. I...

    Morning Luni! I hope you had a good weekend. I spent quite a lot of time confused and trying to work out how to transmit and receive a frequency pulse rate. I finally succeeded at 2am on Sunday night...
  13. Thanks chaps, I think I will go another way with...

    Thanks chaps, I think I will go another way with this. I think I've managed to crack it using an interrupted pin rising method working in micros.
  14. Thanks Kurt! I might give that a go - before I do...

    Thanks Kurt! I might give that a go - before I do though I'm curious as to why it is pin specified - is there something about that pin that makes it work above others? Ultimately I need to monitor...
  15. Is it possible to use FreqMeasure with pins other than the one specified?

    I'm having some trouble reliably reading an incoming frequency on an analogue pin on a Teensy 3.2 and was hoping to be able to use this library but it appears to only work with a single pin that I'm...
  16. Hi Luni, Where do you put this code for it to...

    Hi Luni,

    Where do you put this code for it to work? I tried dropping it in and replacing "doSomeMeasurement()" with speedRaw but this doesn't work - you have an example with it in? Does it run in...
  17. Here's a question... I'm using this code to...

    Here's a question... I'm using this code to generate my pulses:






    /* 2126mm per tyre revolution = 470 revs per km
    diff ratio 3.42 so 1607 revs per km on gearbox = 1.6074 revs per m
  18. Amazing! It works, thanks both... So I now have a...

    Amazing! It works, thanks both... So I now have a solid reading of the speed based on the pulses generated from the other teensy. Awesome. I was running the pulses divided by a factor of 10 so I...
  19. Ok none of those work, but I can get it to work...

    Ok none of those work, but I can get it to work if broken in two...

    running 1.0/teeth gives 0.06 which is correct, but not accurate enough - my calculator comes up with 0.0588235294117647‬

    then...
  20. How to effectively read speed from incoming pulses

    Hi all!

    I have developed the following code based on some examples I've found on this forum using interrupts to check for pulses seen on an input pin. This seems to work nicely, but I'm now trying...
  21. Replies
    33
    Views
    1,469

    Awesome thanks Luni - really appreciate the help....

    Awesome thanks Luni - really appreciate the help. I'll give this a try and will look forward to seeing your code at the weekend!
  22. Replies
    33
    Views
    1,469

    I would ideally like to try and get this to work...

    I would ideally like to try and get this to work without changing the board design, as I have the prototype PCB in front of me for testing. Is there another way to get the steppers to follow the...
  23. Replies
    33
    Views
    1,469

    Ah ok so will this example not work for my...

    Ah ok so will this example not work for my application?
  24. Replies
    33
    Views
    1,469

    Hi Luni, Right so I have the below code to...

    Hi Luni,

    Right so I have the below code to test your example, and I get an error around "overrideSpeed" not being a member... Does anything look wrong to you?


    #include "TeensyStep.h"...
  25. Replies
    2
    Views
    203

    Fiddled around with it and it works! Good...

    Fiddled around with it and it works!

    Good shout on the variable reluctance, though I think the -5 to +5 goes from gearbox to engine ECU then ECU outputs 0-5v only. I will check this though.
  26. Replies
    2
    Views
    203

    Trouble with an Opto-Coupler...

    Hi all,

    As part of my instrument cluster project, I need to be able to read 12v RPM square wave and vehicle speed 5v square wave input signals. I'm testing my prototype board and so far have no...
  27. Replies
    33
    Views
    1,469

    Great thanks Luni I'll take a look and see how...

    Great thanks Luni I'll take a look and see how far I can get before you're able to do the example.. I'll also look at the level shifter too - so this would need to go between the teensy and the...
  28. Replies
    33
    Views
    1,469

    Thanks again Luni, two questions 1) What does...

    Thanks again Luni, two questions

    1) What does the level shifter do? I realised that the driver is actually on the other PCB but it is driven direct from the Teensy. I think one of the problems was...
  29. Replies
    33
    Views
    1,469

    Fantastic thanks Luni it now works! Just a quick...

    Fantastic thanks Luni it now works! Just a quick question; if I want to set 4 motors off toward a target but I don't want them to arrive in sync (each go as fast as it's able), how should I make the...
  30. Replies
    33
    Views
    1,469

    Great thanks that all makes sense; I'll give...

    Great thanks that all makes sense; I'll give these things a go this evening and will report back.

    On the image, do you know how to upload a higher res image? If I attach the png file it converts...
  31. Replies
    33
    Views
    1,469

    Thanks Luni! I will put a better schematic up...

    Thanks Luni! I will put a better schematic up when I get to work, but looking on my phone I think I may have found the problem. The VID6606 requires a step pulse of 450uS according to this datasheet:...
  32. Replies
    33
    Views
    1,469

    TeensyStep - Fallen at the first hurdle!

    Hi everyone! I just found this forum, I've been using Teensy's and Arduino now for a few months and it's SO MUCH FUN! So thank you for creating them. I'm still very much learning, and the project I'm...
Results 1 to 32 of 32