Arduino

Welcome to the Arduino Circuits and Programming class page. This class is designed for students with experience coding. This class requires you to write line by line computer code, in addition to building electrical circuits. No blocks or drag and drop programming is available. You will learn to write computer code in this class.

Here is a partial example of Arduino code:

void loop()

{

switchState = digitalRead(2);

if (switchState == LOW)

{

digitalWrite(green, HIGH);

digitalWrite(yellow, LOW);

digitalWrite(red, LOW);

}

else

{

digitalWrite(green, LOW);

digitalWrite(yellow, LOW);

digitalWrite(red, LOW);

digitalWrite(blue, HIGH);

delay(250);

Click on the link below to learn how to BUILD & PROGRAM an Arduino all virtually!

Virtual Arduino Directions

Classroom Textbook: Arduino Projects Book click HERE

In addition to writing computer code, you will be building the electrical circuits. To build the circuits, you will select the required components, and build the electrical circuit with the help of a breadboard. You will then program the completed circuit to perform a function. This class is designed to challenge students with prior coding knowledge. Required- Successful completion of the Scratch basic game design class provides you with the proper prior coding knowledge.

The links below will take you to each lesson. Make sure you follow the directions. If you have read the directions and still have questions make sure you ask Mr. Granahan. You MUST be signed into your gcj2.k12.wi.us account to view the lessons.

The Video below will go over how a breadboard works, and creating basic electrical circuits.

ONLY WATCH THE FIRST 7 MINUTES AND 30 SECONDS OF THIS VIDEO

Test your Resistor coding ability HERE

Resistor coding Quiz

If your computer is NOT allowing the directions to load when you click on a lesson below please try the following to fix the Securly error: Open another tab and complete a google search, then refresh the page with missing content, it seems to come up.

Lesson 1

Lesson 2

Lesson 3

Lesson 4

Lesson 5

Lesson 6

Lesson 7

Lesson 8

Lesson 9

Lesson 10

Lesson 11

Lesson 12