Remove the existing application using Control Panel FIRST, after which you can install this newer version
2.4.1.0 23-Nov-2023
Add Position and Temperature to statusmsgbar
Fix for maxStep error handling
Fix for Temperature and TempOffset (locale)
Fix for Step Size (locale)
Fix for Read StepSize error (loading wrong value)
Move DelayAfterMove to Motor tab (from Application tab)
regards
Robert
Last edit: brownrb 2023-11-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Change Log
301 19-Jan-2024
Fix reconnect issue with NINA
Fix for set TempMode to Celsius
Fix DisplayEnabled
Fix for TempOffset not aplied to Temperature
Fix for unable to set Focuser Position to a higher value
Fix for unable to set MaxStep to a lower value
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all
I am currently working on an update to the myFP2, myFPM and myFP2N firmware,
It will be version 334, which will be the final update for a while. This new version has a lot of code optimization to improve code execution and reduction of the program code space.
I am adding a few more notes into the firmare, and have decided to add, for each board, subfolders for PCB, Stripboard, gerber etc, so that for a board type, all the info is together in one zip file, so should make better sense now.
That will expand the firmware.zip file, but I think will be worth the effort.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am rearranging things now, so be a little patient as I move files around, upload stuff, rename stuff. I am doing this for the release 334, so please hold judgement till the process is finished.
if you cannot find something, its probably because I have moved it somewhere else, just ask and I will find out where it is or upload that for you.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
The files in the folder BOARDS is not ready for release and please do NOT download files from there as they are subject to change (and the contents there of).
I will post a message when they are finally ready. The new folder will list all the boards and changes to each board, as I am not happy with the the other folders . This process is going to take months to complete as I am verifying each and every board.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have gone back over all the PCB and Stripboards, checking the parts list and layout and component numbering and attempting to make sure that they are all correct.
Each board has its own folder. In that folder is the board layout, schematics, components, parts list. pdf etc. The folder contains all the files seperately, then a .zipped file ending with myfp2xxx_All.zip which is a zip of all the files in that folder.
I have deprecated a few boards, mainly the TFT and UTFT designs. If you are using those boards please download the current firmware and other information you might want, because in the next firmware release there is no firmware file for those boards.
Each board has been broken down into a name a configuration string, such as
The first part is the Board Name, and the latter part what options the board supports (BT=Bluetooth, IR=Infrared etc). This is comping in firmware release 334. See the new attached myBoardDefs.h file for a complete list.
At some stage the existing /Gerbers and /Stripboards folders will disappear.
Firmware 334 has further code optimisations to reduce the memory footprint of the board code. You will find that config.sys (focuserconfig.h) will change a little. the display file only supports LCD, OLED and NOKIA displays. The Nextion versions are still there. The look and feel of the firmware has altered to ensure that there is a consistent view across all board types.
there is a new file which lists the "options" and the program space they occupy. This is needed when configuring options to minmise run time issues. File "Options Program Size" is in the new Boards and Stripboards folders.
I do not yet have a release date for firmware 334, they have all been updated with the new formats etc, but the code optimisation for each has not started yet,
These boards have been validated and checked, new schematics, boards, parts list matched in labels etc. Each board now has a number as well as a code string that matches options supported by the board,
For instance, the board DRV8825HW203_FIRBT has a code string of
BT.BUZ.LEDs.LCD.OLED.HPSW.PB.SPWR.TMP.IR
Bluetooth. Buzzer, Inout LEDs, etc....
These appear in multiple places including the new firmware when uploaded and apply across myFP2, myFP2M, myFP2N, myFP2ESP32 and myFP2ESP8266 projects. Some of the firmware files in 334 have been renamed, again to maintain the same naming convention across these projects.
I will soon upload firmware version update 334. The firmware has quite a few changes which I attach at the end of this update. I am currently porting these changes to both myFP2M, myFP2N and the myFP2ESP32 projects. It may be a few weeks before the 334 firmware will be uploaded.
Firmware update v334 Update
User Manual-Guide for myFP2 PDF v334
April 25 2024
there is a pending update for firmware 334, and PDF updatefor the following projects.
myFP2
myFP2M
myFP2N
If you have a myFP2 controller, then you would use the myFP2 firmware. If you had a myFP2M controller, then the firmware to use would be myFP2M firmware.
its pretty important to realize that myFP2 firmware cannot run properly on a myFP2M or myFP2N controller.
The release date for this is scheduled to occuse over the next few days.
Regards
Robert
The change log summary for 334 is
334 08-Apr-2024
All project boards (PCB and Stripboard) rewritten and updated,
- Add parts list, cross reference parts
- Add option lists to each board (BT.BUZZ.LEDs.LCD.OLED.HPSW.PB.TMP.SPWR)
- Add motor types to ULN2003 firmware
- Create new board PCB_ULN2003_M_MT_F_IR_RE_BT
- Create a xx_All.zip file for each board (includes all files for that board)
- Fix errors and warnings in L298P Keyes Motor Shield
- Renumber board types in myBoardDefs.h
- Updates to the boards using Motor Shields, and more detailed information
- Adafruit_MotorShield_V2
- L293D_SHIELD_UNO
- L298P_SHIELD_UNO
- L293DMINI_TFT
.ino
- Add correct externs for functions
- Add display update of position to moves, push buttons, jogging
- Fix state moving to display position changes, NOT page changes
- Group #defines and associated code together for each major define type
- Update declarations for driverboard, display type, temperature probe
config.h
- focuserconfig renamed as config
- consistent format and sections used in the config.h file
- include warning on program sketch size and data space
- include list of supported boards
- add board description (PCB or Stripboard) and board options (BUZZ.LEDs.LCD.OLED.PB.TMP)
- change TEMPERATUREPROBE to TEMPERATURE_PROBE
- rewrite compilation checks to catch board type and board options errors
defines.h
- change #define EOFSTR '#' to #define EOC '#'
- add defines for CELCIUS and FAHRENHEIT
Deprecate following boards/firmware
- myFP2F_A4998_GSC_China_334
- DIY PCB DRV8825_HW203_OLED_RE_REV4
- RAPS128
- TFT and UTF versions
Display definitions and Display code
- Add check for Display found when initializing display
- Add DISPLAYTYPE to hold the type of display being used
- Modify each display type with the same structure and methods
- When updating position, check if display is enabled
- When updating display pages, check for display enabled
- Fix errors in Nokia display code
- Change DISPLAYPAGETIMEMAX to DISPLAY_PAGETIME_MAX
- Change DISPLAYPAGETIMEMIN to DISPLAY_PAGETIME_MIN
myFP2F_DRV8825HW203_KEYPAD
- Move some settings from EEPROM to static type in config.h
- Code rewrite to reduce Program Size requirements
- Fix for missing #endif in resetdisplayoption()
Serial comms
- Simplify serial code cases for faster execution and reduction in program size
- Rewrite temperature and display calls
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The firmware update is subject to a number of last minute changes, which means that its release is pushed back a couple of days.
Regards
Robert
Changes
2513 27-Apr-2024
Add target position to status bar
Add additional tool tips
Change display page time to 2-10
Change motor step delay range to 1000-12000
Color code focuser info on status bar for better identification
Fix temp coeffient range to 0-255
Fix temp compensation state being sent twice
Implement range checking on all text entry
Remove deprecated serial calls
Rewrite Disconnect Code
Rewrite ALL interface code (send-receive data)between application and controller
2512 05-Feb-2024
Move UpdatePosWhenMoving (Windows) checkbox on Application tab
Add P for Position on Status bar
Resize Currect Position field on Presets tab
Change GUID to 6E7382DD-9781-495F-A48C-11FFCA4AA2D4
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning
This update applies ONLY to myFP2 controllers only. Do not use this firmware on myFP2M or myFP2N Nextion controllers.
How to update controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you must erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish.
Step 5 Load and Configure firmware 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type you bult. next, go through the various options and enable/disable the options you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, chech that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning
This update applies ONLY to myFP2M controllers only. Do NOT use this firmware on myFP2 or myFP2N Nextion controllers.
How to update myFP2M controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware myFP2M 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you MUST erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish (around 10 seconds).
Step 5 Load and Configure firmware myFP2M 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type of the controller (such as MYFP2M_DRV8825, MYFP2M_ULN2003 etc .
Next, go through the various options and enable/disable the options (in config.h) you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, check that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting. When finished, from the menu bar, choose Settings, Write Settings (EEPROM) to finish the upgrade.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning
This update applies ONLY to myFP2N Nextion controllers only. Do NOT use this firmware on myFP2 or myFP2M controllers.
How to update myFP2N controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware myFP2N Nextion 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you MUST erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish (around 10 seconds).
Step 5 Load and Configure firmware myFP2M 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type of the controller (such as MYFP2N_DRV8825, MYFP2N_ULN2003 etc .
Next, go through the various options and enable/disable the options (in config.h) you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, check that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting. When finished, from the menu bar, choose Settings, Write Settings (EEPROM) to finish the upgrade.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ERROR
There is an issue reported for firmware by multiple sources
myFP2_DRV8825HW203_KEYPAD_334
The issues are
LCD not working
Keypad sometimes ignores key clicks, or reponse is slow
Motor not moving
I am addressing these issues at present and hope to release a fixed version soon.
This has been traced to issues of the nano program size becoming full, at which point the serial comms will always return the position of the rotator for all recieved commands, which causes the Windows app and ASCOM driver to disconnect.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
24-Nov-2023
New update for myFP2Mini application
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/upload/WINDOWS/MiniApp/
Updated PDF
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/WINDOWS/MiniApp/myFP2Mini_2_4_0_6.zip/download
Remove the existing application using Control Panel FIRST, after which you can install this newer version
2.4.1.0 23-Nov-2023
Add Position and Temperature to statusmsgbar
Fix for maxStep error handling
Fix for Temperature and TempOffset (locale)
Fix for Step Size (locale)
Fix for Read StepSize error (loading wrong value)
Move DelayAfterMove to Motor tab (from Application tab)
regards
Robert
Last edit: brownrb 2023-11-24
24-Nov-2023
New update for myFP2Windows application 2511
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/WINDOWS/MainApp/myFocuserPro2_2_5_1_1.zip/download
Fixes for Step Size and Temperature/Temperature Offset
Remove the existing application using Control Panel FIRST, after which you can install this newer version
regards
Robert
Hi Robert,
i am not sure, but in new Windows-Main-App are sln and suo data in, but no setup?
How i install the new version?
regards
Andreas
wrong zip file was uploaded
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/WINDOWS/MainApp/myFocuserPro2_2_5_1_1.zip/download
24-Nov-2023
New Firmware update 330
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/myFP2-Firmware-330.zip/download
330 24-Nov-2023
Fix for Temperature Coefficent value having limit of 255, instead of 400
Regards
Robert
24-Nov-2023
New Firmware update 330 for Nextion display version
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/Firmware_myFP2Nextion-330.zip/download
330 24-Nov-2023
Fix for Temperature Coefficent value having limit of 255, instead of 400
Regards
Robert
Last edit: brownrb 2023-11-24
24-Nov-2023
New Firmware update 330 for ReadyMade controllers (myFP2M)
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/Arduino%20Firmware%20for%20myFP2M%20Prebuilt%20Controllers%20Only/Firmware%20myFP2M-ReadyMade-330.zip/download
330 24-Nov-2023
Fix for Temperature Coefficent value having limit of 255, instead of 400
Regards
Robert
26-Jan-2024
Updated ASCOM Drivers
1st ASCOM driver
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ASCOM%20DRIVERS/1st%20Driver/
2nd ASCOM Driver
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ASCOM%20DRIVERS/2nd%20Driver/
Change Log
301 19-Jan-2024
Fix reconnect issue with NINA
Fix for set TempMode to Celsius
Fix DisplayEnabled
Fix for TempOffset not aplied to Temperature
Fix for unable to set Focuser Position to a higher value
Fix for unable to set MaxStep to a lower value
Regards
Robert
Hi all
I am currently working on an update to the myFP2, myFPM and myFP2N firmware,
It will be version 334, which will be the final update for a while. This new version has a lot of code optimization to improve code execution and reduction of the program code space.
I am adding a few more notes into the firmare, and have decided to add, for each board, subfolders for PCB, Stripboard, gerber etc, so that for a board type, all the info is together in one zip file, so should make better sense now.
That will expand the firmware.zip file, but I think will be worth the effort.
Regards
Robert
I am rearranging things now, so be a little patient as I move files around, upload stuff, rename stuff. I am doing this for the release 334, so please hold judgement till the process is finished.
if you cannot find something, its probably because I have moved it somewhere else, just ask and I will find out where it is or upload that for you.
Regards
Robert
Hi
The files in the folder BOARDS is not ready for release and please do NOT download files from there as they are subject to change (and the contents there of).
I will post a message when they are finally ready. The new folder will list all the boards and changes to each board, as I am not happy with the the other folders . This process is going to take months to complete as I am verifying each and every board.
Regards
Robert
26-Mar-2024
I have gone back over all the PCB and Stripboards, checking the parts list and layout and component numbering and attempting to make sure that they are all correct.
All stripboards can be found in
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/BOARDS%20STRIPBOARDS/
and all PCBs + Gerbers found in
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/BOARDS%20PCB
theese replace the previous boards and files .
Each board has its own folder. In that folder is the board layout, schematics, components, parts list. pdf etc. The folder contains all the files seperately, then a .zipped file ending with myfp2xxx_All.zip which is a zip of all the files in that folder.
I have deprecated a few boards, mainly the TFT and UTFT designs. If you are using those boards please download the current firmware and other information you might want, because in the next firmware release there is no firmware file for those boards.
Each board has been broken down into a name a configuration string, such as
DRV8825_M_MT_F_BT PCB: BT.BUZ.LEDs.LCD.OLED.HPSW.PB.SPWR.TMP
The first part is the Board Name, and the latter part what options the board supports (BT=Bluetooth, IR=Infrared etc). This is comping in firmware release 334. See the new attached myBoardDefs.h file for a complete list.
At some stage the existing /Gerbers and /Stripboards folders will disappear.
Firmware 334 has further code optimisations to reduce the memory footprint of the board code. You will find that config.sys (focuserconfig.h) will change a little. the display file only supports LCD, OLED and NOKIA displays. The Nextion versions are still there. The look and feel of the firmware has altered to ensure that there is a consistent view across all board types.
there is a new file which lists the "options" and the program space they occupy. This is needed when configuring options to minmise run time issues. File "Options Program Size" is in the new Boards and Stripboards folders.
I do not yet have a release date for firmware 334, they have all been updated with the new formats etc, but the code optimisation for each has not started yet,
regards
Robert
Update Notice 15-Apr-2024
I have completed the upload for the revised PCB and Stripboards.
PCB Boards
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/BOARDS%20PCB/
Stripboards
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/BOARDS%20STRIPBOARDS/
Boards created by Users
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/User%20PCB%20Designs/
These boards have been validated and checked, new schematics, boards, parts list matched in labels etc. Each board now has a number as well as a code string that matches options supported by the board,
For instance, the board DRV8825HW203_FIRBT has a code string of
BT.BUZ.LEDs.LCD.OLED.HPSW.PB.SPWR.TMP.IR
Bluetooth. Buzzer, Inout LEDs, etc....
These appear in multiple places including the new firmware when uploaded and apply across myFP2, myFP2M, myFP2N, myFP2ESP32 and myFP2ESP8266 projects. Some of the firmware files in 334 have been renamed, again to maintain the same naming convention across these projects.
I will soon upload firmware version update 334. The firmware has quite a few changes which I attach at the end of this update. I am currently porting these changes to both myFP2M, myFP2N and the myFP2ESP32 projects. It may be a few weeks before the 334 firmware will be uploaded.
Regards
Robert
Firmware update v334 Update
User Manual-Guide for myFP2 PDF v334
April 25 2024
there is a pending update for firmware 334, and PDF updatefor the following projects.
myFP2
myFP2M
myFP2N
If you have a myFP2 controller, then you would use the myFP2 firmware. If you had a myFP2M controller, then the firmware to use would be myFP2M firmware.
its pretty important to realize that myFP2 firmware cannot run properly on a myFP2M or myFP2N controller.
The release date for this is scheduled to occuse over the next few days.
Regards
Robert
The change log summary for 334 is
334 08-Apr-2024
All project boards (PCB and Stripboard) rewritten and updated,
- Add parts list, cross reference parts
- Add option lists to each board (BT.BUZZ.LEDs.LCD.OLED.HPSW.PB.TMP.SPWR)
- Add motor types to ULN2003 firmware
- Create new board PCB_ULN2003_M_MT_F_IR_RE_BT
- Create a xx_All.zip file for each board (includes all files for that board)
- Fix errors and warnings in L298P Keyes Motor Shield
- Renumber board types in myBoardDefs.h
- Updates to the boards using Motor Shields, and more detailed information
- Adafruit_MotorShield_V2
- L293D_SHIELD_UNO
- L298P_SHIELD_UNO
- L293DMINI_TFT
.ino
- Add correct externs for functions
- Add display update of position to moves, push buttons, jogging
- Fix state moving to display position changes, NOT page changes
- Group #defines and associated code together for each major define type
- Update declarations for driverboard, display type, temperature probe
config.h
- focuserconfig renamed as config
- consistent format and sections used in the config.h file
- include warning on program sketch size and data space
- include list of supported boards
- add board description (PCB or Stripboard) and board options (BUZZ.LEDs.LCD.OLED.PB.TMP)
- change TEMPERATUREPROBE to TEMPERATURE_PROBE
- rewrite compilation checks to catch board type and board options errors
defines.h
- change #define EOFSTR '#' to #define EOC '#'
- add defines for CELCIUS and FAHRENHEIT
Deprecate following boards/firmware
- myFP2F_A4998_GSC_China_334
- DIY PCB DRV8825_HW203_OLED_RE_REV4
- RAPS128
- TFT and UTF versions
Display definitions and Display code
- Add check for Display found when initializing display
- Add DISPLAYTYPE to hold the type of display being used
- Modify each display type with the same structure and methods
- When updating position, check if display is enabled
- When updating display pages, check for display enabled
- Fix errors in Nokia display code
- Change DISPLAYPAGETIMEMAX to DISPLAY_PAGETIME_MAX
- Change DISPLAYPAGETIMEMIN to DISPLAY_PAGETIME_MIN
myFP2F_DRV8825HW203_KEYPAD
- Move some settings from EEPROM to static type in config.h
- Code rewrite to reduce Program Size requirements
- Fix for missing #endif in resetdisplayoption()
Serial comms
- Simplify serial code cases for faster execution and reduction in program size
- Rewrite temperature and display calls
27-April-2014
Windows Application Update 2513
The Windows application for myFP2-myFP2M-myFP2N is updated to version 2.5.1.3
Download
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/WINDOWS/MainApp/
Changes are listed below.
The firmware update is subject to a number of last minute changes, which means that its release is pushed back a couple of days.
Regards
Robert
Changes
2513 27-Apr-2024
Add target position to status bar
Add additional tool tips
Change display page time to 2-10
Change motor step delay range to 1000-12000
Color code focuser info on status bar for better identification
Fix temp coeffient range to 0-255
Fix temp compensation state being sent twice
Implement range checking on all text entry
Remove deprecated serial calls
Rewrite Disconnect Code
Rewrite ALL interface code (send-receive data)between application and controller
2512 05-Feb-2024
Move UpdatePosWhenMoving (Windows) checkbox on Application tab
Add P for Position on Status bar
Resize Currect Position field on Presets tab
Change GUID to 6E7382DD-9781-495F-A48C-11FFCA4AA2D4
Update documentation manual for myFP2
29-Apr-2024
Version 334-01
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/Documentation/myFP2-334-01.pdf/download
In preperation for firmware update 334
regards
Robert
Update documentation manual for myFP2M Controllers Only
29-Apr-2024
Version 334-01
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/myFocuserPro2M-UserManual-334.pdf/download
In preperation for firmware update 334
regards
Robert
Update documentation manual for myFP2N Nextion Controllers Only
29-Apr-2024
Version 334-01
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/myFP2N-Nextion-User-Guide-334.pdf/download
In preperation for firmware update 334
regards
Robert
Firmware release 334 for myFP2 Controllers Only
29-Apr-2024
MAKE SURE YOU READ THE ENTIRE MESSAGE
Firmware 334 Link
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/Firmware_myFP2_334.zip/download
Changes
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/ARDUINO%20FIRMWARE/myFP2-Firmware-Changes.h/download
Warning
This update applies ONLY to myFP2 controllers only. Do not use this firmware on myFP2M or myFP2N Nextion controllers.
How to update controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you must erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish.
Step 5 Load and Configure firmware 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type you bult. next, go through the various options and enable/disable the options you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, chech that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
03-May-2024
myFP2M Firmware release 334 for myFP2M Controllers Only
MAKE SURE YOU READ THE ENTIRE MESSAGE
Firmware myFP2M 334 Link
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/Arduino%20Firmware%20for%20myFP2M%20Prebuilt%20Controllers%20Only/Firmware%20myFP2M_334.zip/download
Changes
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/Arduino%20Firmware%20for%20myFP2M%20Prebuilt%20Controllers%20Only/myFP2M%20Firmware%20Readme.txt/download
Warning
This update applies ONLY to myFP2M controllers only. Do NOT use this firmware on myFP2 or myFP2N Nextion controllers.
How to update myFP2M controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware myFP2M 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you MUST erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish (around 10 seconds).
Step 5 Load and Configure firmware myFP2M 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type of the controller (such as MYFP2M_DRV8825, MYFP2M_ULN2003 etc .
Next, go through the various options and enable/disable the options (in config.h) you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, check that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting. When finished, from the menu bar, choose Settings, Write Settings (EEPROM) to finish the upgrade.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
08-May-2024
myFP2N Firmware release 334 for myFP2N Nextion Controllers Only
MAKE SURE YOU READ THE ENTIRE MESSAGE
Firmware myFP2N 334 Link
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/Firmware_myFP2N_334.zip/download
Changes
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/myFP2Nextion-Firmware-Changes.txt/download
Warning
This update applies ONLY to myFP2N Nextion controllers only. Do NOT use this firmware on myFP2 or myFP2M controllers.
How to update myFP2N controllers to Firmware 334
Because this firmware has some significant changes, you are strongly advised to follow the steps below. If not, then you can end up with a controller that does NOT work correctly.
Step 1: Download the new firmware myFP2N Nextion 334
Download the firmware 334 zip file and extract the files.
Step 2: Save settings
Before programming the controller with 334, please write down you settings such as stepmode, stepsize, position, maxStep, backlash settings etc. Alternatively, you can use the Windows Application.
To do that, run the Windows Application, connect to the Controller, then use the menu option Save/Restore settings, Save to write the settings to a file.
Step 3: Determine the Board Type of the Controller
Use the Windows Application to connect to the Focus Controller. After a connection is opened, click on tje Connection tab and record what the board type is (under Firmare label). After recording the board type, close the Windows application.
Step 4 Run Clear EEPROM
Next, you MUST erase the EEPROM settings in the nano chip of the Controller. In the folder tests, the sub-folder ClearEEPROM contains the program that must be run before using firmware 334.
Double-click on the ClearEEPROM.ino to load the file into the Arduino IDE, then compile and upload to the Controller. The clear process takes about 10s and writes messages to the Serial port. Wait for the program to finish (around 10 seconds).
Step 5 Load and Configure firmware myFP2M 334
Next, navigate to the folder that matches the folder for the Board you have. In my example, I am using the ULN2003 board, which was determined in Step 3 above and double click the .ino file in that folder, which loads the firmware into the Arduino IDE.
Next, click on the config.h tab of the IDE. Enable the correct DRVBRD that matches the board type of the controller (such as MYFP2N_DRV8825, MYFP2N_ULN2003 etc .
Next, go through the various options and enable/disable the options (in config.h) you have that are available for that board type.
Step 6 Upload the firmware to the Controller
Finally, check that the Target is Arduino Nano, the correct COM port is selected, and the Bootloader is set to Old Bootloader(Tools programmer menu).
Click the UPLOAD button (the circle with a right arrow) to update the firmware in the focus Controller.
When completed (there should be no errors), the Controller will reboot.
Step 7: Restore Post-Config Focus Controller Settings
In Step 2 above, the Controller settings was either saved in a file (Windows Application) or recorded by you. Now, all those settings need to be restored.
If you did the "write down" of settings, then Start the Windows Application, connect to the Controller, and manually go through settings on at a time and set the correct value of state of that setting. When finished, from the menu bar, choose Settings, Write Settings (EEPROM) to finish the upgrade.
If you used the Windows app to save you settings, then Start the Windows Application, connect to the Controller, then use the menu Settings, Save/Restore Settings, Restore option, then navigate to the saved settings file (from Step2) and work through the restore part.
Now that all the settings are restored (in Both the Windows App and the Controller), you will be instructed to reboot the controller. Choose the reboot, then close the Windows app whilst the controller reboots/ Once rebooted, start the Windows app again, then connect to the controller and check that the settings are correct.
regards
Robert
Any issues please let me know
18-May-2024
ERROR
There is an issue reported for firmware by multiple sources
myFP2_DRV8825HW203_KEYPAD_334
The issues are
LCD not working
Keypad sometimes ignores key clicks, or reponse is slow
Motor not moving
I am addressing these issues at present and hope to release a fixed version soon.
This has been traced to issues of the nano program size becoming full, at which point the serial comms will always return the position of the rotator for all recieved commands, which causes the Windows app and ASCOM driver to disconnect.
Regards
Robert
05-June-2024
I will upload a firmware update in a few days to address some of the issues with 334
Regards
Robert
09-Jun-2023
myFP2M - New Firmware update 335 for ReadyMade controllers (myFP2M)
myFP2M only
v335 06-Jun-2024
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2M/Arduino%20Firmware%20for%20myFP2M%20Prebuilt%20Controllers%20Only/Firmware%20myFP2M_335.zip/download
If you are updating from firmware 330 or lower, you will need to run the ClearEEPROM program first.
Regards
Robert
DO NOT UPLOAD THIS FIRMWARE TO myFP2 and myFP2N controllers. It will not work.
Changes
335 06-Jun-2024
Fix errors in serialcomms.h case 22, case 56
Fix errors in myBoards.cpp set_motorpower()
Last edit: brownrb 2024-06-09
09-Jun-2023
myFP2Nextion Firmware 335- New Firmware update 335 for Nextion controllers (myFP2N)
myFP2Nextion only
v335 06-Jun-2024
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/myFocuserPro2N%20NEXTION%20TFT%20DISPLAY/myFP2Nextion-Firmware-335.zip/download
If you are updating from firmware 330 or lower, you will need to run the ClearEEPROM program first.
Regards
Robert
DO NOT UPLOAD THIS FIRMWARE TO myFP2 and myFP2M controllers. It will not work.
Changes
335 06-Jun-2024
Fix errors in serialcomms.h case 22, case 56
Fix errors in myBoards.cpp set_motorpower()