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

Search:

Type: Posts; User: Bking

Search: Search took 0.00 seconds.

  1. Error while setting serial port parameters: 115 200 N 8 1 :confused:

    Hi,

    I read datas very well from Processing to control ten stepper motors, and to control something else into an other software.
    In Processing, I write theses 33 int datas separated with a coma,...
  2. Bad datas are print on serial1. I haven't had this problem on Arduino Due.

    Don't read this post for the moment
  3. Hi Luni, Thanks for you time, for explain me the...

    Hi Luni,
    Thanks for you time, for explain me the best way to rum my motor with the highest speed
    I made the test and when I send positions to all motors going forward or backward I have this:
    ...
  4. Hi luni, I don't have a scope or a logic analyze...

    Hi luni,
    I don't have a scope or a logic analyze to measure time before before stepper[0].run stepper[9].
    So, I did this test in the loop


    void loop() {

    recvWithStartEndMarkers();...
  5. Problem with Teensy Stepper. Difficulty to modify the library ?

    Hello.
    Accelstepper with an Arduino Uno running at 16MHz run at 4000 step/s
    While the Teensy 3.6 runs at 256MHz, so we can expect to do about 4000 * 256MHz / 16MHz = 640000 steps at best on the...
  6. Understood!

    Understood!
  7. Hi Kurte. My program seems to work perfectly....

    Hi Kurte.

    My program seems to work perfectly. No noise, the motor keeps it position, and I can read data at 115200 bauds.
    Thanks so much for your didactism.
    Now I have to use Teensy Step to...
  8. TeensyStep. Why I have to use moveAsync with a while and delay?

    Hello,
    I want to assign different position to stepper motors from Processing.
    I can do this very well with the library accelstepper.
    But with the teensy stepper library, I have to add this at the...
  9. I can't find this file in my computer. Could...

    I can't find this file in my computer.
    Could send me your folder where you file serial.c? I will put it in the folder where library for teensy is.

    Thank you.
  10. Hi Kurte, I' m working on Mac OS. I found a file...

    Hi Kurte,
    I' m working on Mac OS. I found a file name Serial.c but it's in a library called Grbl. And this library is not managed in the partition of my Mac, that I'm actually using with Teensy....
  11. Hi Kurte, I have added few thing in the setup...

    Hi Kurte,
    I have added few thing in the setup and the motor (because I have only one for now) seems to follow the animation from Processing.
    But why when I set Serial1.begin (115200) the motor...
  12. [QUOTE=KurtE;257946] But for example if it is...

    [QUOTE=KurtE;257946]
    But for example if it is because Serial1 is not being procecessed fast enough than maybe raise the priority of the IRQ that services it. I think all of the UARTS are set to...
  13. IntervalTimer t1; void setup(){ //.... ...

    IntervalTimer t1;

    void setup(){
    //....
    t1.begin(tickSteppers, 100); // call every 100Ás, change if requred
    //...
    }

    I have try different t1.
    It's better my motor shake at speed...
  14. [ if ( Serial.available() > 20 || ...

    [


    if ( Serial.available() > 20 || recvInProgress == true ) // 20 or larger up to message size.
    while (Serial.available() > 0 && newData == false) {
    ...

    Hello,

    I have changed 20...
  15. Problem with Serial1 port on Teensy 3.6. I haven't had it with Arduino Due.

    Hi,
    I bought the teensy 3.6 to have better processor speed and now I can control my stepper motor 10 faster.
    They are controlled with Processing thanks to Serial.port.
    I would like to read on...
Results 1 to 15 of 15