Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

s2323714

Ardruino:

In order to control the lights in the scene through buttons, I learned how to use C++to program the Ardurino board, connect the light strip and hardware (through welding), optimize and adjust the circuit. Responsible for the implementation process of light strips throughout the entire project

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=358&action=edit

Game :

I designed the entire Unity game scene switching and voiceover sound effects. The Unity section uses 32 buttons and scene switching scripts to read video playback time and control audio playback. All copywriting and art are completed by members of the same group, while I am responsible for the technical implementation and debugging of the Unity section .

In addition, I am responsible for building all the monitors and sound systems in the entire scene, and controlling the game in the background.

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=356&action=edit

Management:

We have weekly communication with Dave and our own group meetings (usually in the library). I lead the progress of each meeting and record everyone’s inspiration and important words. Mobilize all members and urge them to complete the task before DDL.

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=235&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=232&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=215&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=211&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=207&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=201&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=198&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=196&action=edit

https://blogs.ed.ac.uk/dmsp-perception23/wp-admin/post.php?post=187&action=edit

 

Following is the role I m in the project (In the last page of the  report):

Group Manager

Sound Part

Arduino Part

Equipment

Exhibition Work

Dismantling Work

Arduino code sample

//1. 呼吸灯-》sensor椅子触发-》固定颜色-》场景1灯光关闭,离开触发下一个
#include <FastLED.h>
const int switch_pin[5] = {25,33,32,35,34};
int switch_state[5][5];
// How many leds in your strip?
#define NUM_LEDS 10
// For led chips like WS2812, which have a data line, ground, and power, you just
// need to define DATA_PIN.  For led chipsets that are SPI based (four wires – data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
// Clock pin only needed for SPI based chipsets when not using hardware SPI
#define DATA_PIN 12  //需要连接12号引脚,在板子上 你
#define CLOCK_PIN 13
CRGB leds[NUM_LEDS];
int time_period = 1000; // 1000ms
// 刷新值
#define time_num  30
int led_values[time_num] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1};
// define variables
long duration;
int distance,distance_last;
// define mode array
// 0 is off, 1 is breathe, 2 is specific color
int led_mode[5] = {1,0,0,0,0};
int time_m, time_last;
int time_j = 0;
void setup() {
  // initialize serial communication
  Serial.begin(115200);
  pinMode(25, INPUT);
  pinMode(33, INPUT);
  pinMode(32, INPUT);
  pinMode(35, INPUT);
  pinMode(34, INPUT);
  pinMode(18,OUTPUT);
  digitalWrite(18,HIGH);
  FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);  // GRB ordering is assumed
  time_last = time_m;
  time_m = millis();
}
void loop() {
  // sample
  for (int i = 0; i < 5; i++)
  {
    for (int j = 0; j < 4; j++)
    {
      switch_state[i][j] = switch_state[i][j+1];
    }
    switch_state[i][4] = digitalRead(switch_pin[i]);
  }
  Serial.print(switch_state[0][0]);
  Serial.print(“,”);
  Serial.print(switch_state[0][1]);
  Serial.print(“,”);
  Serial.print(switch_state[0][2]);
  Serial.print(“,”);
  Serial.print(switch_state[0][3]);
  Serial.print(“,”);
  Serial.print(switch_state[0][4]);
  // when light breath, and button press
  if (led_mode[0] == 1 && switch_state[0][0] == 1 && switch_state[0][1] == 1 && switch_state[0][2] == 1 && switch_state[0][3] == 1 && switch_state[0][4] == 1)
  {
    led_mode[0] = 2;
  }
  else if(led_mode[0] == 2 && switch_state[0][0] == 0 && switch_state[0][1] == 0 && switch_state[0][2] == 0 && switch_state[0][3] == 0 && switch_state[0][4] == 0)
  {
    led_mode[0] = 0;
    led_mode[1] = 1;
  }
  Serial.print(“,”);
  Serial.print(led_mode[0]);
  Serial.println();
  // LED1
  if (led_mode[0] == 0)
  {
    for (int i = 0; i <NUM_LEDS;  i++)
    {
      int r = 0;
      int g = 0;
      int b = 0;
      leds[i] = CRGB(g,b,r);
    }
  }
  else if (led_mode[0] == 1)
  {
    // led on, rgb
    if (millis()-time_m > time_period/time_num)
    {
      time_m = millis();
      time_j += 1;
      if (time_j >= time_num)
      {
        time_j = 0;
      }
      for (int i = 0; i <NUM_LEDS;  i++)
      {
          int r = led_values[time_j]*10;
          int g = led_values[time_j]*10;
          int b = led_values[time_j]*10;
          leds[i] = CRGB(g,b,r);
          Serial.println(r);
      }
      FastLED.show();
    }
  }
  else if(led_mode[0] == 2)
  {
    // led specific
    for (int i = 0; i <NUM_LEDS;  i++)
    {
      int r = 10;
      int g = 0;
      int b = 0;
      leds[i] = CRGB(g,b,r);
    }
  }
  FastLED.show();
}

