Pcomp Final Project W1

I am not sure whether I can achieve it, but I really want to have a try.

Michelle is flying in a real word.

                     Paragliding in real world                                     ————                        Wingsuit Flying in Virtual World(as real as possible)  

                             

 

Do some research:

Exist game :Steam——Steep

Dizzy, fast, controlled by fingers _____NOT EXACTLY WHAT I WANT.

 

I think the best part of flying is that I can feel wind  and just enjoy the feeling of flying.

 

ARDUINO: TO MAKE OUR BODY FEEL THAT.

not sure about this part.

1.electronic components:

accelerometer

or

I need to build a motion capture system?

2.For flying feeling:I thought of wind tunnels, indoor bungee jumping, aerial yoga

——————————————Unrealistic for me————————————

Air sofa————I watched some youtuberstest it—— it’s hard to keep balance when lying on it, just like lying on the air。Maybe I can use it.

Any suggestion?

 

 

 

UNREAL:Can build a more real world. and I am more familiar with it.

I‘m not sure about the interactive effect of arduino and my virtual character,

so I have 2plans:

1.Virtual Michelle is flying in a world

2.Virtual Michelle swims in the outer space.

 

Actually I don’t know whether I can achieve it,but I really want to try how far I can go.

I devided it into some pieces.

 

W1-TEST UE4-ArduinoCONNECTION AND SEND 1ST BYTE.(No confidence ,but I did it. So excited! I  don’t need plan B anymore)

 

W2。long week

decide and buy physical components

learn the blueprint code about connecting physical components

 

W3。

test blueprint and physical components

 

W4。

build a virtual world in Unreal. (easiest part at last week).

W10-pcomp Motor Motor

Motor drives me crazy this week!!!/(ㄒoㄒ)/~~

They just didn’t work!

stepper motor:I change my pin to2,4,5,6

DC motor:I don’t have the switch and I decided to DIY the switch. I changed the jump wire  connection manually.

 

Do I have different type components? Why they didn’t work?!!!!/(ㄒoㄒ)/

I will try again tomorrow.

I also borrowed a motor control shield from nyush,and I will try it tomorrow.

 

Pcomp Project 2 Violent aesthetics

My silly tiktok video, but I love it.😆

 

Final version:

Flower Version:

Direct Boxing Version:

Next step to improve:

1.Sound visualization(p5) of dirty words from different countries(different language).

2.

My project can be more targeted to specific groups.
One thing I want to do:

I asked my female friends from social media for words that made them feel hurt.Put these voice into p5 for visualization and use interaction with boxing ball to eliminate these hurtful language.

This can be used in any specific group to solve psychological dilemmas or stress.

Next next step(inspired by ICM class,but I don’t know how to achieve it):

Machine learning can make those hurtful words more personal, and it may be a good way to treat psychological problems.

I think about this because when I asked my female friends about harmful words, many of them told me the most harmful words were from ex-boyfriend.

I was thinking this might be a good way to treat broken love

 

One interesting thing:

At first ,I bought a 12 meters USB connection cable and I thought it’s long enough and I can hide it along my boxing ball.

But it’s too slow to transfer data.Finally, I only can use a 2-meter one.

That’s why you can always see it hanging beside my boxing ball.

 

———————————————————————————————————————————————————————

This project made by Michelle and Dolby.

Final version code:https:

//editor.p5js.org/MagicMonkeyWow/sketches/EwHXkNzh1

Flower version code:

https://editor.p5js.org/MagicMonkeyWow/sketches/-xolecKo2

Reference:

1.Lab: Serial IMU Output to p5.js:https://itp.nyu.edu/physcomp/labs/lab-serial-imu-output-to-p5-js/

2.https://zhuanlan.zhihu.com/p/48926579 (Chinese one).

 

 

 

W8-pcomp-I2C/SCI

I finally knew why I felt so hard these three weeks.

The sensors/components I borrowed from NYUSH is quite different type from the one in the tutorial,most of them even do not use the same protocol.So I need to read their documents first rather than just follow the tutorial,even they look similar in appearance.

I2C Lab:

I followed the lab tutorial, but it didn’t work.It always said that apds is not defines.

 

Then I turn to use the code in example.The color one worked.

But not the gesture sensor and proximity sensor.I am quite sure that their connection is good, but nothing in serial monitor.

 

SPI Lab:

I lent a digital potentiometer from NYUSH.

It’s quite different from the one in lab tutorial and I am not sure whether it’s a SPI one. So I decided to try a barometric pressure sensor tomorrow.

 

project2 progress,

We learnt“HUE” in ICM this week,and I thought it’s so amazing.

I wanted to use“HUE” in my output.

My output with different interactive method:

analog:

https://editor.p5js.org/MagicMonkeyWow/sketches/y46OBjtop

digital/mouseclick:

https://editor.p5js.org/MagicMonkeyWow/sketches/pWMnugcYM

I haven’t decided which one to use.

My arduino and p5 have connection problem again, and I am trying to figure it out。

 

W7-pcomp-project2 idea Violent Aesthetics

I am a sports lover and when I come to ITP, I hope to try some sports interactive experience, especially X-sports.

After project 1,I thought that maybe I can start now.I chose boxing this time.

During the quarantine time,I want to find a boxing game for my switch to do daily exercise.But I only find this one.

I can only practice boxing moves with a virtual coach and I found it’s kinda boring.

I want to do some sports that are more physically interactive. I love the feedback of boxing.

My project 2 ‘s name is Violent Aesthetics.

Input:

sensor in it:

option 1: force sensor. I’m not sure if I hit it too hard, whether I will damage the force sensor?Is there any solution?

