Astronomy Hardware - converting serial to USB and DC Motor control via PC


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    Quote Originally Posted by dhouston View Post
    It's not at all clear what you want to do. If you want to replace the laptop, then almost any PIC can send RS232 serial commands to the device. If you only wish to replace the USB-serial converters, there are some which are not clunky as well as single chip USB-serial converters
    Thanks for the links. Yes basically I was wondering if there a simple way to use a PIC with a USB rather than using RS232 with a RS232 to USB converter.

    For example, I currently use a cable release for my canon camera. This uses the DTR line to activate the shutter (ie DTR stays high for 10 seconds as controlled by the software on the PC). This is one example.

    The other is a focuser.. this uses a handset with simple push buttons to control the motors direction. It would be great if you could remove the cable from the handset, plug it into a small box with a PIC inside and plug that into a laptop via USB and use the arrow keys on the keypad to control the motor..

    Hope that makes things clearer ?

    Malc

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    USB is doing it the hard way on both ends of the line. If you really want to go that way take a look at Jan Axelson's USB website...http://www.lvr.com/usb.htm

    Both of your examples can be done simply and easily using the CP2103 breakout board from Spark Fun. You have 4 GPIO pins which you can control from the PC.

    The USB Bit Whacker gives you a great deal more power. You can create your own PBP programs and download the hex file using the USB bootloader.

    Both connect via a USB cable but appear like COM ports to the PC allowing simple serial commands to control them. The only drawback is they are a bit slower than pure USB because they translate between serial and USB.

  3. #3
    Join Date
    Apr 2011
    Posts
    53


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    Due to the lack of handshaking signals on 'some' USB-to-serial cables there are now a number of 'recommended' USB-to-serial leads that are used in astro control systems. Pop in to http://www.ukastroimaging.co.uk and enquire. You will also find articles on focussing etc that might appeal.

  4. #4
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    Thanks once again for the input. Having ready the datasheet and application notes the CP2103 seems like an ideal option...

    @kellyeye Thanks for the link, will take a look now

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    I've looked at piggybacking signals on the controls for MEADE. Autostar has "Meade Telescope Serial Command Protocol" via ASCOM that includes commands for focus (and you could just "listen in" on the receiving end).

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,181


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    If your gear is using RS232, why are you messing with USB?

    Ioannis

  7. #7
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Astronomy Hardware - converting serial to USB and DC Motor control via PC

    Ioannis, I started this thread five years ago, and since then commercial items have appeared on the market, so opted for that.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts