Recitation 5: Leander’s Report

In today’s class, we made a workout circuit based on the tilt switch. We applied the instruction to building and tested the circuits to let them fit our demand situation. We try to use the special function of the tilt switch to count our movement. The process was separated into three different parts

Step 1: Detecting transition

we use the workout circuits to count the number of our movements. At the time we rolled the tilt switch, the program will detect it and plus one based on 1 for each time. IMG_0101

const int SENSOR_PIN = 6;  
  
int tiltVal;

void setup() {
  pinMode(SENSOR_PIN, INPUT);    // Set sensor pin as an INPUT pin
  Serial.begin(9600);
}

void loop() {
  // read the state of the sensor
  tiltVal = digitalRead(SENSOR_PIN);
  Serial.println(tiltVal);
  delay(10);
}

Step 2: Serial Plotter

We used the graph instead of the number in the serial monitor so that we can view the changes in the way we move the tilt sensor more obviously. 

const int SENSOR_PIN = 6;
int tiltVal;
int prevTiltVal;
void setup() {
 pinMode(SENSOR_PIN, INPUT);    // Set sensor pin as an INPUT pin
 Serial.begin(9600);
}

void loop() {
 // read the state of the sensor
 tiltVal = digitalRead(SENSOR_PIN);

 // if the tilt sensor value changed, print the new value
 if (tiltVal != prevTiltVal) {
   Serial.println(tiltVal);
 }
 prevTiltVal = tiltVal;

 // for Serial Plotter use
 //Serial.println(tiltVal);

 delay(10);
} 

IMG_0102

Step 3/4: Workout

 

const int buttonPin = 6; 
int buttonState;             // the current reading from the input pin
int lastButtonState;
int haha=0;
// the previous reading from the input pin

// the following variables are unsigned longs because the time, measured in
// milliseconds, will quickly become a bigger number than can be stored in an int.
unsigned long lastDebounceTime = 0;  // the last time the output pin was toggled
unsigned long debounceDelay = 0;    // the debounce time; increase if the output flickers

void setup() {
  pinMode(buttonPin, INPUT);
  Serial.begin(9600);
  Serial.println("Start your workout");
}

void loop() {


   debounceDelay=millis()-lastDebounceTime;
   
  // read the state of the switch into a local variable:
  int reading = digitalRead(buttonPin);
  
//  // If the switch changed, due to noise or pressing:
//  if (reading != lastButtonState) {
//    // reset the debouncing timer
//    lastDebounceTime = millis();
//  }
if (debounceDelay<=20000){
  if ( reading != buttonState) {
    // whatever the reading is at, it's been there for longer than the debounce
    // delay, so take it as the actual current state:
      buttonState = reading;
      haha++;
     Serial.print("You've down curls for ");
      Serial.print(haha);
      Serial.println(" times.");
  }
}
  else {
    lastDebounceTime=millis();
    Serial.println("Stop, your time is up!");
  }
  // save the reading. Next time through the loop, it'll be the lastButtonState:
  lastButtonState = reading;

 //if you want to use Serial Plotter, add these two lines:
  //Serial.println(buttonState);
  //delay(1);
}
 
Exercise 1:Biceps Curls

  IMG_0257

Exercise 2: Jumping  Jacks IMG_0258

Below is my illustration sketch:

Recitation 4- Documentation by Leander

Question 1: What kind of machines would you be interested in building? Add a reflection about the use of actuators, the digital manipulation of art, and the creative process to your blog post.

I wanted to create a machine that could implement virtual reality like “Ready player one”. Through the real-world supporting facilities, the player can get the same touch feeling during the game as the same as realities. With the continuous development of science and technology in the future, the replacement rate of machines for workers will gradually increase. People will spend more time having fun than going to the office. In this case, virtual reality will help people get the best entertainment experience at the lowest cost.

 

 

 

Question 2: Choose an art installation mentioned in the reading ART + Science NOW, Stephen Wilson (Kinetics chapter). Post your thoughts about it and make a comparison with the work you did during this recitation. How do you think that the artist selected those specific actuators for his project?

