Shop OBEX P1 Docs P2 Docs Learn Events
still got a problem — Parallax Forums

still got a problem

ArchiverArchiver Posts: 46,084
edited 2003-12-02 02:52 in General Discussion
The motors still are not running on the rev D.

heres the code

symbol speed = b1
low 0
high 0
for speed = 0 to 127 step 1
serout 6,N2400, ($80,0,0,speed)
pause 20
next
for speed = 127 to 0 step 1
serout 6,N2400, ($80,0,0,speed)
pause 20
next
for speed = 0 to 127 step 1
serout 6,N2400, ($80,0,1,speed)
pause 20
next
for speed = 127 to 0 step 1
serout 6,N2400, ($80,0,1,speed)
pause 20
next


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-11-29 06:55
    At 08:30 PM 11/28/03 -0800, Kyle Cooper wrote:
    >The motors still are not running on the rev D.
    >
    >heres the code
    >
    >symbol speed = b1
    >low 0
    >high 0
    >for speed = 0 to 127 step 1
    > serout 6,N2400, ($80,0,0,speed)
    > pause 20
    >next
    >for speed = 127 to 0 step 1 <<-- Change to step -1 as mentioned before
    > serout 6,N2400, ($80,0,0,speed)
    >pause 20
    >next
    >for speed = 0 to 127 step 1
    > serout 6,N2400, ($80,0,1,speed)
    > pause 20
    >next
    >for speed = 127 to 0 step 1 <<-- Change to step -1
    > serout 6,N2400, ($80,0,1,speed)
    > pause 20
    >next
    >
    >
    >
    >Do you Yahoo!?
    >Protect your identity with Yahoo! Mail AddressGuard
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-29 17:03
    I also tried with -1 but still no luck. I'm hoping its a programming error and
    not a hardware error. I heard somebody say that when programming the BS1 the
    program knows which way to step without having to specify if it is negative. But
    so far it hasn't caught on fire.

    Bruce Bates <bvbates@u...> wrote:At 08:30 PM 11/28/03 -0800, Kyle
    Cooper wrote:
    >The motors still are not running on the rev D.
    >
    >heres the code
    >
    >symbol speed = b1
    >low 0
    >high 0
    >for speed = 0 to 127 step 1
    > serout 6,N2400, ($80,0,0,speed)
    > pause 20
    >next
    >for speed = 127 to 0 step 1 <<-- Change to step -1 as mentioned before
    > serout 6,N2400, ($80,0,0,speed)
    >pause 20
    >next
    >for speed = 0 to 127 step 1
    > serout 6,N2400, ($80,0,1,speed)
    > pause 20
    >next
    >for speed = 127 to 0 step 1 <<-- Change to step -1
    > serout 6,N2400, ($80,0,1,speed)
    > pause 20
    >next
    >
    >
    >
    >Do you Yahoo!?
    >Protect your identity with Yahoo! Mail AddressGuard
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-29 17:28
    At 09:03 AM 11/29/03 -0800, Kyle Cooper wrote:
    >I also tried with -1 but still no luck. I'm hoping its a programming
    >error and not a hardware error. I heard somebody say that when
    >programming the BS1 the program knows which way to step without having to
    >specify if it is negative. But so far it hasn't caught on fire.

    How about some more specific symptoms, and what you've tried to date ?
    Do the motors not run at all ? How have you wired the motors to the
    controller ?
    What are you using for a power supply for the motors ? Are all the grounds to
    all the power supplies connected together somewhere as they should be ? What
    kind of motors are these ?

    Answers to many of these questions will prove helpful in providing a solution.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-30 02:04
    The motors dont run at all. the motors are two 3v motors. The motors are hooked
    up to a pololu dual micro motor controller which is hooked up to the BS rev. D.
    Everything is wired up correctly and I triple checked it a few times. I have a
    9v power supply going to the BS rev. D and 3v to the motors through the motor
    controller. The logic supply for the motor controller is 5v from the 5v pin on
    the rev. D. sorry I didnt specify any of this and thanks a million for
    reminding me.

    Bruce Bates <bvbates@u...> wrote:At 09:03 AM 11/29/03 -0800, Kyle
    Cooper wrote:
    >I also tried with -1 but still no luck. I'm hoping its a programming
    >error and not a hardware error. I heard somebody say that when
    >programming the BS1 the program knows which way to step without having to
    >specify if it is negative. But so far it hasn't caught on fire.

    How about some more specific symptoms, and what you've tried to date ?
    Do the motors not run at all ? How have you wired the motors to the
    controller ?
    What are you using for a power supply for the motors ? Are all the grounds to
    all the power supplies connected together somewhere as they should be ? What
    kind of motors are these ?

    Answers to many of these questions will prove helpful in providing a solution.

    Regards,

    Bruce Bates


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-30 13:56
    At 06:04 PM 11/29/03 -0800, Kyle Cooper wrote:
    >The motors dont run at all. the motors are two 3v motors. The motors are
    >hooked up to a pololu dual micro motor controller which is hooked up to
    >the BS rev. D. Everything is wired up correctly and I triple checked it a
    >few times. I have a 9v power supply going to the BS rev. D and 3v to the
    >motors through the motor controller. The logic supply for the motor
    >controller is 5v from the 5v pin on the rev. D. sorry I didnt
    >specify any of this and thanks a million for reminding me.

    Are the grounds (- side) on the 9 volt battery and 3 volt supply tied
    together as they should be ?
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-30 17:29
    yep all the grounds are wired to the ground pin on the microcontroller
    followed the manual exactly as it said



    Bruce Bates <bvbates@u...> wrote:
    At 06:04 PM 11/29/03 -0800, Kyle Cooper wrote:
    >The motors dont run at all. the motors are two 3v motors. The motors are
    >hooked up to a pololu dual micro motor controller which is hooked up to
    >the BS rev. D. Everything is wired up correctly and I triple checked it a
    >few times. I have a 9v power supply going to the BS rev. D and 3v to the
    >motors through the motor controller. The logic supply for the motor
    >controller is 5v from the 5v pin on the rev. D. sorry I didnt
    >specify any of this and thanks a million for reminding me.

    Are the grounds (- side) on the 9 volt battery and 3 volt supply tied
    together as they should be ?


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-30 18:59
    At 09:29 AM 11/30/03 -0800, Kyle Cooper wrote:
    >yep all the grounds are wired to the ground pin on the microcontroller
    >followed the manual exactly as it said

    Hi Kyle -

    Can we presume you got no errors when you complied the test program ?

    Where does the wire on Pin 3 of the motor controller go ?

    Where does the wire on Pin 2 of the motor controller go ?

    Have you checked that Pins 1 and 3 show a voltage present between them ?

    Have you checked the voltage status of the 9 volt battery recently ?

    Let's see how far we get with these answers in hand.

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2003-11-30 23:25
    did all of it.

    Bruce Bates <bvbates@u...> wrote:At 09:29 AM 11/30/03 -0800, Kyle
    Cooper wrote:
    >yep all the grounds are wired to the ground pin on the microcontroller
    >followed the manual exactly as it said

    Hi Kyle -

    Can we presume you got no errors when you complied the test program ?

    Where does the wire on Pin 3 of the motor controller go ?

    Where does the wire on Pin 2 of the motor controller go ?

    Have you checked that Pins 1 and 3 show a voltage present between them ?

    Have you checked the voltage status of the 9 volt battery recently ?

    Let's see how far we get with these answers in hand.

    Bruce Bates


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-01 06:18
    At 03:25 PM 11/30/03 -0800, Kyle Cooper wrote:
    >did all of it.

    Kyle -

    I asked 5 specific questions, and got no specific answers. I'm not sure how
    to interpret your response. I await your specific answers to my questions
    if you
    need more help.

    Bruce Bates

    >Bruce Bates <bvbates@u...> wrote:At 09:29 AM 11/30/03 -0800,
    >Kyle Cooper wrote:
    > >yep all the grounds are wired to the ground pin on the microcontroller
    > >followed the manual exactly as it said
    >
    >Hi Kyle -
    >
    >Can we presume you got no errors when you complied the test program ?
    >
    >Where does the wire on Pin 3 of the motor controller go ?
    >
    >Where does the wire on Pin 2 of the motor controller go ?
    >
    >Have you checked that Pins 1 and 3 show a voltage present between them ?
    >
    >Have you checked the voltage status of the 9 volt battery recently ?
    >
    >Let's see how far we get with these answers in hand.
    >
    >Bruce Bates
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    >basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    >
    >Do you Yahoo!?
    >Protect your identity with Yahoo! Mail AddressGuard
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-02 02:52
    yea we can presume there are no errors in the program, pin 3 goes to the logic
    supply,pin 2 goes to ground,there is a voltage present between pins 1 and 3,the
    9v battery is fully charged.

    Bruce Bates <bvbates@u...> wrote:
    At 03:25 PM 11/30/03 -0800, Kyle Cooper wrote:
    >did all of it.

    Kyle -

    I asked 5 specific questions, and got no specific answers. I'm not sure how
    to interpret your response. I await your specific answers to my questions
    if you
    need more help.

    Bruce Bates

    >Bruce Bates wrote:At 09:29 AM 11/30/03 -0800,
    >Kyle Cooper wrote:
    > >yep all the grounds are wired to the ground pin on the microcontroller
    > >followed the manual exactly as it said
    >
    >Hi Kyle -
    >
    >Can we presume you got no errors when you complied the test program ?
    >
    >Where does the wire on Pin 3 of the motor controller go ?
    >
    >Where does the wire on Pin 2 of the motor controller go ?
    >
    >Have you checked that Pins 1 and 3 show a voltage present between them ?
    >
    >Have you checked the voltage status of the 9 volt battery recently ?
    >
    >Let's see how far we get with these answers in hand.
    >
    >Bruce Bates
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    >basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    >
    >Do you Yahoo!?
    >Protect your identity with Yahoo! Mail AddressGuard
    >
    >[noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



    Do you Yahoo!?
    Protect your identity with Yahoo! Mail AddressGuard

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.