12th July 2019 Work is underway to port the myFocuserPro2E WiFi ESP8266 to the ESP32 chip. If you are considering building a myFocuserPro2E you might consider holdingh off for now. The ESP8266 version will continue to be supported till such time as the ESP32 version is released.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
6 August 2019. Updated documentation PDF for myFocuserPro2E in preparation for next firmware release 228 (myFocuserPro2E). The DRV8825 and ULN2003 now share the same firmware file. The ULN2003 now supports full and half stepping in software. The L293D has its own firmware file. Tke L293D supports both NEMA and 28BYJ-48 motors - but only at full stepping. Speed variations now work - FAST, MEDIUM, SLOW. Configuration now broken into sections within the firmware. LocalSerial mode is gone.
Cheers
Robert
I'll post things to the yahoo group first.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
16 August 2019. You will note a few changes happening now in preperation for release of firmware 288. I am moving the older firmware into another folder as well as uploading the latest PDF (but leaving the current PDF as xxx-retired). This is happing for myFocuserPro2, myFocuserPro2M, myFocuserPro2E and myFocuserPro2N. The latest beta software is only available for download on the Yahoo group, but will find its way here when final.
Regards
Robert
Last edit: brownrb 2019-08-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// 2.89
// Fix issue with INOUT LEDS not working during moves
// Move defines to myDefines.h
// Move debuuging defines to myDefines.h
// Fix issue with display state enable/disable
// Fix issue with display remaining ON if booting with display having been disabled
// Fix issue with Home Position Switch not working
// Add optional display messages for Home Position Switch (SHOWHPSWMSGS)
// Rename all firmware files as myFP2xxxx to be consistent with other firmware notations (myFP2E, myFP2M, myFP2N)
// Add superslowjogging option
Last edit: brownrb 2019-09-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, can you advise if you are still using Arduino 1.6.8 to upload v2.89 of the controller firmware. I have tried to upload the DRV8825h203 version for my stripboard build controller and I am getting the following compiler error message
C:\Users\C H Clark\Documents\Arduino\myFP2_DRV8825HW203_289\myFP2_DRV8825HW203_289.ino: In function 'void ser_comms()':
myFP2_DRV8825HW203_289:902: error: 'newPosl' was not declared in this scope
newPos = (newPos < 0) ? 0 : newPosl;
^
exit status 1
'newPosl' was not declared in this scope
Any advice would be appreciated, v2.84 works okay apart from speed changes.
I have tried clearing the eeprom and reloading but still get this message.
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Charles
my mistake.
Yes there is an error in the firmware 289.
This affects myfp2 and myfp2N. It does not affect myFP2M
So if you have already downloaded 289 firmware, please de;lete it and re-download the updated 289 that has been uploaded today.
I have just now uploaded the correct 289 firmware.
Cheers
Robert
I am using Arduino IDE 1.8.9 with Arduino Tools Processor set to old boot loader
Last edit: brownrb 2019-09-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, I downloaded your updated v289 and tried to compile it with Arduino 1.6.8 before I read your message, it would compile if I did not initialise temperature probe. with temp probe initialiesed i had to update DallasTemperature library to the latest v3 as I was getting an error message, then it compiled with temperature probe initialised. It appears to work Okay. I will update Arduino IDE to v 1.8.9 for future use and revert to original library if I get any problems.
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A lot of work was spent rewriting code to conform to the latest libraries and Arduino IDE yo reduce errors and warnings.
This means that from v288+ use the latest Arduino IDE environment, the myXXX libraries copied into the correct folder, and the latest libraries for temperature etc.
After installing the latest Arduino IDE (not the web based version), you can check if you have the latest libraries using Sketch, Include Library, Manage Library from the menu. This will display the library manager. In the top left dropdown Type, change All to Updateable then update those listed.
You can also easily use this same Library Manager to add for example the Temperature Libary by using the Search bar of the Library Manager - entering ds18b20 will list Dallas Temperature as the library and then you can simply install it.
Cheers
Robert
I think I covered this in the updated pdf
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
17Sept2019 A bug has been identified in STEPPERPOWER for firmware 289.
If you do not have it enabled in the firmware it works fine. I will be posting firmware 290 to fix that very soon (within the next day)
Cheers
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, when i downloaded v2.89 i erased the original libraries and reloaded the ones included with the download. The readme text associated with the libraries stated do not update them. It was only when i got the error message in compiling that i decided to upgrade. i was however using Arduino IDE 1.6.8
Cheers
Chas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Charles
The do not update warning is meant to refer to the myxxxx libraries in the myFocuserPro2libraries folder. When the project started a number of "original" libraries were "customised" and placed in that folder. Those libraries had been carefully edited to work with minimal code space etc,
Work begun in v284 to try and reduce the number of these where possible and try to use the "original" ones. I think we were using a special version of myDallastemperature as a temperature library but in the newer releases this is gone and we are now using the "generic" original authors instead, just for the temperature"
Others we still use [because they are smaller in size and program memory space is critical on a nano]: like OLED we are still using myOLED because of the significant space savings and the extra features that were added to that library. Others are the myIRremote and myRotaryEncoder. myTFTv2, myUTFT which are heavily modified from orginal authors [names retained of course] to reduce space requirements. and of course my own myI2Ckeypad library.
Sometimes saving 100 bytes means the difference between adding a new feature or not.
All others available from elsewhere not in that folder are fine to update as is the IDE. Sorry about the confusions,
In terms of the IDE, till now we have always recommended 1.6.4 or 1.6.8 as the requirement. That is no longer the case. As we began the ESP8266 and ESP32 development, it became a problem to have multiple environments running in different virtual machines, so a decision was taken to use the latest Arduino IDE 1.8.8 (at that time) for ALL development. That meant looking at all the libraries as well. And making changes to code to rediuce warning etc which is why v188 took so long (and why a few little bugs slipped through the releases).
So now we have 1 environment being used to develop and compile all the code for myFP2, myFP2M, myFP2N, myFP2ESP8266, myFP2ESp32 etc.
I am using 1.8.9 of the IDE at present. I believe I have recently updated all the PDF's with recommendations to use the latest IDE as well. In hindsight I could have been more clear on this. All of this is to try and make things easier instead of requiring users to install something long out of date. It is a work in progress.
Regards
Robert
Last edit: brownrb 2019-09-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
7th Oct 2019. Firmware 291 released for myFP2, myFP2M and myFP2N
Arduino IDE: As of this firmware release, the recommended IDE is 1.8.9
// 2.91
// Add fast reply to serial event and bt serial event
// Fix issues with incorrect step modes
// Tidy up redundant stepper motor routines in main file
// Fix errorchecking when setting new maxstep value
// Stepsize maximum value increased to 100.0
// Fix Bluetooth errors
Last edit: brownrb 2019-10-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, just installed v2.91 of the Arduino firmware for my DIY build DRV8825 HW203 board, sorry but I am experiencing a problem with it.
When I try to connect with myfocuserpro software I am getting the following error
Timeout Exception in connect
No response from controller.
Reverting to v2.90 and everything works fine.
Any help would be appreciated
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert tried the version you loaded onto the discussion postand I can confirm that I nam usining IDE 1.8.9 but the error is still the same.
Would ~~I need to update any of the libraries, the only one that I have done in the past is the myDallasTemperature
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert the version you sent me via dropbox works fine so thanks for that.
I was using myfocuserpro2_2_4_3_9 but that may not have been all the problem as I tried it with the mini version which is v2_3_5 and that previously gave the same error message, but works with the Firmware downloaded via Dropbox
What did also was clear the erprom with the ClearEprom.ino
Delete all the Arduino libraries
Download from Dropbox and reinstalled the libraries again
Downloaded the firware and reprogrammed the Eprom again. I initially thought I had a problem with the LCD display as it only lit up briefly, but the I changed the checkbox for LCD and everything works fine.
Thanks once again for your help much appreciated.
Regards
Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
21 June 2019 I finally got round to doing a proper PCB for the Keypad 4x4 option which can be ordered from EasyEDA cheaply. I have uploaded the files to
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/OPTIONS/Keypad%204x4%20Matrix%20Membrane%20using%20I2C%20and%20PCF8574
9th July 2019 New PDF's uploaded
12th July 2019 Firmware 283 has been updated.
12th July 2019 Work is underway to port the myFocuserPro2E WiFi ESP8266 to the ESP32 chip. If you are considering building a myFocuserPro2E you might consider holdingh off for now. The ESP8266 version will continue to be supported till such time as the ESP32 version is released.
13 July 2019 Firmware updates for myFocuserPro2, myFocuserPro2M, myFocuserPro2E, myFocuserPro2N
20 July 2019 - Updated windows application for myFocuserPro2E WiFi
6 August 2019. Updated documentation PDF for myFocuserPro2E in preparation for next firmware release 228 (myFocuserPro2E). The DRV8825 and ULN2003 now share the same firmware file. The ULN2003 now supports full and half stepping in software. The L293D has its own firmware file. Tke L293D supports both NEMA and 28BYJ-48 motors - but only at full stepping. Speed variations now work - FAST, MEDIUM, SLOW. Configuration now broken into sections within the firmware. LocalSerial mode is gone.
Cheers
Robert
I'll post things to the yahoo group first.
16 August 2019. You will note a few changes happening now in preperation for release of firmware 288. I am moving the older firmware into another folder as well as uploading the latest PDF (but leaving the current PDF as xxx-retired). This is happing for myFocuserPro2, myFocuserPro2M, myFocuserPro2E and myFocuserPro2N. The latest beta software is only available for download on the Yahoo group, but will find its way here when final.
Regards
Robert
Last edit: brownrb 2019-08-16
9th September
Firmware 288 is released for myFocuserPro2, myFocuserPro2M, myFocuserPro2N
14 September 2019 Firmware v289 released
// 2.89
// Fix issue with INOUT LEDS not working during moves
// Move defines to myDefines.h
// Move debuuging defines to myDefines.h
// Fix issue with display state enable/disable
// Fix issue with display remaining ON if booting with display having been disabled
// Fix issue with Home Position Switch not working
// Add optional display messages for Home Position Switch (SHOWHPSWMSGS)
// Rename all firmware files as myFP2xxxx to be consistent with other firmware notations (myFP2E, myFP2M, myFP2N)
// Add superslowjogging option
Last edit: brownrb 2019-09-14
Hi Robert, can you advise if you are still using Arduino 1.6.8 to upload v2.89 of the controller firmware. I have tried to upload the DRV8825h203 version for my stripboard build controller and I am getting the following compiler error message
C:\Users\C H Clark\Documents\Arduino\myFP2_DRV8825HW203_289\myFP2_DRV8825HW203_289.ino: In function 'void ser_comms()':
myFP2_DRV8825HW203_289:902: error: 'newPosl' was not declared in this scope
exit status 1
'newPosl' was not declared in this scope
Any advice would be appreciated, v2.84 works okay apart from speed changes.
I have tried clearing the eeprom and reloading but still get this message.
Regards
Charles Clark
Hi Charles
my mistake.
Yes there is an error in the firmware 289.
This affects myfp2 and myfp2N. It does not affect myFP2M
So if you have already downloaded 289 firmware, please de;lete it and re-download the updated 289 that has been uploaded today.
I have just now uploaded the correct 289 firmware.
Cheers
Robert
I am using Arduino IDE 1.8.9 with Arduino Tools Processor set to old boot loader
Last edit: brownrb 2019-09-15
Hi Robert, I downloaded your updated v289 and tried to compile it with Arduino 1.6.8 before I read your message, it would compile if I did not initialise temperature probe. with temp probe initialiesed i had to update DallasTemperature library to the latest v3 as I was getting an error message, then it compiled with temperature probe initialised. It appears to work Okay. I will update Arduino IDE to v 1.8.9 for future use and revert to original library if I get any problems.
Regards
Charles Clark
Hi Charles
Yes I forgot to mention this.
A lot of work was spent rewriting code to conform to the latest libraries and Arduino IDE yo reduce errors and warnings.
This means that from v288+ use the latest Arduino IDE environment, the myXXX libraries copied into the correct folder, and the latest libraries for temperature etc.
After installing the latest Arduino IDE (not the web based version), you can check if you have the latest libraries using Sketch, Include Library, Manage Library from the menu. This will display the library manager. In the top left dropdown Type, change All to Updateable then update those listed.
You can also easily use this same Library Manager to add for example the Temperature Libary by using the Search bar of the Library Manager - entering ds18b20 will list Dallas Temperature as the library and then you can simply install it.
Cheers
Robert
I think I covered this in the updated pdf
17Sept2019 A bug has been identified in STEPPERPOWER for firmware 289.
If you do not have it enabled in the firmware it works fine. I will be posting firmware 290 to fix that very soon (within the next day)
Cheers
Robert
17Sept2019 Firmware 289 for myFP2 updated. myFP2M and myFP2M unaffected by error in StepperPower and HomePositionSwitch.
Cheers
Robert
Hi Robert, when i downloaded v2.89 i erased the original libraries and reloaded the ones included with the download. The readme text associated with the libraries stated do not update them. It was only when i got the error message in compiling that i decided to upgrade. i was however using Arduino IDE 1.6.8
Cheers
Chas
Hi Charles
The do not update warning is meant to refer to the myxxxx libraries in the myFocuserPro2libraries folder. When the project started a number of "original" libraries were "customised" and placed in that folder. Those libraries had been carefully edited to work with minimal code space etc,
Work begun in v284 to try and reduce the number of these where possible and try to use the "original" ones. I think we were using a special version of myDallastemperature as a temperature library but in the newer releases this is gone and we are now using the "generic" original authors instead, just for the temperature"
Others we still use [because they are smaller in size and program memory space is critical on a nano]: like OLED we are still using myOLED because of the significant space savings and the extra features that were added to that library. Others are the myIRremote and myRotaryEncoder. myTFTv2, myUTFT which are heavily modified from orginal authors [names retained of course] to reduce space requirements. and of course my own myI2Ckeypad library.
Sometimes saving 100 bytes means the difference between adding a new feature or not.
All others available from elsewhere not in that folder are fine to update as is the IDE. Sorry about the confusions,
In terms of the IDE, till now we have always recommended 1.6.4 or 1.6.8 as the requirement. That is no longer the case. As we began the ESP8266 and ESP32 development, it became a problem to have multiple environments running in different virtual machines, so a decision was taken to use the latest Arduino IDE 1.8.8 (at that time) for ALL development. That meant looking at all the libraries as well. And making changes to code to rediuce warning etc which is why v188 took so long (and why a few little bugs slipped through the releases).
So now we have 1 environment being used to develop and compile all the code for myFP2, myFP2M, myFP2N, myFP2ESP8266, myFP2ESp32 etc.
I am using 1.8.9 of the IDE at present. I believe I have recently updated all the PDF's with recommendations to use the latest IDE as well. In hindsight I could have been more clear on this. All of this is to try and make things easier instead of requiring users to install something long out of date. It is a work in progress.
Regards
Robert
Last edit: brownrb 2019-09-17
7th Oct 2019. Firmware 291 released for myFP2, myFP2M and myFP2N
Arduino IDE: As of this firmware release, the recommended IDE is 1.8.9
// 2.91
// Add fast reply to serial event and bt serial event
// Fix issues with incorrect step modes
// Tidy up redundant stepper motor routines in main file
// Fix errorchecking when setting new maxstep value
// Stepsize maximum value increased to 100.0
// Fix Bluetooth errors
Last edit: brownrb 2019-10-08
Hi Robert, just installed v2.91 of the Arduino firmware for my DIY build DRV8825 HW203 board, sorry but I am experiencing a problem with it.
When I try to connect with myfocuserpro software I am getting the following error
Timeout Exception in connect
No response from controller.
Reverting to v2.90 and everything works fine.
Any help would be appreciated
Regards
Charles Clark
Can you please try this one Charles. it is working on my controller. I am using Arduino IDE 1.8.9
Arduino IDE: As of this firmware release, the recommended IDE is 1.8.9
Last edit: brownrb 2019-10-08
Mustve been a bad hair day.
I'll fix it today.
Regards
Robert
Hi Robert tried the version you loaded onto the discussion postand I can confirm that I nam usining IDE 1.8.9 but the error is still the same.
Would ~~I need to update any of the libraries, the only one that I have done in the past is the myDallasTemperature
Regards
Charles Clark
Hi Robert the version you sent me via dropbox works fine so thanks for that.
I was using myfocuserpro2_2_4_3_9 but that may not have been all the problem as I tried it with the mini version which is v2_3_5 and that previously gave the same error message, but works with the Firmware downloaded via Dropbox
What did also was clear the erprom with the ClearEprom.ino
Delete all the Arduino libraries
Download from Dropbox and reinstalled the libraries again
Downloaded the firware and reprogrammed the Eprom again. I initially thought I had a problem with the LCD display as it only lit up briefly, but the I changed the checkbox for LCD and everything works fine.
Thanks once again for your help much appreciated.
Regards
Charles Clark
That is good to know, thanks!