Good afternoon.
First thank you for the incredible project you are doing.
I want to tell you some questions.
I think there is a problem in the code when I make a Home position or.
1st the sensors are working well and perfectly detects point 0
2nd moves perfectly until reaching the sensor and detects position 0.
3rd when it reaches position 0 it stops perfectly.
The problems I have are:
After detecting the position 0, it does not go back until reaching step 1, since as we know the detectors have a backlash, and if it is behind the position 0 a number of steps if from the program I ask it to go to position xxx it is not moves since it is inside 0.
I would also like that when you are looking for the position 0 Home the port of the serial port error is not in a while loop.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Deneb
I have been goig back over all the firmware changes and may have identified an issue.
Can you please let me know the firmare filename you are using and I can send you an update to try.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Denb
The HPSW code has remained untouched since introduced, and tested and verified by Clive, myself and others since May 2016. That does not mean to say that there isnt an issue we might not have identified.
If you can make a closeup video, perhaps using your phone?
What is the name of the firmware file you are using?
Did you make the PCB or a stripboard or your own?
Have you changed the firmare file?
Have you made any changes to hardware pins etc?
The home position switch can only be tested on telescope, not on a work bench. You cannot test this without the switch physically mounted on the telescope and the focuser working and adjusted correctly. You cannot test this by hand manually
Check 1 if the HPSW is ON and position > 0
then backout till HPSW is OFF and set the position to 0
Check 2 if HPSW is ON and position is 0
then backout till HPSW is OFF and set the position to 0
Check3 if HPSW is OFF and position is 0
then move in till switch closes, then move out till H
PSW opens and set the position to 0
During this part where the focuser home position is being determined
a) the focuser position is set to 0 only when the home position is found
b) the moves are done at slow speed
c) backlash is not applied because it is not necessary
d) at no time will the focuser position reported ever be negative or less than 0
I am not sure I understand your issue. A video might help.
I am not sure I understand about your serial port error? Again a video can help. It is easy to take a video with a phone and post it to dropbox.com
Are you getting a serial port error during a HOME? Can you please post the errorlog? I might have an idea where to start on this but I need the datalog/errorlog to be sure
Regards
Robert
Last edit: brownrb 2019-01-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good afternoon, Robert
Thanks for the quick reply.
By recording the video I have seen where the error is.
I put the oscilloscope so that you would see when the proximity sensor was activated and the screen showed me the fault.
1st the switched F / A has a lot of ripple and I produced an oscillation in the switching transistor T1 "2N2222" when activating the sensor.
The temporary solution that works has been to put a 1000uF capacitor and almost all the problem has been solved. All right!!!
2nd Resistor R2 that reduces the voltage to the base of the transistor is smd and I am mistaken in value, I put a resistance of 47K instead of 4.7K, I have replaced it by its correct value 4.7K and it works perfectly all the part of positioning of the focuser. All right!!!
The failure of the serial port I get when the focus is very far from your position and when spending more than 5 seconds of time, the message that I send you in the photos and video comes out.
I am very happy today for everything, yesterday I checked the code a thousand times and it seemed right, that's why I sent you the message.
The version that I have installed is Arduino Firmware Focuserv279_DRV8825_HW203_OLED_C, I have a oled, nema17 with reducer, DRV8825 controller, temperature sensor.
If you want to send me the new version with the correction you mention, I can prove it.
I'm thinking about putting a DHT22 sensor to know the dew temperature.
And put a temperature sensor plus ds18b20 to activate a heater in the optics of the tube depending on the dew temperature and temperature of the optics.
I would not find it hard to program it on Arduino, but the Windows control software is problematic for me, as is the ascom protocol.
Do you plan to do some of this?
Do I make the code so you can add it to your project?
Thank you
regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Deneb
When you say there is a serial port timout - under what circumstances dos this occur?
When it reaches 0 or before?
Does motor speed setting make difference?
Can you repeat this over and over? If so what are the steps to do this?
Do you have a logfile I can look at?
You can email me direct - address is in the firmware file.
Adding a DHT22 for dew control cannot be supported under ASCOM. You can ony have one temperature probe. The best way to do this is use a dew controller.
If you wish to add aything to the code that is more than possible and encouraged
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Deneb
I have some firmware update for you to test for the serial issue. Please email me direct (find this in the firmware file) so I can send it to you. Please let me know what firmware file ino you are using so I can send the right update
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good afternoon.
First thank you for the incredible project you are doing.
I want to tell you some questions.
I think there is a problem in the code when I make a Home position or.
1st the sensors are working well and perfectly detects point 0
2nd moves perfectly until reaching the sensor and detects position 0.
3rd when it reaches position 0 it stops perfectly.
The problems I have are:
After detecting the position 0, it does not go back until reaching step 1, since as we know the detectors have a backlash, and if it is behind the position 0 a number of steps if from the program I ask it to go to position xxx it is not moves since it is inside 0.
I would also like that when you are looking for the position 0 Home the port of the serial port error is not in a while loop.
Thank you
Hi Deneb
I have been goig back over all the firmware changes and may have identified an issue.
Can you please let me know the firmare filename you are using and I can send you an update to try.
Regards
Robert
Hi Deneb
I just wanted to catch up with you to see if your problems are not resolved, and if everything is working ok
regards
Robert
Hi. Robert
Thanks for your help.
Everything works very well,
Thanks for your great work.
Regards
Carlos "Deneb"
El mar., 12 feb. 2019 a las 14:02, brownrb (brownrb@users.sourceforge.net)
escribió:
Hi Denb
The HPSW code has remained untouched since introduced, and tested and verified by Clive, myself and others since May 2016. That does not mean to say that there isnt an issue we might not have identified.
If you can make a closeup video, perhaps using your phone?
What is the name of the firmware file you are using?
Did you make the PCB or a stripboard or your own?
Have you changed the firmare file?
Have you made any changes to hardware pins etc?
Check 1 if the HPSW is ON and position > 0
then backout till HPSW is OFF and set the position to 0
Check 2 if HPSW is ON and position is 0
then backout till HPSW is OFF and set the position to 0
Check3 if HPSW is OFF and position is 0
then move in till switch closes, then move out till H
PSW opens and set the position to 0
During this part where the focuser home position is being determined
a) the focuser position is set to 0 only when the home position is found
b) the moves are done at slow speed
c) backlash is not applied because it is not necessary
d) at no time will the focuser position reported ever be negative or less than 0
Clives video shows how this works.
https://www.dropbox.com/s/60vhgsbkrk6gvs4/Clive_IMG_6811.MOV?dl=0
I am not sure I understand your issue. A video might help.
I am not sure I understand about your serial port error? Again a video can help. It is easy to take a video with a phone and post it to dropbox.com
Are you getting a serial port error during a HOME? Can you please post the errorlog? I might have an idea where to start on this but I need the datalog/errorlog to be sure
Regards
Robert
Last edit: brownrb 2019-01-14
Good afternoon, Robert
Thanks for the quick reply.
By recording the video I have seen where the error is.
I put the oscilloscope so that you would see when the proximity sensor was activated and the screen showed me the fault.
1st the switched F / A has a lot of ripple and I produced an oscillation in the switching transistor T1 "2N2222" when activating the sensor.
The temporary solution that works has been to put a 1000uF capacitor and almost all the problem has been solved. All right!!!
2nd Resistor R2 that reduces the voltage to the base of the transistor is smd and I am mistaken in value, I put a resistance of 47K instead of 4.7K, I have replaced it by its correct value 4.7K and it works perfectly all the part of positioning of the focuser. All right!!!
The failure of the serial port I get when the focus is very far from your position and when spending more than 5 seconds of time, the message that I send you in the photos and video comes out.
I am very happy today for everything, yesterday I checked the code a thousand times and it seemed right, that's why I sent you the message.
The version that I have installed is Arduino Firmware Focuserv279_DRV8825_HW203_OLED_C, I have a oled, nema17 with reducer, DRV8825 controller, temperature sensor.
If you want to send me the new version with the correction you mention, I can prove it.
https://drive.google.com/open?id=1ptaF_SmCh6GNC-3pSGtiShOkd_aIzpSX
I'm thinking about putting a DHT22 sensor to know the dew temperature.
And put a temperature sensor plus ds18b20 to activate a heater in the optics of the tube depending on the dew temperature and temperature of the optics.
I would not find it hard to program it on Arduino, but the Windows control software is problematic for me, as is the ascom protocol.
Do you plan to do some of this?
Do I make the code so you can add it to your project?
Thank you
regards
Hi Deneb
When you say there is a serial port timout - under what circumstances dos this occur?
When it reaches 0 or before?
Does motor speed setting make difference?
Can you repeat this over and over? If so what are the steps to do this?
Do you have a logfile I can look at?
You can email me direct - address is in the firmware file.
Adding a DHT22 for dew control cannot be supported under ASCOM. You can ony have one temperature probe. The best way to do this is use a dew controller.
If you wish to add aything to the code that is more than possible and encouraged
Regards
Robert
Hi Deneb
I have some firmware update for you to test for the serial issue. Please email me direct (find this in the firmware file) so I can send it to you. Please let me know what firmware file ino you are using so I can send the right update
Regards
Robert
Hello, Robert.
I'm deneb.
Thank you for your great work.
Regards