star tracker (fotomontierung) with step motor, simple!!!!!!

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024

Комментарии • 11

  • @springwoodcottage4248
    @springwoodcottage4248 Год назад +3

    Excellent tutorial, clear & concise and super helpful to me as I want to do exactly the same. The translation between German & English worked spectacularly well for me as I do not speak German. Thank you for sharing!

    • @volkerblock
      @volkerblock  Год назад

      Praise is always good. It is the lubricant of social relations. Thanks.

  • @zeitgeist1348
    @zeitgeist1348 10 месяцев назад

    Danke für das tolle Video. habe mir auch so ein Arduino Set bestellt für ca. 17 Euro komplett! Suche mir noch eine kleine alte Montierung. Meine EQ6 ist mir zu schwer für mal schnell was zu fotografieren.

  • @comelefort3335
    @comelefort3335 9 месяцев назад +1

    here is the code simplified:
    #include
    // Define the number of steps per revolution for your stepper motor
    const int stepsPerRevolution = 2048;
    // Create an instance of the Stepper class
    Stepper myStepper(stepsPerRevolution, 3, 5, 4, 6);
    void setup() {
    // No initialization needed in this example
    }
    void loop() {
    // Rotate the motor clockwise
    myStepper.step(-1);
    // Add a delay to make the movement visible
    delay(420); // Adjust according to your needs to set the speed
    }

  • @amrelsayed4247
    @amrelsayed4247 Год назад

    Awesome, Just one question, Does the tracker moves once every 0.42 seconds?

    • @volkerblock
      @volkerblock  Год назад +1

      yes, a little bit every 0.42 seconds. So the stars remain as points.

  • @volkerblock
    @volkerblock  Год назад +1

    //try also:
    unsigned long T1 = 0, T2 = 0;
    unsigned long TimeInterval=420723;
    int stepcounter=0;
    byte bitpattern[] ={ 0b01001000, 0b01100000,0b00110000,0b00011000};
    void setup() {
    DDRD=0b01111000; //datareg D dig 3,4,5,6 Output
    //TimeInterval= 4000; // for testing
    }
    void loop() {
    T2=micros();
    if( (unsigned long)(T2-T1) >= TimeInterval ){
    PORTD=bitpattern[stepcounter];
    stepcounter=stepcounter+1;
    if (stepcounter>3){ stepcounter=0;}
    T1=micros();
    }
    }

  • @GS-hg9cl
    @GS-hg9cl 7 месяцев назад

    Simpel ist das aber nicht!