loading

Step 28:

The robot (after a delay to allow the "thing" to land and quit wobbling) commences a search using the Pixy camera. If it sees the "thing," it will go to it to pick it up. If not, the robot will go straight until it hits a wall, then the higher current of a stalled motor will be detected and the robot will reverse, turn, and continue the search.

When the Ping ultrasonic detector indicates that the "thing" is within the gripper, the robot stops, gripper closes and actuator rises. The robot then reverses, hunts the black line and follows the line until the robot ir detector indicates arrival at the catapult. The gripper is opened, the robot backs up, turns and waits--then repeats.

A few afterthoughts: The blue painters tape is not necessary, I just place it under the electrical tape so that the electrical tape would not "stain" the wood. I may want to paint the floor and line at some point in the future.

Did I need to use so many Arduinos? Maybe not, but it is easier with my limited software capability to assign tasks to a processor and avoid keeping up with tricky timing (like measuring overload current to the motors while timing the return signal of ultrasonic sound, etc.)

<p>could you make a Piano Tiles(android an iOS game) robot?</p>
That's as easy as getting a few photoresistors, arduino, and some method of triggering the screen (The design I used a while back involved solenoids). <br>Unfortunately, I never really documented it, and didn't save the code. It only took a grand total of 15 minutes to write, and I was fresh at arduino IDE at the time.<br>(Basically consists of the photo resistor detecting the color change, and the arduino powering the correlating solenoid.)
Seriously thinking of building this for a school funded project (credit will be given where it is due)<br>Could you PM me the exact servos, high torque servo, arduino motor shields, and infrared sensors that you used?
<p>Sweet! You have effectively invented a perpetual 'notion' machine... well done! :D</p>
<p>@silkier: Who will judge the worth of any pursuit? You? Me? MikeTheMaker? There will be three answers.</p>
<p>By far a Great! &quot;Useless Machine&quot;</p><p>Great idea for beginners' learning</p>
<p>Does ever so much better than my dog. I throw, she retrieves but won't bring back, sigh.</p>
<p>I love the narration in the video. Hilarious!</p>
<p>SUPER gona make this some day.</p><p>Keep up the good work.</p>
<p>What a wonderfully pointless device.</p><p>It does start the brainbox wondering if just maybe the thought and time to produce it might have been occupied in a more worthwhile pursuit...but no, what the heck, it's marvellous just as it is.</p>
<p>...yes! A 'Sisyphus' machine! Well done - </p>
<p>Thumbs up :-) I love machines that are constructed with the intention to do nothing (unlike machines that are intended to do something and actually do nothing).</p>
Simply amazing! It manages to do so much while doing nothing. I already voted for you.
<p>Thank you! I enjoyed the challenge of putting it all together.</p>
I can not find the code for camera, searching the &quot;thing&quot; an all logic around.
<p>In step number 17, &quot;vision_soft.ino&quot; is the code for the Pixy camera. </p>

About This Instructable

15,687views

121favorites

License:

Bio: I am an author and a maker. Current projects include Santa's Shop and Little Friend (ultracapacitor powered robot) on hackaday.io. I'm working ... More »
More by MikeTheMaker:Noisy Train Pretty Useless Machine LED Reindeer Tea Light Holder 
Add instructable to: