Very new to this, just wanted to build a focuser for my sct, and learning as I go along.
On page 94 of the latest myFocuserPro.pdf it shows on the left on the bottom two rows two headers for EasydriverPWR and EasyDriverGND. I hesitate to ask, but are these correct, should they each be up one row?
Many thanks.
Eric.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes but easier to solder/connect to the 12V switch SW3
The EasyDriver has two sets of pins. On the bottom left of the easydriver board is GND and +5V, these two signal wires connect to the 2pin header at the bottom of the stripboard.
The other two sets of pins GND and M+ connect as follows - GND to the stripboard layout, right side, towards top and next to EN, and then M+ to the 12V rail (power switch for 12V - not to the stripboard - the wire that goes from SW3 to SW3 on the stripboard)
Cheers
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problem, anytime, that is what we are here for, darn if somethings things don't seem right, best wishes for your build Eric, let us all know how it turns out.
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Much to my amazement it all works! I've also run it from SharpCap using ASCOM. Just a bit of tidying up of wires and wait for clear skies.
I got a bit adventurous and fitted an HC-06 BT board I had lying around. MyFocuser connects to it ok via BT, but once connected it comes up with "Controller did not respond to request for firmware version. Port has been closed." The only difference I can see (assuming I've programmed it correctly) is I haven't included any resistors, just straight connections from HC to D7 and D12.
But not to worry, I'm delighted to get it working first time. Thanks again for sharing such a great project.
Eric.
ps Scrub that bit about BT not working - silly me connected the RX and TX pins the wrong way round. All now working fine, so just one USB cable for the camera.
Last edit: Eric 2016-08-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, BT works fine with the myFocuser app, but not when using ASCOM. I have the Delay on Connect set to 10s for connecting for the app, but when I try to change that on the ASCOM Driver and press Enter, it keeps on defaulting to 3s. Don't know if that's causing the problem?
After I have pressed Connect on the Driver, then OK, then Connect on the ASCOM App, after about 12s a window comes up which says the the Focuser is not connected. Then in the Status window it says it is connected, comes up with all the firmware details, etc, at then end it says Ready, then it says Error getting focuser position, Serial port connection error.
Any suggestions appreciated. Many thanks.
Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll take a look at get back to you on the ASCOM driver issue.
You said HC-06? Did you mean HC-05 instead. I have never tested it with HC-06
Should be using a 1K/2.2K resistor divider for the transmit line from controller to HC-05
as the HC-05 is data lines are 3.3V
Cheers
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please try the attached ASCOM driver - same rev number but has change for the delay on connect issue - please report if delayonconnect is remembered properly
Hi Robert. Yes, it's the HC-06, it only has the four pins, and works off 5v, just gnd, pwr, rx & tx. Made adjustments to software and it now works via usb or bt. Be great if I could get bt on ascom as well.
Eric.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, that ascom driver now saves the delay but sadly doesn't make the BT work. It's still making the connection and reading all the values in ok, but comes up with 'Serial port Unauthorized Access Exception error'. Don't worry, I'll get hold of an HC-05 as it's been tested.
Thanks for all your help.
Eric.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In case anyone reads these posts, we contined the rest of this discussion via email and Robert sorted out the problem (thanks Robert!). Turned out the pins I was using didn't work with BT, and the problem was solved by using pins 10 and 11 for bluetooth.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Very new to this, just wanted to build a focuser for my sct, and learning as I go along.
On page 94 of the latest myFocuserPro.pdf it shows on the left on the bottom two rows two headers for EasydriverPWR and EasyDriverGND. I hesitate to ask, but are these correct, should they each be up one row?
Many thanks.
Eric.
Well spotted Eric. I have updated the pdf and the image.
https://sourceforge.net/projects/arduinofocuscontrollerpro/files/DRIVER%20BOARDS/DRV8825%20EASYDRIVER%20Rotary%20Encoder/myFocuser_v200re_EasyDriver_Layout_Full.bmp/download
Many thanks
Robert
Thanks Robert, and thanks for the whole project. It was just what I was looking for.
Eric
Hi Robert, me again!
The EasydriverGND is now correct, but shouldn't the PWR connect to VIN which is the third row up?
Thanks
Eric.
Hi Eric
Yes but easier to solder/connect to the 12V switch SW3
The EasyDriver has two sets of pins. On the bottom left of the easydriver board is GND and +5V, these two signal wires connect to the 2pin header at the bottom of the stripboard.
The other two sets of pins GND and M+ connect as follows - GND to the stripboard layout, right side, towards top and next to EN, and then M+ to the 12V rail (power switch for 12V - not to the stripboard - the wire that goes from SW3 to SW3 on the stripboard)
Cheers
Robert
Ah, got it. Thanks for explaining, much appreciated.
Best wishes
Eric.
No problem, anytime, that is what we are here for, darn if somethings things don't seem right, best wishes for your build Eric, let us all know how it turns out.
Robert
Much to my amazement it all works! I've also run it from SharpCap using ASCOM. Just a bit of tidying up of wires and wait for clear skies.
I got a bit adventurous and fitted an HC-06 BT board I had lying around. MyFocuser connects to it ok via BT, but once connected it comes up with "Controller did not respond to request for firmware version. Port has been closed." The only difference I can see (assuming I've programmed it correctly) is I haven't included any resistors, just straight connections from HC to D7 and D12.
But not to worry, I'm delighted to get it working first time. Thanks again for sharing such a great project.
Eric.
ps Scrub that bit about BT not working - silly me connected the RX and TX pins the wrong way round. All now working fine, so just one USB cable for the camera.
Last edit: Eric 2016-08-04
Ok, BT works fine with the myFocuser app, but not when using ASCOM. I have the Delay on Connect set to 10s for connecting for the app, but when I try to change that on the ASCOM Driver and press Enter, it keeps on defaulting to 3s. Don't know if that's causing the problem?
After I have pressed Connect on the Driver, then OK, then Connect on the ASCOM App, after about 12s a window comes up which says the the Focuser is not connected. Then in the Status window it says it is connected, comes up with all the firmware details, etc, at then end it says Ready, then it says Error getting focuser position, Serial port connection error.
Any suggestions appreciated. Many thanks.
Eric
I'll take a look at get back to you on the ASCOM driver issue.
You said HC-06? Did you mean HC-05 instead. I have never tested it with HC-06
Should be using a 1K/2.2K resistor divider for the transmit line from controller to HC-05
as the HC-05 is data lines are 3.3V
Cheers
Robert
Please try the attached ASCOM driver - same rev number but has change for the delay on connect issue - please report if delayonconnect is remembered properly
Hi Robert. Yes, it's the HC-06, it only has the four pins, and works off 5v, just gnd, pwr, rx & tx. Made adjustments to software and it now works via usb or bt. Be great if I could get bt on ascom as well.
Eric.
Yes, that ascom driver now saves the delay but sadly doesn't make the BT work. It's still making the connection and reading all the values in ok, but comes up with 'Serial port Unauthorized Access Exception error'. Don't worry, I'll get hold of an HC-05 as it's been tested.
Thanks for all your help.
Eric.
Hi Eric
Please use the ascom client test program - rev
// 1.02.10.01 18062016
Uninstall any previous version of the ascom client test program then install it
I have seen this before but cannot remember how it was resolved.......
Last edit: brownrb 2016-08-04
This is schematic for HC-05 connection
In case anyone reads these posts, we contined the rest of this discussion via email and Robert sorted out the problem (thanks Robert!). Turned out the pins I was using didn't work with BT, and the problem was solved by using pins 10 and 11 for bluetooth.