This is what we have done in the first day of instruction. We learned how to wire a servo and found our code for it.
/* Sweep
by BARRAGAN <http://barraganstudio.com>
This example code is in the public domain.
modified 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Sweep
*/
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}
Today in class we used the code that we gathered last class, and got the motor to go back and fourth.
In class we had some extra time so we wired our second servo to the bread board.
In class we did not have much time but we got our servos to work independently.
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
Servo keith;
int pos = 0; // variable to store the servo position
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
keith.attach(6);
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 0; pos <= 360; pos += 1) { // goes from 0 degrees to 360 degrees
// in steps of 1 degree
keith.write(pos); // tell servo to go to position in variable 'pos'
delay(6); // waits 15ms for the servo to reach the position
}
for (pos = 360; pos >= 0; pos -= 1) { // goes from 360 degrees to 0 degrees
keith.write(pos); // tell servo to go to position in variable 'pos'
delay(6); // waits 15ms for the servo to reach the position
}
}
Today we used batteries to power our servos.
In class we created our first prototype of our robot out of cardboard.
#include <Servo.h> // this is a preprogrammed library that helps control servos
Servo leftservo; // this defines the servo and names it myservo
Servo rightservo; // this defines the servo and names it myservo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
leftservo.attach(9); // attaches the servo on pin 9 to the servo object
rightservo.attach(6); // attaches the servo on pin 9 to the servo object
}
void loop() {
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
leftservo.write(0); // tell servo to go to position in variable 'pos'
rightservo.write(180);
delay(1000); // waits 15ms for the servo to reach the position
leftservo.write(180); // tell servo to go to position in variable 'pos'
rightservo.write(0); // tell servo to go to position in variable 'pos'
delay(1000); // waits 15ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes= from 180 degrees to 0 degrees
leftservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
rightservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
rightservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}
Today we got our servos to go front back and left right .
#include <Servo.h> // this is a preprogrammed library that helps control servos
Servo leftservo; // this defines the servo and names it myservo
Servo rightservo; // this defines the servo and names it myservo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
leftservo.attach(9); // attaches the servo on pin 9 to the servo object
rightservo.attach(6); // attaches the servo on pin 9 to the servo object
}
void loop() {
leftservo.write(0); // tell servo to go to position in variable 'pos'
rightservo.write(180);
delay(2000); // waits 15ms for the servo to reach the position
leftservo.write(180);
rightservo.write(0);
delay(1000); // waits 15ms for the servo to reach the position
leftservo.write(0);
rightservo.write(0);
(delay)(1000);
leftservo.write(180);
rightservo.write(180);
delay(1000);
}
We got the servo to go back and fourth, left and right.
#include <Servo.h> // this is a preprogrammed library that helps control servos
Servo leftservo; // this defines the servo and names it myservo
Servo rightservo; // this defines the servo and names it myservo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void setup() {
leftservo.attach(7); // attaches the servo on pin 9 to the servo object
rightservo.attach(8); // attaches the servo on pin 9 to the servo object
}
void loop() {
leftservo.write(0); // tell servo to go to position in variable 'pos'
rightservo.write(180);
delay(2000); // waits 15ms for the servo to reach the position
leftservo.write(180);
rightservo.write(0);
delay(1000); // waits 15ms for the servo to reach the position
leftservo.write(0);
rightservo.write(0);
(delay)(1000);
leftservo.write(180);
rightservo.write(180);
delay(1000);
}
This is a gear box that is supposed to help our robot move more efficient. We used the gear box to indicate if we need bigger wheels and calculate the speed of which the wheel moves.
In class I was able to get my sensor to detect distance from objects. I had to reprogram my robot so it could detect distance.
This is my robot working in the final design
It took me to my final project to get the sensor to work. But it demonstrates that my sensor helped to miss a wall.
This is the guidelines of my project
The table saw cut wood primarily along the length of the wood
it cuts straight lines
to be safe with saw
Do(safety glasses when operating, remove loose clothing, use the rip fence or the miter gauge, use the feather board, rip cuts with fence , cross cuts with fence, cross cuts with miter gauges, use a push stick.)
Don't(don't put fingers within 6 inches of saw, cross cut with rip fence, standing in front of the blade, operate with tripping hazards in the area, don't leave without vacuuming)
Today was our first day using the table saw and we were very successful.
Do's( wear ear protection, wear safety glasses, adjust the cutting thickness to within the 1/16' of the material thickness prior to cutting, unplug when finished, attached the vacuumed before using
Don'ts (put fingers near the opining, Pass any material but wood through the machine, pass wood with screws through the planer
This tool cuts biscuit shaped holes on your material
so that you can assemble your parts to be both.
1) Perfectly Aligned
2) Sturdy
Once you biscuit, you glue your parts together
creating what is called a "glue up". Safety rules: Wear safety glasses, make sure it is set for the appropriate size amount, make sure you set the height in the middle of the material mark both sides of the material, camp a block in front of material each time. Don't put your fingers near tho blade when it is plugged in. and don't assume the blade will come out of the materals
Do's ( wear safety goggles secure the material with placement away from blade, vacuum after use, unplug saw after class )
Dont's ( touch the blade, use small materials on the miter saw because your hand might be too close, plug in saw with the cord across body, measure while material is on the saw,)
VCARVE PRO is used to develop simple designs for
cutting/engraving. Onshape files are used for more complex designs Shopbot software actually controls the machine and runs the CAD files.
Safety tips: Run the dust collector vacuum after use, wear ear protection, wear safety goggles. secure your material (with screws or clamps), and design around your screws. Don't leave the CNC while it is running, and don t go near the gantry
Used to smooth out surfaces and get rid of jagged
edges
Safety rules: Wear safety glasses, keep your sander moving at all times, be careful not to place sander on your skin. Don't operate the sander without asking the teacher, don't touch the sand paper while the sander is operational, and put the sander on surfaces that can be damaged by the sander.
This is a combination lock made out of cardboard. It is able to be made in class and able to be mad out of different materials. Because the only thing diffrent from our box is the combination. I don't know if we dont know the measurements
This is a puzzle/ combination lock were you have the wooden stick under the lock so you have to get the combination correct so you can unlock the lock. it is able to be made in class Because the only thing diffrent from our box is the combination. I don't know if we dont know the measurements
This is a wooden key lock it has a molded imprint on the inside of the lock itself so when the key gets inserted into the lock it turns a certain way then the gears turn and it unlocks.it can not be made in class in my opinion because i think it takes a lot of precision to make some of these cuts in class but it is posible. It can meet the requirements but it is very difficult to make .
This is a Cardboard key lock it has a molded imprint on the inside of the lock itself so when the key gets inserted into the lock it turns a certain way then the gears turn and it unlocks. I think we can make this one unlike the woden one because it does not require as many precise cuts in the cardboard. It does meet the requirements fo the project.
This is a wooden key lock it has a molded imprint on the inside of the lock itself so when the key gets inserted into the lock it turns a certain way then the gears turn and it unlocks.it can be made in class. But i will say it will be very difficult to make but it should be a fun make
these two latch bolt holders hold the rotors and the metal part that actually gets locked
This is my rotor 1 that we made on onshape
This is my rotor 2 that we made on onshape
This is my rotor 3 that we made on onshape
This is my final lock. In this video it shows how our lock works. It show that everything that we added worked.
This is our first day making this so we have a lot of improvements
I had to remake my lock to make it bigger. And i added the key and the actual lock piece.
I remade my lock mechanisms and made a paperclip my key
1)Create your file in Onshape
2)Right click on the file (or sketch) and click export to DXF.
3)Open the Inkscape Software
4)Open your file in Inkscape
5)Save your file to another filename (SVG filetype)
6)Login to Glowforge (create your account if needed).
7)Click Create New
8)Click Upload
9)Select your file
10)For Material select â…•" corrugated cardboard.
11)Under Proofgrade Cut, Speed should be set to 440.
12)Make sure your drawing is on top of the material (within the
limits of the material).
13)Click Print.
14) Push the blinking button on the glowforge.
15)Monitor the glowforge for the duration of the cut for fire
16) Pleas remove materials with cuts
I had to make another prototype because my first one was not functonal
This my frame with my hook and i am soon to be done with my assignment
This is the video that shows that my prototype is functinal
I made my key on the glowforge then altered it on the band saw
This shows that i have compleated most of my lock i just have to make my covering and then i would be done.
This shows the final product of my lock and that it keeps my box closed
This is my poster displaying a machine learning model. We learned about this from a georgia tech profesor. He taught us about python and machine learning. This is the aftermath of what we learned from the professor.
In my machine learning project we created a model that was able to reconise color and shape to differ certain objects at a 90% or higher accuracy
The dataset I gathered has 196 photos, 49 of each object, each with a resolution of 48x48 pixels.
In class i collected data useing pictures. I used objects around the engenering classroom. The objects i used a drill, scraper, sander, and goggles. Then i gathered the data inside of my google drive. Then we used our colors code as a starting point.
The dataset I gathered has 196 photos, 49 of each object, each with a resolution of 48x48 pixels. These photos were taken with a program that shoots a huge number of photos quickly, resulting in a dataset that is pretty comparable. To the left is a link to the Google Drive folder I made for this data, and examples of the photographs I shot are presented below.
The code I used to create the model may be found on the left. The first line uses a keras command to define the input and import the training tensors built earlier in the code. The second line of code constructs a dense layer with 1024 neurons and a sigmoid activation function to increase the model's accuracy. The output is given in the third line of code, along with a second dense layer to improve accuracy.
The third line uses another keras command to define the term "model," and the last line delivers a summary of the model.