I’m impressed by the Matt Heckert, Centripetal Sound Machines, 2004. Which is a device contained by the striker and motor that can lift the metal track goes up and down to make the sounds. The author said that he want to build the project to make the audience feel inside the system. The difference is that my writer can’t write automatically. We need to turn the resistor to give the program a signal to rotate the arm. His product gives the viewer a more immersive experience, whereas ours simply changes the position of the nib by turning the photoresistor to create a writing effect. At the same time, because of manual control, our finished products are not very beautiful, or even can not accurately draw the works we want to express. Firstly, we apply the diagram to build the circuits which contained the motor used to move the mechanical arm. Each circuit is just half part of the final project. I and Rena formed as partners
 to combine our circuits.

BDD528A2-B3A2-4EF0-810D-3310EDFDF02F

Step 4: Reflect

Idea:

Our project comes from the story “the winter market”. The heroine in the story asks “me” to record her dream which inspired us to think about designing a project about dream recording. After we have a brief talk with our teammates, soon had a final idea that was made up of parts of each person’s ideas. The project basically contains the main brain and four helmets which are connected by the channels. We want to use the main brain to store and transmit emotions. We hope that through this form, people with different ideas can understand each other. Reduce conflict and misunderstanding. It’s like today’s world where countries are divided by race, language, and religion. But when people have more cultural exchanges, more consensus, and less misunderstanding, there will be fewer wars in the world.

Process:

Miranda and I made several prototypes to help people choose which products are more in line with our ideas more straight. After we decide on our final product, we start to work on it. Because I like manual activities very much, I have been helping my teammates to cut cardboard and paste cardboard with glue guns. When making the final brains, we wanted to make the brains look more creative, so we just randomly pasted colored stickers on the board to make the brains look more sci-fi. I really like the vibe of our team when we work together, people were willing to take advice from others before we get a consensus. That’s how our project came out, with an insane brainstorm.

For the improvement, I think that after viewing the project from other groups, I thought that we should add more plots in our final presentation. What we did are just present the basic functions of the devices instead of a complete story background,

 

 

I really love the sponge bob group! First of all, Using SpongeBob Squarepants as a backdrop is a very creative idea. And their project that using gloves to detect whether the workers are felt a lot of pressure and anxiety or not due to the overload work is also a really meaningful project. Nowadays, employers are used to exploiting their employees and seem that is their duty to occupy their leisure time of overtime working. Their project really revealed this social phenomenon and want to use this way to inspire people to enjoy more life for themselves.

Recitation-3

The Circuits:

 

circuits code:

#include “pitches.h”

// notes in the melody:
int melody[] = {
NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4
};

// note durations: 4 = quarter note, 8 = eighth note, etc.:
int noteDurations[] = {
4, 8, 8, 4, 4, 4, 4, 4
};

int sensorPin = A1; // select the input pin for the potentiometer
int buzzerPin = 8; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor

void setup() {
Serial.begin (9600);
pinMode(sensorPin, INPUT);
pinMode(buzzerPin, OUTPUT);
}

void loop() {
// read the value from the sensor:
uint16_t value = analogRead (sensorPin);
double distance = get_IR (value); //Convert the analog voltage to the distance
//Serial.println (value); //Print the data to the arduino serial monitor
Serial.print (distance);
Serial.println (” cm”);
Serial.println ();

if (distance < 10) {
tone(8, NOTE_A3);
}
if (distance >= 10 && distance < 30) {
tone(8, NOTE_G3);
}
if (distance >= 30 && distance < 50) {
tone(8, NOTE_G3);
}
if (distance >= 50 && distance< 70 ) {
tone(8, NOTE_C4);
}

if (distance >= 70) {
noTone(8);
}

Serial.println (distance);
delay(500);

}
//return distance (cm)
double get_IR (uint16_t value) {
if (value < 16) value = 16;
return 2076.0 / (value – 11.0);
}

