Physical Computing

Weekly Activity Template

Renyin Xu


Module 2


MActivity Research

In workshop 1, me and my other two teammates explored physical prototyping by constructing cardboard phone stands. The goal was to turn a reference design into a physical object, explore alternative structures, and understand how small changes could affect its use.

Workshop 1 Geurilla Prototyping I

We began by watching a cardboard phone-stand tutorial and identifying its main components: a base, an inclined surface, a supporting structure, and a front lip intended to prevent the phone from sliding forward. <a href='https://www.youtube.com/embed/tgbNymZ7vqY' target='_blank'><p>Project Video Link</p></a> We drew several side-view sketches to explore different angles and support arrangements. Sketching made these alternatives easier to compare before cutting the material. It also helped translate the video’s three-dimensional structure into separate pieces that could be constructed.' src='https://www.youtube.com/embed/tgbNymZ7vqY'></iframe></div> We used corrugated cardboard as the main material. It was suitable for quick experimentation because it could be marked, cut, folded, and assembled using simple tools.

We marked the components with a pencil and ruler, then cut them on a cutting mat using a utility knife and scissors. The pieces were assembled into a base and supporting structure. Tape was used to secure and reinforce parts of the construction. In the first version, the inclined panel had limited support. For the second version, we added supports on both sides to reinforce the panel and make it more stable. This was a functional improvement focused on strengthening the structure rather than changing its appearance. The additional side supports made the inclined panel more stable, showing how a small structural change can improve a prototype. Further testing with a phone could help us evaluate whether the stand remains steady during screen taps. Future improvements could include more precise cuts and better alignment between the supports and the panel.

Workshop 2

During Workshop 2, we explored how an enclosure could bring our humidifier’s components together. Our Project 2 work primarily focused on developing and testing the hardware, so we produced concept sketches but did not build a cardboard model during this stage.<br><br>Rita did the sketches explored different arrangements for housing the Arduino Uno, relay, sensor, and wiring. The aim was to organize the exposed components into a more compact and manageable prototype while maintaining access for adjustments.

We considered horizontal and upright forms, openings for cables, sensor ventilation, and access to the water container. These sketches helped us identify questions about component spacing, maintenance, and separating the electronics from water. test3Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit Lorem ipsum dolor sit amet, consectetur adipiscing elit

Activity 1: Hardware Feasibility Testing

Our first self-directed activity explored whether our purchased components could support our automatic humidifier concept. We focused on the temperature and humidity sensor and the ultrasonic atomizer module, aiming to understand how they worked and identify any missing components before integrating the hardware with ProtoPie. We reviewed our available electronics and explored testing the humidity sensor and atomizer separately. The sensor would provide environmental readings, while the atomizer would produce mist. Separating these functions helped us understand the difference between detecting low humidity and responding to it. We tested the ultrasonic atomizer module using USB power and its physical button. We discovered that connecting power alone did not activate the mist; a button press was also required. This helped us identify a missing component: a suitable relay module that would allow Arduino to simulate pressing the button. We did not have this module during the activity, so automatic mist control remained a next step. We decided to use Arduino Uno for the Project 2 prototype to develop and test the system through a wired connection. However, the Uno R3 does not have built-in Wi-Fi, so our planned connection to ProtoPie currently relies on USB and a computer running ProtoPie Connect.

For the Project 3 final prototype, we may explore an ESP8266-based board to support wireless communication. This remains a possible direction that requires further testing.

Activity 2: Circuit Assembly and Hardware Testing

We first connected the DHT sensor to Arduino and prepared a sketch in Arduino IDE to check whether it could provide ongoing room humidity readings. The initial compilation failed because a required library dependency was missing. Photo 3 shows the “Adafruit_Sensor.h: No such file or directory” error, which helped us identify the software issue. During the initial powered test, the DHT sensor became excessively hot and its casing partially melted. We immediately stopped the test and disconnected power. It was a wiring error, we were using the wrong wire for connecting the circuit. This highlighted the importance of checking connections before powering the circuit. We rebuilt the circuit and connected the relay and atomizer module. After addressing the library issue and uploading the sketch, we observed ongoing humidity readings from the DHT sensor.

However, the atomizer did not start automatically. This showed that the sensing function was operating, while the mist activation method still needed further investigation.
Sophia will continue developing the circuit and code to simulate the atomizer’s button press through the relay and activate mist automatically when room humidity falls below a chosen threshold.

I will begin designing the mobile interface, building on our Project 1 ideas. An initial interaction to test will be whether users can turn the atomizer off through the interface while it is running. Later iterations will refine the controls and feedback based on hardware integration and testing.

Additional Research or Workshops

Before this meeting, Sophia continued troubleshooting the hardware. She used Claude to explore a setup without the tutorial’s battery, distributed Arduino’s 5V and ground through the breadboard rails, tested the atomizer separately, and checked pin placement and loose connections. This preparation supported our integration tests. Our third activity tested whether the physical prototype and mobile interface could communicate through ProtoPie Connect. We focused on displaying changing humidity readings on the phone and controlling the atomizer through the interface. Initially, Connect received sensor readings, but the phone still displayed “—”. We changed Arduino’s output into named messages, such as HUMIDITY||49.00, and configured a Receive trigger in ProtoPie to store the incoming value in the humidity variable.

A Text response using text(humidity) updated the main humidity number. Saving the revised prototype and refreshing it in Connect ensured the phone was running the latest version. We successfully observed changing sensor readings on the mobile interface. The original interface buttons only switched between prototype scenes. We added Send responses for HUMIDIFIER_ON, HUMIDIFIER_OFF, and HUMIDIFIER_AUTO, together with Arduino code to interpret these commands.

Each relevant scene needed its own button responses. Missing commands caused repeated operation or returning from Manual to Auto to fail. Manual commands paused automatic control, while the Auto command restored humidity-based operation. Testing showed that the atomizer required one press to start and three further presses to return to off. We observed an additional activation during uploading or restarting, followed by another intended start press. This moved the atomizer into a different mode from the one tracked by the code, making subsequent shutdown presses unreliable.

We added diagnostic messages to show each commanded press and revised the startup and press-count logic. Following these changes, our tests restored the intended on/off sequence.

Project 2


Project 2 Prototype

We achieved two-way communication: sensor readings reached the phone, and interface commands controlled the physical atomizer. This meeting showed that changing an interface screen does not automatically change the hardware. Reliable interaction also depends on message delivery, consistent device states, and testing repeated actions.

test2Lorem ipsum dolor sit amet, consectetur adipiscing elit
×

Powered by w3.css