Instructables
Picture of Hungry Hungry Hippo!!!
My name is Shameya and I am a Junior at the Boston Preparatory Charter Public High School.  During the summer, I am a youth teacher with the Learn 2 Teach, Teach 2 Learn maker education program.  During the school year, I am a "Fab Steward" at the South End Technology Center @ Tent City's Fab Lab where I help people fabricate their digital designs on the lasercutter, vinylcutter and the modela milling machine.   I like that you can pretty much create anything you want in a fab lab.  I've fabricated stickers, keychains and necklaces for my friends.  

Recently I was presented with the challenge of creating a physical programming project and I was inspired by the children's game Hungry Hungry Hippo. I was able to use the laser cutter in the Fab Lab to create the head of my hippo and the Modkit Micro software to program the Modkit MotoProto Shield and Arduino board that I used to control my project. The Modkit MotoProto board is attached to an Arduino that allows more access for inputs and outputs. 

The input of my project was my button, which consisted of two wires (ground and voltage). I created this button using a modela milling machine which fabricated an Eagle program board design for the button. I then soldered the two wires to the button board which allows a headphone jack plug-in to be at the end of my button. 

The output of my project was my servo motor, which consisted of three wires (ground,voltage,and sensor). I created the servo motor  plug-in by soldering or plugging in the three wires to an attachable headphone jack. 

Once my button and servo motor were created I then went to the Modkit Micro software where I was able to define my hardware, and then use my hardware to design the software program that would control both my input and my output. I went to the control tab of the software and took out a forever loop so that my program would continue on forever and never be limited. i then under the forever loop, included an if. The if allows me to program my project so that if a certain action happens to it then a reaction will occur. So with that in mind inside the if I included a button pressed which means that the "if button pressed" is my action, then within the "if button pressed" I set an angle under the output tab. My program now means that if the button is pressed, then it will go to the angle that i set it to, allowing the mouth of the hippo to open. After that angle was set i put in another angle so that my hippo's mouth would be able to close. Then between the two angles I set a delay, so that there would be a certain amount of time that passed before the mouth would close. 
 
Remove these adsRemove these ads by Signing Up