Tagged: code
- This topic has 1 reply, 2 voices, and was last updated 3 years, 7 months ago by
dom.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
April 13, 2020 at 8:31 pm #22422
rtwhit
ParticipantI 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:
April 28, 2020 at 8:45 am #22457dom
ParticipantWe 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?
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.