For my Third Milestone, I added another ultrasonic sensor, like the other one it determines the distance to a target by measuring time lapses between the sending and receiving of the ultrasonic pulse. then I mounted it inside the tissue box on the other side and edited my code so that no matter which side of the box your hand is it will roll forward……(not finished)
My Second Milestone
For my Second Milestone, I added an ultrasonic sensor which uses a single transducer to send a pulse and to receive the echo. The sensor determines the distance to a target by measuring time lapses between the sending and receiving of the ultrasonic pulse. then I assembled it inside the tissue box (picture underneath) and coded. The first thing my code does is define all the pins and give them names that correspond to their jobs and not just numbers, then I gave the ultrasonic sensor and the motors a command that binds them and their inputs together so that I could just write motor1 or ultrasonic without writing out their individual pins. I set the motors speed using the names I assigned them in the prior step, then I set the ultrasonic sensor to convert its measurements into centimeters. Finally, I set up a conditional statement that tells the box to roll away for 3 seconds if any object comes within 20 centimeters of the ultrasonic sensor.
My First Milestone
My First Milestone for the Prank Tissue Box is the connecting to the Arduino, coding the motors to my specific needs which are to move whenever they get a signal from the Ultrasonic sensorthat hasent been installed yet. Also, I powered the Motors and Motor Driver.
My Starter Project is the Simon Says game, it is a memory game. When you start the game it plays a sequence of colors that once it is completed you repeat by pressing the colors in the same order they played, if you get it wrong you lose. I enjoyed this project because I learned about the different electrical components, like the ATmega microcontroller, and their roles in this circuit as well as how to solder.