Rec 6: Processing Basics–Roger Zhang(Marcela)

The motif is one of the symbols in a game named Forever Seven Days and then it becomes my favorite logo. In this game, this symbol means courage, challenge  and the spirit of teamwork, which is something I am looking for in real life. So this time I decided to draw this symbol. This symbol is in multiple colors so I thought it will be very difficult to draw the details of colors. So I decided to draw the shape of this symbol.

To achieve this goal, I divided this symbol in several parts: four triangles, two circles and one rectangle. Four triangles were the main body of the this symbol so I draw them at the beginning. It was easy to draw first two triangles on the mid-court line. Then I used some math method to calculate the coordinate points of other two triangles. Then I draw two circles and the rectangle and because they were on mid-court line so it was easy to calculate their parameters. I used black and write as their color because it looks cool.

After finishing drawing, the shape of what I draw in processing is very similar to my motif. Anyone who played this game can recognize it very soon. ( I asked some friends to test them what was this symbol.) But not only the color, but also some details of the shape are different. I could not set the proportion of each part of symbol exactly the same as the my motif. Besides, there were some curves in motif which I did not know how to draw them in processing.

I don’t think using process is a good way to draw this symbol. As I have said, it was different to show gradient ramp of the symbol. And then, because this symbol is a little bit complex so I need to set up many parameters and even some of them need use math knowledge to calculate. At last, I cannot draw some complex curves in processing. So I do not think it is a good method.

MIDTERM BLOG POST- Rujun Zhang-Marcela

NTERACTION LAB
BLOG POST SPRING 19

                                                                  

PROJECT TITLE – NAME – INSTRUCTOR’S NAME

You’ll NEVER catch me Mom! – Rujun Zhang — Marcela

INDIVIDUAL REFLECTION:

  • CONTEXT AND SIGNIFICANCE

Our project describes a kid makes a device which can warn him that his Mom is coming, and his aim is that he can play video games in midnight without being caught by his mom. If the device detects Mom is coming, then all electronic equipment in kid’s room will be shut down. The inspiration came from my own experience because I was always being caught by my Mom when I was playing games at night in my childhood.

After I read the article named “Making Interactive Art: Set the Stage, Then Shut Up and Listen”, I have the initial inspiration about our project: “Interaction…is just the beginning of a conversation with the people who experience your work”. I realized that if people need to experience our ideas from our projects, then it might be a good idea that our projects came from a real experience in people’s lives. According to The Art of Interactive Design, the interaction projects are “cyclic process between two actors” and interestingly, I found two kinds of interactions in our projects: Our projects were patterns of real-life experiences, so on one side, users need to interact with our models, which means every action made by users will cause a reaction from our projects. On the other side, two actors in our model have connections and interactions. My understanding of interactions is that there are some connections between two actors. Each one’s sounds, movements and so on can give an information to another to make sure another actor can give a feedback. After finishing this project, I realized that interactions may happened in different dimensions. In other words, in the past I thought interactions are cyclic processes but now I think interactions may happen with the form of spherical processes because the projects and people, the actors in the projects can have interactions at the same time and one circle can not describe such complex relationship.

  • CONCEPTION AND DESIGN:

In my understanding, first of all, from the sentences on the screen and the house model we made, users can understand the story of our project. But one interesting thing is users’ mental experience come from kid’s side, but they control the “Mom” in our project. They use a handlebar to control “the Mom” to walk towards kid’s room. Once “the Mom” approaches kid’s room, the sounds of game music, the screen of computer model and the light of the room will be shut off immediately. But if users control “the Mom” goes back, and then all the lights will be turned on again.

We use light sensor to detect the motions of Mom because we suggested that there will be a night light in the corridor, so if Mom passed the corridor, the output of light sensor will definitely change. At the beginning, we considered about use infrared receiver to detects the motions of Mom but we gave up soon because we had no ideas of how to use it. On the other side, we also thought that the combination of light sensor and night light makes more sense in real life. We use LEDs to imitate the light of screen and lamp of the house. In fact, it is better to use a small bulb or a stronger LED as the lamp of the house. Unfortunately, the studio office ran out of all the big LEDs. We use tissues to make bed because we had no time to use 3D printer to print two bed. In our first project, we use stepper motor to present two actors’ words but in our final we use Serials and print the words on the screen. We considered that the speed of stepper motor is limited in some degree and it cannot carry to many words. And we used servo to control the movement of kids and I think it was the best choices because the changing angle was only 90 degree and servo is relatively small.

  • FABRICATION AND PRODUCTION:

