Phone controlled Robot Arm
My project is the phone controlled robot arm and I will be able to use bluetooth to connect my phone to the robot arm using an app.
Area of Interest
KIPP NYC College Prep
Link to website with instructions on how to build the app and the code for the arm
This is my final milestone which required me to build an app using the MIT app inventor, and it also required me to upload a lot of code to the arduino. I am now able to use my phone to connect to the HC-06 bluetooth module. Once my phone is connected to the bluetooth module, I can successfully control my robot arm
How it works
The first thing I did when starting my final milestone was build the app for my phone on the MIT app inventor website. I used the How To Mechatronics page about the app and I used it as an outline for my app. The How To Mechatronics page also had the blocks to allow the app to work so I used the website to build up the blocks. Then I started to create the code for the app to be able to connect to the bluetooth module and control the robot. I still used the same website page to get this code.
Link to website to build the app
Fully built robot arm
Link to tutorial to build the robot arm
My servos move from zero degrees to 180 degrees with the exception of the fourth servo which moves from 180 degrees to zero degrees. Some mistakes I made while completing my second milestone were I screwed in the screws too tight on the arm. This caused the arm not to move all the way to 180 degrees like it was supposed to. What I learned to do while completing this milestone was how to code servos to move. I also learned how to control multiple servos with code, as well as how to connect them to the Arduino through the breadboard.
How it works so far
I was able to input a code that allows three of the four servos to move from zero degrees to 180 degrees, and the fourth servo to move from 180 degrees to zero degrees. Once there is electricity flowing through the circuit and all of the jumper wires are connected correctly ( ground to ground, power to power, and control to control ) the servos should move their respective parts of the arm from zero degrees to 180 degrees, with the exception of one servo which moves from 180 degrees to zero degrees.
Link to improved code that allows for control of multiple servos and how to connect the servos to the breadboard
Fully built robot arm
My first milestone has enabled two of my servos to work properly, and simultaneously when the circuit is supplied with electricity. A servo is a motor where the user programs how much the servo rotates. Here it is a joint for my robot. To complete this milestone, I controlled how much electricity I sent to the servos so that they can move once I upload the code. I programmed the movement of the servo in an Arduino. An Arduino is an open-source electronics platform, which is based on easy-to-use hardware and software.
How it works so far
To complete this milestone, I controlled how much electricity I sent to the servos so that they can move once I upload the code. I programmed the movement of the servo in an Arduino. An Arduino is an open-source electronics platform, which is based on easy-to-use hardware and software. After the code uploaded, I was able to make the servos rotate to the left to 10 degrees, and to the right to 170 degrees repeatedly. So as long as the circuit has power the servos will continuously rotate to the left and then to the right. This is because it constantly loops through these commands.
Link to video with code for the servos
My starter project is the Binary Blaster and it helps someone learn to count using binary and convert decimal to binary and vice versa. What I learned from this is how to count in binary, and how to solder using a soldering iron, and a struggle I had was, I did not know how to solder properly. One way that I could be ready to move into starting my main project is if I need to I can use binary to write instructions to a computer that may be involved with my project.
How it works
On the Binary Blaster, there are four buttons and each of them represent a base and the first base is multiplied by one, the second base is multiplied by two, the third base by four and the fourth base by eight. How the binary blaster works is first you have to turn it on and then the binary blaster displays numbers on its 7-segment displays. Upon startup and before beginning of game, a few of the buttons below the two 7-segment displays will light up corresponding to the buttons that would have to be pressed when the game is being played.
How Binary works
In our number system of decimal there are 10 digits, 0,1,2,3,4,5,6,7,8, and 9. In binary there are only two digits, 0 and 1. Binary is how we could give instructions to a computer so that it knows what to do. The numbers that are in decimal can be represented in binary. Every digit in binary is multiplied by a number based on their placement. For example, 0001 is equal to one because the one is being multiplied by one. Also 0011 is equal to three because the right-most one is multiplied by one and the second one is multiplied by two, and one plus two equals three. Here are some examples:
- “1” = 0001
- “2” = 0010
- “4” = 0100
- “8” = 1000 Fun fact: Binary comes from how a computer is made, whether the transistors that make up a computer are open or closed.