We made a RC car and its main purpose is to be fun for people to drive around. To make it, we connected two 500 RPM motors and coded an Arduino to make the car move. We made the car zero turn so that we only would need two buttons. One of the buttons make the right wheel move and the other button makes the left wheel move. When you press them at the same time the car will move forward and when you let go of one of the buttons the car will turn because that wheel will stop and the other will continue to move. To make this code it involved if/else statements and a big part of the code was connecting the transceiver on the car with the one on the controller. Without this, the controller and car would not be able to communicate.
The purpose of our robot is to categorize or organize items, specifically balls, based on size. After the on switch is turned on, a ball is inserted into the top of the ramp which funnels the ball to an arm attached to a stepper motor. At this point, a proximity sensor reads the distance to the ball. A proximity sensor was chosen because as the size of the ball increases, the distance the sensor reads to the ball will decrease because the ball takes up more space. After the data is read, the receiver plate with cups rotates 90 degrees (to what side depends on the data read) and positions itself in order to catch the ball in the correct cup. The arm releases the ball into the cup, and the receiver plate rotates back to its default position.
Our robot is designed to open a jar. So how this happens is a series of motors and gears. The first motor in action is a stepper motor attached to a gear moving up and down. This is what causes the device to move over the jar. Then attached to this, is another stepper motor which turns the material now over the jar lid which due to friction of tennis grip tape and metal, is now holding onto the lid, in a way in which the led untwists from the jar. Then the first motor will work in reverse and move the device off the jar, taking the lid off of the jar.
Our clapper is composed of metal beams that help mount the robot on to the outlet and hold the robot in place. The robot flicks the light on and off using beams that are connected to the stepper motor. The Arduino uses a light and sound sensor to detect when the clap is heard and when the lights are off. When a clap is heard and the lights are on, the stepper motor moves the beams downwards to flick the lights off. When a clap is heard and the light is off, the stepper motor moves the beam upwards to turn the light back on. Our code is set to read light values and sound values.
Our purpose for our pet food dispenser it that when the owner is not home, they can set a timer and the amount that they want the food to be dispensed. How it works is there are two stepper motors. Once the timer goes off the food goes into the bottom cup, then right after the top cup fill to the top until the next time.
The purpose of our robot was to make a game. The game has a lever in which the ball will sit in. This lever will propel the ball to the basket. The degree the lever sits at is controlled by a button that will spin the lever backwards until the gamer releases the button at the position they want the lever to start in. Then, the gamer will press the second button to propel the level forward. The distance and force in which the lever is propelled is preset in the code. We used a "while" statement for the first button. While the button is being held down, the DC motor will continue to rotate backward until the user releases the button at the desired position. We used an "if else" statement for the second button. if the button is pressed, then the ball will shoot. Making a basket depends on the position you put the lever in. We were able to make baskets.
Our robot was constructed with the intent of cutting a variety of items into slices. We used two stepper motors set with gears and rails. Each stepper moves a different slide, and they are set up to cross one another. On one, the item being cut is placed against a metal bracket. The other one holds a pizza cutter which is drawn across the item being cut. As for our code, we have the pizza cutter set as a fast, constant speed in order to aid the cutting. The stepper which moves the item is set to move forward slowly which allows many slices to occur on the way forward, and then it is drawn back quickly. Each stepper is programmed with the correct number of steps required to move the track the correct distance.
Our robot is a mechanical umbrella that senses where the light is using a multitude of sensors, moves until each of the sensors is covered in shade, then stops. We used a stepper motor for the base of the umbrella. The Arduino reads each of the values of the light sensors, then moves until they are covered with shade. It does so by running through a loop, checking if the sensors are reading light, and if so moving. If the sensors are not reading light, it does not go through the code, and remains still. As another feature, we included a servo motor to adjust the angle of the umbrella (for use at times when the sun is not directly overhead). This proved challenging because now our servo motor could not just spin continuously in a circle or the wires would tangle. To solve this, we included code that caused the stepper motor to spin 360 degrees one way, then continue by spinning the other way 360 degrees, etc. This servo motor is controlled by a dial, allowing the user to adjust as needed.
The structure was originally designed to cut pizza, but we didn't know if it would be strong enough, so we decided to attach a marker to it and now it makes cool geometric designs. The structure was created in a way that the moving arm could be suspended and have enough height and length capabilities to reach across the moving plate. There are plates surrounding the motor to hold the arm so it doesn’t fall off to one side. There is a small area beneath the plate that encloses a 200 gram weight that acts as the counter weight keeping it from tipping from either side or forward. The coding used 3 sources of inputs in the form of buttons. The first button input was designed to use the original pizza cutter code and the DC motor and Stepper motor run at different times. The second button input creates more of a floral pattern. This is possible because the DC and Stepper motors are running at the same time. The last button was just for fun and creates a circle. The DC motor remains stationary while the Stepper motor moves.
It uses two stepper motors to cover two different axis of motion. the goal originally was to create a cookie cutter but at the moment it is a paper stamper instead.
The robot, named Wall-E, job is to pick up trash and dispense it into the trash using a scoop to pick up the trash. It first senses the trash, backs up, and then drops the scoop. Then it moves forward; in order to pick up the trash. Then afterwards it lifts the scoop up and moves forward a little more. After that, it then drops off the trash at said trash can and then backs up to its original position. The code used was for an ultra proximity sensor, 2 DC motors and a stepper motor.