Home 2018 Forums Crumble Support Code not working

Tagged: 

  • This topic has 1 reply, 2 voices, and was last updated 1 month ago by dom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22422
    rtwhit
    Participant

    I have a simple two motor buggy with two touch switches at the front right and left.

    I have a maze for it to travel around.

    When I test the code plugged in to my Mac it works perfectly.
    When I unplug the USB and run it – it doesn’t work.

    What should happen is when it hits the wall it turn right.
    it then tries to move forwards, If it can’t move forwards it spins 180 degrees and off it plods.

    I’m at a loss as to why it should work plugged in but not unplugged?

    Attachments:
    You must be logged in to view attached files.
    #22457
    dom
    Participant

    We have found that the motors draw power through the USB and all works fine when connected to the computer.

    However, when disconnected from the USB/Computer the batteries simply don’t have enough power to drive the motors sufficiently.

    Have you tried changing for new batteries?

    • This reply was modified 1 month ago by dom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.