If I put the force sensor in the boxing ball above, will it not sensitive enough?

option 2:gesture sensor (the one used for motion capture?)

Output:every hit will become a spray paint effect on p5.

You can draw an artwork by practicing boxing at home.

 

Advanced output I want:

I hope users will hear some dirty words when they hit the boxing ball.

The computer will calculate the total score according to the strength of the user hitting the boxing ball each time.

When the score reaches a certain value, “YOU WIN” will be displayed on the screen, and all dirty words will disappear.

Just like our real life, when someone denies you, continue to resist, the voice against you will eventually disappear.

I want to try midi to control this,but I’m not sure whether I can use midi well.

If not, at least I can upload audio in p5 to achieve this.

W6-pcomp-catchup

I followed the tutorial video.digital input works ,but analog input not.

 

Serial input

 

W7-pcomp-communication.

After following Danny’s lab in class last week,I felt more confident.

But I still have some problems connecting arduino and p5 and I have registered resident’s  office hour tomorrow to solve it.

Since I don’t have accelerometer ,I borrowed one from NYUSHANGHAI, and it’s quite different from the one in tutorial.

So I decided to use light transistor.

My arduino

my p5

It seems that they didn’t communicate.

 

W5-Pcomp Project1-Rainbow glasses

I want to go to I want to go to Disney land on Halloween.

There are too many pumpkin lamp in Disneyland and it cannot help me to be the coolest guy in Halloween.

I want to be the coolest guy!

Last week, when Danny showed us the Neopixel ring to us, an idea BUMPED into my mind.

I must make a glasses! I really want to have one!

 

Rainbow at night.

I asked my friend to test it.

 

More uses:VERY USEFUL!
1.Let us imagine a scene in life.It always happened in my life.
Sometimes your parents/partner/friends(anyone close to you) ask you something or talk with you, while
you are focusing on other things, you may answer them louder than usual.
Then they may think why you are so rude or why are you angry with them.
But actually ,you are not.You are just busy.

Faced with this situation,my rainbow glasses can connect a voice sensor in series.
If the sensor detects that the volume is higher than a set value, the rainbow glasses start to blink.
Back to the situation just now, if you wear rainbow glasses, blinking glasses will break the embarrassing situation caused by misunderstanding between you two.
You might avoid a quarrel.

This also applies to similar situation like the first debate.



If someone wants to interrupt you/start a quarrel or sth like that,
once their voice volume reaches the sensor setting value,

then "RAINBOW!"

In this case, many quarrels/debates/wars may eventually turn into comedies.
There will be less quarrels/debates/wars in the world.


2.I also want to connect a light transistor in series.
It is also what my rainbow glasses originally wanted to be.
When night falls, your glasses start to blink.How fun that would be!


But finally,I didn't solve the code problems.I want to combine the "if structure" of light transistor and random blink code of the glasses,
but it didn't work.


Challenges I met and What I need to improve
1.“Small”arduino

Perhaps I bought  so many electronic components on my shopping website(Taobao),it always recommend me some other electronic components now.
And one day,I saw this.The name of it is "Small" and it shows that it's a wearable Arduino(not real Arduino, sth like that.)
Why not have a try? Another reason is that I don't know what happened to my nano,maybe
I crashed it.The light on my nano didn't turn on and it didn't appear on my computer for several days.
But now it works suddenly and I don't know why.
Anyway,I tried "Small"this week.It's not stable and it always didn't appear on my computer.

2.
In my imagination, it should be like this.It's portable and easy to hide behind the glasses.

But it actually shows like this.
I have to use more complex circuit.
Because there are lots of limitations:
It's my first time to use soldering iron, and I didn't have much confidence in that;
I only have 2 neopixel rings and I don't want to damage them.
Finally,I gave up something I want to make sure it works.

3.I also spent a lot of time to figure out this.
At first,I connected 2 Neopixel ring in series, because it's easier to hide behind the glasses with less wires.
It always showed like this
.


Later,I found it's because each neopixel ring's working voltage is 5v and arduino only can supply 5v power.
So I finally connected them in parallel with more wires.
I considered adding a 5v power supply, but I only borrowed a 5v power supply instead of a 5v battery.
I was not confident in this method, and I didn’t want to damage my components anyway.So I finally connected them in parallel.

W2-Physical Computing Lab

I’m much more familiar with circuit this week and I have much fun!

1.Add digital input

I spent long long time on this one ,because I cannot connect my arduino and computer and I tried over and over again.Finally,I came to residents Nun to ask for help.

The key point is that I didn’t choose Nano 33 Iot here and I only select on “port”.

She helped me to solve this problem in one minute,but I spent a lot of time on it.So I think the most important thing I learnt this week is that I should learn how to ask for help.Though I am always too shy to do it.

After that, all labs run well. Really Really Happy when the led first flash!!!

 

So surprise!! I quite made some noise at first try!

 

W1-Physical Computing

 

Breadboard

1st Try

I was not familiar with how breadboard works at that time and I just tried to follow the video. Obviously,I failed to light my LED.(I tried two kinds of wires this time.)

Find out how my DC power works! Replaced by jump wire later and it’s more stable.

2nd Try

Then I read the following materials later and figure out the breadboard working principles.

I light my LEDs this time.

I also tried to make an alarm bell with blue and red Leds.

Question:

I used the red wire to connect the positive pole.If I use the red wire to connect the voltage regulars “Ground”,the Led will flash.I don’t know why and not sure whether it’s safe.

Switches

They are going well.Only problem is that I spent a lot of time to figure out how the motor use.

There is something wrong with the screws on the back of my multimeter. I sent it back for a new one.