In this section, describe and assess the most significant steps in your production process, both in terms of failures and successes. What happened during the User Testing Session? How did your user testing process influence some of your following production decisions? What kind of adaptations did you make? Were they effective? In short, keeping in mind your project goals, how do your account for and justify the various production choices you made for your project? Include sketches and drawings.

Because one of my responsibilities was writing all the code and connect most of circuits, the most significant steps in our processes was designing state machine in coding. In our user test, every time users moved “the Mom”, we had to use reset button on Arduinos to restart, which was really inconvenient and made users confused sometimes. When I considered how to realize making the whole project an entire loop, I found that it may need the concept “state machine” that I learned in the ICS. We need to think about how many states that our program needed and in what condition the state will change. In our state machine, the first state is that “the Mom” stays in her room and if the light sensor’s value changes, it will go to stage 2. Totally, I wrote four states to describe the whole process and I added a lot of conditional parameters which had no real meaning but to help me to control the change of states. I found this very difficult because there were a lot to consider. For example, at the beginning of writing state machine, I only considered two states. However, I ignored that Mom’s model needs some time to pass the light sensor, so if we just had two states, this was no way to judge the situation that “Mom is passing through the light sensor”. After a long time, I used four states to solve this problem but there was still a failure in our project: if “the Mom” is detected by light sensor but “the Mom” goes back to her mom instead of the kid’s room, then our state machine will have a problem and we called this a system error. To solve this problem, we need one more sensor and more states, but we had no time to solve it because this bug was discovered on Monday night. So, I think we solved one of the biggest problems found in users test, but to solve this problem, we found one more system error. Another problem we met in users test was that people could not understand our story but after we used laser cut to make a house and used screen to print the words, almost all the people can understand what it is going on in our project.

  • CONCLUSIONS:

The initial goal of our project is creating a device for kids to help them avoid being caught by their parents and this idea came from my own experience. After doing the whole process, I consider that using light device to detect the motion of people can be used for more purpose. Not only for people who want to avoid being caught by something, but also for people who want to have previous information before someone is coming. In the real life, the interactions should be the automatic lights and devices and the reactions for users. In our pattern and model, interactions happen between the actors in the model and the users and our project. We made a “spherical processes” in our project to make connections between all the “actors”. During the interactions in our project, we supposed that users can understand the story of our project and understand how it can happen in real life. We believed that users of our final projects can satisfied our goals. A lot of students said our design could met their need in their childhood. However, some of them triggered the bug I have mentioned and then the kid in the model was caught by “the Mom” and this reminded me of designing interactions was not easy because we needed a whole image for all possible inputs and outputs. If we had more time, we were going to use two sensors and add more states to fix the bug and system error in our project. At present, we could not use laser cut and 3D printer expertly, so some models in our project were very ugly, such as the doors and beds. With more time, we can use two machines to build a better model to tell a better story of our project. From our failures that we made a bug, I understand before we made our project, we need to design it carefully. In this project, our plan was made the project, found problems and then fixed it. Our efficiency was very low, so in the future, we should have a whole picture and a relatively complete plans in the beginning, which can avoid such system error and bug in some degree.

Recitation 4 Drawing Machine by Roger

Recitation 4 Drawing Machine by Roger

Explore the stepper motor

It is very easy to connect the circuit since we are very familiar with these things now. This is one thing we need to pay more attention: sometimes the circuit might have bad contacts. We had to spend a lot of time to figure out what’s wrong with that.

Another problem was that the stepper motor tended to rotate in a very slow spend when we adjusted the potentiometer. The reaction of stepper motor was too slow to let people control it. One of the assistants told us to map the input data from the potentiometer into a proper range for the stepper motor. After we adjusted this, how much we rotated the potentiometer would cause how much the stepper motor rotated. This is how the stepper motor work after adjusting the code.

Malika and I connected the stepper motors and the some plastic legs to prepare them for the drawing. But we found that, using potentiometer was a difficult way to control the pen. If we want make the pen go straight, then we need a very complex calculation. So I think this system was fun but not very useful

Questions

Question 1

I want to build a machine that can help me get up in every morning. Sometimes I am very lazy and do not want to get up early in the morning. I know it is not good but sometimes even the alarm clocks cannot wake me up. So I want to build a machine which can push me to get up: using motors to change the angle of my bed so that I cannot lie down on my bed anymore. If possible, we can set up some function like even if I get up but once I lie down on the bed again in the morning, the same system will be trigger again.

