That's great, I already have a few Wi-Fi modules ready. I think I'll give it a try. This is the ino file I would like to try with the rotary encoder support:
Focuserv242_DRV8825_HW203_F_OLED
Attached you can find the version I am using just for your reference. The changes were implemented by my friend, please see the change log.
Using the u8xxx library there is no room at all. Sorry, but above code using the other files may work for you, please try it out.
Also, I attach a firmware file. Please rload and run this on your controller to wipe all eeprom values (only need to run once). Then you can use new firmware at above link. You will need to follow instructions in readme.txt file.
Make sure you write down your focuser settings before running the attached firmware file!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you so much Robert. I am currently reading the Wi-Fi document. As for the dedicated ASCOM Wi-Fi driver, is there anything that should be changed in the Arduino code, or the above code should work?
Miloš
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All the new changes are interlinked - that means the latest version of arduino firmware and latest wifiapp and latest esp8266 code all work as one - and they are still in beta test. The current files posted here work with each other BUT not with the latest myFocuserPro2 firmware file.
When the next release occurs then it will all be compatible and I dont expect that it will be that long till its released. When you have the esp8266 built just send me an email and I'll send the files at the time we have for testing.
Robert
Last edit: brownrb 2016-06-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
01 Sept 2016
New firmware for all Full and MT versions - issue re push buttons need to be disabled when in temperature compensation mode.
New PDF
New Windows App - issue re not disconnecting when serial comms unplugged. Also app will now enter disconnected mode when serial comms lost during a session. Means you can simply connect and continue if comms are lost.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
19-September-2016. Bug fix for temperature compensation not disabling/enabling under certain conditions. New ASCOM drivers. New Windows Application. New Windows ASCOMAPP test application.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
21-Sep-2016 Support for higher maxSteps values released. New Firmware v247, New Windows App 2332, New Mini App 2315, New WifiApp 2052, New Wifi firrmware v235, new TCPIPServer App 1059, new PDF v251, new WifiPDF v122
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
22-Sep-2016 I have made some changes to folder structure. The board options folder now lists each of the current build options (some previous ones have been dropped). Firmware will still be available for all previous builds. The PDFs been been redone. The build options stuff was ripped out of the main pdf and is now under board options folder specific to each driver board. The intent is to make this easier to navigate through all the options available for inexperienced users.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
05-Oct-2016 I have uploaded a new PDF version that includes information on using myFocuser with an SCT. Specifically the new PDF addresses the issue of how to calculate the step size and determine what type of stepper motor is required.
The method of connection is not addressed (there are many options from belt drive to gear drive like the rigelsys or even use an L shaped bracket the screws into the 3 holes and attaches the stepper direct to the focuser shaft via a coupler).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
03-Nov-2016 New Firmware release v250 for all controllers. New Windows App v2348
Recommend updating to new firmware
// v2.50 ALL VERSIONS 02112016
// Changes to code for Home Position switch (use define's which makes it easier to change code later)
// Changes to Case 3: programShortVersion
// Changed to LCD display page1 (PW and RD moved 1 space to right to accomodate larger values)
// Fix issue with saving and restoring motor speed when jogging
// Fix errors related to motorspeed setting and motor delays
// 2.3.4.8 02112016
// Change GUI layout - focuser info at top
// Minor change to displaying Arduino Controller Firmware Filename and Version
// Minor change to back color for Exit and Disconnect buttons
// Jogging fix - fix for race condition in events associated with jogging and restoring motorspeed
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's great, I already have a few Wi-Fi modules ready. I think I'll give it a try. This is the ino file I would like to try with the rotary encoder support:
Focuserv242_DRV8825_HW203_F_OLED
Attached you can find the version I am using just for your reference. The changes were implemented by my friend, please see the change log.
Hi Milos
See
https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/CODE%20ARDUINO/DRV8825_HW203_F_OLED_RE/
Using the u8xxx library there is no room at all. Sorry, but above code using the other files may work for you, please try it out.
Also, I attach a firmware file. Please rload and run this on your controller to wipe all eeprom values (only need to run once). Then you can use new firmware at above link. You will need to follow instructions in readme.txt file.
Make sure you write down your focuser settings before running the attached firmware file!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cheers
Robert
Thank you so much Robert. I am currently reading the Wi-Fi document. As for the dedicated ASCOM Wi-Fi driver, is there anything that should be changed in the Arduino code, or the above code should work?
Miloš
unsure on that will have to do a compare and let you know
Milos, there is 1 line that is extra in the Arduino Wifi Code, I cant remember why its there but easy to add.
Robert
That is perfect. Could you please let me know what line it is and where I should put it? Or I can wait if you plan to upload that version as well.
Miloš
All the new changes are interlinked - that means the latest version of arduino firmware and latest wifiapp and latest esp8266 code all work as one - and they are still in beta test. The current files posted here work with each other BUT not with the latest myFocuserPro2 firmware file.
When the next release occurs then it will all be compatible and I dont expect that it will be that long till its released. When you have the esp8266 built just send me an email and I'll send the files at the time we have for testing.
Robert
Last edit: brownrb 2016-06-22
27-06-2016: Wifi update released. New ESP8266 Code, New Focuser Code, New WIndows App, New ASCOM driver, New TCPServer tester app.
Robert
03Aug2016 New firmware updates for all versions. New Miniapp which has the +50goto fixed.
Cheers
Robert
12-Aug-2016 New Arduino firmware update for F versions.
18-Aug-2016 New Windows app 2323 - fixes bug in Settings Restore
31-Aug-2016 New OLED code, new Windows App
01 Sept 2016
New firmware for all Full and MT versions - issue re push buttons need to be disabled when in temperature compensation mode.
New PDF
New Windows App - issue re not disconnecting when serial comms unplugged. Also app will now enter disconnected mode when serial comms lost during a session. Means you can simply connect and continue if comms are lost.
19-September-2016. Bug fix for temperature compensation not disabling/enabling under certain conditions. New ASCOM drivers. New Windows Application. New Windows ASCOMAPP test application.
19-Sep-2016 I have uploaded all the newer schematics and layouts for the Zener 9.1V replacement with LM808. Also new PDF.
21-Sep-2016 Support for higher maxSteps values released. New Firmware v247, New Windows App 2332, New Mini App 2315, New WifiApp 2052, New Wifi firrmware v235, new TCPIPServer App 1059, new PDF v251, new WifiPDF v122
22-Sep-2016 I have made some changes to folder structure. The board options folder now lists each of the current build options (some previous ones have been dropped). Firmware will still be available for all previous builds. The PDFs been been redone. The build options stuff was ripped out of the main pdf and is now under board options folder specific to each driver board. The intent is to make this easier to navigate through all the options available for inexperienced users.
30-Sept-2016 New ASCOM Driver, New Windows App, New Windows Mini App.
01-Sept-2016 WIFI video update showing TCPIP etc working with APT and ASCOM.
https://youtu.be/hd-tldBszcM
05-Oct-2016 I have uploaded a new PDF version that includes information on using myFocuser with an SCT. Specifically the new PDF addresses the issue of how to calculate the step size and determine what type of stepper motor is required.
The method of connection is not addressed (there are many options from belt drive to gear drive like the rigelsys or even use an L shaped bracket the screws into the 3 holes and attaches the stepper direct to the focuser shaft via a coupler).
08102016 New WindowsApp due to discovery of 3 bugs.
03-Nov-2016 New Firmware release v250 for all controllers. New Windows App v2348
Recommend updating to new firmware
// v2.50 ALL VERSIONS 02112016
// Changes to code for Home Position switch (use define's which makes it easier to change code later)
// Changes to Case 3: programShortVersion
// Changed to LCD display page1 (PW and RD moved 1 space to right to accomodate larger values)
// Fix issue with saving and restoring motor speed when jogging
// Fix errors related to motorspeed setting and motor delays
// 2.3.4.8 02112016
// Change GUI layout - focuser info at top
// Minor change to displaying Arduino Controller Firmware Filename and Version
// Minor change to back color for Exit and Disconnect buttons
// Jogging fix - fix for race condition in events associated with jogging and restoring motorspeed
Robert
If you downloaded the ULN2003 v250 firmware files please download them again as the wrong files for ULN2003 where uploaded (MT, M and F)
and ditto for the L293D files - it hasnt been a great day, apologies.
08 Nov 2016 - New Windows app, new PDF to document changes/features to Windows App release 2.3.4.9