top of page
yz7720

Two-Way Serial Communication

The Lab

1. Sending Multiple Serial Data using Punctuation

2. The P5.js Circle Sketch



3. Call and Response




Project 2


Me, Tuan and Sarah teamed up for this project. We pictured our project to be an interactive art piece that lives in some sort of exhibition space. As the participants approach, by entering the area that we enclosed using the tape, they will see a sign on the floor saying "passing this line you consent us to use your photo" at the beginning, and as they approach to the end of our free standing installation, the ultrasonic sensor will detect the close distance and a photo will be taken. Once the photo was taken, as the participant move away to see what is going to happen, the photo starts to change (we are thinking the photo will become pixelated at this stage, but may change later), and as they move further away, the change will perform more dramatically. At this point we will begin our main observations, since for this round we are primarily interested in if a participant will move away from the laptop and/or what their expectations are once their photo has been taken.


The Arduino code and schematic for the ultrasonic sensor is as per below:








Tuan spent a lot of time figuring out the code for the P5.js, as we only started to get onto learning how to play around with pixels from ICM. We have the pixelated live cam and image working pretty fast as now. We still need to tackle on how to change the inData without changing the camera size. The working P5.js code are as per the attached link:

  1. https://editor.p5js.org/tuantinghuang/sketches/hGuiNS9NE

  2. https://editor.p5js.org/tuantinghuang/sketches/2oNmnEkuB


3 views0 comments

Recent Posts

See All

Commentaires


Post: Blog2_Post
bottom of page