Question 2

I realized that human’s reaction and feedback is the core of all our project from The Drumming and Drawing Subhuman. This project is about the project want to play drums like human-beings. Our project is some how similar to that because our project want to act as a human to draw, even if we need to give inputs by ourselves. Maybe with some technologies, machine itself can gain input from the outside world. It is also similar to choose actuators since we need to know how human works and try to imitate human-beings.

Group Project by Roger

My definition of Interactive

My definition of interactive is similar to The Art of Interactive Design: I agree that interaction happens between two things, no matter use sounds, lights or touch. One actor’s action will be used as input of another actor. In my opinion, interaction is the transition of input and output. The project  are build to receive input from people and then gives output to people, which can possibly cause new input from people.

Projects researched

The two projects that I researched were philosophy of mind and reaDIYmates.

Our project is something about human-being’s mind and consciousness and I think before we set framework to our project, we need to know what is mind and consciousness and how could they work. From the book, I think functionalism is the best way to explain our project. We can use the ideas from functionalism. For example, it says mental event is a kind of physical event and there are some interaction between them, which is similar to my understanding of interaction. So I assume that our mind can be like a state machine and that is the reason why we can use machine to imitate our mind.

The reaDIYmates is the one my teammate introduces to me. it is close to be interactive. I think it works like a Turing Machine. All the input from humans will be learned repeatedly by machine. After many times, machine can give a very good output just as people expect. And I think this technology allows machine to do more complex things in the future.

Our project

Our project named MiniMi uses some ideas from the definition of Interaction and functionalism. It will study people’s personalities, preferences and psychology states and then rebuild a new machine character. This machine, the AI, has very similar “mind”  to its master. And according to our design, MiniMi is completely rational. Therefore, MiniMi can help people do most rational decisions, which is like our SloganL: we know you more than you know yourself. Because the MiniMi understands all its master need, , people only need use simplest words to interact with it and it will give the best output that people really need.

Recitation 3: Sensors by Roger

Materials

Arduino Uno: we can process our code here.

Breadboard: the circuits are held here

Fan and Motor: When it passes enough current, the motor will start and give wind. Serves as the output.

Moisture sensor: detects the moisture in the substance and gives data back for processing.

Circuit

Processes

Malika and I decided to use the moisture sensor to build circulation. Our purpose is designing a system to control how wet the target things are. For example, after we wash clothes, we put similar circuits nearby. If the clothes are still wet, the motor will work and the fan will give winds to dry the clothes. We used wet tissue covers the sensor to be the “clothes”. In our video you can see, when the tissue was wet, the fan would continually working but once it became a little dry, the motor stopped.

We met some problems during the process. First, we could not made a right circuit. The problem was strange because if we added a LED in the circuit, the motor would stop working. We guess it was because the voltage was not enough so we removed the LED. But after class, I thought may be use parallel can solve this problem. Second, we tried to find the range of the sensor because the data on its documentation from the official website was very complex. It gave us three different range for one sensor. We got confused so we tried to find the range by ourselves. We tested it by putting sensor dipped into water, and found the highest data could reach over 500. So we used 600 as our Maximum value. At last, we also had problems in coding because we did not distinguish the relationship of “Servo” combo and “analogWrite” , so we could not get a right output. With the help of TA, we knew that we did not need Servo and then we directly used analogWrite.

Reflection on the questions

Question 1

Malika and I used with the moisture sensor. As I have mentioned before, our circuits could be used as detect the moisture of the clothes and if the clothes are wet, it will dry the clothes automatically. For moisture sensor, it could be used to detect the moisture of the solid to help farmers to know whether they need to water the crops.

Question 2

I disagree with it because the receipt has a very clear order and once people mix the steps, then they cannot cook successfully. But from my experience of writing code in ICS, I found that some time the order of code was not that necessary. The key of writing code is the logic. And in python, there will be some thing called “class” and this kind of coding also do not need a very specific order. So in my opinion, I think they are different.

Question 3

I think computer simplify human-beings works and offer a new entertainment way. First, all the functional computer is aimed at simplify people’s work. For example, computer can help people to calculate some complex equations, which may cause people spend a lot of time if they do manually. Then, some function like Siri, can help people manage their schedule, which means people do not have to spend more time to recite their schedule. Thus, computers make people become “lazy” because people have less work to do with the help of computers. Second, people may use computer to have fun, such as games, videos. Computers bring verities ways to entertain people, which bring a lot happiness. Using computers is already the most popular and common way to have fun.