5th March 2015
Rotary Encoder Option (Keyes 040) to replace push button switches
Layout and Schematics done for Full options using DRV8825 and EasyDriver boards
Code in initial release. How the RE will work is under development. Many thanks to Hugh for ideas and support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
InfraRed Remote Control 10032015
Have added IR remote control as a possible option, replacing the push-buttons or the rotary encoder. Cannot be used with the rotary encoder (conflicting resources).
You can control the focuser in/out at various step rates, set speed, reset focuser position to 0. Basic schematic and code provided.
Only for use with DRV8825 and Easydriver boards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
11032015
myFocuserWin1490 update
Minor fixes related to refined error checking for focuser position and maxSteps and error trapping in case of invalid values.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
The changelog for the firmware is in the first header part of the Arduino .ino file.
For the ASCOM driver its in the readme file that is installed as part of the driver.
For the windows application, I keep it in the source code of the C# app,
// 17032015 v1510
// added debug log feature
// 16032015 v1500
// redo maxSteps to 60000 to match INDI moonlite driver
// 11032015 v1480
// changes to setting new focus position and maxsteps from v200
// changed names of some variables
// 23022015 v1470
// added try catch in Connect() and Initialize focuser settings
// redid myFocuserVersion
// 19022015 v1463
// changed maxfocuserlimit to 64000 to match controller firmware settings
// 18022015 v1462
// added some code for the catch() when errors occur in datalogging
// 01022015 v146
// placed digit validation into focuser position and maxsteps text boxes
// digits only
// changed temperature box to read only
//
// 01022015 v145
// changed Temp offset from list box to a text entry box, this means can use values like 1.5
// changed to float, bounds checked at < -3.1 and +3.0
//
// 31012015 v1442/3
// Remo myversion string and now doing this version from the public version number
// NOTE: About() does NOT work when running in Visual Studio, only when program is installed
//
// 30012015 v144
// Added TempOffsetVal (remembered in properties.default.settings.tempoffset
// which acts as a bias offset to correct temperature reading from sensor
//
// 28012015 v143
// Added Properties.Settings.Default.MyComPort to remember comport name
// linked to variable ComPortName
//
// 24012015 v142
// Added a refresh comport button
//
// 30122014 v141
// Added system menu settings - normal - double
// for changung +-500 to +-1000 and +-100 to +-500
//
// 23122014 v140
// Increased size of Temperature text box slightly
// Code change so that stepmode is remembered between sessions
//
// 01122014 v130
// rewrite of connect() so behaves just like ASCOM driver
// added coil power, reverse direction, temp, now supports full functions
// this should work across all controllers
// added menustrip and myversion - edit to change version numbers
// needed to add application setting for coilpower
// needed to remove application setting for temperature (was linked to reverse direction by mistake)
//
// 24112014
// changed to match code that stores values in eeprom instead in the controller
// on connect, it will request values and then update this application
//
// 28102014
// rewritten to be like the ASCOM driver, serial port stuff changed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and for the WinASCOMApp tester
// v1.25 19032015
// change to prevent move if already moving
// v1.24 04012015
// seemed to be moving 2x as many steps as it should, changed code in movefocusercmd()
// v1.23 01012015
// Added system menu settings - normal - double
// for changung +-500 to +-1000 and +-100 to +-500
// v1.22 01122014
// changed -500 to +500 to use myfocusercmd(steps)
// added menustrip
// added string myVersion - change this to latest version number on each change
// v1.21 27112014
// added a few more comments/messages into statusTeexxBox when sending commands to controller
// useful for debugging or watching what the controller/program is doing
// added driverInfo, description, version and name info to be displayed on connect()
// moved buttons up and increased size of statusTextBox to display more info
// also changed the catch() in the connect()
// v1.20 24112014
// implemented values in EEPROM now, restored from controller on connect()
// no changes made, should work without modification
// v1.01 21112014
// added -500 and +500 buttons
// added MaxSteps textbox readonly
// added status message for gettemp
// changed tempbox to readonly
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
22032015 Immediate release
Updated firmware versions for all Arduino controller builds
Update v1550 Windows Application
IMPORTANT NOTE: These firmware versions are for use with version 1550 or greater of the Windows application. The existing ASCOM application is fine.
Details listed in new CHANGELOG folder (Coil Power, Reverse Direction and Step mode are now stored in the Controller EEPROM. This requires a change to the connect() function. It also means that the controller remembers these settings when used in manual mode without a computer. Also a bug fix for the recently broken goto Home(0) command. Color schemes also introduced into menu.)
Recommendations:
Update to latest firmware
Uninstall existing Windows Application (write down your settings first)
Install new Windows Application (reconfigure with your settings)
Last edit: brownrb 2015-03-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
27032015 Immediate Release
Arduino Firmware v138 update for all controllers
Contains a number of bug fixes and changes - recommend migration to new firmware
For changes see the Arduino code or Changelog.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have finished the Full Build of the Rotary Encoder with Easydriver board, minor change to PCB layout has been uploaded, as well as final build images. LCD, temperature probe, etc, I ended up using a slightly bigger case that I started out with. Adjusted the pot for microstepping and it works just fine on the 138re code.
Last edit: brownrb 2015-03-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is now recommended to use an RJ11 6P4C connector for the temperature probe connection rather than the Audio Stereo Connector. I know there are very clear warnings about connecting/disconnecting the probe when power is ON. Its probably mush safer just to change the connector type to guard against possible damage. It adds little cost to the project. So I have updated the layouts where necessary as well as updated the documentation pdf.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
02042015 New firmware for Rotary Encoder Full version
1. Fixed beep issue where an extra beep was being generated
2. Added the setting of the rotary encoder to the LCD display
Works great, will try and post a video on youtube shortly of it working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FOR THE ULTIMATE HEAVY IMAGING TRAIN FOCUSER REQUIREMENTS
For the absolute ultimate in heavy imaging trains. This combines the Easydriver or drv8825 with the L298N to create a microstepping driver with 2A current capability. Thus driving super torque focusers that will power the most demanding and heaviest of imaging trains (rotaters, filters, focusers, imagers, reducers) you name it, the ultimate in lifting and pulling power. Users beware, there is enough torque available here to lift a very heavy load with a geared stepper motor, and hence, if you are not very careful, do some very serious damage if you have not set up your focuser correctly. Use at your own risk.
Personally I would be using a plastic gear somewhere in the train to ensure there was a way to break the drive torque in the event of something going wrong..... or a belt drive system that would at least slip......
See the new folder under Files
Heavy Duty Focuser Options
Has a list of recommended stepper motors to be used in these situations (up to 2A current) - do not use these stepper motors with other driver boards, only this configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1st May 2015
myfocuser pdf updated today (minor changes that include updated schematics)
A4998 driver board addendum for those who want to use that driver board
Will upload the updated schematics next week. The changes in the schematics are
- to show thw output board, rs232 and stepper motor connections on the schematic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
2nd May 2015
Found time today to upload schematics for DRV8825, EasyDriver, ULN2003, L298N and Rotary Encoder which include stepper motor connections shown on schematic (only change).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
23052015 TFT Update
I have uploaded more files, pdf and Arduino code + libary files today.
I have tested the 2.2", the 1.8" has yet to arrive (tested on an older display) so the 1.8 is partially tested.
A modifed UTFT code is provided - others on the Internet do not work.
Pushing the memory limit so beware of trying to use this with other options like rotary encoder wont work. Adding other stuff will stop it compiling.
Dont mix and match files from 1.8 and 2.2 directories. They are not the same
Do not use the UTFT libray from github - it wont work, if you have it installed remove it or disable it
You can interchange between 2.2 and 1.8 TFT simply by changing display and loading new firmware. No need for hardware change
The bidirection level shifters are MANDATORY. Dont try to use resistors to drop 5v to 3.3V as some sites suggest
The 1.8 uses small font size
The 2.2 use big font size
Dont try to use other TFT types or controllers. If you do you are on your own. If you purchase the same ones from the same suppliers I did you will have less problems.
Dont modify any of the files (if you do then basically at your own risk)
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
24052015 v139 Updates Full Version Only, WinApp v1570 update
This update affects FULL versions only, for TFT or LCD
Permits blanking of display when used in remote operation, display can be disabled or enabled.
Minimal versions not affected, still on version 138.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
5th March 2015
Rotary Encoder Option (Keyes 040) to replace push button switches
Layout and Schematics done for Full options using DRV8825 and EasyDriver boards
Code in initial release. How the RE will work is under development. Many thanks to Hugh for ideas and support.
v1.35re_DRV8825_F 05032015
Changes to rotary encoder - when setting step size focuser speed is also adjusted
InfraRed Remote Control 10032015
Have added IR remote control as a possible option, replacing the push-buttons or the rotary encoder. Cannot be used with the rotary encoder (conflicting resources).
You can control the focuser in/out at various step rates, set speed, reset focuser position to 0. Basic schematic and code provided.
Only for use with DRV8825 and Easydriver boards.
11032015
myFocuserWin1490 update
Minor fixes related to refined error checking for focuser position and maxSteps and error trapping in case of invalid values.
17032015 myFocuserWinApp v152 for immediate release
Has optional debug logfile feature (writes to \temp directory)
17032014 All Arduino code options - New Firmware Update for all controllers
New firmware for all Arduino build option - minor changes and enhanced moonlite protocol compatibility
Best to use this with the new myFocuserWinApp v152 released today.
This will probably be the last of the v1xx releases.
17032015 ASCOM driver and 2nd ASCOM Driver - New ASCOM driver
For immediate release, v140 ASCOM driver support
19032015 New version of Windows ASCOM client App, v125, for testing/controlling ASCOM focusers
Last edit: brownrb 2015-03-19
Hi Robert,
You're a busy man ;) Thanks for (very) frequently improving the software/hardware! Really appreciate the nonprofit effort.
Is the a changelog for the software versions?
Hi
The changelog for the firmware is in the first header part of the Arduino .ino file.
For the ASCOM driver its in the readme file that is installed as part of the driver.
For the windows application, I keep it in the source code of the C# app,
// 17032015 v1510
// added debug log feature
// 16032015 v1500
// redo maxSteps to 60000 to match INDI moonlite driver
// 11032015 v1480
// changes to setting new focus position and maxsteps from v200
// changed names of some variables
// 23022015 v1470
// added try catch in Connect() and Initialize focuser settings
// redid myFocuserVersion
// 19022015 v1463
// changed maxfocuserlimit to 64000 to match controller firmware settings
// 18022015 v1462
// added some code for the catch() when errors occur in datalogging
// 01022015 v146
// placed digit validation into focuser position and maxsteps text boxes
// digits only
// changed temperature box to read only
//
// 01022015 v145
// changed Temp offset from list box to a text entry box, this means can use values like 1.5
// changed to float, bounds checked at < -3.1 and +3.0
//
// 31012015 v1442/3
// Remo myversion string and now doing this version from the public version number
// NOTE: About() does NOT work when running in Visual Studio, only when program is installed
//
// 30012015 v144
// Added TempOffsetVal (remembered in properties.default.settings.tempoffset
// which acts as a bias offset to correct temperature reading from sensor
//
// 28012015 v143
// Added Properties.Settings.Default.MyComPort to remember comport name
// linked to variable ComPortName
//
// 24012015 v142
// Added a refresh comport button
//
// 30122014 v141
// Added system menu settings - normal - double
// for changung +-500 to +-1000 and +-100 to +-500
//
// 23122014 v140
// Increased size of Temperature text box slightly
// Code change so that stepmode is remembered between sessions
//
// 01122014 v130
// rewrite of connect() so behaves just like ASCOM driver
// added coil power, reverse direction, temp, now supports full functions
// this should work across all controllers
// added menustrip and myversion - edit to change version numbers
// needed to add application setting for coilpower
// needed to remove application setting for temperature (was linked to reverse direction by mistake)
//
// 24112014
// changed to match code that stores values in eeprom instead in the controller
// on connect, it will request values and then update this application
//
// 28102014
// rewritten to be like the ASCOM driver, serial port stuff changed
and for the WinASCOMApp tester
// v1.25 19032015
// change to prevent move if already moving
// v1.24 04012015
// seemed to be moving 2x as many steps as it should, changed code in movefocusercmd()
// v1.23 01012015
// Added system menu settings - normal - double
// for changung +-500 to +-1000 and +-100 to +-500
// v1.22 01122014
// changed -500 to +500 to use myfocusercmd(steps)
// added menustrip
// added string myVersion - change this to latest version number on each change
// v1.21 27112014
// added a few more comments/messages into statusTeexxBox when sending commands to controller
// useful for debugging or watching what the controller/program is doing
// added driverInfo, description, version and name info to be displayed on connect()
// moved buttons up and increased size of statusTextBox to display more info
// also changed the catch() in the connect()
// v1.20 24112014
// implemented values in EEPROM now, restored from controller on connect()
// no changes made, should work without modification
// v1.01 21112014
// added -500 and +500 buttons
// added MaxSteps textbox readonly
// added status message for gettemp
// changed tempbox to readonly
with the soon release of v2 I will try to make this more easily found
22032015 Immediate release
Updated firmware versions for all Arduino controller builds
Update v1550 Windows Application
IMPORTANT NOTE: These firmware versions are for use with version 1550 or greater of the Windows application. The existing ASCOM application is fine.
Details listed in new CHANGELOG folder (Coil Power, Reverse Direction and Step mode are now stored in the Controller EEPROM. This requires a change to the connect() function. It also means that the controller remembers these settings when used in manual mode without a computer. Also a bug fix for the recently broken goto Home(0) command. Color schemes also introduced into menu.)
Recommendations:
Update to latest firmware
Uninstall existing Windows Application (write down your settings first)
Install new Windows Application (reconfigure with your settings)
Last edit: brownrb 2015-03-22
27032015 Immediate Release
Arduino Firmware v138 update for all controllers
Contains a number of bug fixes and changes - recommend migration to new firmware
For changes see the Arduino code or Changelog.
I have finished the Full Build of the Rotary Encoder with Easydriver board, minor change to PCB layout has been uploaded, as well as final build images. LCD, temperature probe, etc, I ended up using a slightly bigger case that I started out with. Adjusted the pot for microstepping and it works just fine on the 138re code.
Last edit: brownrb 2015-03-28
It is now recommended to use an RJ11 6P4C connector for the temperature probe connection rather than the Audio Stereo Connector. I know there are very clear warnings about connecting/disconnecting the probe when power is ON. Its probably mush safer just to change the connector type to guard against possible damage. It adds little cost to the project. So I have updated the layouts where necessary as well as updated the documentation pdf.
02042015 New firmware for Rotary Encoder Full version
1. Fixed beep issue where an extra beep was being generated
2. Added the setting of the rotary encoder to the LCD display
Works great, will try and post a video on youtube shortly of it working.
http://youtu.be/OYZvfmgP3QA
FOR THE ULTIMATE HEAVY IMAGING TRAIN FOCUSER REQUIREMENTS
For the absolute ultimate in heavy imaging trains. This combines the Easydriver or drv8825 with the L298N to create a microstepping driver with 2A current capability. Thus driving super torque focusers that will power the most demanding and heaviest of imaging trains (rotaters, filters, focusers, imagers, reducers) you name it, the ultimate in lifting and pulling power. Users beware, there is enough torque available here to lift a very heavy load with a geared stepper motor, and hence, if you are not very careful, do some very serious damage if you have not set up your focuser correctly. Use at your own risk.
Personally I would be using a plastic gear somewhere in the train to ensure there was a way to break the drive torque in the event of something going wrong..... or a belt drive system that would at least slip......
See the new folder under Files
Heavy Duty Focuser Options
Has a list of recommended stepper motors to be used in these situations (up to 2A current) - do not use these stepper motors with other driver boards, only this configuration.
1st May 2015
myfocuser pdf updated today (minor changes that include updated schematics)
A4998 driver board addendum for those who want to use that driver board
Will upload the updated schematics next week. The changes in the schematics are
- to show thw output board, rs232 and stepper motor connections on the schematic
2nd May 2015
Found time today to upload schematics for DRV8825, EasyDriver, ULN2003, L298N and Rotary Encoder which include stepper motor connections shown on schematic (only change).
Error in easydriver full schematic (temperature probe) fixed - Thanks Mickael
18052015
New Version Release Featuring TFT Display
1.8" or 2.2" display options
Details to be announced soon
23052015 TFT Update
I have uploaded more files, pdf and Arduino code + libary files today.
I have tested the 2.2", the 1.8" has yet to arrive (tested on an older display) so the 1.8 is partially tested.
A modifed UTFT code is provided - others on the Internet do not work.
Regards
Robert
24052015 v139 Updates Full Version Only, WinApp v1570 update
This update affects FULL versions only, for TFT or LCD
Permits blanking of display when used in remote operation, display can be disabled or enabled.
Minimal versions not affected, still on version 138.