Home 2018 Forums Crumble Support Servo not working?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2839
    Mike
    Participant

    Hi,

    Can’t seem to get my TowerPro SG90 servos working. They tick, sometimes move, sometimes not – it’s wierd.

    Please advise!

    #2840
    Joseph
    Keymaster

    Once the program has ended, the Crumble then goes into ‘stopped’ mode. So, a program with a single servo instruction would create a kind of tick.

    If this is the case, could you try and put a wait command after the servo block?

    All the best,

    Joseph

    #2841
    Mike
    Participant

    Code is same as yours – that you tweeted. Just checking rest of circuit…

    #2842
    Mike
    Participant

    Gosh Darnit – it was a defective battery! All working now!

    Thank you for a FAB new update and super quick support!

    🙂

    #2843
    Joseph
    Keymaster

    Good to hear it’s now working. And thanks 🙂

    #2995
    stewart
    Participant

    Hi

    Have had good fun today getting to know Crumble but now stuck with servo use.

    I am wondering if I can use small a TowerPro SG90 servo
    Have looked but cannot find any help giving connections and test code

    Please could you direct me to suitable instructions

    Thanks in anticipation

    Attachments:
    You must be logged in to view attached files.
    #3005
    Joseph
    Keymaster

    Hi,

    The servos have three connections, two for power and one signal/control line. Simply connect the power to + and – on the Crumble, and connect the signal to A, B, C or D (you can connect up to 4 servos).

    The wire colours vary, but I believe the SG90 is:
    Red: +
    Brown: –
    Orange: signal

    I’ve attached a simple program that should test the servo (on A). One thing to be aware of is that when a program finishes, the Crumble stops outputting the signal to the servo. The attached program is looped, so never ends.

    I hope this helps.

    Joseph

    Attachments:
    You must be logged in to view attached files.
    #3009
    stewart
    Participant

    Thanks for your help and servo code
    It works well with the cheap tower pro servo
    and also with a larger 360 degree servo.

    Excellent program
    Now my favourite for education

    #3011
    Joseph
    Keymaster

    Many thanks 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.