Urban Motion Marvels [Master]

Podcars

Kate James

https://intrans.iastate.edu/news/green-transportation-innovations-autonomous-pods/">https://intrans.iastate.edu/news/green-transportation-innovations-autonomous-pods/

Car "Thingy" Generator

Keenan Gray

https://rednuht.org/genetic_cars_2/

Prototyping Fast

Jiyoo Jye

Sketching Your Ideas

Luis Carbajal

Tips for Using a Utility Knife on Cardboard

Luis Carbajal

How to Measure Using Calipers

Luis Carbajal

Servo Motor

Chris Perry

Overview

We will be combining our fish mouths with the Arduino to create a robotic fish for this activity!

Part 1: Materials

In addition to your Arduino materials and fish mouth, you will need:

  1. Hot glue gun
  2. Cutting Mat
  3. Servo Motor
  4. Jumper Wires
  5. Floral Wire
  6. Pencil/pen

Ultrasonic Sensor Servo Arm

Jiyoo Jye
ServoArm_Toolbox.ino

PIR Motion Sensor

Liam Brady

PIR sensors (or passive infrared sensors) are motion sensors that measure subtle changes in infrared light in the room and register that change as movement. The processing is done on the chip and it outputs a current based on whether or not it detects motion.

int pin = 2;

void setup(){
  pinMode(pin, INPUT);

  pinMode(13, OUTPUT);
}

void loop(){
  int pirVal = digitalRead(pin);

  if (pirVal == 0) {
    digitalWrite(13, HIGH);
  } else {
    digitalWrite(13, LOW);
  }

  delay(100);
}

Infrared Distance Sensor

Liam Brady

Infrared distance sensors are sensors that measure how far away an object is by shooting infrared light at the object and measuring how much light is reflected back. They output an analog current which can be read by the Arduino.

void setup() {
  Serial.begin(9600);
}

void loop() {
  int val = analogRead(A0);

  Serial.println(val);

  delay(100);
}