Game Sound Effect

Dave’s Talk_04

Date: 09/03/2023 
Place: ECA West Court

 

Group:This week we have done a lot of work and make many things specific. As you suggested, we divided into four groups: smell, image, audio, and technology. Each group is responsible for their respective field from start to finish. The smell group is responsible for everything related to smell, including different smells, how to release the smell in the scene we create, and creative ideas  related to smell, memory, and perception and how to implement. The other groups are the same. Each group presents their progress and ideas to everyone every week and we communicate with each other. In addition to dividing into groups, we also conducted online questionaires and offline interviews, interviewing people of different ages and cultures about their views on memory and smell, and drew  conclusions, which may helped us build five scenes of our life stages. We have uploaded the conclusions and videos to the website, that’s really good.

Besides, we have also trying to find a place for our final installation, we went to the fire station the building just next to the main building, and were informed that the building maybe will be closed in the next five years. And we instead we went to alison house, lecture room A whcih in the thrid floor, and the sound lab in the first floor, we found the sound lab is really good is size, xiaotong has wrote the email to book the room, appreciate her.

That’s  all work we have done this week.

 

After each gorup share there works to the rest of rest. There are many useful points.

1. Know all the required equipment, prepare in advance, and have a backup plan

2. The exhibition week is in the middle of April, from April 3 to April 11, and all fragrances should be prepared in advance. The insurance method is to buy them in town, such as health food shop and alternative medicine shop.

3. What is the logic of light control and how to trigger it with sensors? How many people can you visit at a time? What if a person enters and exits back and forth at the door? The better way is to use time to control, and there is a button for stopping next to it.

4. More interactivity. Pay attention to narrative, and let visitors feel that they can control the scene. When they make a choice, the image, sound and light will change with their choice.

5.Two or three of the five scenes can have more interaction, such as touching, smelling, and controlling music. The rest is not interactive.

6. One computer 2 monitor two different video and make it loop.

7.The more creative way is to put five scenes in the shape of snake or circle.

8.It is also possible to display colors and lights by computer.

9. Micro lab may be the best place for presentation cuz it dosen’t has any light, but make sure to take away anything valuable, there are not a safe place!

 

Dave’s Talk_03

Date: 04/03/2023 
Place: ECA West Court

 

Dave suggested that we should clarify the division of labor in the group and make our vague goals concrete. Only by clearly knowing what goals to achieve can we know what tasks to assign and what to learn in each week.

Dave demonstrated a very good example to show us how to get inspiration and apply them to practice. He asked us one by one what smell, image and sound you thought of when you were a child. After asking all the questions, put all the people’s views together, and this becomes our first scene.

Next week’s task is to bring out some specific things, such as the fragrance of grass, the melody of childhood, the sketch of scene layout, and the light of arduino, for discussion and supervision of learning progress.

 

 

Group Discussion_03

Date: 04/04/2023 
Place: Online Meeting

 

Brainstorm

Born

 

Smell: white rabbit milk candy, baby detergent, flower fragrance, grass, soil after rain, candy, flower fragrance, vanilla, cake, milk powder,

 

Image: hazy dream, amusement park, giant’s world, park

 

Sound: the melody flows gently and slowly, the sound of the playground, the happy melody, the sound of the music box, and the wind chime

 

Adult

 

Smell: orange, wood, smoke, alcohol, coffee, gasoline, money (ink), ink,

 

Image: firelight, white shirt (abstract), graduation ceremony, money, fireworks

 

Sound: light and soothing, noisy, busy, engine sound,

 

Family

 

Smell: firewood burning, rice flavor, meat flavor, cinnamon, anise, black pepper, thyme, leather, tobacco

 

Image: overcoat, windbreaker, pajamas, fireplace, children’s clothes (put together with adult clothes),

 

Sound: quarrel, laughter, frying and cooking, creaking of wooden floor, pots and pans

 

Aged

 

Smell: wood furniture, musty smell, sour smell, tea flavor, coffee flavor, medicine flavor, green grass, nuts,

 

Image: sunset, old car, crutches, empty, presbyopic glasses, blurred

 

Sound: the sound of medicine squeezed out of aluminum foil, quiet and empty

 

Death

 

Odor: disinfectant, lily,

 

Image: a burst of black, mirror

 

Sound: the high-frequency sound of tinnitus, the sound of cardiac arrest

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel