Menu

problem with telecommand

Alonso
2024-07-19
2024-08-16
  • Alonso

    Alonso - 2024-07-19

    Hello,
    I've build my FP2 and it's work fine.
    I compiled the last time there is a long time with the option telecommande.
    I have recently to try this after print it and I have a problem.
    So, I will explain step by step
    1) telecommand not connected. NINA connected
    - start NINA, move in and out without problem, , no matter the position of the eyepiece holder.
    - stop NINA and electrnics

    2) telecommand connected. NINA not connected.
    - Start from the last position (see 1) for example my last good focus with DLSR.
    - put my eyepiece
    - move out 100 steps it's ok
    - move in 100 steps it's ok
    - move in 100 steps, stepper don't move.
    - move out 200 steps it's ok
    - move in 200 steps it's ok
    - move in 100 steps stepper don't move

    it's like if when i connect my telecommande the 0 position (when the eyepiece holder is fully in) is reset à the actual position of the focuser.
    I can to ou but not in.

    3)telecommand not connected. NINA connected
    - like a charm (see 1)

    What do you think about this?

    In practive, when I do astrophoto I disconnect the telecommand but when I do visual I use the telecommand. The goal is don't use a pc!!

    thanks a lot

    Olivier from france (sorry for my bad english)

     
    • brownrb

      brownrb - 2024-07-20

      I have no idea what telecommande is

       
  • brownrb

    brownrb - 2024-07-20

    Firmware version 355 did have a fix for InfraRed remote.
    Are you using firmware 335?

    If using NINA and ASCOM I would not recommend using push buttons or Infrared remote at the same time.

    For Visual use better NOT to use INDI/ASCOM connecting to focuser.

    Regards
    Robert

     
  • Alonso

    Alonso - 2024-07-20

    good afternoon Robert,

    sorry for my explain that is a little!
    I use an old version, 255 in memory like that!
    My motto is “when it all works don´t touch!".
    When I made the MyFP2 system I chose the nano + push button control and DRV8825 in HW203 but I used the push buton recently.

    the problem lies in the fact that, in astrophoto mode, I do not connect the push buttons.
    In visual mode, I no longer have the PC. I use push buttons instead of ascom.

    in ascom mode the driver remembers the current position even after restarting the nano.

    but when I connect the push buttons, if let's admit the last position of the eyepice holder was to the step 3000,
    with the push bouton, if I click to move out it´s ok, for example 100 step. if i want to move in, it move, but atfer the 100 steps, it refuse to continue like that if the position was 0, but it would be 3000 steps.

    So my problem comes from using the push buttons without ascom and that would cause a reset from position 0.

    I hope I was able to explain the problem better to you.

    best regards
    Olivier

     
    • brownrb

      brownrb - 2024-07-20

      Hi
      I seem to be not understanding

      In first post you refer to telecommde or remote control and not working

      2) telecommand connected. NINA not connected.
      - Start from the last position (see 1) for example my last good focus with DLSR.
      - put my eyepiece
      - move out 100 steps it's ok
      - move in 100 steps it's ok
      - move in 100 steps, stepper don't move.
      - move out 200 steps it's ok
      - move in 200 steps it's ok
      - move in 100 steps stepper don't move
      

      But in next post ypu talk about pushbuttons

      but when I connect the push buttons, if let's admit the last position of the eyepice holder was to the step 3000,
      with the push button, if I click to move out it´s ok, for example 100 step. if i want to move in, it move, but atfer the 100 steps, it refuse to continue like that if the position was 0, but it would be 3000 steps.
      
      So my problem comes from using the push buttons without ascom and that would cause a reset from position 0.
      

      so I find that confusing. Which is right? is it a remote controller issue or a push button issue, because they do not use tje same code.

      Regards
      Robert

       
    • brownrb

      brownrb - 2024-07-20

      So my problem comes from using the push buttons without ascom and that would cause a reset from position 0.

      Are you having an issue which looks like
      "if position = 3000, pressing button to move in, sometime a move in push button sets the position to 0"

      If this is your issue, you will need to use firmware 335. Between v255 up to version 335 there have been multiple fixes to the push button code.

      Regards
      Robert

       
  • brownrb

    brownrb - 2024-07-20

    Hi Olivier
    Here is what my thinking on push buttons are:
    I should never made push buttons an option. I have probably spent more time writing code for push buttons than anything else.

    A lot has changed since v255 and I cannot support older software. So I can only offer support for the current firmware version 335.

    I will check your test against version 355.

    regards
    Robert

     

    Last edit: brownrb 2024-07-20
  • Alonso

    Alonso - 2024-07-20

    thank you for your response and for you great job!
    your job is really amazing.
    I will go to update my arduino with the last firmware.
    I must to save all my parameters and let’s go!!
    i will come back to speak about this to give you news after an update.

    have a nice night/day
    olivier

     
  • brownrb

    brownrb - 2024-08-16
     
    • Alonso

      Alonso - 2024-08-16

      hello Robert,

      thanks for your return.
      I'm in hollidays until tomorrow.
      I'will test this version the next week and I will send you if it's ok.
      have a nice day.
      Olivier

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.