Today we learned we're starting a robot project.
Above are the requirements for the prototype.
At the end of our project we plan to make Sumo Bots.
Above are the requirements for our final Sumo Bots.
Today we mapped out the servo wiring in TinkerCAD.
I can take the way they balanced the robot as inspiration .
I can take the way the robot is built tall for inspiration for my robot.
I can take the face of the robot as inspiration for mine.
Today we created the battery power wiring in Tinker CAD.
Today we made our base for our robot.
#include <Servo.h>
Servo left; // create servo object to control a servo
Servo right; // 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() {
left.attach(9); // attaches the servo on pin 9 to the servo object
right.attach(11); // attaches the servo on pin 9 to the servo object
}
void Forward() {
left.write(180); // tell servo to go to position in variable 'pos'
right.write(0); // tell servo to go to position in variable 'pos'
// waits 15ms for the servo to reach the position
}
void Backwards()
{
left.write(0); // tell servo to go to position in variable 'pos'
right.write(180); // tell servo to go to position in variable 'pos'
}
void Leftturn()
{
left.write(90); // tell servo to go to position in variable 'pos'
right.write(0); // tell servo to go to position in variable 'pos'
}
void Rightturn()
{
left.write(180); // tell servo to go to position in variable 'pos'
right.write(90); // tell servo to go to position in variable 'pos'
}
void Stop()
{
left.write(90); // tell servo to go to position in variable 'pos'
right.write(90); // tell servo to go to position in variable 'pos'
}
void loop() {
Forward();
delay(1000);
Backwards();
delay(1000);
Leftturn();
delay(1000);
Rightturn();
delay(1000);
}
Today we used Onshape to sketch out our wheels and transfer them to Glowforge.
This is the final result of our wheels after going through the Glowforge.
Today we successfully connected our robot to our phones and we were able to adjust the LED Brightness and have that be displayed on the computer.
Today we put our hobby wheels on a new base. We are now prepared to see the hobby robot properly move.
Finalized Robot Presentation
With my robot, I wanted to use the colors purple and orange so I researched common things that have the colors purple and orange incorporated in them and that's when I saw a picture of a FedEx truck.
The video couldn't upload here so I added the video to the Google Classroom assignment.
My robot's wow factor is how smooth it moves and the attachment in the front to slide under my opponents and push them out of the circle.
My robot's advanced features are the wheels that were created in Onshape.
Today we learned we're starting a Dog kennel or Kitty project.
These are the first sketches that I made based off of modern homes.
This is the detailed sketch of my dog house.
Today we made a sketch and scaled it down to 1:8 scale.
Today we created the first onshape file of our dog house.
This is a picture of my Adrafruit Feather lighting up after I watched our instructional video.
The goal of this model is to print an image and accurately guess who is in the image.
We used the images from Google Drive folders to train the model.
First, this model takes the images from the multiple folders I created with different images of my classmates. Secondly, It loads the data of my classmate's images and trains it to print any one of the images in my folder at random. Thirdly, I test it to see if can accurately guess who is in an image and then I get it to call the predict and probabilities function so I can see what the computer thinks who's in the image, and how likely what the computer thinks is correct. I finally, evaluate how accurate the computer's guess are on how is in the images.
The model does this with an accuracy of 0.9333.
Bonus:
The process of learning Python is an exciting journey that requires commitment, practice, and patience. As a beginner, I started with the basics, such as learning the syntax of the language. Then, we gradually progressed to more complex topics, such as data structures, loops, and functions.
Data structures: Data structures are essential components in Python that allow us to store and manipulate data in an organized and efficient manner. Some common data structures in Python include lists, tuples, dictionaries, and sets.
Loops: Loops are an essential part of any programming language, and Python is no exception. The two most common types of loops in Python are the for loop and the while loop. These loops allow us to execute a block of code repeatedly, based on a certain condition.
Functions: A function is a block of code that performs a specific task. Functions are incredibly useful in Python because they allow us to break down complex programs into smaller, more manageable pieces.
From the perspective of a computer, an image is simply an array of numbers that represent the colors of each pixel in the image.
Machine Learning is a field of study that focuses on the development of algorithms that can learn from data and make accurate predictions or classifications.
In Machine Learning, building a model refers to creating an algorithm that can learn from data and make predictions or classifications.
Training a model refers to the process of teaching the algorithm to recognize patterns in the input data.