0% found this document useful (0 votes)
48 views3 pages

Grade 9 Robotics Project #1.3 LED Blinking in Series Using Tinkercad

The Grade 9 Robotics Project involves creating a circuit with 5 different colored LEDs that blink in series using Tinkercad. Students must set up the circuit, write the Arduino code, simulate the blinking sequence, and submit the project via a Google Drive link by September 30, 2024. Grading is based on circuit setup, working code, creativity, and proper submission of required files.

Uploaded by

antonestrada1990
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views3 pages

Grade 9 Robotics Project #1.3 LED Blinking in Series Using Tinkercad

The Grade 9 Robotics Project involves creating a circuit with 5 different colored LEDs that blink in series using Tinkercad. Students must set up the circuit, write the Arduino code, simulate the blinking sequence, and submit the project via a Google Drive link by September 30, 2024. Grading is based on circuit setup, working code, creativity, and proper submission of required files.

Uploaded by

antonestrada1990
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Grade 9 Robotics Project #1.

3: LED Blinking in Series Using Tinkercad

Objective:

Students will create a circuit with 5 different colored LEDs that blink in series using Tinkercad.
You will design the circuit, write the Arduino code, simulate the blinking sequence, and then
save the project. After completion, submit your project by sharing the Google Drive link with
your teacher.

Materials Needed:

 Tinkercad Account (Log in at www.tinkercad.com)


 Arduino Uno (in Tinkercad)
 5 LEDs (different colors) Red, Yellow, Green, Blue and Orange
 5 Resistors (220Ω)
 Breadboard
 Jumper Wires

Instructions:

Step 1: Setting Up the Circuit in Tinkercad

1. Open Tinkercad:
o Log into your Tinkercad account and select "Circuits" from the dashboard.
o Click on "Create new circuit".
2. Add Components:
o From the components library, drag and drop the following components onto the
workspace:
 Arduino Uno R3
 Breadboard
 5 LEDs (choose different colors)
 5 Resistors (220Ω)
 Jumper Wires
3. Connect the LEDs:
o Place the 5 LEDs on the breadboard. The longer leg of each LED is the positive
(anode), and the shorter leg is the negative (cathode).
o Connect the negative leg of each LED to the GND rail of the breadboard using
jumper wires.
o Connect the positive leg of each LED to a 220Ω resistor, and then connect each
resistor to different Arduino digital pins:
 LED 1 → Pin 2
 LED 2 → Pin 3
 LED 3 → Pin 4
 LED 4 → Pin 5
 LED 5 → Pin 6
4. Connect Ground:
o Use a jumper wire to connect the GND pin on the Arduino to the GND rail of the
breadboard.

Step 2: Writing the Arduino Code

1. Open the Code Editor:


o In the Tinkercad circuit workspace, click on the "Code" button at the top right.
2. Write the Code:
o Replace the default block-based code with the following Arduino code:

cpp
Copy code
// Pin numbers for the LEDs
int led1 = 2;
int led2 = 3;
int led3 = 4;
int led4 = 5;
int led5 = 6;

void setup() {
// Set LED pins as output
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(led5, OUTPUT);
}

void loop() {
// Turn on each LED in sequence, with a delay
digitalWrite(led1, HIGH); // Turn on LED 1
delay(500); // Wait for 500 milliseconds
digitalWrite(led1, LOW); // Turn off LED 1

digitalWrite(led2, HIGH); // Turn on LED 2


delay(500);
digitalWrite(led2, LOW);

digitalWrite(led3, HIGH); // Turn on LED 3


delay(500);
digitalWrite(led3, LOW);

digitalWrite(led4, HIGH); // Turn on LED 4


delay(500);
digitalWrite(led4, LOW);

digitalWrite(led5, HIGH); // Turn on LED 5


delay(500);
digitalWrite(led5, LOW); // Turn off LED 5
}

3. Test Your Program:


o Click "Start Simulation" in Tinkercad to test your circuit. The LEDs should
blink one after another in a series with a half-second delay between each.
4. Troubleshoot:
o If the simulation doesn’t work as expected, check your wiring and code for any
errors.

Step 3: Saving and Submitting the Project

1. Save Your Tinkercad Project:


o Once the circuit and code are functioning, name your project “Grade 9 Robotics
Project #1.3_LED Blinking - [Your Name]”.
o Click on "Share" and copy the link to your Tinkercad project.
2. Upload to Google Drive:
o Create a Google Drive folder named "Grade 9 Robotics Project #1.3_LED
Blinking".
o Upload any additional files (like a screenshot of the working circuit) if needed.
o Copy the Google Drive link for the folder.
3. Share the Link:
o Send the Google Drive link to the teacher's email: [email protected].
o Submit the link in the Aralinks folder as directed by the teacher.

Grading Criteria (30 Points):

1. Correct Circuit Setup (10 points):


o Proper connections of the Arduino, breadboard, LEDs, resistors, and wires.
o Each LED should be properly connected to its assigned pin.
2. Working Code (10 points):
o Code compiles and runs without errors.
o LEDs blink in the correct sequence with appropriate timing.
3. Creativity and Presentation (5 points):
o Creative use of the LEDs and neat arrangement in Tinkercad.
o Clear naming of the project and organized submission.
4. Submission (5 points):
o Google Drive link is submitted correctly via email and Aralinks.
o All required files (Tinkercad project and screenshots if any) are included.

Deadline:

 Ensure the project is submitted on or before September 30, 2024.

Good luck, and enjoy building your LED blink series!

You might also like