Hi
Thanks for the issues. I appreciate the feedback and I have taken the time to go through them and identify the issues causing the errors.
1./ Presets : all is ok except preset 0 : pressing Go button
Fixed in windows app 0021
2./ Display Settings: a) Update position when moving can't be set
Fixed in windows app 0021
This was an incorrect paramter being used in the window app to generate the update position when moving
b) Page Display Time : if I select the value X, X+2 is set in the json file.
Fixed in windows app 0021.
Not an error. Expected outcome. Please let me explain
I use the index setting drom the list, so when 2 is highlighted, the index is 0
So to get the page display time I add 2 to the selected index value.
Index 0 = 2s
Index 1 = 3s
To get the selected index back on a read, I subtract 2 from the returned value
The reason of the failure has to do with using the wrong parameter to set the target command.
I use an Oled graphic display.
So I have to change myoled->updateoledtextposition(); with
myoled->UpdateOled(oled, ConnectionStatus); to have an effective update on
the display.
No changes to firmware necessary. The windos app was uodated to send the correct command.
FYI Graphic oled and serial mode are deprecated in upcoming releases.
regards
Robert
Last edit: brownrb 2021-12-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Robert.
I just do some testing.
Sorry but Preset 0 still don't move when I press Go. Just the same status message : Focuser is NOT moving. This can wait next year ...
BTW I home you spent a Nice X-Mas moment.
See you in 2022.
Best regards
Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert.
I'm a French astronomer and I build myFP2ESP focuser using TMC2209 driver.
Thank you for providing us such a beautiful project.
I have good skills in electronics, programming and microcontrollers. (It is
my job)
Everything works pretty well.
I found some issues with the windows application.
1./ Presets : all is ok except preset 0 : pressing Go button do nothing
except a status message : "Focuser NOT moving"
2./ Display Settings:
a) Update position when moving can't be set
b) Page Display Time : if I select the value X, X+2 is set in the json file.
I recompile the source code (version 230-1) using DEBUG and added some
DebugPrint in comms.h
Set Update position . on the app produce:
17:33:47.832 -> ++ request for saving data_var
17:34:12.465 -> Case 61 receiveString=(:610#) --> should be :611#
17:34:12.465 -> ++ request for saving persitant data
17:34:12.465 -> Case 35 receiveString=(:354#) --> should be :352#
Reset Update position . and Display time to 2 s on the app produce:
17:34:29.714 -> Case 61 receiveString=(:610#)
17:34:29.714 -> ++ request for saving persitant data
17:34:29.714 -> Case 35 receiveString=(:354#) --> should be :352#
I use an Oled graphic display.
So I have to change myoled->update_oledtext_position(); with
myoled->Update_Oled(oled, ConnectionStatus); to have an effective update on
the display.
I use Nema 14 and Nema 17 0.9 deg motors.
Latter, I will have some remarks about TMC2209 settings
Best regards
Eric
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Ok, let me try again
Hi
Thanks for the issues. I appreciate the feedback and I have taken the time to go through them and identify the issues causing the errors.
1./ Presets : all is ok except preset 0 : pressing Go button
Fixed in windows app 0021
2./ Display Settings:
a) Update position when moving can't be set
Fixed in windows app 0021
This was an incorrect paramter being used in the window app to generate the update position when moving
b) Page Display Time : if I select the value X, X+2 is set in the json file.
Fixed in windows app 0021.
Not an error. Expected outcome. Please let me explain
I use the index setting drom the list, so when 2 is highlighted, the index is 0
So to get the page display time I add 2 to the selected index value.
Index 0 = 2s
Index 1 = 3s
To get the selected index back on a read, I subtract 2 from the returned value
The reason of the failure has to do with using the wrong parameter to set the target command.
I use an Oled graphic display.
So I have to change myoled->updateoledtextposition(); with
myoled->UpdateOled(oled, ConnectionStatus); to have an effective update on
the display.
No changes to firmware necessary. The windos app was uodated to send the correct command.
FYI Graphic oled and serial mode are deprecated in upcoming releases.
regards
Robert
Last edit: brownrb 2021-12-29
Thanks Robert.
I just do some testing.
Sorry but Preset 0 still don't move when I press Go. Just the same status message : Focuser is NOT moving. This can wait next year ...
BTW I home you spent a Nice X-Mas moment.
See you in 2022.
Best regards
Eric
Hi Eric
should be fixed now, 1_0_0_22
https://sourceforge.net/projects/myfocuserpro2-esp32/files/Windows%20Application/myFP2ESP_1_0_0_22.zip/download
regards
R