i have build OPTION 3: NANO + NEMA17PG27 STEPPER + DRV8825_HW203.
At first i used software version 1.6.0. Everything was working fine.
Then i switched to version 2.4.2. with all required software (Windows program and ASCOM Driver).
Now when i toggle the CP switch in myFocuserPro2.3.2.0 nothing happens.
It does not matter if the button is on or off. The coil power is always on.
The level on NANO pin D8 / DRV_8825 pin EN are low.
What could be the problem ?
Thank you very much !
Thomas
Last edit: Thomas Richter 2016-06-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you still have problems with 243 then please post the errorlog from the windows program. Simply connect, click the CP button to disable, wait 5s, click CP button to enable the disconnect and exit program and post error log.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much Robert !
Could you please also provide it for the minimal version DRV8825_HW203_M ?
I use this version and don't know what i have to uncomment, or what header files i need.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have compared versions 242 and 243 with diff. And assumed your changes to my Focuserv242_DRV8825_HW203_M.ino file. After uploading to Arduino everything works fine !
I found another difference between Focuserv242_DRV8825_HW203_M.ino and Focuserv242_DRV8825_HW203_F.ino:
--> #define myEnable A4 // For DRV8825 and Easydriver boards, wire /ENABLE pin to A4 input (TFT=A4)
in Focuserv242_DRV8825_HW203_F.ino it's :
--> #define myEnable 8
Thank you very much for your help !
Thomas
Last edit: Thomas Richter 2016-07-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"a correction: A4 was used by the TFT code"
like described in your comment ;-)
"whereas all other code should use pin 8 for ENABLE."
Yes, that's it !
I compared the same hardware versions and the M-version (Focuserv242_DRV8825_HW203_M) is different ( #define myEnable A4).
Ceers
Thomas
Last edit: Thomas Richter 2016-07-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Thomas, I think I have corrected it now. The mistake was in DRV8825_HW203_M and DRV8825_HW203_MT files. Ive just uploaded the correct versions. Many thanks.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
i have build OPTION 3: NANO + NEMA17PG27 STEPPER + DRV8825_HW203.
At first i used software version 1.6.0. Everything was working fine.
Then i switched to version 2.4.2. with all required software (Windows program and ASCOM Driver).
Now when i toggle the CP switch in myFocuserPro2.3.2.0 nothing happens.
It does not matter if the button is on or off. The coil power is always on.
The level on NANO pin D8 / DRV_8825 pin EN are low.
What could be the problem ?
Thank you very much !
Thomas
Last edit: Thomas Richter 2016-06-30
Hi Thomas
Please try attached .ino file here v243
and let me know what happens
Robert
If you still have problems with 243 then please post the errorlog from the windows program. Simply connect, click the CP button to disable, wait 5s, click CP button to enable the disconnect and exit program and post error log.
Thanks
Thank you very much Robert !
Could you please also provide it for the minimal version DRV8825_HW203_M ?
I use this version and don't know what i have to uncomment, or what header files i need.
Thank you
Hi Robert,
i have compared versions 242 and 243 with diff. And assumed your changes to my Focuserv242_DRV8825_HW203_M.ino file.
After uploading to Arduino everything works fine !
I found another difference between Focuserv242_DRV8825_HW203_M.ino and Focuserv242_DRV8825_HW203_F.ino:
--> #define myEnable A4 // For DRV8825 and Easydriver boards, wire /ENABLE pin to A4 input (TFT=A4)
in Focuserv242_DRV8825_HW203_F.ino it's :
--> #define myEnable 8
Thank you very much for your help !
Thomas
Last edit: Thomas Richter 2016-07-01
Hi Thomas
Yes, myEnable on the original stripboard layout for DRV8825/EasyDriver is A4
When the HW203 board was released later, it was changed to data pin 8. In addition, some of the M0/M1/M2 step mode lines were changed as well.
Thats why there is a DRV8825 and a DRV8825_HW203 firmware version.
Glad to know its going now
Cheers
Robert
Umm darn if memory is fading, a correction: A4 was used by the TFT code, whereas all other code should use pin 8 for ENABLE.
Hi Robert,
"a correction: A4 was used by the TFT code"
like described in your comment ;-)
"whereas all other code should use pin 8 for ENABLE."
Yes, that's it !
I compared the same hardware versions and the M-version (Focuserv242_DRV8825_HW203_M) is different ( #define myEnable A4).
Ceers
Thomas
Last edit: Thomas Richter 2016-07-02
Thanks Thomas, I think I have corrected it now. The mistake was in DRV8825_HW203_M and DRV8825_HW203_MT files. Ive just uploaded the correct versions. Many thanks.
Regards
Robert
You're welcome ! Thank you for your great project and the exemplary documentation.
Cheers
Thomas