April 13, 2020 at 8:31 pm #22422rtwhitParticipant
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.April 28, 2020 at 8:45 am #22457domParticipant
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 year, 2 months ago by dom.
- You must be logged in to reply to this topic.