Menu

Easydriver pcb

Eric
2016-07-26
2016-08-07
  • Eric

    Eric - 2016-07-26

    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.

     
  • Eric

    Eric - 2016-07-27

    Thanks Robert, and thanks for the whole project. It was just what I was looking for.
    Eric

     
  • Eric

    Eric - 2016-07-27

    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.

     
  • brownrb

    brownrb - 2016-07-27

    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

     
  • Eric

    Eric - 2016-07-27

    Ah, got it. Thanks for explaining, much appreciated.
    Best wishes
    Eric.

     
    • brownrb

      brownrb - 2016-07-27

      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

       
  • Eric

    Eric - 2016-08-04

    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
  • Eric

    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

     
  • brownrb

    brownrb - 2016-08-04

    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

     
  • brownrb

    brownrb - 2016-08-04

    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

     
  • Eric

    Eric - 2016-08-04

    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.

     
  • Eric

    Eric - 2016-08-04

    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.

     
  • brownrb

    brownrb - 2016-08-04

    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

    1. Start ascom driver - at setup dialog box Enable logging
    2. Send me a screen capture of the error, as well as the ascom data log (under mydocuments\Ascom\logs

    I have seen this before but cannot remember how it was resolved.......

     

    Last edit: brownrb 2016-08-04
  • brownrb

    brownrb - 2016-08-04

    This is schematic for HC-05 connection

     
  • Eric

    Eric - 2016-08-07

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.