Monday, February 23, 2015

Power Problem?

I took several videos yesterday of BB1B avoiding obstacles and studied them last night. What I learned was that BB1B couldn't "see" left or right to determine which way was the best way to turn. I don have extra ultrasonic sensors to add, so I decided to add an extra serio motor so that the one  ultrasonic sensor I do have could swing to the left and right to see obstacles with the hopes of programming it later make decisions based to determine the best route to take to navigate a mate.

Well... in theory it is going to work, but I have run into my own obstacle...


As you can see in the above video of BB1C (new version, new name) it seems that 3 servos and a (((PING sensor is too much for a 5v USB or a 9v battery. hmm.

I am just guessing it is the power supply. I can tell that the code is correct as everything works independently. Of course, I don't have a variety of power supplies to use as a test platform, so I will have to put it away until I can find a new power source. 

Also, it also ocurred to me that the 4 devices might be too much for the board and that maybe I should add another arduino board... but some basic research suggests I should be able to run up to 8 devices from a single arduino Uno so I am going with the power supply first.  

Sunday, February 22, 2015

Avoiding Obstacles


I've had to take a couple of weeks off because of work and admittedly it took quite a bit of time to move BobbyBot from dancing a jig to something that resembles walking. I made a few modifications mostly to the legs, burned through a bunch of 9v batteries, added an ultrasonic sensor and about 2 more pages of code.

Here is a video of BB1B navigating a simple obtacle course. His only purpose here is to not get stuck which I think he does fairly nicely for my first self propelled robot.