We were assigned to choose between 4 different programs an robots to build, our Lego robot was the Puppy, the Puppy included a touch sensor, color sensor, and wheels to move and reacted to certain colors. The puppy robot was constructed over a series of three class periods and was successfully programmed to react to colors ( Green, Blue, Red, Yellow), change the display on the screen, lift up legs, bounce and turn, lifting up hind leg, and play sounds ( eating, barking, and growling).
This is the final product of our robot
Our robot would sense a color and it would play an eating sound and a face on the screen, and a mechanic on its back would trigger a motion sensor when it was touched representing "petting". If you "fed" and "pet " the robot enough it would bounce up and down, play a barking sound, and display hearts in its eyes. If you "petted" it too much it would play a growl sound and crouch. Feeding it too much will make it lift u its back left leg to symbolize peeing . Some things included on this robot were two mechanical legs in the back and two non mechanical in the front. A head the moves up and down and ears as well as a tail made out of a ball and cup.
This is a video of the robot being fed, peeing, petting, and being happy
No comments:
Post a Comment