Question 1: What did you intend to assemble in the recitation exercise? If your sensor/actuator combination were to be used for pragmatic purposes, who would use it, why would they use it, and how could it be used?

We are going to make an Infrared Distance Sensor with a different melody. The buzzer will play the songs with different tones. We use the data of the sensor as an input and the buzzer as an output. Then the range of code on Arduino will receive the data from the sensor which will stimulate the different tones by the distance of hand. Different tones depend on the distance your hand with the sensor. The notes in these different tones add up to something like a complete piece of music. We can even create beautiful music by varying the distance between the hand and the sensor. I think it’s a really interesting design. When my partner and I were discussing how to add some fancy functions to the sensor, she suddenly suggested adding more musical elements to the code. Although it wasn’t easy, we asked Andy for help. I think that this product can be used as an electronic instrument which can use in the future in the band. In this play pattern, the performer can combine dance with play behavior. 

Question 2: Code is often compared to following a recipe or tutorial.  Why do you think that is?

I think recipes and coding, help us do our projects better. Coding is like recipes, containing opponents, procedures, and goals to achieve. Firstly, the recipe contains ingredients and processes of cooking. You can follow every step from the recipe to cooking food. Same as the code that code will represent a standard for input stuff which will stimulate it to do the next step.  Same that the behavior of input stuff is according to the code.

 

Question 3: In The Language of New Media, Manovich describes the influence of computers on new media. In what ways do you believe the computer influences our human behaviors?

I think in the era before computers, people often spend a lot of time on manual recording, calculation. This would take a lot of time and be inefficient. Computers helped people solve these problems soon after they appeared. Computers can improve human productivity more efficiently. For example, the analysis and processing of a lot of big data will make it easier for human beings to summarize rules and help them better complete some complex tasks. At the same time, human beings can put more energy into the innovation research of products rather than memorizing data and information. Moreover, computers can also help humans better simulate the virtual environment. Some product designs and experimental ideas of humans can be simulated on the computer first, which can reduce the number of mistakes and help to achieve better success.

My Inventions From Tree Fictions

 

1.Paragraph describing my idea for the story The Winter Market

My Inventions: Jung’s Ship:

This is a product created on the basis of Dry Dreams, and consumers input their needs through a computer, Jung’s ship is actually a program that can design dreams to create a virtual world with specific physical laws and package them into hard-wired forms(data). Just like the plot in fiction, Consumers will translate themselves into the form of hard-wired (data)and input into the fast-wipe(computer). Put on the trodes , reach for the stud on the fast-wipe, and use neuroelectronics(wires) will deliver the mind of the consumer into the virtual world. All the real touches in this virtual world are exactly the same as the realistic word, the consumer is the creator of this world (God). He can change the shape of objects

as he wishes, but still, obey the specific physical laws set at the time of creation (even though these physical laws were set up by the consumer himself as input in Jung’s ship). Even though this technology hasn’t been achieved, the technology to accurately record people’s dreams may be available in the near future, according to researchers in California. The technology can also record the activity of the human brain.(BBC,2018)

Problems: The issues of Jung’s ship may cause some unnecessary problems. For example, hurting others in the virtual world. Although it does not actually happen in the real world, the feedback mechanism without punishment for users’ behaviors will have an impact on users’ tendency of violence to a certain extent.

2. Paragraph describing my idea for the story Newton’s sleep

My invention: brain editor:

In this novel, scientists as rulers rule the newly built society in orbit space. I want to create a brain editor by implanting chips in the brains of each resident and connecting the brain editor to the human brain to implant the decisions of the ruler into the brains of the residents, such as laws, future plans, etc. This makes people can better understand and execute the ruler’s plan, ensure that all the individual residents will obey the general will, protect the execution of all the decisions, and implementation of effective safeguards for the interests of the collective. But to some extent, it sacrifices many people’s sense of freedom and independence for the public profits of society.

Problems: People can only act according to the decisions of scientists, which will make it even harder for religion to exist.

 

3. Paragraph describing my idea for the story The Fish of Lijiang

