Exercise 2: LED Blink

Ryan Ferguson

Arduino Servo Lab

Instructions

1. Follow the diagram above to create your servo circuit.

2. Copy and paste the text below into your Arduino sketch. Run the sketch. 

///////////////////////

// the setup function runs once when you press reset or power the board

void setup() {

  // initialize digital pin LED_BUILTIN as an output.

  pinMode(13, OUTPUT);

}


// the loop function runs over and over again forever

void loop() {

  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)

  delay(1000);                       // wait for a second

  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW

  delay(1000);                       // wait for a second

}

Exercise 1: Turn a Servo Motor

Ryan Ferguson

Arduino Servo Lab

Instructions

1. Follow the diagram above to create your servo circuit.

2. Copy and paste the text below into your Arduino sketch. Run the sketch. 

///////////////////////

#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(11);  // 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

  }

}

Prompt: As a class, we will review the basics of Arduino electronics by looking at this Tutorial together. If you have not downloaded the software yet, make sure to follow the Installation instructions.

Next, we'll test a few core ways to use an Arduino. We'll be looking at three circuit examples (found below and in the File -> Examples folders in the Arduino IDE): 

  1. LED blink
  2. Fading an LED
  3. Servo Sweep

You'll be asked to build the circuit in the diagram and copy and paste the code into your "sketch," which is what Arduino calls the programs that control the Arduino. Don't worry about memorizing any of this, but you should take notes, pay close attention, and HAVE FUN!

Congratulations! And Final Survey :)

Joselyn McDonald

Congratulations, you've completed a NuVu Summer Studio! 

Now it's time to reflect and share your thoughts on the studio experience. Fill out the post-studio survey here: Summer 2024 Student Survey

Example Post: Vampire Squid

Jiyoo Jye
1 / 3

The Vampire Squid (Vampyroteuthis infernalis) is a mesmerizing and enigmatic deep-sea dweller, captivating the imaginations of scientists, marine enthusiasts, and curious minds alike. Don't let its name fool you; this extraordinary creature is not a bloodthirsty predator like its legendary namesake, but a peaceful marvel that embodies both beauty and resilience.

Residing in the murky and shadowy waters of the mesopelagic zone, the Vampire Squid occupies a realm seldom explored by humans. Its unique appearance immediately catches the eye – it boasts large, luminous blue eyes that can peer through the darkness of the deep ocean, evoking a sense of wonder and intrigue. Its reddish-brown skin is adorned with a striking pattern of photophores, bioluminescent cells that create a spectacular light show, enabling it to communicate and navigate through its dark habitat.

One of the most extraordinary features of the Vampire Squid is its cloak-like webbing, connecting its eight arms. When threatened, this mysterious cephalopod has a remarkable defense mechanism – it wraps itself in this veil of arms, resembling a vampire's cape, to confuse and discourage predators.


Make Your First Post - Using the Media Hub

Jiyoo Jye

How to use the Media Hub

Combine Video, Gifs, and Images and text, all in one post!

Dive into the mysterious depths of the ocean and discover the captivating world of aquatic animals! In this intro assignment, you will learn how to create your first post while sharing images, videos, and descriptions about a cool aquatic animal of your choice.  Unravel the secrets of extraordinary creatures as we embark on an adventurous journey through the realm of marine wonders.

Instructions

For this assignment, you will make your first post using the NuVu Studio Platform. After reviewing the tutorial, go to the Responses tab at the top of this page and make your first post. Make sure to include images, videos, and writing to complete the assignment.

Deliverable

  1. Using the Media editor, add 2 or more images of your sea animal. 
  2. Embed a video URL to show how the animal moves and behaves underwater.
  3. In the text field, write a description of the animal you found. Be sure to list at least three specific facts.
  4. Bonus points! Add caption texts to provide a description for each of your images.

Tip: Take a look at the Example Post of the Vampire Squid below

When you are logging into the platform for the first time (and don't know or haven't been given your password), you have two options: 

1. Use Google login (anyone can use, regardless of whether you have a Google email or not)

2. Use the password reset option. 

Both options are detailed below. 

Logging in with Google Authentication 

  1. Head to the top right and click on Log In
  2. Click on Log in with Google Authentication and you'll be brought to the Google Log in page
  3. Choose an account that is registered on our website. This should be your school email or whatever email you signed up to our site with. If you use an email that is not registered in our system, you will encounter an error.


STEP 1: In the top-right corner, click the word "login." 

STEP 2: When the black menu appears, click "reset password," enter your email address, and then click "Send Password Reset Link."


STEP 3: Check your email account for an email from NuVu. Be sure to check your junk email folder as well if you don't see the email in your inbox. Follow the instructions in the email to reset your password.

STEP 4: You should now see your name in the top right corner. Success! (your screen will look slightly different than mine). 

Prompt

Now that we've brainstormed and sketched and prototyped and FINALLY landed on a solid idea, it's time to delve into the realm of iterative design.

Iterative design is when you take your initial idea, get feedback, and improve upon that idea and your prototype in a cycle that can happen an infinite number of times (until you hit your deadline, of course!)

For this project, we will be making iterations that focus on FORM and FUNCTION

Instructions

Discuss the following questions with your partner:

How can you improve the FORM of your design?

  • Can you add another level of elegance, refinement, or more creativity to your design?
  • Does the shape of each component of your design have anything to do with its function or use?

Important: Make sure you really examine the full range of materials available to you in this studio and make thoughtful choices about which materials you're using and why.

How can you improve the FUNCTION of your design?

  • Does it move in the way you want it to?
  • Does your prototype work the way you want it to? What are some mechanical kinks that you need to work out?
  • Can you find additional precedents* for the type of mechanisms and functionality that you are incorporating into your design? Do a quick search to see if there is a project like yours out there. What inspiration can you gather from it? 


Deliverable

Create a post in the Responses tab that includes 3 photographs of your final prototype that clearly communicate how people engage with it