Menu

st-6128 arduion code

2019-02-22
2019-02-23
  • sami aldoseri

    sami aldoseri - 2019-02-22

    Dear Robert

    I was trying to fash the ardiuno nano with The St-6128 Firmware v175 ,and a very thin connector Successfully in SGP PRO with ascom driverr But can not get the stopper to move ,so I try to flash out with arduion focuserpro2Firmware v279 to the stepper motor working popaly in SGP PRO

    I think that is something with code for ardruion Firware t6128 v175

    So can pleaes check out the arduionFirmware code for st6128 v175 , I would like to to use the model with ekos kstars indi moonlit

    Wating for you respond

     
  • brownrb

    brownrb - 2019-02-22

    Hi Sami
    Please let me know if you can connect with the Windows application first.
    If you cannot send me the logfile

    I also need to know HOW YOU HAVE CONNECTED the ST6128 driver to the nano - if the connections are wrong then it will not step

    Please write down ALL the connections, including power and ground, from the ST6128 driber board to the nano and post here - physcially trace each wire and write down the connection for each wire

    It is highly unlikely to be the firmware - more likely to be the connections between the st6128 and the nano

    Regards
    Robert

     

    Last edit: brownrb 2019-02-22
  • sami aldoseri

    sami aldoseri - 2019-02-22

    The question is is synthetic difference between the diagram and version 1 and version 2 Hi Robert

    I do not use Windows application (not installed ),i always use ascom driver with SGP Pro and diy St6128 work perfect with ardrionfocuserpro2 with Sgp pro (without any issues

    The the story that I would like to use the diy st6128 in ekos kstars with moonlit indi driver so I flash the arduino with st6128 v175. Afterward I note that the stepper isn't moving will when I move it with ascom driver (v175) in sgp pro, so i reflash the arduion nano with firmware v279 and try it and work perfect with v279

    The issue only with firmware v175 I chack all soild connections between the st-6128 and arduion nano is good
    The question is the different between the schematic diagram version pro1 and version pro2

     
  • brownrb

    brownrb - 2019-02-23

    the connections are the same for both

    // ST6128 CONNECTIONS
    // DC+ 12V
    // DC- GND
    // B- STEPPER MOTOR COIL 2 BLACK
    // B+ STEPPER MOTOR COIL 2 GREEN
    // A- STEPPER MOTOR COIL 1 BLUE
    // A+ STEPPER MOTOR COIL 1 RED
    // PUL+ D4
    // PUL- GND
    // DIR+ D3
    // DIR- GND
    // ENA+ D8
    // ENA- GND

    try attached code - there may have been an error in the v175 code

     

    Last edit: brownrb 2019-02-23
  • sami aldoseri

    sami aldoseri - 2019-02-23
    Dear  Robert
    
    thank you , yes the file in the attachment work perfact in ascom driver with SGP PRO the stepper motor can i move it now , i think the main upload file v175 st-6128 have error,  you need to check it out
    
    waiting for you info
    
    best regards
    
     

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.