My inventions: Timebank

In the article, the description of capitalists through the use of the time of the working class to create wealth and use the technology to extend his life made me think of I once saw a movie “In time”. My design is to create a machine “the time bank” which can be used to store the time of pain or happy time in the “time bank”. Both the painful and joyful experiences of the working class under oppression can be classified and stored in the “time bank”. It will help relieve the burden on the human brain and reduce the damage of painful memories. At the same time in the future can also call up the happy time, immersive review the feeling at that happy time.

Problem: The unbalance wealthy between the working-class and capitalists maybe cause it’s hard for the working-class to get access to this technology and make the society more unfair and stimulate the class conflictions

 

Recitation 1 – Documentation

Q1:What is the function of resistor R1 To limit the current pass into the circuits. Because if we review the whole circuit we can find that the circuits are composed of LED diodes, batteries, buttons, wires. And the diode has a limit interval of voltage. “There is a specification for diodes called the characteristic (or recommended) forward voltage (usually between 1.5-4V for LED)”(Skill Level: Beginner, & | December 02, 2010 | 42 comments. (n.d.). Led current limiting resistors – SparkFun Electronics. Retrieved February 17, 2022) For diodes if we exceed the maximum amount of voltage, the resistance will drop off and current will increase and burn the diode. Therefore, according to Ohm’s law: V=IR that use the resistors will keep current in a rationale range and avoid burn the diode.   Q2: Following the circuits to draw the diagram by yourself                                  Q3: After reading The Art of Interactive Design, in what way do you think that the circuit you built today includes interactivity? Which degree of interactivity does it possess? Please explain your answer.  In today’s project we built a little monster by me and my partner Stephen. We got a button and if you click the button the buzzer will make the sound of buzz, just like the yell of a Monster. And the lights inside of the circuits will turn on to demonstrate that the circuits are working. According to the concept in “art of interactive”, to prove this project includes interactivity, we need to separate the whole process into three steps and we assume that the person who gives the action is named “A”. Step one: “A” click the button, circuits are complete and current is flowing inside of the circuits. Step two: The buzzer and light receive the electricity. Step three: electricity powers the buzzer and light and makes it work. So in this way i think that because there is no feedback which is given by computer program. The interactive degree of our project is low.   Q4: How can Interaction Design and Physical Computing be used to create Interactive Art? You can reference Zack Lieberman’s video or any other artists that you know. I’ve read a video of an artists named Refik Anadol. He’s surreal installations is made up of millions of tiny pieces. Every point represent a piece of data that he’s fed through a neural network . He try to make the data become to pigment. And every time he input the new image or video into the algorithm and the program will achieve the process of self learning and transmit these resources into data and present it mostly on the wall of some building or sculpture。In his idea, that he used to use wind, cloud, water to inspired him and give him some inspiration which he has a idea in his mind that use the wind as a data and also a pigment. That the outlook of his artwork will change with temperature. So firstly, their team collected a one year long data of wind from Boston, which consist of dust speed, direction and even temperature. All these data combine together and show us an abstract image which were automatic design by the algorithm. He believe that this technology will help human to obtains more unexpected discovery.

Hello world!

Welcome to Web Publishing @ NYU. This is your first post. Edit or delete it, then start creating your site!

Online help is available via the Web Publishing Knowledge Site (wp.nyu.edu/knowledge) and the ServiceLink knowledge base (www.nyu.edu/servicelink). Through ServiceLink, you can find step-by-step instructions, as well as tutorials.

Digital Accessibility

As content creators who create and publish text, images, video, and audio, you must adhere to the NYU Website Accessibility Policy (https://www.nyu.edu/digitalaccessibility/policy) when creating and publishing digital content.

Web Publishing-specific Digital Accessibility Best Practices and examples of how to ensure your content are compliant are available at https://wp.nyu.edu/digitalaccessibility

If you have additional questions, contact the IT Service Desk for assistance. Support is available 24/7/365. For more details, visit www.nyu.edu/it/servicedesk.