Telescope drive motors that don't...


Closed Thread
Results 1 to 40 of 69

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Is there any exact motor Model we can refer to?

    i found this PDF for those interested in Stepper Motor Basics
    http://www.solarbotics.net/library/p...f/motorbas.pdf

    Turning the problem in many ways... i'm still thinking of unsufficient current AND/OR voltage at the driver output. I would suggest you to use a higher voltage source, and connect the driver before the voltage regulator. If you have any variable voltage power supply that would be nice. This bring mvs_sarma's suggestion to the front. Make sense, there's probably some voltage loss at the output.

    Why the previous driver circuit worked... well hard to tell, no schematic or pic of it (with some part# of the transistor/Mosfet)? Any coils or else fancy stuff on it?
    Last edited by mister_e; - 28th March 2008 at 16:31.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post

    Turning the problem in many ways... i'm still thinking of unsufficient current AND/OR voltage at the driver output. . . .
    Hi Steve, that was where I was going by asking if the enable pins were held high, as I do not understand the assembler . . . I think those ports should not be pulsed . . .JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i just had a look at L293D... there's an interesting voltage drop.. typical Vs-1.2 to Vs-1.8 v... ok ok @0.6A... but... could this be enough to lost most torque... i would think.

    Probably the original design used MOSFETs, so the voltage loss was reduced to a minimum. Pure guess here.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    There's still some Sound-Card based Free software you could used... it's still better than nothing. Be carefull with signal amplitude and it should give you some pointers.

    I already used VA (Visual analyser)
    http://hacca.altervista.org/
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Mar 2008
    Posts
    17


    Did you find this post helpful? Yes | No

    Default

    Wow! A free oscilloscope! Thank you, Mister-e! Now I must find an old sound-card....

    "Probably the original design used MOSFETs, so the voltage loss was reduced to a minimum..." - I thought I was actually building the original design. You will clearly see +6v on the original circuit diagram. But I am now inclined to think you are right, and this circuit does not actually work as specified...

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Well it has to work as expected with HIS OWN step motor... but how many different model is there in the world?

    You can now buy a sound card under 20$ here... 1/10 of almost any decent used scope.

    When i talked about the original design, i meant your previous one... not the one you found and post here.
    Last edited by mister_e; - 28th March 2008 at 21:52.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Mar 2008
    Posts
    17


    Did you find this post helpful? Yes | No

    Default

    "...but how many different model is there in the world...?"

    He is using a standard chinese clock-drive for an EQ4/5 scope - so am I. I was expecting our motors to be identical....

    "You can now buy a sound card under 20$ here.."

    I have some separate sound cards already - I was assuming that you plugged the probes into the game port on them. But now I have downloaded VA, I see there is no info about where to connect the probes to at all. Do you connect the probe to the 'microphone-in'? If so, I can connect it to the built-in sound card on the motherboard of the system I am using. It is odd that there seems to be no information about this vital point...?

    "When i talked about the original design, i meant your previous one.."

    Sorry - I misunderstood. In fact, I still have the original handcontroller. My problem is not that it was broken, but that it drove the motors at the correct speed for an EQ4/5 mount (1/10 rpm) and I wanted to use it for an EQ3-2 mount (1/11 rmp). Those are the final speeds - there is a gear train of approx 200:1 between the scope and the stepper. The original controller used an Amtel micro, directly driving an array of 8 transistors. They could well be MOSFETs.

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    you plug your probe to in Line in, make sure you set your Soundcard Mixer properly as well.

    In VA, Click on Settings>> In/Out Device to confirm your setings.


    Trent, i can't tell, it worked for me awhile back, not sure about the current one...

    EDIT seems that I had the same version... doesn't seems to bug here.
    Last edited by mister_e; - 29th March 2008 at 00:21.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    There's still some Sound-Card based Free software you could used... it's still better than nothing. Be carefull with signal amplitude and it should give you some pointers.

    I already used VA (Visual analyser)
    http://hacca.altervista.org/
    That GUI is real buggy on my machine.

  10. #10
    Join Date
    Mar 2008
    Posts
    17


    Did you find this post helpful? Yes | No

    Default

    Mister-e '..Is there any exact motor Model we can refer to?..'

    There are no markings on the motors. The original controller used a 6v battery pack, and the coil resistance is 18ohm. A similar looking motor is the BPM42 from Astrosyn, but that is specified as 12v.

    Joe S. - thanks for joining the party! i would be happy to rewrite the code in Basic if that would help, but I think the code is working. I programmed the PIC on a Vellerman 8048 unit, which has a limited test function (6 leds and 4 switches), and the test showed the leds all lighting up at the right times. I have also run the code on a couple of software simulators, and it does what it says it does - holds the specified pins high.

    What I cannot simulate is what the L293D is doing (no oscilloscope ). In other circuits I see the possibility of varying the current passed to the stepper, but I don't think you can on the L293D. How does the chip know how much current to pass the stepper?

    The Lini Stepper is very interesting, and I would buy one like a shot - if it supported Bipolar steppers like I have on the telescope. Unfortunately, the telescope hardware is fixed. I was wondering about getting one of these - http://www.jafmotion.co.uk/motordrives.htm

  11. #11
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dodgy Geezer View Post
    Mister-e '..Is there any exact motor Model we can refer to?..'

    There are no markings on the motors. The original controller used a 6v battery pack, and the coil resistance is 18ohm. A similar looking motor is the BPM42 from Astrosyn, but that is specified as 12v.

    Joe S. - thanks for joining the party! i would be happy to rewrite the code in Basic if that would help, but I think the code is working. I programmed the PIC on a Vellerman 8048 unit, which has a limited test function (6 leds and 4 switches), and the test showed the leds all lighting up at the right times. I have also run the code on a couple of software simulators, and it does what it says it does - holds the specified pins high.

    What I cannot simulate is what the L293D is doing (no oscilloscope ). In other circuits I see the possibility of varying the current passed to the stepper, but I don't think you can on the L293D. How does the chip know how much current to pass the stepper?

    The Lini Stepper is very interesting, and I would buy one like a shot - if it supported Bipolar steppers like I have on the telescope. Unfortunately, the telescope hardware is fixed. I was wondering about getting one of these - http://www.jafmotion.co.uk/motordrives.htm
    I wasn't asking you to rewrite anything, Your reference to the website incurred me to think you found this code rather than wrote it, my appologies! My statement stands as is, I do not understand your code, so I do not know that it did that, I was simply suggesting a possible area to search.
    Regards
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  12. #12
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    ASM looks way harder than it is actually.

    Let's see few common expressions

    MOVLW .10
    MOVWF PORTA
    It's nothing else than PORTA = 10
    <hr>
    BTFSC PORTA.1
    GOTO $-1

    Could be translated as

    WHILE PORTA.1=1 : WEND

    OR

    TestPORTABit1:
    IF PORTA.1=0 then GOTO DoSomething
    Goto TestPORTABit1
    DoSomething:
    <hr>
    MOVF PORTA
    MOVWF MyVar

    would be MyVar=PORTA
    <hr>
    INCF MyVar,F

    MyVar=MyVar + 1
    <hr>
    nothing really hard to learn... but yeah... could be a bit hard to follow/understand a little bit when you begin. 18Fs and DsPIC assembler is way easier to code, but you have more Mnemonics to learn.
    Last edited by mister_e; - 29th March 2008 at 01:08.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. MPASM Path & File Name Length Limtation
    By Brian J Walsh in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th June 2008, 15:48
  2. Differential Drive Programming
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 30th December 2006, 14:03
  3. motors browning out PIC
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 17th November 2006, 02:50
  4. CD ROM Motors.
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2006, 17:59
  5. problems with Servo Motors...
    By saturnX in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2006, 01:43

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