<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shaowei on Medium]]></title>
        <description><![CDATA[Stories by Shaowei on Medium]]></description>
        <link>https://medium.com/@shaoweiw?source=rss-70af44135dee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*apvJE_uRzBkAzU1LJBaDUg.jpeg</url>
            <title>Stories by Shaowei on Medium</title>
            <link>https://medium.com/@shaoweiw?source=rss-70af44135dee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 18:50:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shaoweiw/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lab 9 + 10: Invent a music instrument // Capacitive Sensing with Piezo]]></title>
            <link>https://medium.com/@shaoweiw/lab-9-10-invent-a-music-instrument-capacitive-sensing-with-piezo-6e55d2c2471e?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e55d2c2471e</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 17:02:32 GMT</pubDate>
            <atom:updated>2025-11-16T17:31:14.778Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><p><strong>Aonan Jiang, Di (Teddy) Tian, Xiao Peng, Liliu Yao, Shaowei Wang</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hnqJSxClz_YIMRuwqLg7Vw.jpeg" /><figcaption>Playing with water, foil, currents, and an Arduino that is absolutely too close for comfort</figcaption></figure><h3>Lab Description</h3><p>In this combined lab, we were asked to explore two related challenges: first, to invent a collaborative musical instrument that integrates multiple input and output modalities, supporting collaboration and embodied sound making; and second, to include a self-made capacitive sensing circuit and experiment with its sensitivity across different conductive materials. While Lab 10 emphasized calibration, baseline detection, and signal stability, Lab 9 expanded tangible bits into composition: <strong>interaction itself becomes rhythm and music.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UW6mvcAOp0CkXE6JL6LloA.png" /><figcaption>Synthesis table of possible inputs/gestures and outputs/perceptions</figcaption></figure><p>Our group decided to merge both assignments into a single hybrid instrument that uses water flow, capacitive sensing, and water-driven mechanics to generate and modulate sound. This decision grows directly from the concept of our final project, <em>HydroCommons</em>, which treats water as both an interface and a shared sensing medium. These two labs became early prototypes for this idea, allowing us to test how flow, touch, interference, and conductivity could shape participatory sound experiences. Through these experiments, we began to translate the conceptual vocabulary of “ecological interaction” and “shared infrastructure” into tangible sonic form.</p><p>As the experiment unfolded — from foil to water, from solitary touch to collective disruption — the system evolved into a small ecosystem. Multiple people stirring the same water body could sustain or interrupt the melody; floating bowls carrying secondary sensors added harmonic interference; the water wheel produced its own percussive ticks whenever the flow was strong enough; and a p5.js interface layered additional ambient tracks as capacitance increased. What began as a simple sensing task became an experiment in continuity, rhythm, and cooperation: <strong>separate gestures sustaining a collective resonance.</strong></p><h3>Components Used</h3><ul><li><strong>Electronics:</strong></li><li>Arduino UNO boards × 2</li><li>Piezo buzzers × 2</li><li>1 MΩ resistors (for capacitive sensing stability) × 2</li><li>Assorted jumper wires</li><li>A laptop and a Bluetooth speaker running p5.js for sound layering</li><li><strong>Capacitive setup:</strong> 30 × 40 cm acrylic water tank lined with kitchen foil as the main capacitive plate; stainless steel spoons as probes for interaction; secondary foil and sensor assemblies attached to tiny floating containers for multi-sensor harmonic responses.</li><li><strong>Materials for construction:</strong> recycled plastic bottles, cups, straws, lids, mooncake containers, magnets, paperweights, and rubber bands were repurposed to build the floating bodies and stabilizing structures. These elements provided both buoyancy and a makeshift mount for electronic components without introducing extra conductive noise.</li></ul><p>All materials were chosen for their everyday and recyclable qualities <strong>(special credit goes to Chicha San Chen for providing all the cups, straws, and great bubble teas that powered our collective capacitance)</strong>, aligning with our ongoing interest in treating water and infrastructure as shared ecologies rather than isolated technical systems.</p><h3>A) Exploring Water as Material and Motion</h3><p>We approached this lab by first asking a perceptual question: <em>what counts as an instrument within a tangible, embodied context?</em> In class, music pieces like <em>Pipe Dream</em> and those by the Blue Man Group highlighted how (visual) rhythm can emerge not only from sound but also from motion and repeated physical gestures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8Rrp04f_CJeEcrZBAT3fw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*fWnPfT7fXgznhyth2Twwbg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*guuEGDms4GNAOhwYOOrCOQ.jpeg" /><figcaption>Pipe Dream (Animusic) and Blue Man Group, inspiring us to translate motion into rhythm and sound visualization</figcaption></figure><p>Watching these pieces, we began wondering: if water could behave like bouncing beads — droplets that fall, scatter, or pulse — <em>could the flow itself become both the visual and auditory substrate of an instrument?</em> This framing allowed us to treat water not as background material, but as a possible generator of rhythm, force, and timing; something capable of producing its own gestural grammar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*Vi6o7D4HRYeghO_5.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ej_KffraAWBmMy5f.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*QMeagp5RRuU15Z9U" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/0*Ub7O5a-VbnPhiigU.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*cK-JLnRr-quJEZJ3.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KXlS0kKC0b365xLV.jpg" /><figcaption>Historic water devices that reminded us water has always been an engineer of its own rhythms</figcaption></figure><p>Instead of beginning with sensors, we started from the “action/gesture” column of the lab’s synthesis reference table, exploring what kinds of interactions with water yield <strong>perceptible patterns</strong>. We briefly researched various traditional water-handling and irrigation mechanisms (e.g., simple hydraulic lifts, water scoops, rotating wheels, <em>sōzu, </em>and <em>suikinkutsu</em>), seeking embodied precedents for how water has historically been used to generate <strong>repeatable mechanical motion</strong>, particularly in social/collaborative scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-QR9CY59XnzNGD2odajpQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iZCfNW6c9hK2JRCv-SKCCQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*cBw8UmUKpC0ZoxQxjRODaA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZHEJZOE3xUbfAA-zBO1Xg.jpeg" /><figcaption>A series of small tests using everyday materials to redirect the fountain’s flow and study the sounds produced by each intervention</figcaption></figure><p>Using <strong>everyday materials</strong>, we also experimented with how water moves, falls, accumulates, and strikes surfaces. We tested what kinds of repeatable gestures water can support and what forms of sound it can reliably produce without electronics.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnYHUYSkvdGs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnYHUYSkvdGs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnYHUYSkvdGs%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa3677062f8f9e90631d6eea0953d3d2/href">https://medium.com/media/fa3677062f8f9e90631d6eea0953d3d2/href</a></iframe><p>Through trials with dripping, pouring, and stirring, we found that water alone rarely produces audible percussion; it requires a combination of (1) a resonant cavity, (2) a thin, flexible surface, and (3) droplets with enough momentum to excite that surface. <strong>Aluminum foil</strong>, which we had used in Lab 10, surprisingly produced the clearest percussive response, generating sharp crackling, <strong>thunder-like sounds</strong> under falling droplets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rDCqyUL4cuFoSdJmwPJv3w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xb0zZ83O2S5DDe8U57rwiw.jpeg" /><figcaption>Testing a handmade hydraulic dripper and two versions of water-wheel paddles shaping different rotations (and the percussive ticks they triggered below)</figcaption></figure><p>These findings led us to prototype several water-driven mechanisms. First, we built a <strong>simple hydraulic dispenser</strong> by pressurizing a recycled water bottle and routing the outflow through straws. Raising or lowering the straw changed the pressure and therefore the intensity of the droplet impacts. We then built two versions of a <strong>water wheel: </strong>the first using bottle caps and small straw paddles (which splashed excessively), and the second using two large trimmed straws, which produced a steadier rotation. Beneath the wheel, we placed a <strong>foil-and-glass “drum,”</strong> converting rotation and falling water into percussive ticks.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRRqMD70jHfE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FRRqMD70jHfE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRRqMD70jHfE%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e68401e13ac18dfcb09fed797f79215/href">https://medium.com/media/7e68401e13ac18dfcb09fed797f79215/href</a></iframe><p>Through these explorations, water functioned as a mechanical input: <strong>flow rate, droplet size, stream height, and wheel rotation all acted as continuous variables capable of generating rhythm.</strong> This experimentation helped us understand how water could serve <strong>as both input/gesture and output/perception</strong>. It established the structural vocabulary we would later connect to capacitive sensing in the next phase.</p><h3>B) Exploring Water as Capacitor and Shared Sensor</h3><p>Having treated water as a mechanical generator of rhythm, our next step was to explore how it might also function as a sensing medium. Lab 10 introduced us to self-built capacitive sensors, i.e., materials acting as plates whose changing electric field could be read as touch or proximity. While the introductory exercises focused on foil patches and paper clips, we wondered what would happen if the “sensor plate” were not a surface, but an entire body of water: <em>If an acrylic tank were made into one conductive mass, could capacitance serve as a measure of collective interaction rather than individual touch?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1_tf-XY1KpdHUgvQWirjLQ.png" /><figcaption>Lab 10 instruction: basic capacitive sensing setup</figcaption></figure><p>Our first attempt was deliberately simple: inserting a single sensor electrode into the <strong>30 × 40 cm acrylic tank</strong> so that the water itself became the extended sensing surface. The moment a hand approached or a utensil entered the water, the measured value jumped sharply, giving us a clear, continuous signal. This confirmed our intuition that capacitance could register not only touch but also immersion and water disturbance <strong>(including the subtle agitation generated by the water wheel).</strong> In this sense, the water itself acted as <strong>a shared capacitive field</strong>, distributing input across all participants.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJdaKDnoGI_M&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJdaKDnoGI_M%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc7ac91713dc68bfbf7606a89f726a56/href">https://medium.com/media/bc7ac91713dc68bfbf7606a89f726a56/href</a></iframe><p>Encouraged by the single-probe result, we next explored whether interaction could be <strong>spatialized</strong> by distributing multiple electrodes around the tank. We placed <strong>six capacitive “pins” along the acrylic perimeter, hoping to estimate position by comparing relative changes across channels.</strong> In theory, each electrode would respond most strongly to disturbances near its region; in practice, the system collapsed almost immediately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YNmhItRDs83W9npZi0T7hg.jpeg" /><figcaption>The six-pin spatialization attempt: elegant in theory, but instantly reduced to saturated readings, merged channels, and us desperately flashing older ESP32 firmware at 4 AM</figcaption></figure><p>The ESP32 we switched to (seeking more pins) exhibited several well-documented limitations when connected to large conductive bodies. Touch readings saturated near the upper threshold, a behavior consistent with ESP-IDF reports of pads “sticking” after high-capacitance events. Long jumper wires added parasitic capacitance, and the foil-lined tank created a single, dominant capacitive mass. As described in <a href="https://docs.espressif.com/projects/esp-hardware-design-guidelines/en/latest/esp32s3/esp-hardware-design-guidelines-en-master-esp32s3.pdf">Espressif’s own guidelines</a>, <strong>large electrodes and floating conductors induce significant cross-talk</strong>, and our six channels quickly began behaving as one merged capacitor rather than a matrix of distinct regions.</p><p>After many iterations of repositioning wires, recalibrating baselines, and reducing electrode size, the result remained the same: while water is excellent for collective capacitive sensing, it is fundamentally unsuitable for fine-grained spatial localization in this configuration. The experiment clarified a conceptual and technical boundary: multi-point liquid capacitance wants to unify, not differentiate. <strong>(This was the moment when, after hours of debugging, we nearly crashed and regretted choosing to work with water and capacitance — two partners that refuse to behave on command.)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*PdTX-GieHtx2Bmdy.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*fKc9OmGPB-WddTB8ZmucQQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*s3g-EKphYPRmMFH6.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*nRcvuLRwnRw6SyUzDoCDOQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*v0cuWhTP1Rh2fzH--uZeGw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEe1veB17fetKEkrgYUJIw.jpeg" /><figcaption>We were too tired to document the chaos, but these memes will do the storytelling for us</figcaption></figure><p>This led us to reframe the question: instead of asking <em>where</em> interaction happens, what if we focused on <em>when</em> and <em>how collectively</em> it emerges? Returning to a single probe stabilized the readings, and turning the entire water body into a single shared sensor produced interesting social dynamics. Any disturbance — touching, stirring, dipping, pouring, or even the chain-conductivity of multiple people scooping with metal spoons— produced measurable differences. Capacitive change thus became <strong>a temporal signal</strong> rather than a spatial one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1_gbbpQG3VBTBWQccxSvQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3n1W81aRHzMr9iS7BdiorA.jpeg" /><figcaption>[Final Setup A] // Cooperative stirring as a shared conductive gesture to interact with water (left) and the corresponding single-probe capacitive circuit (right)</figcaption></figure><p>We mapped these changes to a melodic sequencer running on a piezo speaker. Every time capacitance rose above the baseline, a new arpeggiated phrase was triggered; if the signal returned to baseline too slowly or inconsistently, the pattern would reset. This created a rhythm rule that only collaborative or fast-enough interaction could satisfy: a single person moving slowly often caused gaps, while multiple people scooping water in succession produced a seamless continuity. What began as a sensing task evolved into a form of cooperative timing.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfjZIKTcFIOg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FfjZIKTcFIOg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfjZIKTcFIOg%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c026f28037a53a27fced193f14ddcc5/href">https://medium.com/media/3c026f28037a53a27fced193f14ddcc5/href</a></iframe><p>Once metal spoons entered the scene, the interaction slipped even closer to everyday gestures gamified. Continuous stirring by multiple participants kept the sequence alive; the moment the shared rhythm faltered, the melody collapsed into silence. The piece turned into a small <strong>game of collective maintenance</strong>: music appeared only when bodies agreed, however briefly, on how to hold the flow together.</p><h3>C) Floating Ecologies: Secondary Sensors and Harmonic Interference</h3><p>By the end of the previous phase, capacitance was no longer functioning merely as “touch detection.” It became a measure of group presence, synchronization, and shared flow; an input that foregrounded the social nature of interacting with water. This shift — from individual gesture to collective timing — opened up space for a new question: <em>What if the water surface could host multiple, semi-independent instruments rather than a single shared sensor? </em>After all, a water body naturally supports not only capacitance, but also drifting, colliding, and semi-autonomous objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PB4xyrieNXWiWW85zahYOQ.jpeg" /><figcaption>In early prototyping, a casual decision to float a lid on the water surfaced a new direction: interaction not by touch, but by drift and collision</figcaption></figure><p>We first experimented with purely mechanical extensions of this idea: letting floating objects drift through the wheel-generated currents to see whether the water’s own motion could create a richer interaction vocabulary. The results were charming but limited; although the drifting and occasional collisions produced delightful motion patterns, the perceptual mapping remained flat. Everything still fed into the same monolithic sensor. This made it clear that mechanical multiplicity alone wasn’t enough; the system needed a second voice, not just more movement.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqJr1VNrgJ8g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FqJr1VNrgJ8g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqJr1VNrgJ8g%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa709ecc2f0301309547d1fb38da60bc/href">https://medium.com/media/fa709ecc2f0301309547d1fb38da60bc/href</a></iframe><p>Our next step, then, was to create a truly independent sensing node: a second capacitive circuit, mounted on a <strong>small floating container (</strong>a repurposed food lid acting as a buoyant platform). This allowed us to introduce a new layer of interaction without disturbing the stability of the main sensing system. Ideally, we wanted this floating unit to be fully self-contained, housing its own Arduino, battery, and piezo speaker inside the little vessel/pod.</p><p>In practice, the container was far too small to safely hold electronics without compromising buoyancy. As a result, the floating sensor had to trail a thin wire to an Arduino stationed at the tank’s edge <strong>(producing an unintentionally fun “carnival Pond Fishing game” aesthetic)</strong>. Despite the tether, the container functioned as an independent sensor node: whenever water touched or disturbed its foil pad, its local capacitance fluctuated and triggered tones doubling the main tank’s arpeggiator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*htQZKlkM28FVQYFk_DIfbg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c8mneEIdri_zXMnf.jpg" /><figcaption>[Final Setup B] // with an update reminding us of many festival games we grew up with</figcaption></figure><p>Technically, this approach bypassed all the issues that made multi-pin localization impossible. The floating sensor maintained its own independent baseline, avoiding cross-talk, saturation, and the merged-capacitor behavior observed earlier. The water acted as a coupling medium: as the container drifted, collided, or responded to currents, its local readings shifted, creating a secondary melodic voice that weaved in and out of the main sequence. The result was a simple but effective form of emergent polyphony, with two instruments reading from the same liquid field, but following different rules.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6hXcYbG_9og%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2F6hXcYbG_9og&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6hXcYbG_9og%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c78b38e3bc48ab93e16a103edaf5c06e/href">https://medium.com/media/c78b38e3bc48ab93e16a103edaf5c06e/href</a></iframe><p>Although we only demoed one floating container, the behavior suggested clear future directions. With multiple containers — each running its own tempo logic and sensitivity — the system would likely exhibit <strong>harmonic interference</strong>: voices drifting in and out of phase, occasionally synchronizing, sometimes destabilizing one another. Even at this small scale, the combination of drift, collisions, and flow disturbances created patterns that felt neither fully predictable nor fully aleatory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0u15ZqbsOv1OBw6l_pgHw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIEdFSwl_fN3vgXgbdbm3g.jpeg" /><figcaption>Tests of imagined multi-container behavior: drifting pods whose embedded magnets nudged them into spontaneous pairings and collisions</figcaption></figure><p>In this configuration, the tank behaved less like a single deterministic instrument and more like a small ecology of interdependent sound sources. Rather than offering precise control, it encouraged participants to influence behavior indirectly (e.g., by stirring water, redirecting paths, sustaining layers, or intentionally destabilizing them). The sonic experience became a negotiation among bodies, objects, and water motion <strong>(with the water wheel sneaking in its own little eddies), </strong>where structure emerged from interaction rather than deliberate control of a predetermined score.</p><h3>D) Collective Sound Layering: p5.js as the Ambient Field</h3><p>From the beginning of this lab, we were not only interested in making water “sound,” but in asking whether digital tools could bring broader natural soundscapes into the same interaction. The physical setup already produced its own acoustics — foil crackles, water-wheel ticks, piezo arpeggios — but these were all highly localized and object-bound. To introduce rivers, wind, rain, and other ambient layers, we needed the computer as an additional instrument. This is what motivated the final <strong>p5.js integration: </strong>letting capacitive data from the water modulate <strong>pre-recorded natural soundscapes.</strong></p><p>Technically, the pipeline was straightforward: the main Arduino computed a normalized “intensity” value (0–100) based on filtered capacitive deltas, and streamed it over serial. On the browser side, a <a href="https://editor.p5js.org/syni/sketches/Ky1W2uEf7">p5.js interface</a> (<a href="https://editor.p5js.org/syni/sketches/Ky1W2uEf7">https://editor.p5js.org/syni/sketches/Ky1W2uEf7</a>) read this value continuously and treated it as the control signal for four looping ambient tracks borrowed from NIKIITO’s <a href="https://nikiito.com/interactive-audio.html"><em>Interactive Audiovisual</em></a> project (<a href="https://nikiito.com/interactive-audio.html">https://nikiito.com/interactive-audio.html</a>):</p><ol><li>river.wav</li><li>ta taa ta ta taa.wav</li><li>chime.wav</li><li>kids.wav</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPS5VLnaIut8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPS5VLnaIut8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPS5VLnaIut8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/10b55ec52ed63c574bc973b19bfe2ea0/href">https://medium.com/media/10b55ec52ed63c574bc973b19bfe2ea0/href</a></iframe><p>Instead of mapping intensity to a single parameter, we used it to <strong>fade entire layers in and out</strong>, effectively turning the computer into an ambient mixer that responded to collective interaction. In other words, the more hands interacting with the water, the more layers of sound. The ranges roughly corresponded to:</p><ul><li><strong>0</strong> → silence (all volumes = 0)</li><li><strong>1–29</strong> → only the river track active (volume mapped smoothly from 0.1 to 1.0)</li><li><strong>30–59</strong> → river + “ta-taa” rhythmic layer (suggesting two-person interaction)</li><li><strong>60+</strong> → all four tracks active (dense “many-body” environment)</li></ul><p>Because all tracks looped continuously and volumes changed smoothly, the resulting soundscape behaved less like discrete modes and more like a responsive climate. Sparse or hesitant interaction produced quiet, narrow textures; sustained or collaborative disturbance caused the environment to thicken into a richer polyphony. This digital layer did not replace the physical one. Instead, it created a <strong>two-tiered instrument</strong>: the foreground remained the mechanical and capacitive sounds produced at the tank, while the background expanded into responsive natural soundscapes whose presence and volume were shaped by collective intensity.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsW3mDLmaZgM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FsW3mDLmaZgM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsW3mDLmaZgM%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c6877c438038a6b1c8e662a59e653aec/href">https://medium.com/media/c6877c438038a6b1c8e662a59e653aec/href</a></iframe><p>In practice, this meant that the water became an interface for modulating an extended “nature” distributed across speakers. The more people (i.e., more hands in water, or even more people linking hands to extend conductivity in water) engaged with the tank, the more the mediated landscape responded, turning group presence into an expanding ambient ecology. In short, this mapping translated electrical intensity into social intensity.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIXOnWRbK9V4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FIXOnWRbK9V4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIXOnWRbK9V4%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aea4f6c66f4f1049e6d0de50f4abd99d/href">https://medium.com/media/aea4f6c66f4f1049e6d0de50f4abd99d/href</a></iframe><h3>E) Reflection</h3><p>Across all prototypes, water repeatedly revealed itself as a medium that distributes presence, rather than isolates input. Therefore, we had an unreasonable amount of fun and an equally unreasonable amount of suffering in this two-lab journey. Working with water and capacitance turned out to be the best and worst choice we made: beautiful as a concept, wildly unstable in practice. Nothing behaved the same way twice. Every change of room, table, humidity, USB port, or human constellation produced a slightly different electrical universe. We spent hours debugging, only to realize that the problem was not in our code but in the material itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QF4Vk6kO7OYS-C_ckgA8Kw.jpeg" /><figcaption>Presentation in class: partially working, our instrument doing its best impression of stability</figcaption></figure><p>The lowest point came when we discovered that our entire developing environment couldn’t be reproduced in class. On Wednesday in class, our supposedly stable readings collapsed to zero, making the final demo seemingly impossible. And then, in a moment that felt part scientific, part supernatural, the system partially revived itself after sitting untouched for about half an hour. In hindsight, it makes perfect sense: the tank, foil, water body, jumper wires, and even our own bodies form a slow, shifting capacitive ecosystem that needs time to discharge, repolarize, and equilibrate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yxiU6I3N4bNFzRPz.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EE2Yc0HEHTwuoUeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IlZNFJwRJ0T_m_kl.jpg" /></figure><p>Despite the unpredictability, this instability became strangely generative. Water refused to be a deterministic interface; capacitance refused to stay still. Instead, they demanded that we work with them as living, drifting materials; closer to ecology than electronics. This led us toward a design ethos grounded not in control, but in responsiveness, emergence, and patience. If our earlier labs taught us how to <em>build</em> interactions, this one taught us how to <em>wait</em> for them — which, honestly, <strong>feels exactly right for an experiment about shared flow.</strong></p><h3>Final Code</h3><pre>#include &quot;pitches.h&quot;<br><br>const int pinSend    = 4;<br>const int pinRecv    = 2;<br>const int speakerPin = 8;<br><br>// -------- Arpeggio --------<br>const int SCALE[] = {<br>  NOTE_C4, NOTE_D4, NOTE_E4, NOTE_G4, NOTE_A4, NOTE_B4,<br>  NOTE_C5, NOTE_E5, NOTE_G5, NOTE_A5<br>};<br>const int N = 10;<br><br>// -------- Tunables --------<br>const bool  INVERT_DELTA  = false;<br>const int   TIMEOUT_US    = 8000;<br>const int   CALIB_SAMPLES = 200;<br>const float BASE_ADAPT    = 0.0015f;<br>const float EMA_ALPHA     = 0.18f;<br>const float PEAK_DECAY    = 0.998f;<br>const float DEAD_K        = 3.0f;<br>const float COMP_GAIN     = 1.6f;<br>const float SAT_TH        = 0.97f;<br>const int   SAT_COUNT_ON  = 24;<br>const float EXPAND_FACTOR = 1.35f;<br>const float PEAK_HEADROOM = 1.08f;<br><br>// -------- State --------<br>unsigned long baseline = 0;<br>float  noiseSigma = 0;<br>float  deadband   = 0;<br>float  emaDelta   = 0;<br>float  peak       = 60;<br>int    lastOut    = -1;<br><br>unsigned long lastNoteTime = 0;<br>int currentNote = 0;<br>int direction   = 1;<br>int satCount = 0;<br><br>// -------- Capacitive read --------<br>unsigned long readCapOnce(unsigned long timeout_us = TIMEOUT_US) {<br>  pinMode(pinSend, OUTPUT);<br>  digitalWrite(pinSend, LOW);<br>  pinMode(pinRecv, INPUT);<br>  delayMicroseconds(5);<br><br>  unsigned long t0 = micros();<br>  digitalWrite(pinSend, HIGH);<br>  while (digitalRead(pinRecv) == LOW) {<br>    if (micros() - t0 &gt; timeout_us) {<br>      digitalWrite(pinSend, LOW);<br>      return timeout_us;<br>    }<br>  }<br>  unsigned long dt = micros() - t0;<br>  digitalWrite(pinSend, LOW);<br>  return dt;<br>}<br><br>unsigned long readCapAvg(int samples = 6) {<br>  unsigned long sum = 0;<br>  for (int i=0; i&lt;samples; i++) sum += readCapOnce(TIMEOUT_US);<br>  return sum / samples;<br>}<br><br>// -------- Setup --------<br>void setup() {<br>  Serial.begin(9600);<br>  pinMode(speakerPin, OUTPUT);<br>  randomSeed(analogRead(A0));<br><br>  // Calibration<br>  double sum = 0, sum2 = 0;<br>  for (int i=0; i&lt;CALIB_SAMPLES; i++) {<br>    unsigned long r = readCapAvg();<br>    sum  += r;<br>    sum2 += (double)r * (double)r;<br>    delay(5);<br>  }<br>  baseline   = (unsigned long)(sum / CALIB_SAMPLES);<br>  double var = sum2 / CALIB_SAMPLES - (double)baseline * (double)baseline;<br>  noiseSigma = (var &gt; 0) ? sqrt(var) : 1.0;<br>  deadband   = (float)(DEAD_K * noiseSigma);<br>  if (deadband &lt; 2.0f) deadband = 2.0f;<br><br>  peak = deadband * 10.0f;<br><br>  // Startup melody - arpeggio<br>  for (int i=0; i&lt;4; i++) { <br>    tone(speakerPin, SCALE[i], 120); <br>    delay(160); <br>  }<br>  Serial.println(&quot;Arpeggio ready&quot;);<br>}<br><br>// -------- Loop --------<br>void loop() {<br>  unsigned long raw = readCapAvg();<br>  long d = INVERT_DELTA ? ((long)baseline - (long)raw)<br>                        : ((long)raw - (long)baseline);<br>  if (d &lt; 0) d = 0;<br>  float delta = (float)d;<br><br>  if (delta &lt; deadband) delta = 0.0f;<br><br>  if (delta == 0.0f) {<br>    baseline = (unsigned long)((1.0f - BASE_ADAPT) * (float)baseline + BASE_ADAPT * (float)raw);<br>  }<br><br>  emaDelta = (1.0f - EMA_ALPHA) * emaDelta + EMA_ALPHA * delta;<br><br>  if (emaDelta &gt; peak * 0.98f) {<br>    peak = emaDelta * PEAK_HEADROOM;<br>  } else {<br>    peak *= PEAK_DECAY;<br>  }<br>  float minPeak = deadband * 6.0f;<br>  if (peak &lt; minPeak) peak = minPeak;<br><br>  float norm;<br>  if (emaDelta &lt;= deadband) norm = 0.0f;<br>  else                      norm = (emaDelta - deadband) / (peak - deadband);<br>  if (norm &lt; 0) norm = 0;<br>  if (norm &gt;= 1.0f) norm = 0.999f;<br><br>  if (norm &gt; SAT_TH) {<br>    satCount++;<br>    if (satCount &gt; SAT_COUNT_ON) {<br>      peak *= EXPAND_FACTOR;<br>      satCount = 0;<br>    }<br>  } else if (satCount &gt; 0) {<br>    satCount--;<br>  }<br><br>  float shaped = tanhf(COMP_GAIN * norm) / tanhf(COMP_GAIN);<br>  int intensity = (int)roundf(shaped * 100.0f);<br><br>  if (abs(intensity - lastOut) &gt;= 2) {<br>    Serial.println(intensity);<br>    lastOut = intensity;<br>  }<br><br>  if (intensity &gt; 5) {<br>    playSmoothArpeggio(intensity);<br>  } else {<br>    noTone(speakerPin);<br>    currentNote = 0;<br>    direction   = 1;<br>  }<br><br>  delay(8);<br>}<br><br>// -------- Tone logic --------<br>void playSmoothArpeggio(int intensity) {<br>  unsigned long now = millis();<br><br>  // Speed control: faster with more intensity<br>  float x = constrain(intensity / 100.0f, 0.0f, 1.0f);<br>  int noteInterval = 650 - (int)(powf(x, 1.4f) * 450.0f);<br>  if (noteInterval &lt; 200) noteInterval = 200;<br><br>  if (now - lastNoteTime &gt; (unsigned long)noteInterval) {<br>    int maxNote = map(intensity, 6, 100, 4, N);<br>    if (maxNote &lt; 1) maxNote = 1;<br>    if (maxNote &gt; N) maxNote = N;<br><br>    int freq = SCALE[currentNote];<br>    int duration = (int)(noteInterval * 0.75f);<br>    tone(speakerPin, freq, duration);<br><br>    currentNote += direction;<br>    if (currentNote &gt;= maxNote) { currentNote = maxNote - 1; direction = -1; }<br>    else if (currentNote &lt; 0)   { currentNote = 0;           direction =  1; }<br><br>    lastNoteTime = now;<br>  }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e55d2c2471e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Final Project Proposal: HydroCommons]]></title>
            <link>https://medium.com/@shaoweiw/final-project-proposal-hydrocommons-2c6dab602e8f?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c6dab602e8f</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 07:57:21 GMT</pubDate>
            <atom:updated>2025-11-04T20:43:50.120Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><p><strong>Liliu Yao, Aonan Jiang, Xiao Peng, Teddy Tian, Shaowei Wang</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Z0gLnapMLjnuZ0BzT6m4Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIPJNT01wICZAMJSmQmY_w.jpeg" /><figcaption>At once geometric and social, the South Hall fountain invites multiple bodies sharing a single circular source</figcaption></figure><h3><strong>STATEMENT</strong></h3><p><em>HydroCommons</em> investigates water as an interface between bodies, infrastructures, and environments. The project begins from a simple observation: in public fountains, water performs an invisible choreography of flow, delay, and disappearance. Yet this choreography — its infrastructural rhythm, resonance, and residue — usually escapes our perception. At Berkeley, most students’ closest contact with water is the fleeting act of refilling bottles at drinking fountains; merely a quick, unconscious gesture to quench thirst. This daily gesture, efficient yet detached, mirrors a broader disconnection between human routines and the ecological cycles that sustain them. <strong>Water becomes an invisible service rather than a shared medium, and its infrastructural life — from source to spout to drain — is erased by design.</strong></p><p>Through a series of non-invasive prototypes, <em>HydroCommons</em> seeks to translate these hidden dynamics into tangible sensory experiences. Whether through redirected flow, capacitive sensing, or audiovisual reflection, each iteration explores <strong>how water can “speak back” to human interaction and reveal the temporal life of infrastructure.</strong></p><p>Rather than altering the plumbing system, the project works alongside it: listening to water, not controlling it. Specifically, we are interested in <strong>prototyping with the water fountain on the second floor of South Hall.</strong> By amplifying what is normally unnoticed (e.g., the shimmer of overflow, the aftersound of drops, the ecological after-images, the rhythm of shared gestures), <em>HydroCommons</em> reimagines everyday maintenance systems as collective attention, media environment, and subtle reciprocity.</p><h3>BODYSTORMING</h3><p>Our early explorations began with a series of walks and bodystorming sessions around different water infrastructures on campus (both indoors and outdoors). We visited neglected outdoor fountains and basins that seemed half-forgotten, their plumbing turned off except on rainy days. These spaces intrigued us precisely because they were <em>not</em> functioning as designed: dry bowls collecting leaves, drains filled with dust, metal pipes corroded but still glistening when rainwater touched them again. We discussed how such sites might be reactivated through design, perhaps <strong>allowing natural rainfall to trigger subtle responses, such as acoustic ripples, flickering light, or resonance carried through pooled water.</strong> These ideas raised questions about activation, dormancy, and ecological temporality: when does infrastructure stop functioning, and when does nature reclaim its rhythm?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Em4xlIHXJqHsfUm5.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ShuMEYitRmluAUQc.jpeg" /><figcaption>Obsolete outdoor water fountain at Berkeley near Strawberry Creek</figcaption></figure><p>At the same time, we turned our attention to indoor fountains (especially the drinking stations scattered through South Hall and nearby buildings) where human–infrastructure contact is most habitual. In these sites, water flows not by rainfall but by gesture: a brief press of a button, a tilt of a bottle, the fleeting alignment of body and stream. During bodystorming, we reenacted and exaggerated these gestures: <strong>bending closer, slowing down, listening for the first drop, tracing the residual trickles that escaped the drain.</strong> These actions revealed how the human body already collaborates with the fountain through micro-temporal adjustments, by <strong>anticipating the delay between press and flow, repositioning as water levels rise, responding to the faint resistance of pressure.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQuSSxjttIG_ZID_qQZNbw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dhJO43Vf41prlt0MPIoqFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvsQswIt9uea4fGSA50IZA.jpeg" /><figcaption>Different users enact the same function through subtly varied postures, revealing how infrastructure choreographs the body</figcaption></figure><p>Ultimately, we decided to focus our prototyping on the <strong>indoor drinking fountain outside Room 202 in South Hall (which is the classroom for TUI); </strong>a site that is both infrastructural and social. The choice was guided by everyday accessibility and ethical constraint: we cannot modify plumbing or interfere with campus systems, but we can work <em>alongside</em> them. This fountain captures the essence of our inquiry: it is ordinary, yet deeply infrastructural; public, yet often overlooked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KspieTivEU4zmA4UfH0zmQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bE66dub--fsFJv030qYy6A.jpeg" /><figcaption>South Hall fountain in situ (left); temporary basin overflow during a drainage failure (right)</figcaption></figure><p>The chosen site is a compact yet socially active fixture within the corridor. The fountain consists of a single press-activated outlet and a shallow circular metal basin mounted at waist height. Its design allows multiple users to stand simultaneously around the same source, forming natural approach vectors. Facing the fountain is a wooden wall with electrical outlets, offering potential placement for sensors, cameras, or projection. The layout creates a subtle “stage” of reciprocal positions: the user, the stream, and the reflecting surface opposite. Beneath, a square rubber mat anchors the site visually and tactilely, evoking a geometry of <em>“round above, square below”</em> as a modern echo of classical aesthetics. These spatial and material conditions make the South Hall fountain an ideal point of inquiry: geometrically simple yet socially complex, infrastructural yet open to poetic reinterpretation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*cGkbWxdQaFWw2wm584tQbQ.gif" /><figcaption>Testing how varying pressure alters the flow trajectory and residue pattern on the fountain surface</figcaption></figure><p>From these bodystorming sessions, we identified several key insights:</p><ol><li><strong>Infrastructural latency</strong><br>The brief <em>temporal gap</em> between pressing the button and the appearance of water reveals an invisible layer of time embedded in the system. This latency mirrors <strong>a broader temporo-spatial structure: the delayed, deferred connection between the user and the creek as the water’s unseen source.</strong> What feels instantaneous is sustained by invisible intervals of flow, storage, and filtration, constituting an infrastructural temporality that often goes unnoticed.</li><li><strong>Residue as time made visible</strong><br>Every refill leaves <em>traces</em>: the slow drip of excess water, the cooling film that evaporates on the metal surface, and the echo that lingers after the user walks away. <strong>These residues continue to perform after the human gesture ends and the user walks away</strong>. They make the passage of time tangible and hint at water’s independent choreography as its capacity to move, persist, and disappear on its own terms. We began to imagine how these<strong> traces could become sensory cues rather than waste</strong>; as interfaces of attention instead of by-products.</li><li><strong>The body as input</strong><br>Each user interacts through slightly different <em>gestures</em> by bending, leaning, tilting, or pressing with varying force. These variations create distinct flow trajectories and sound patterns, forming a subtle feedback loop between human posture and water’s rhythm. The fountain, in this sense, already “senses” and responds to bodily difference.</li><li><strong>Collective choreography</strong><br>The fountain’s circular geometry allows up to three users to stand side by side, forming a natural triangular configuration. This shared rhythm of waiting, refilling, and observing others introduces a social dimension: a quiet ensemble of coordinated gestures. The public nature of the fountain makes collectivity inherent to its operation, even in moments of mundane use.</li><li><strong>Minimal intervention and excess as entry point</strong><br>Because the plumbing system cannot be altered, the design must remain non-invasive and reversible. The most meaningful interaction may arise not from control but from attentiveness. By amplifying what is already there — the overlooked drips, reflections, and resonances — the project works with water’s excess rather than against it. These peripheral phenomena become both ethical and aesthetic openings for design.</li></ol><h3>PROTOTYPING</h3><p>Building on the key insights from our bodystorming sessions, our prototyping process explores how minimal, reversible interventions can make the fountain’s invisible rhythms perceptible. Rather than adding new functions, the design focuses on <em>listening to existing signals</em> (e.g., body movement, touch, flow, and sound) and translating them into subtle forms of feedback.</p><p>We experimented with potential inputs and outputs. For input, we considered <strong>body-based sensing: the capacitive shift of proximity, the vibration of touch, the subtle acoustic change when water meets a surface. </strong>For output, we explored how the <strong>path of flow, sound, light, and visual projection</strong> might serve as indirect reflections rather than control mechanisms.</p><p>Each prototype phase follows the same structure: <strong>(1) sensing the gesture, (2) detecting the water’s response, and (3) returning feedback</strong> through sound, light, or motion. These layers together form a closed but open-ended loop between human, water, and infrastructure.</p><h3>1. Inputs and Sensing</h3><p>Our imagined possible sensor mappings are grounded in the embodied gestures observed during use: approach, bend, press, fill, and leave. Each movement introduces measurable changes in distance, angle, vibration, or sound, which can serve as entry points for sensing.</p><ul><li><strong>Proximity sensing</strong> (ToF or camera) detects the moment a body enters the 60–80 cm interaction zone, activating the system’s “awareness” layer before water flow begins.</li><li><strong>Posture and bending angle</strong> can be captured via a camera or multi-point IR array, distinguishing between standing, bending, or leaning patterns.</li><li><strong>Press detection</strong> is measured with a piezo sensor mounted behind the metal panel, providing reliable feedback for “start of interaction.”</li><li><strong>Water sound and flow rate</strong> are analyzed through directional microphones; frequency and RMS changes help identify dripping, steady flow, and end-of-stream events.</li><li><strong>Bottle vs. mouth interaction</strong> is inferred through optical reflection or blocking patterns, distinguishing vertical and tilted modes.</li><li><strong>Presence and number of users</strong> are detected via floor FSR sensors, divided into three zones (left, center, right) to capture collective configurations.</li><li><strong>Duration and exit</strong> are measured through the continuity of FSR pressure and sound decay, defining the temporal boundary of an interaction.</li></ul><p>We do not intend to implement all of these ideas; rather, they collectively outline an <em>embodied sensing grammar</em> as a way of reading bodily and hydraulic states without invasive modification.</p><h3>2. Outputs and Feedback</h3><p>Feedback could occur in three layers —mechanical, acoustic, and visual— each corresponding to a different perceptual register of water’s agency.</p><h4>2.1. Mechanical Layer</h4><ul><li><strong>Micro-actuation:</strong> small servo or leaf structures gently redirect overflow, leaving drinkability intact.</li><li><strong>Platform tilt:</strong> a slightly inclined surface visualizes excess water paths as visible traces of residue.</li></ul><h4>2.2. Sound Layer</h4><ul><li><strong>Natural layer:</strong> amplify existing sounds of dripping and distant reverberation by including natural soundscapes.</li><li><strong>Proximal layer:</strong> filter or granularly remix real-time water sound, allowing water to “perform” itself.</li><li><strong>Infrastructural layer:</strong> introduce low-frequency drones reflecting maintenance rhythms or infrastructural hums.</li><li><strong>Event cues:</strong> minimal ticks or tonal signals marking the start or end of flow.</li></ul><h4>2.3. Visual Layer</h4><ul><li><strong>Projection mapping:</strong> cast silhouettes and ripples of users onto the opposite wall, turning gesture into visible echo.</li><li><strong>Ecological reflection:</strong> project subtle imagery (local plants, creek currents) linked to user count or water speed.</li><li><strong>Under-basin light band:</strong> a breathing light along the edge, shifting with overflow or flow intensity.</li></ul><h3>3. Design Logic</h3><p>The prototypes thus operate less as tools and more as <strong>interfaces of attention</strong>, extending the temporal and sensory presence of water within its existing infrastructure. Rather than inventing new functions, the design listens to water’s existing rhythms (i.e., its latency, residue, and responsiveness) and translates them into perceptible gestures.</p><p>Based on our observations, <strong>three overall directions emerged for prototyping</strong>:</p><ol><li><strong>Hydraulic intervention: </strong>subtle redirection of overflow or pressure to alter residue paths;</li><li><strong>Sensory reflection: </strong>translating these variations into light and sound decay to reveal infrastructural latency; and</li><li><strong>Representational feedback:</strong> projecting visual traces or ecological data onto the water surface.</li></ol><p>Each direction addresses a different layer of mediation between body, water, and infrastructure, together forming what we call water as an <em>interface of attention</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bgdUpN_mMR16WPjDbW2eZw.jpeg" /><figcaption>Sketch of potential ideas and iterations</figcaption></figure><p>Spatially, these conceptual directions take form through <strong>three possible dimensions of intervention</strong>:</p><ol><li><strong>On-surface: </strong>working directly with the metal basin to shape or redirect the stream through attachable elements that respond to gesture or pressure.</li><li><strong>Below-surface: </strong>collecting overflow in a shallow basin containing a submerged speaker, transforming dripping patterns into resonant tones and vibrations.</li><li><strong>Wall-surface: </strong>using the facing wooden wall as a projection field, visualizing silhouettes, ripples, or ecological data that respond to presence and flow.</li></ol><p>Together, these planes constitute a distributed choreography of sensing and attention — tactile, acoustic, and visual — through which water performs with human presence rather than being controlled by it. Each spatial and conceptual direction also corresponds to insights distilled from our field observations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qEtHconIwBSSTh5sa5ETg.png" /></figure><p>By listening to its existing flow, resonance, and overflow, we aim to design a minimal, reversible interface that lets water “speak back” to human routines. Rather than inventing new interactions, <em>HydroCommons</em> attends to the ones already happening by quietly amplifying the shared, temporal life of water in a place where no one expects to find it.</p><h3>REFERENCES &amp; PRECEDENTS</h3><p>At this stage, <em>HydroCommons</em> is still an open system in formation. Our team has not yet finalized the mechanism or form of interaction; instead, we are testing multiple directions from redirected flow to capacitive sensing, from sonic resonance to visual feedback. The following references serve as both <strong>technical and conceptual anchors</strong>: they inform how we might materialize “water as interface,” while also clarifying what remains missing or underexplored. Rather than models to imitate, these precedents function as <em>critical mirrors, </em>revealing how design can move from spectacular display to subtle infrastructural attunement.</p><h4>1. Gurgle — Augmented Drinking Fountain</h4><p><a href="https://doi.org/10.1145/2207676.2207773"><em>E. Arroyo et al. (CHI 2012</em></a><em>)</em></p><p>This project overlaid sound and projection feedback on a public drinking fountain to encourage passers-by to pause and drink. It revealed how minimal intervention — working <em>with</em> existing infrastructure — can shift behavior from functional to attentive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*VvDYwtk-OhK-tqLkQfHVEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*fUWCboV1dBs-ecVSudMjrQ.png" /></figure><p>Yet its feedback remained instantaneous: once drinking stopped, the system fell silent. It made us wonder how a fountain might continue speaking after the gesture ends: how water’s own rhythm could extend beyond the user’s body.</p><h4>2. Pulse Tank</h4><p><a href="https://www.lozano-hemmer.com/pulse_tank.php"><em>Rafael Lozano-Hemmer, 2008</em></a></p><p>Visitors’ heartbeats are captured and translated into ripples of light and sound across water. Its immediacy is visceral, as water becomes an amplifier of inner rhythm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*r3-5gXMbZ2iXRJ1n.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/0*5ZRyK9vqOFlOoei0.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*0cBcqJW9yvwvz4nl.jpg" /></figure><p>But in our context, this closed loop felt too perfect, too complete. It led us to ask: what if feedback were delayed, uneven, or decaying? Could infrastructural latency itself be aestheticized — the time it takes for water to settle, drain, or echo?</p><h4>3. HydroMorph — MIT Media Lab (Tangible Media Group, 2014/2016)</h4><p><a href="https://spectrum.ieee.org/mit-turns-splashing-water-into-an-interactive-display"><em>HydroMorph</em></a> transforms falling water into a dynamic “membrane” through servo-actuated modules beneath the surface. It treats water not as a display but as a responsive surface that reshapes in real time. Technically, this informed our curiosity about <strong>flow-path modulation</strong> without plumbing modification; conceptually, it proposed water as a <em>living skin</em> — thin, reactive, and temporal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AEmjirCewIf1l_DL" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*4ZNO39ThfZIVF54R.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y2_hOBg3yPGaQCMk" /></figure><p>We began to imagine how the residues on our fountain might form their own fleeting membranes, tracing gesture through persistence rather than spectacle.</p><h4>4. Source to Spout — The Water Fountain Project</h4><p><a href="https://adriansas.com/sourcetospout"><em>Adrian Sas &amp; New York City Parks Department, 2021</em></a></p><p>Each park fountain was wrapped with photographs of its upstream watershed, reminding users where their water originates. It translates ecological data into visible image, turning infrastructure into pedagogy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jOF0czbdOxXdloRCy4uytw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vN9BGjGffzyg_UI4M2C4uw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YLJJG6Rddkse5MCH5jrsUg.jpeg" /></figure><p>But its mode of address is symbolic rather than embodied. For us, it raised the question: can awareness be felt through <strong>delay and sound</strong>, not signage? Can a user hear the distance between their gesture and the creek that sustains it?</p><h4>5. Interactive Imprinting of Sound in Water — S. Konstas et al. (2012)</h4><p>This installation used speakers to imprint sound waves on a water surface and project the resulting ripples as visuals. It showed how acoustic vibration can become visible, how sound writes on water.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*ce5-rmJemnSxNNWbMN4Cgw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5l1-md981PJR08zKs-Lefg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vxpUEs0hUIC_nljJZG_znA.jpeg" /></figure><p>Yet its environment was a laboratory, not a shared space. It reminded us that our challenge is to integrate such responsiveness into a <strong>public utility</strong>, where feedback arises through everyday use, not performance.</p><h4>6. The Ways of Water — Kuan-Ju Wu et al. (2024)</h4><p>This series of installations by <a href="https://wukuanju.com/art/SignsOfWater">Kuan-Ju Wu</a> et al. explores how the water surface itself can act as a communicative membrane. Using ultrasonic transducers, the project animates small containers of water, transforming still surfaces into living topographies that respond to data, environment, and touch. Across its variations, the project renders information not as pixels or sound but as ripples, oscillations, and resonance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQbfM29CaSzlpVvpNdH5-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yk3Rzk4qjiUx7FHrPi6TTA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3oPIqRKOgS45AEwKOK7nbA.png" /></figure><p>For us, it opened a concrete and poetic possibility: what if the residue left on a campus fountain could behave like such a reactive membrane, <strong>registering gesture through micro-waveforms and delays</strong> rather than display screens or lights? Its approach reminds us that sensing water is not about visualization, but about <strong>reading its surface as a living record of flow</strong>.</p><h4>7. Aquatopia Fountain — Katrin Spranger (2023)</h4><p><a href="https://www.designboom.com/art/lab-parts-plumbing-objects-organic-forms-shape-aquatopia-drinking-fountain-katrin-spranger-02-05-2023/">Spranger’s community-crafted fountain</a> reimagines industrial plumbing through glass and copper. It foregrounds material beauty and shared making, but not the temporal life of water.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*D8vEfci-MF4m9uJbser1OA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*L5qkbzkMQzZXp8QTmS4OHA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*3NB8eIM9eXft0M5VSPP2FA.jpeg" /></figure><p>For us, it became a reminder that aesthetics can coexist with system awareness: that design might listen to <strong>infrastructure’s slow time</strong> as much as to form.</p><h4>8. Local Lineages: Strawberry Creek StoryMap &amp; Being the Creek</h4><p><em>UC Berkeley Office of Sustainability, 2023 / Yang &amp; Ryokai, ACM CHI 2025</em></p><p>The <a href="https://storymaps.arcgis.com/stories/2316b7098b984313afe8ecbfb6a49653"><strong>Strawberry Creek StoryMap</strong></a> anchors our project in the ecological and infrastructural history of the campus. It visualizes how water once moved visibly through the university grounds, before pipes, buildings, and drainage systems confined it underground.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*KpDowlVVuK4iS8jJBv3TGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hagFWStTNwWodqHjkri1ug.png" /></figure><p>For <em>HydroCommons</em>, this historical mapping becomes both a literal and conceptual substrate: our drinking fountain connects to the same buried creek that sustained the original site. To listen to the fountain, then, is also to listen to the creek.</p><p>In <a href="https://dl.acm.org/doi/full/10.1145/3706598.3713713"><strong>“Being the Creek” (ACM CHI 2025)</strong></a>, <em>Yangyang Yang &amp; Kimiko Ryokai</em> explore “more-than-human” perception through interactive design, translating the flows of Strawberry Creek into a hybrid human–nonhuman sensory experience. Their work expands the idea of interface beyond tool and user, toward mutual attunement and care.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*OBHTGtm30vAO9-wpWxh6AA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SFvH9R2WWtU9a2wYe7uJJw.png" /></figure><p>It reminds us that to design with water is not to represent it, but to <strong>enter its temporality, </strong>cohabiting rather than control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c6dab602e8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 8: Simple Mechanics]]></title>
            <link>https://medium.com/@shaoweiw/lab-8-simple-mechanics-9a6be5818ed0?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a6be5818ed0</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 06:18:26 GMT</pubDate>
            <atom:updated>2025-10-28T21:52:06.637Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><p><strong>Group 5: Zhiyu (Athena) Jiang, Shaowei Wang, Rani Sheth, Juliana Covarrubias, Kristen Larson, Joseline Chang</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*1iiTJxXQ9dyZUyNEQomOEw.gif" /><figcaption>Who let the dog out? (woof, woof, woof, woof)</figcaption></figure><h3>Lab Description</h3><p>This week’s goal was deceptively simple: translate rotational motion into other types of motion. We studied how wheels and linkages work together to convert circular motion into linear displacement, and were asked to create a “Cuckoo Clock” mechanism — a tiny automaton. The task was divided into three-step requirements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2c7YdTCAQuPIULyZbWCS3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*d9b2t-RAPoiHNs2Kof6o5Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eo__5zGQyoqzFFy4wdh_vw.png" /></figure><ol><li>Design a door that opens and closes through a linkage system.</li><li>Create an element (a bird, or in our case, a puppy) that moves forward and backward as the door opens.</li><li>[OPTIONAL] Automate the motion with DC motors and servo motors controlled by Arduino.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DQB0BaWnPR1cv-wemFSwPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aM7jxxfW2nUC51K4kUdcXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9eWSNPWDySV0qqt1Lkp84A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9WT4EOohppkH915RCt4xaw.png" /></figure><p>The lecture slides showed how a four-bar linkage can reverse, amplify, or redirect motion; how wheels can convert rotation into linear force while modulating torque. We experimented with both principles to choreograph our own motion: a small poodle stepping out from a wooden door, possibly hurrying for treats or walks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*8JMfkZsXQqftb_5BzRZgtg.avif" /><figcaption>Our imagined outcome: the moment we wanted the mechanism to capture</figcaption></figure><p>We quickly completed the first two parts, and the manual mechanism worked beautifully. The door opened smoothly, and the little dog leaned forward on cue. Confident with the result, we assumed that adding a DC motor would simply turn the wheel automatically. But the moment we connected it, we learned something subtle: motion driven by the hand and motion driven by electricity are not the same kind of life.</p><h3>Components Used</h3><ul><li>Arduino × 1</li><li>Breadboard × 1</li><li>Servo motor × 1</li><li>DC motor × 1</li><li>Assorted wires</li><li>A handcrafted wool-felt puppy</li><li>Recycled cardboard, wood, tape, metal rod, hot glue, pins, popsicle sticks, and various craft materials</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MhKItkWQzWU1rZvSPt7bNA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cwF5DlKHCN7Il9e69EeNNg.jpeg" /><figcaption>Craft materials laid out for this week’s exploration in mechanics</figcaption></figure><h3>A) PART I: The Linkage</h3><p>Inspired by a small bird automaton video, we decided to create a similar mechanism. We began sketching a connecting-rod structure that could coordinate the two movements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*L5OEwVWUzaeaLMFaW79_GA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRMqA4pzAdcfW2a5yUVUeQ.jpeg" /><figcaption>Sketching the first mechanism, inspired by a bird automaton toy</figcaption></figure><p>To let the door open while the moving platform leans forward, we chose a simple push-pull linkage, where one bar’s rotation drives the other’s translation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dsi9QVxz506o09OMqcM5qA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*gxus4F-BenwqEYojfVjRow.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IXJTkFsvdrMTJPWxouCcyA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*al4kjT0Yvkudr2m4ghTq_Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*EFL5bRN5Et4Gxui9-9ZQSg.gif" /><figcaption>Turning sketches into structure: testing angles and balancing tension</figcaption></figure><p>We used popsicle sticks and thumbtacks to build the joints, allowing the linkage arms to pivot freely while staying aligned. A supporting strip beneath the board anchored the motion and stabilized the push-pull direction. We attached a temporary placeholder (a small sliding base that would later carry the puppy). When everything was assembled, the mechanism moved cleanly: one push opened the door and nudged the placeholder outward in the same breath.</p><h3>B) PART II: The Wheel</h3><p>After the linkage was working smoothly, we wanted to replace the hand’s motion with a wheel, to let the door open automatically rather than through direct touch. We built a simple crank mechanism: a recycled plastic disc fixed beneath the board, connected by pins and another set of linkage to the linkage above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*PpEXDjtxzj0ROYYP9kLpwQ.png" /><figcaption>Crank mechanism under test</figcaption></figure><p>When the wheel turned, the door opened and the placeholder moved forward in sync. We then placed the puppy on top of the moving base to complete the full motion sequence. To stabilize the structure, we also glued two bottle caps underneath the cardboard base as makeshift wheels. They lifted the moving platform just enough to create a steady height, preventing the linkage from dragging against the surface and keeping the motion smooth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*nEx98_h6ZMBlOIX1tLNE9A.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JDsa0bfygr2MykNtTOoMiQ.jpeg" /><figcaption>Placing the puppy on top of the moving base</figcaption></figure><p>However, we soon realized that the base was not long enough, so the linkage could not push the puppy’s head fully through the door. So we dismantled the upper part again, replaced the short wooden piece with a longer plastic straw, and rebuilt the linkage using popsicle sticks and thin wire for extra reach and flexibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ykk4NHGxxVKP_snbZtRetw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*iBV1DmxirXDKuarJbRDw1g.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Afw1ElxysyKD-5J0AoJb2Q.jpeg" /><figcaption>Rebuilding the mechanism with a hinged door and an extended linkage, allowing the puppy to finally reach outside</figcaption></figure><p>We also rebuilt the door itself. Using thick pine panels, masking tape, and rubber bands, we created a proper hinged door that could bend and return to position naturally. The new linkage was then hot-glued directly to the wooden gate, so every push from the straw would lift the door while nudging the puppy forward in one synchronized motion.</p><h3>C) PART III: DC Motor Attempt &amp; Manual Automaton</h3><p>After the mechanism worked perfectly by hand, we wanted to further our exploration of automation: Could the door open by itself? We tried connecting an Arduino-controlled DC motor to the wheel, reusing the circuit and potentiometer from Lab 6. The idea was simple: the wheel’s circular motion would drive a chain of wooden linkages, pushing the puppy forward while lifting the door; the same choreography, now electrically controlled. We connected the wooden strips with thumbtacks and pinned the end of the last bar to a vertical circular sheet attached to the motor shaft, translating rotation into a linear push.</p><p>Then we turned the knob, yet nothing moved. Only a faint hum filled the box, like a sigh from inside the machine. The wheel didn’t even twitch, with the puppy tethered to stillness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilbIXmHLN00rnxnjCwMOmg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XYXSL4_fFtX8rNYxo4ypKQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUCIwXH8EStk_8Baa-Xs4A.jpeg" /><figcaption>The setup was perfect, except for the part that was supposed to move</figcaption></figure><p>We spent a long time troubleshooting — checking loose wires, joints, and angles — before realizing it was probably an issue of torque. What had seemed like the same rotation revealed itself as a completely different world of requirements. A hand’s motion comes with subtle pressure, momentary hesitation, and intuitive compensation. A motor, by contrast, delivers perfect indifference. It turns at a rate, not in relation. The design that felt alive under the hand became unresponsive under automation.</p><p>For those of us with little background in mechanical engineering, this was almost a revelation. We learned that automated motion is not just geometry but also temperament. Even a simple spin can collapse when the world’s smallest frictions start to matter. In the end, we went back to the crank for a manual demo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/1*qudj0fCf8DP5fdAIFZ6Z4w.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*b2XwBy77qxJPLhip2TX-3w.gif" /><figcaption>A manual demo, with the DC motor serving nobly as a wheel stand</figcaption></figure><h3>D) PART IV: Servo Solution &amp; Simplifying the System</h3><p>After wrestling with the torque issue, we decided to abandon elegance for reliability. Instead of re-engineering the wheel and linkages, we went for a simpler (and almost brute-force) solution: mount the main connecting lever straight onto the servo. By removing the central pin and fixing the arm at the servo’s center, the rotation itself became the new hinge. Unlike the DC motor’s blind spin, the servo’s controlled angle offered precision. Now the servo oscillated smoothly between 50 and 170 degrees, driving the door open and shut without complaint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*knoL2nvVubPOFEo3SC6pWw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHmg5Jz3oahsnqksjiPKRg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*yXmwCR6u1ZSOzrd8wNqipw.gif" /><figcaption>Servo-mounted lever and wiring setup for final motion test</figcaption></figure><p>It might not be the most elegant mechanics, but it was faithful motion. Sometimes, the most efficient engineering is just giving up on sophistication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*qtFmUIf7p7Zpt96mUVUusw.gif" /><figcaption>Lining the interior with black paper</figcaption></figure><p>Once the servo finally behaved, we turned our attention to the stage. We lined the interior with black construction paper to conceal the wiring, then enclosed the whole setup within a cardboard shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RNzI3gYpBAdMijdUluG5cg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*htzAfYQu73Bfxo66b7tGLA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sOXSbAhux1rZRDJroMYy4A.jpeg" /><figcaption>Assembling the final stage</figcaption></figure><p>A piezo buzzer was mounted inside, and the code was updated so that each time the puppy peeked through the door, it played a short variation of the children’s song <em>Bingo. </em>Now it is a proper little theater box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6mbTvzgn9xN1mdr8jUm0Ig.jpeg" /><figcaption>A boxed automaton with sound, every peek now coming with a tune</figcaption></figure><p>Before the final video, the desk looked like a small storm had passed: scraps of cardboard, wires curling like question marks, the servo still warm from testing, and some of us with fingers singed by hot glue. It took quite a while to clear the wreckage before filming the demo.</p><p>Nothing about the setup was polished, yet the motion felt alive. Maybe that’s what makes physical building different: it doesn’t just show how things work, but lets you <em>feel</em> them working. Our little “cuckoo dog” reminded us that motion is never neutral; every rotation hides a small drama of force, friction, and timing.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fz18fmJsKfBQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2Fz18fmJsKfBQ%3Ffeature%3Dshare&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fz18fmJsKfBQ%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/179480a40435de70abc214053a479d47/href">https://medium.com/media/179480a40435de70abc214053a479d47/href</a></iframe><p>In this lab, we didn’t follow the usual engineering path. We sketched instead of drafting, built before modeling, and trusted the weight of cardboard and the sound of a servo more than equations. What we made came less from precision than from curiosity, trial, and a kind of tactile reasoning. Code can model motion, but it can’t feel resistance; understanding arrived not through control, but through contact.</p><p>Each misalignment became a quiet dialogue between our hands and the mechanism. We began to see how engineering lives in negotiation between form and force, between what’s ideal on paper and what actually moves. Every squeak and stall revealed the hidden generosity of friction: the kind that makes learning stick. It was messy, sometimes absurdly so, but that mess was instructive.</p><p>That detour from convention turned out to be its own method. By learning through friction and improvisation, we discovered not less about engineering, but more about its texture: how ideas become tangible, how precision is earned through error. And maybe that’s the real beauty of it; not mastery, but the quiet moment the machine begins to teach back.</p><p><strong>Final Code:</strong></p><pre>#include &lt;Servo.h&gt;<br><br>/* Pins */<br>const int SERVO_PIN = 7;<br>const int PIEZO_PIN = 8;<br><br>/* Tempo */<br>const int BPM  = 120;                 // Bingo tempo<br>const int Q_MS = 60000 / BPM;         // quarter<br>const int H_MS = Q_MS * 2;            // half<br>const int E_MS = Q_MS / 2;            // eighth<br><br>Servo servo;<br><br>/* Pitches (Hz) */<br>const int C4=262, D4=294, E4=330, F4=349, G4=392, A4=440, B4=494;<br>const int REST = 0;<br><br>/* Melody (BINGO) */<br>// A. There was a farmer had a dog<br>const int NOTES_A[] = { G4, G4, G4, D4,  E4, E4, D4 };<br>const int DUR_A[]   = { Q_MS,Q_MS,Q_MS,Q_MS, Q_MS,Q_MS,H_MS };<br>// B<br>const int NOTES_B[] = { G4, C4, C4, D4,  D4, E4, C4 };<br>const int DUR_B[]   = { E_MS,E_MS,E_MS,E_MS, E_MS,E_MS,Q_MS };<br>// C<br>const int NOTES_C[] = {<br>  E4,E4,  F4,F4,Q_MS,  D4,D4,  E4,E4,Q_MS,  C4,C4,  D4,D4,Q_MS<br>};<br>const int DUR_C[]   = {<br>  E_MS,E_MS,  E_MS,E_MS,Q_MS,  E_MS,E_MS,  E_MS,E_MS,Q_MS,  E_MS,E_MS,  E_MS,E_MS,Q_MS<br>};<br>// D. Cadence (same form as B)<br>const int NOTES_D[] = { G4, C4, C4, D4,  D4, E4, C4 };<br>const int DUR_D[]   = { E_MS,E_MS,E_MS,E_MS, E_MS,E_MS,Q_MS };<br><br>void playPhrase(const int *pitches, const int *dur, int n) {<br>  for (int i = 0; i &lt; n; ++i) {<br>    if (pitches[i] != REST) tone(PIEZO_PIN, pitches[i], dur[i]);<br>    delay(dur[i] + dur[i] / 4);   // tiny gap between notes<br>  }<br>  noTone(PIEZO_PIN);<br>}<br><br>void sweepServo(int fromDeg, int toDeg, int stepDeg = 1, int stepDelayMs = 15) {<br>  if (fromDeg &lt;= toDeg) {<br>    for (int p = fromDeg; p &lt;= toDeg; p += stepDeg) { servo.write(p); delay(stepDelayMs); }<br>  } else {<br>    for (int p = fromDeg; p &gt;= toDeg; p -= stepDeg) { servo.write(p); delay(stepDelayMs); }<br>  }<br>}<br><br>void setup() {<br>  servo.attach(SERVO_PIN);<br>  servo.write(50);<br>}<br><br>void loop() {<br>  // 50 -&gt; 170<br>  sweepServo(50, 170);<br><br>  // Bingo melody<br>  playPhrase(NOTES_A, DUR_A, LEN(NOTES_A));<br>  playPhrase(NOTES_B, DUR_B, LEN(NOTES_B));<br>  playPhrase(NOTES_C, DUR_C, LEN(NOTES_C));<br>  playPhrase(NOTES_D, DUR_D, LEN(NOTES_D));<br><br>  // 170 -&gt; 50<br>  sweepServo(170, 50);<br><br>  delay(2000);<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a6be5818ed0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Speculative Design]]></title>
            <link>https://medium.com/@shaoweiw/speculative-design-f2695c2406c5?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2695c2406c5</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 20:48:13 GMT</pubDate>
            <atom:updated>2025-10-27T20:48:13.935Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><p><strong>Group 1: Liliu Yao, Aonan Jiang, Xiao Peng, Teddy Tian, Shaowei Wang</strong></p><h3>I. Tarot Cards of Tech</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SQsX4gRdsBzaePdOrMPWpA.png" /></figure><p>We began our discussion by reading the Tarot Cards of Tech in digital form. Among the full deck, three cards immediately resonated with our ongoing exploration of “Water as Interface”: <strong>Mother Nature</strong>, <strong>The Forgotten</strong>, and <strong>The Catalyst.</strong> Each raised a different kind of discomfort — environmental, social, and cultural — prompting us to question what our designs were really sustaining.</p><h4>A) Mother Nature: If the environment were our client…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_MrQbznA2WWzajsSBF3cg.png" /><figcaption>Mother Nature</figcaption></figure><p>This card confronted us with an obvious irony: our installations consume a significant amount of water and electricity to “speak” for the environment. If the environment were our client, would it approve of such expenditure? It pushed us to imagine alternative versions:</p><ol><li>Moving the prototype outdoors, letting natural water flows or sunlight trigger activation.</li><li>Integrating the system into existing creeks, ponds, or rainwater cycles.</li><li>Allowing non-human actors — plants, soil, animals — to become co-participants.</li></ol><p>It was the first step from representation toward collaboration.</p><h4>B) The Forgotten: Who is excluded?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yIK5FeSXb6ZkYK7PZ_Hviw.png" /><figcaption>The Forgotten</figcaption></figure><p>This card shifted our attention to social access. We realized most of our proposed prototypes live comfortably inside museums, galleries, or university labs, which are spaces of privilege. But what about people who do not enter such spaces, or who struggle with water scarcity?</p><p>This reflection reframed the project: Could an installation also be an actual and functional infrastructure? What if our system functioned as a public refill station that produces sound when used, inviting interaction through necessity, not spectacle?</p><h4>C) The Catalyst: When drinking becomes design</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlshDVgMtGI3z5Akzk1TKg.png" /></figure><p>This card connected our concept most directly to everyday life. We observed how the bottled water culture has gradually replaced the act of touching and sharing water, while several of our prototypes still depend on the communal ritual of drinking and refilling from a public fountain.</p><p>In one imagined future, if water resources were to become severely polluted and everyone relied solely on sealed bottles, public fountains would stand deserted, no matter how interactive or beautifully designed.</p><p>It reminded us that design can’t succeed against culture; it must work through it. So we began thinking about drinking as a ritual rather than consumption: a chance to slow down, listen, and reconnect with water as a shared medium.</p><h3>II. Mapping Futures // From Probable to Preferable</h3><p>After the tarot discussion, we plotted our ideas on Dunne &amp; Raby’s Futures Cone, to visualize the different trajectories of our concept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3-M44Sk_mwph4CzvJd5Yw.png" /><figcaption>Dunne &amp; Raby’s Futures Cone</figcaption></figure><p>At the broadest edge were the possible futures: those that could, in theory, happen. We imagined vast networks where water interfaces are integrated into smart cities, and rivers themselves act as planetary sensors communicating environmental data.</p><p>Narrowing down to the plausible futures, we envisioned scenarios extending from today’s trends: public refill stations equipped with sensors that gamify hydration, encouraging people to interact with water in playful, measurable ways.</p><p>The probable futures, however, felt more unsettling. If current habits persist, bottled water may continue to dominate while public fountains quietly vanish; hydration reduced to another privatized service.</p><p>Against this backdrop, we identified our preferable future: a world where public fountains return as shared spaces of care, and every act of drinking becomes an opportunity to listen to water, to one another, and to the environment; and each act of refilling produces subtle sounds and ripples of light, and water itself becomes the medium for reconnection.</p><h3>III. Final Scenario // The Drinking Fountain that Listens</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*61SV3ndhS4Q8RBAQbR5tHA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*DW4b3zfil0cSUFQVlGF3-g.jpeg" /><figcaption>Water ritual reimagined</figcaption></figure><p>A solar-powered public drinking fountain transforms hydration into a sensory ritual. When someone refills a bottle or cup, the flow of water activates subtle sound and light feedback. As more people use it, the soundscape evolves, turning everyday hydration into a collective composition.</p><p><strong>Key Features:</strong></p><ul><li>Flow and vibration sensors capture touch and rhythm.</li><li>Hydrophobic surface enables visible ripples of light.</li><li>Sound is generated through real-time audio mapping, modulated by flow speed.</li><li>Rainfall and sunlight also influence the system’s behavior, integrating environmental data.</li></ul><p>This scenario brings together the insights from all three tarot cards. From <strong>Mother Nature</strong>, we learned to think about <em>ecological participation:</em> to imagine the installation not as an energy-consuming artwork, but as something that could live outdoors, drawing power from sunlight or natural water flow. From <strong>The Forgotten</strong>, we were reminded of <em>social inclusion: </em>to shift the project from a gallery setting to public space, reimagining it as a form of shared infrastructure that anyone could encounter and use. From <strong>The Catalyst</strong>, we reflected on <em>cultural transformation: </em>how design might re-ritualize everyday drinking, turning it from a private act of consumption into a shared moment of interaction and listening. Together, these reflections transform our prototype from a speculative object into a speculative relationship, and a conversation among environment, society, and culture, with water as the medium of exchange.</p><p>In this future scenario, technology no longer performs for us but with us. If water could be both client and critic, perhaps our task is not to control its flow, but to learn how to listen when it speaks. The fountain listens as much as it sings; it turns maintenance into collaboration, and habit into awareness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2695c2406c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 7: Output // Servo Motors]]></title>
            <link>https://medium.com/@shaoweiw/lab-7-output-servo-motors-3f99a48bcc8b?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f99a48bcc8b</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 21 Oct 2025 14:57:26 GMT</pubDate>
            <atom:updated>2025-10-21T14:57:26.341Z</atom:updated>
            <content:encoded><![CDATA[<p>Shaowei Wang // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*J7sFlHWxELlHTzVr5Rm9EQ.gif" /><figcaption>Hungry “caterpillar” from Weee</figcaption></figure><h3>Lab Description</h3><p>In Lab 6, controlling the speed of a DC motor proved difficult. This week’s servo motor presented the opposite challenge. Its speed was easy to manage, but adjusting the angle precisely was not. While a DC motor spins freely, a servo moves only within a fixed range, holding its position firmly. This lab focused on angle mapping, feedback control, and the challenge of turning oscillation into motion. The homework part was especially difficult. I am not very satisfied with what I managed to complete, as I didn’t get to work on it as much as I wanted. I came down with the flu and was too sick to spend more time refining the prototype. Still, from what I was able to explore, I saw a lot of potential in how servo motors can be used for more controlled and purposeful motion.</p><h3>Components Used</h3><ul><li>Arduino × 1</li><li>Breadboard × 1</li><li>Servo motor × 1</li><li>Potentiometer × 1</li><li>Assorted wires</li><li>Recycled cardboard, tape, metal rod (for crawler prototype)</li></ul><h3>A) Controlling the Servo with Computer Input</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rq6giTGPfa3rR3iItplAgg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dcuz5kFjGeUasqdsoqR3dQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oLUmyUmnY8jqDKAWM77eLA.jpeg" /><figcaption>Circuit setup</figcaption></figure><p>We first used the Serial Monitor to send angle commands (0 to 180). The servo responded precisely, stopping at each given position — a clear contrast to the DC motor’s continuous spin. However, the motion felt mechanical and static. It moved, then waited. No momentum, no carry-over.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du3rtRr-RPbA&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu3rtRr-RPbA%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6fea40dce622cae4d177fad05f6400fc/href">https://medium.com/media/6fea40dce622cae4d177fad05f6400fc/href</a></iframe><p><strong>Code:</strong></p><pre>/*<br> * Servo Control by Serial<br> * entering 1-9 on the serial monitor will move the servo<br> * motor to corresponding positions between 0 and 180 degrees<br> * <br> * brief history of edits:<br> * <br> * modified for TUI Fall 2017<br> *<br> * modified for TUI October 2007<br> *<br> * Created 18 October 2006<br> * copyleft 2006 Tod E. Kurt <br> * http://todbot.com/<br> *<br> * adapted from &quot;http://itp.nyu.edu/physcomp/Labs/Servo&quot;<br> */<br> <br>#include &lt;Servo.h&gt;<br><br>int servoPin = 7; // pin for the servo motor<br><br>Servo myservo;    // create servo object to control a servo<br>int pos;     // the position we want to move the servo to<br><br>int val;          // variable used to store data from serial port<br><br>void setup() {<br>  myservo.attach(servoPin); // attaches the servo on pin servoPin to the servo object<br>  Serial.begin(9600);<br>  Serial.println(&quot;Servo control program ready&quot;);<br>}<br><br>void loop() {<br>  while (Serial.available()) {<br>    val = Serial.read();<br>    if (val &gt;= &#39;1&#39; &amp;&amp; val &lt;= &#39;9&#39; ) {<br>      Serial.println();Serial.println();<br>      // interpret the user&#39;s input to get a number from 1 to 9<br>      val = val - &#39;0&#39;; // convert val from character variable to number variable<br>                       // (see http://forum.arduino.cc/index.php?topic=103511.0 for a forum discussing more about this)<br>      Serial.print(&quot;val = &quot;);Serial.println(val);<br>      <br>      // calculate the position that we should move the servo to<br>      pos = map(val, 1, 9, 0, 180); // (see https://www.arduino.cc/en/Reference/Map)    <br>      Serial.print(&quot;pos = &quot;);Serial.println(pos);<br><br>      // tell the servo to go to the position<br>      myservo.write(pos);<br>      // wait a few milliseconds so we don&#39;t overload the servo with too many commands all at once<br>      delay(15);<br>    }<br>  }<br><br>}</pre><h3>B) Potentiometer Control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arUXz9DXe9sL-J4XTLl4rw.jpeg" /><figcaption>Updated wiring</figcaption></figure><p>Next, we mapped the potentiometer’s analog range (0–1023) to servo angles (0–180). Turning the knob created smoother transitions, almost like muscle movement. The servo could now mirror the rotation of my hand, but still only back and forth, no directional progress yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*w4WaqyQLEBEUKNM_NDUqGA.gif" /><figcaption>Controlling the servo with a potentiometer</figcaption></figure><p><strong>Code:</strong></p><pre>/*<br> Controlling a servo position using a potentiometer (variable resistor)<br> by Michal Rinott <br><br> modified on 8 Nov 2013<br> by Scott Fitzgerald<br> http://www.arduino.cc/en/Tutorial/Knob<br>*/<br><br>#include &lt;Servo.h&gt;<br><br>Servo myservo;  // create servo object to control a servo<br><br>int potpin = 0;  // analog pin used to connect the potentiometer<br>int val;    // variable to read the value from the analog pin<br><br>void setup() {<br>  myservo.attach(7);  // attaches the servo on pin 9 to the servo object<br>}<br><br>void loop() {<br>  val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023)<br>  val = map(val, 0, 1023, 0, 180);     // scale it to use it with the servo (value between 0 and 180)<br>  myservo.write(val);                  // sets the servo position according to the scaled value<br>  delay(15);                           // waits for the servo to get there<br>}</pre><h3>C) Homework // Building a Crawler</h3><p>During the lab, my friends and I kept wondering how a repetitive swing could translate into linear motion for the homework prototype. Especially with only one servo available, the crawler had to rely entirely on friction and geometry, not on wheels or continuous rotation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*rIK89lpYn9ngpHFu" /><figcaption>Can a crawler also use a crutch?</figcaption></figure><p>My first idea was to simulate a person using a crutch: one side anchors, the other swings. Then I thought of a caterpillar, which moves by alternating pressure and release.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_e02hXSGEIvMpJvrdC69Vw.gif" /><figcaption>Credit: <a href="https://www.behance.net/gallery/115552895/caterpillar-GIF">Luiza Lima</a></figcaption></figure><p>I folded a piece of cardboard into an inverted V shape (essentially a short caterpillar), taped one end to the table, and attached a metal rod driven by the servo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*NOdf-1SWeN02_MHy4z49rw.jpeg" /><figcaption>“Caterpillar”: inverted V-shaped crawler prototype made of folded cardboard and one servo</figcaption></figure><p>The provided Sweep sketch was:</p><pre>/* Servo Sweep<br><br> just makes the servo sweep back and forth repeatedly<br><br> by BARRAGAN <br> This example code is in the public domain.<br><br> modified 8 Nov 2013<br> by Scott Fitzgerald<br> http://www.arduino.cc/en/Tutorial/Sweep<br>*/<br><br>#include &lt;Servo.h&gt;<br><br>int servoPin = 7; // pin for the servo motor<br><br>Servo myservo;  // create servo object to control a servo<br>// twelve servo objects can be created on most boards<br><br>int pos = 0;    // variable to store the servo position<br><br>void setup() {<br>  myservo.attach(servoPin); // attaches the servo on pin servoPin to the servo object<br>}<br><br>void loop() {<br>  for (pos = 0; pos &lt;= 180; pos += 1) { // goes from 0 degrees to 180 degrees<br>    // in steps of 1 degree<br>    myservo.write(pos);              // tell servo to go to position in variable &#39;pos&#39;<br>    delay(15);                       // waits 15ms for the servo to reach the position<br>  }<br>  for (pos = 180; pos &gt;= 0; pos -= 1) { // goes from 180 degrees to 0 degrees<br>    myservo.write(pos);              // tell servo to go to position in variable &#39;pos&#39;<br>    delay(15);                       // waits 15ms for the servo to reach the position<br>  }<br>}</pre><p>I updated the blocking Sweep example (0→180→0 with delay) with a non-blocking, phase-based loop that uses millis() and a cosine easing curve. This change lets the servo oscillate smoothly between center ± amplitude, with optional dwell times at each end. Functionally, it means I can tune the “push” stroke vs the “recovery” stroke (holdA/holdB), avoid hitting mechanical extremes, and still read inputs or log data while the motion runs. I haven’t integrated it with other features yet, but it already solves a key limitation of the blocking Sweep sketch.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlXHUviBmwJw&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlXHUviBmwJw%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/85821496a50accc4d7c9559a4c5bac2f/href">https://medium.com/media/85821496a50accc4d7c9559a4c5bac2f/href</a></iframe><p>The result was not very satisfying. The motion was too slow and subtle to feel alive. Still recovering from the flu, I didn’t have the energy to refine it further, and the caterpillar was left at this stage.</p><p><strong>Final Code:</strong></p><pre><br><br>#include &lt;Servo.h&gt;<br>Servo servo;<br><br>int servoPin = 7;<br><br>int center = 90;       // midpoint angle<br>int amp = 38;          // swing amplitude<br>unsigned long tA = 380;   // backward sweep time (ms)<br>unsigned long tB = 300;   // forward sweep time (ms)<br>unsigned long holdA = 120;<br>unsigned long holdB = 90;<br><br>enum Phase { BACK_SWEEP, HOLD_BACK, FWD_SWEEP, HOLD_FWD };<br>Phase phase = BACK_SWEEP;<br><br>unsigned long t0;<br>int aStart, aEnd;<br><br>int easeAngle(float t01, int from, int to) {<br>  float x = (1 - cos(3.1415926f * t01)) * 0.5f;<br>  return from + (int)((to - from) * x);<br>}<br><br>void startPhase(Phase p) {<br>  phase = p;<br>  t0 = millis();<br>  int mid = center;<br>  switch (p) {<br>    case BACK_SWEEP: aStart = servo.read(); aEnd = mid + amp; break;<br>    case HOLD_BACK:  aStart = aEnd = mid + amp; break;<br>    case FWD_SWEEP:  aStart = servo.read(); aEnd = mid - amp; break;<br>    case HOLD_FWD:   aStart = aEnd = mid - amp; break;<br>  }<br>}<br><br>void setup() {<br>  servo.attach(servoPin);<br>  servo.write(center);<br>  delay(300);<br>  startPhase(BACK_SWEEP);<br>}<br><br>void loop() {<br>  unsigned long now = millis();<br><br>  if (phase == BACK_SWEEP) {<br>    float t = min(1.0f, (now - t0) / (float)tA);<br>    servo.write(easeAngle(t, aStart, aEnd));<br>    if (t &gt;= 1.0f) startPhase(HOLD_BACK);<br>  } <br>  else if (phase == HOLD_BACK) {<br>    servo.write(aEnd);<br>    if (now - t0 &gt;= holdA) startPhase(FWD_SWEEP);<br>  } <br>  else if (phase == FWD_SWEEP) {<br>    float t = min(1.0f, (now - t0) / (float)tB);<br>    servo.write(easeAngle(t, aStart, aEnd));<br>    if (t &gt;= 1.0f) startPhase(HOLD_FWD);<br>  } <br>  else if (phase == HOLD_FWD) {<br>    servo.write(aEnd);<br>    if (now - t0 &gt;= holdB) startPhase(BACK_SWEEP);<br>  }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f99a48bcc8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 6: Output // DC Motors]]></title>
            <link>https://medium.com/@shaoweiw/lab-6-output-dc-motors-e4240f07d812?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4240f07d812</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 18:56:47 GMT</pubDate>
            <atom:updated>2025-10-15T05:50:34.216Z</atom:updated>
            <content:encoded><![CDATA[<p>Shaowei Wang // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3BO4Ck6IrVEJbBDfH1JxQ.jpeg" /></figure><h3>Lab Description</h3><p>After listening to circuits breathe through sound in Lab 5, we turned to see how they might move. We soldered wires to a DC motor. It does not sing, but spins. Electricity, once invisible, has now made itself known through a trembling axle. While the earlier labs focused on sensing and feedback, this one opened a space for kinetic expression. What does it mean for a circuit to act, to exert a physical force, to make the table itself vibrate? Using the DC motor, I ended up building a divination board for machines.</p><h4>Components Used</h4><ul><li>Arduino × 1</li><li>Breadboard × 1</li><li>DC motor × 1</li><li>Diode (1N4004) × 1</li><li>Transistor (TIP120) × 1</li><li>Potentiometer × 1</li><li>External battery pack (2 AA)</li><li>Photocell × 1</li><li>Piezo × 1</li><li>1kΩ resistor × 1</li><li>220Ω resistor × 1</li><li>Assorted wires</li><li>Recycled plates, cups, etc.</li><li>Tape</li></ul><h4>A) Soldering &amp; Experimenting with the Motor</h4><p>First, I soldered a pair of leads onto the DC motor and wrapped it with tape to ensure a firm electrical connection before placing it onto the breadboard circuit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2VtQ82STzAKJJWDcRUYPA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*opWMnT_pSyiqd2WVTYlr1A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r3b0tg-MWKl8OJrLqPPKZw.jpeg" /></figure><p>Following the reference circuit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MiAYk8vT_GQFemaxK4L5yw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V7Cf7ewbHobgk0uswDLQPQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D90Q4LcRcntpCali1dm5vw.png" /></figure><p>I arranged the connections and watched the motor stay still. I connected the potentiometer to analog A0 and the motor to digital pin 9 through the transistor. It took several rounds of troubleshooting before it finally began to spin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1wR7QfBkQZKALxzWtb9CGw.jpeg" /><figcaption>Wiring that (finally!) works</figcaption></figure><p>I uploaded this simple sketch mapping analog values (0–1023) to PWM output (0–255):</p><pre>/* DC Motor with potentiometer control<br>* Theory and Practice of Tangible User Interfaces<br>* Fall 2025<br>*/<br><br>int motorPin = 9;<br>int potPin = A0;<br><br>void setup() {<br>  pinMode(motorPin, OUTPUT);<br>  Serial.begin(9600);<br>}<br><br>void loop() {<br>  int potVal = analogRead(potPin);<br>  int motorCtrlVal = map(potVal, 0, 1024, 0, 255);<br>  analogWrite(motorPin, motorCtrlVal);<br>}</pre><p>After confirming that both the motor and potentiometer worked properly, I attached a thin wooden stick to the motor shaft and taped a strip of colored paper to its end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m__f0NDHlTA1_wX9ShgrCg.jpeg" /><figcaption>Prototype setup with DC motor, potentiometer, and paper extension</figcaption></figure><p>When powered on, the paper began to spin in a gentle circle. As I turned the potentiometer to its maximum, the rotation accelerated dramatically until the paper suddenly flew off. It was a small yet vivid reminder of how easily control turns into chaos, and how motion carries its own unruly will.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6u9lfSIFWec%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6u9lfSIFWec&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6u9lfSIFWec%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/035ed4d7db73cc16003f730a703f4be7/href">https://medium.com/media/035ed4d7db73cc16003f730a703f4be7/href</a></iframe><h4>B) Further Explorations: Who Do Machines Ask for Prophecy?</h4><p>Recently I came across a flood of LLM memes online that absolutely killed me. They all circle around the same absurd loop: when a model hallucinates, mis-debugs, or rewrites your variables for no reason, it still replies with full confidence: “<em>You are absolutely right.</em>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/0*dD08X3HZUVcyxbhf.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/0*tICvvw39Qm4eVghL.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-JEvSHZrhM7pT3C4TU2wEg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*nZw3ZNa8lUr06kYpJUNQag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*6sosNguRC3eihkVHsAkQ6Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*ZHep1qlvU4ad8SdyTV4P8w.jpeg" /><figcaption>LLM memes from the Internet</figcaption></figure><p>This pattern became so self-referential that it almost felt ritualistic, like a feedback loop of misplaced faith. It made me wonder: if hallucination is already a form of prophecy, what would machine divination look like?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*OL32WGbdt7CLWoZQ" /><figcaption>Magic and divination in the age of AI (Illustration by Ben Jennings)</figcaption></figure><p>So I decided to build a small fortune-wheel oracle for machines — an object that doesn’t know what it’s saying, but says it anyway, turning randomness into revelation. After all, both divination and LLMs speak in probabilities. Whether it’s a random seed or a shuffled deck, an algorithm or an augury, both wrap statistics in ceremony and call it insight. I wanted to literalize that parallel, to make motion itself a ritual of interpretation rather than control. The divination board felt like the perfect interface. It is half casino, half cosmic terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*NGGJTurVyeenMfnR.png" /><figcaption>Spinning droplets on a hydrophobic surface — my initial prototype concept (source: hongcikeji)</figcaption></figure><p>I began by experimenting with water, as I needed to try this for our group project anyway. Using recycled plastic plates and cups, I sprayed the surface with a hydrophobic coating and released small beads of water meant to trace invisible patterns as the wheel spun. The reality was far less divine. The droplets clung stubbornly or flew outward in chaotic arcs. When I tried pigment mixtures to mimic sand divination, the result was a Pollock-like splash directly onto my face. The experiment failed beautifully: prophecy, too, resists containment, but apparently so do surface tensions. Turns out not every hydrophobic spray makes things hydrophobic; material also matters.</p><p><em>(No photo to document this accident, as I was too busy cleaning the desk and myself)</em></p><p>Simplifying the setup, I replaced the fluid with a single plastic ball. On the plastic platter, I hand-drew a version of Duchamp’s <em>Rotoreliefs </em>— the original oracles of modernity. My crude brushwork blurred when spinning, never achieving the intended stereoscopic illusion, but it lent the wheel a historical echo, a reminder that optical faiths long predated neural networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xoy-fOm5or8Juwkm.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ar7mYyexndVl9Qc-mUy-Jw.jpeg" /><figcaption>Marcel Duchamp’s Rotoreliefs (left) and my not-so-successful imitation</figcaption></figure><p>Technically, I swapped the potentiometer for a photocell hidden at the wheel’s center, turning light into a contactless throttle. I also updated the code and included a piezo element beneath the plate, producing what I called the voice of fate: an ascending tone at startup, random chirps during rotation, and a descending tone when the motor slowed, as if the oracle were sealing its verdict. The Arduino mapped light to PWM with a soft threshold, making the wheel hesitate before motion, tremble before revelation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*53agg3cAVDjnluteB61p9w.jpeg" /><figcaption>Updated wiring</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L84ic7xpk6Urb7wdyZfnWA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GWUwK3qQTFAPqDWim-Rpbg.jpeg" /><figcaption>The Oracle in its finalized form</figcaption></figure><p>To stage the divination as a dialogue with AI, I built a <a href="https://editor.p5js.org/syni/sketches/6MfBNvZ_O">p5.js interface</a> (<a href="https://editor.p5js.org/syni/sketches/6MfBNvZ_O">https://editor.p5js.org/syni/sketches/6MfBNvZ_O</a>) that listened to motor speed and performed a scripted dramaturgy of uncertainty: asking, spinning, reading, commenting, waiting, and transitioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x_KAi3YCCHddi0O0-aC6FA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aHWeioZ1xynmFPL8wvP9UQ.png" /><figcaption>My early p5.js visualization (left) and CreativeGuru97’s “bumpy sphere”</figcaption></figure><p>At first, I visualized the machine’s state changes as a series of concentric circles gently expanding and collapsing on the screen, like ripples in a digital pond. It looked meditative but static, more like a screensaver than an oracle. While searching for better ways to express motion and breath, I came across <a href="https://github.com/Creativeguru97/YouTube_tutorial/tree/master/Play_with_geometry">CreativeGuru97’s geometry sketch on GitHub</a>, which used trigonometric functions to render breathing “bumpy spheres.” I adapted and reworked that idea, letting the circles evolve into a living particle sphere whose pulsing surface seemed to breathe with the motor’s rhythm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ojWlRPNbKZiUgQIlujZWg.gif" /><figcaption>p5.js demo</figcaption></figure><p>The result felt uncanny: a visualization that wasn’t quite mechanical nor fully organic, but somewhere between a ghost in the shell, or perhaps, as it kept looping, the shell becoming the ghost.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfC63n3WGZSM&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfC63n3WGZSM%3Ffeature%3Doembed" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c5a6c9ee29c581748be9d3cdd2d1385/href">https://medium.com/media/3c5a6c9ee29c581748be9d3cdd2d1385/href</a></iframe><p>After the video demo, one might naturally wonder how the AI interprets the oracle’s result. <em>How does it read the spin, or decide what to say?</em></p><p>The simple answer is that <em>it doesn’t</em>.</p><p>There is no API call, no model, no hidden prompt. The p5.js sketch receives only one kind of input: the motor’s speed, or more precisely, the moment it stops. Everything that follows — the questions, readings, and comments — is pre-scripted with a random seed to unfold with that timing. There is no causal chain between the wheel’s position and the oracle’s response. What appears as interpretation is, in fact, projection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*IENJtkXjcj7sbDy1dcWR3w.gif" /><figcaption>Human “priest” summoning a prophecy for the machine (and mediating between faith and firmware)</figcaption></figure><p>This idea was inspired by Athena’s lab work last week. Her prototype seemed to recognize different “record covers,” and everyone assumed it used image or RFID recognition. Only later did we learn that the system simply reacted to each record’s weight on an FSR sensor. The mapping existed only in our expectations, not in the circuit itself.</p><p>My own oracle tries to follow the same principle. It <em>performs knowing</em> rather than <em>knowing</em>. The system answers in probabilities and moods, while the observer completes the meaning. Like an LLM, it predicts confidence, not truth. In that sense, divination has always been the quiet machinery of human expectation and inference, performed against a background of noise.</p><p><em>Does the Oracle work? Do you like it? Either way — you are absolutely right.</em></p><h4>Final Code</h4><pre>/* DC Motor with photocell control + Oracle Piezo */<br><br>int motorPin = 9;<br>int photocellPin = A0;<br>int piezoPin = 8;<br><br>int photocellVal = 0;<br>int motorCtrlVal = 0;<br>int prevMotorCtrlVal = 0;<br><br>int minLight = 250;<br>int maxLight = 760;<br><br>// Sound effect state<br>bool isSpinning = false;<br>unsigned long spinStartTime = 0;<br>unsigned long lastBeepTime = 0;<br><br>void setup() {<br> pinMode(photocellPin, INPUT);<br> pinMode(motorPin, OUTPUT);<br> pinMode(piezoPin, OUTPUT);<br> Serial.begin(9600);<br>}<br><br>void loop() {<br> photocellVal = analogRead(photocellPin);<br> <br> motorCtrlVal = map(photocellVal, minLight, maxLight, 0, 255);<br> motorCtrlVal = constrain(motorCtrlVal, 0, 255);<br> <br>// Detect motor startup (wheel of fate begins spinning)<br> if (prevMotorCtrlVal &lt;= 30 &amp;&amp; motorCtrlVal &gt; 30) {<br>   isSpinning = true;<br>   spinStartTime = millis();<br>   // Startup sound: ascending mystical scale (like opening an energy field)<br>   playStartupSound();<br> }<br> <br> // Motor spinning (uncertain quantum state)<br> if (motorCtrlVal &gt; 30) {<br>   unsigned long spinDuration = millis() - spinStartTime;<br>   <br>   // While spinning: random frequency pulses (probability fluctuation)<br>   if (millis() - lastBeepTime &gt; 150) {  // Every 150ms<br>     int randomFreq = random(400, 800);  // Random frequency<br>     tone(piezoPin, randomFreq, 50);  // Short beep<br>     lastBeepTime = millis();<br>   }<br> }<br> <br> // Detect motor stop (destiny determined / wave function collapse)<br> if (prevMotorCtrlVal &gt; 30 &amp;&amp; motorCtrlVal &lt;= 30) {<br>   isSpinning = false;<br>   // Stop sound: clear confirmation tone (fate is sealed)<br>   playDestinySound();<br> }<br> <br> prevMotorCtrlVal = motorCtrlVal;<br> <br> Serial.println(motorCtrlVal);<br> analogWrite(motorPin, motorCtrlVal);<br> <br> delay(50);<br>}<br><br>// Startup sound: ascending scale (oracle activation)<br>void playStartupSound() {<br>  int notes[] = {262, 330, 392, 523};  // C4, E4, G4, C5<br>  for (int i = 0; i &lt; 4; i++) {<br>    tone(piezoPin, notes[i], 100);<br>    delay(120);<br>  }<br>  noTone(piezoPin);<br>}<br><br>// Destiny confirmed sound: descending then confirmation (wave function collapse)<br>void playDestinySound() {<br>  // Descending tone<br>  tone(piezoPin, 800, 100);<br>  delay(120);<br>  tone(piezoPin, 600, 100);<br>  delay(120);<br>  // Final confirmation tone (low and powerful)<br>  tone(piezoPin, 400, 300);<br>  delay(320);<br>  noTone(piezoPin);<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4240f07d812" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Midterm Progress Sketches]]></title>
            <link>https://medium.com/@shaoweiw/midterm-progress-sketches-3053285b1a12?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/3053285b1a12</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 03:20:34 GMT</pubDate>
            <atom:updated>2025-10-10T03:29:29.298Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // Fall 2025</p><p><strong>Group 1: </strong>Liliu Yao, Aonan Jiang, Xiao Peng, Teddy Tian, Shaowei Wang</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b9rs1A_3DC9HdsVzecpwhw.jpeg" /></figure><h3>Concept Evolution: Water as Interface</h3><p>Our project began with a simple observation on campus: water is everywhere, yet rarely felt or noticed. The Strawberry Creek, a living system that once determined the university’s location, now runs mostly underground beneath Berkeley’s carefully designed landscape, while engineered fountains above ground present water as a regulated, sanitized, and utilitarian surface. This contrast between the natural and the designed, the visible and the hidden, became our entry point. As we explored, our focus gradually expanded beyond the creek itself toward water as a material ecology of relation, rhythm, and memory. We began asking: <em>How might tangible interaction allow water to reveal its own patterns — its textures, voices, and temporalities — rather than serving human control?</em></p><p>We saw a design opportunity in this tension. Could design and technology act not merely as extensions of human agency, but as ways of revealing? How might we design for water not as a resource to exploit, but as a medium that speaks, remembers, and responds?</p><p>Through critique and iteration, the project evolved into 3 core prototypes and 6 interaction scenarios, each reimagining water as both medium and milieu, interface and infrastructure. Through <em>dripping, flowing, spilling, holding, co-playing,</em> and <em>immersing</em>, we trace water’s transformation from system to experience, from containment to resonance. Together, these sketches suggest a design practice that listens as much as it builds, revealing how the flows that sustain life might also reshape how we design.</p><h3>1.1 Sound Archaeology: Mapping the Unheard</h3><p>An interactive map that listens to water. This installation turns hydrological data and material flow into a multisensory map where water itself becomes an instrument of memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXByGS8YW-YoyENbmf0Rlw.png" /></figure><h4>INTERACTIONS</h4><ul><li>In a museum or educational setting, participants drip, pour, or touch water onto the surface.</li><li>Sensors detect location, depth, and movement, triggering corresponding sounds: field recordings, archival voices, or synthesized tones drawn from environmental data.</li><li>Multiple users can interact at once, generating a temporally layered composition that evolves like an acoustic ecosystem.</li><li>Each activation emits tones with reverb and decay, as if echoing from beneath the surface. These fragments overlap, drift, and fade, becoming an evolving underwater chorus.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>The map’s topography is CNC-cut or laser-etched acrylic layered.</li><li>Capacitive and ultrasonic sensors detect touch and water level; Arduino sends serial signals to a sound engine built in p5.js / Max MSP / Processing.</li><li>Speakers embedded underneath the surface produce spatialized sound, allowing participants to feel vibration through the tabletop.</li><li>Lighting modules beneath transparent layers visualize sound feedback through subtle color shifts, echoing the rhythm of the water’s motion.</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>To touch water is to listen to history. Each layer/subarea holds a submerged sonic trace; still water, yet moving sound. Through this act of excavation, water becomes a living archive and a medium that listens back.</p><h3>1.2 Flow Archive: Rivers That Remember</h3><p>Water flows, yet what flows is more than water: a living ecology of memory and motion. This installation invites participants to manipulate hydrological flows as both system and performance, revealing how every act of control becomes part of an evolving environmental rhythm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwPiH3ohGXcScq7vKxbHcw.png" /></figure><h4>INTERACTIONS</h4><ul><li>In a museum or educational setting, across a tilted terrain of branching channels, participants rotate valves or tilt the surface to redirect water in real time.</li><li>Flow sensors and vibration detectors capture each shift in speed and direction, transforming data into sound.</li><li>Every rerouted stream triggers a distinct acoustic ecology: a slow trickle murmurs with natural ambience; a strong current crescendos into mechanical or urban tones; intersecting streams weave a polyphonic rhythm of coexistence.</li><li>As users collaborate, they choreograph a fluid network of cause and feedback; a microcosm of water management, listening, and negotiation between stability and overflow.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>CNC-cut acrylic or resin base <em>(possibly with hydrophobic coating)</em></li><li>Flow and vibration sensors + small water pumps for circulation</li><li>Rotary valves for real-time redirection</li><li>Arduino + Max MSP for live audio mapping</li><li>Optional underlighting to visualize velocity and sound intensity</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>To redirect water is to reshape an ecology. Through tangible feedback and sonic response, participants experience design as an ecological negotiation — a choreography of human intention and material flow, where control and surrender are inseparable.</p><h3>1.3 Water Spill: When the Boundary Breathes</h3><p>What happens when design lets go of control? This installation imagines water not as something contained, but as something that overflows, crossing the threshold between built infrastructure and living ecology. It is an open-edge landscape that reveals what happens when human systems meet natural flows. Installed in a courtyard, garden, or near a creek, it turns each spill into a quiet negotiation between design and environment, or a boundary that breathes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mEXEmKMrsYHJGvExBb1P6Q.png" /></figure><h4>INTERACTIONS</h4><ul><li>In an outdoor setting, participants pour or guide water over a sculpted topographic surface. As the water accumulates, it exceeds the contour lines and spills beyond the designed edge, seeping into a patch of soil or a plant bed below.</li><li>Moisture and vibration sensors embedded along the edges capture these micro-events — the trickle, the seep, the drop — and translate them into subtle sound feedback: drips, hums, distant rustles.</li><li>Each gesture becomes an encounter with gravity and permeability; the experience is not about control, but about listening to what escapes.</li><li>In some versions, the overflow can be collected in a lower basin and optionally pumped back, creating a semi-open circulation that visualizes the tension between containment and release.</li><li>The soundscape arises directly from the water’s behavior: slow seepage → low resonant tones, soft ambient hums; quick spill → percussive splashes, bright metallic echoes; drying and absorption → fading reverb, near silence</li><li>Waterproof microphones and flow sensors record real-time textures of water hitting different materials (wood, soil, acrylic etc.) then mix them into a spatial sound field that evolves with each act of overflow.</li><li>In dusk or evening light, the installation can incorporate low LED illumination that ripples with the water’s rhythm, creating a synesthetic, breathing edge between sound, light, and flow.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>Layered wood or resin topography coated with waterproof sealant</li><li>Soil bed or moss basin connected via drainage channel</li><li>Moisture + vibration sensors, contact microphones</li><li>Arduino / Raspberry Pi for sound modulation and light feedback</li><li>Optional transparent acrylic wall to visualize percolation</li><li>Outdoor speakers and low-frequency transducers subtly embedded in the environment</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>To spill is to connect. Each overflow redefines the boundary; not as a failure of design, but as an act of collaboration between human intent and ecological process. The work transforms the edge from a line of separation into a zone of exchange, where water’s agency reveals that to design is to listen, and to yield.</p><h3>2. Droplet Sphere: Planetary Percussion</h3><p>A transparent sphere holds a few suspended droplets of water, forming a miniature planet that can be held in the hands. Each gentle shake or rotation echoes the motion of the Earth itself. As the droplets roll, collide, and converge along the hydrophobic surface, they generate both rhythm and light. The sphere turns gravity, vibration, and touch into sound, creating a handheld planet that sings back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*58GWZ95pW6GRMMoV.jpg" /><figcaption>Hydrophobic droplet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jXXxv_eNv_WcR8mtMtfAtA.png" /></figure><h4>INTERACTIONS</h4><ul><li>In private or public space, participants hold, tilt, or rotate the sphere. The hydrophobic inner coating allows the droplets to glide freely without attaching to the surface.</li><li>Every impact or merging of droplets is captured by piezo vibration sensors, which translate the movement into sound and synchronized light. The result is a tactile conversation between the hand and the water.</li><li>When multiple spheres are used together, their motions overlap to form a collective composition, a planetary orchestra of rotating rhythms that fill the space like a silent field of resonance.</li><li>The sound design mixes hydro-acoustic samples such as rain, waves, and seismic hums with synthetic modulation, weaving natural and artificial rhythms into a continuous flow.</li><li>Sound output: gentle motion produces soft blue light and low ambient tones; rapid spinning creates bright percussive pulses and metallic resonances; when droplets merge, the sound deepens into reverberations that resemble tectonic echoes; each collision produces a unique tone that evokes the rhythmic heartbeat of the Earth.</li><li>LEDs shimmer with every vibration: soft blue for gentle contact, white flashes for stronger impacts.</li><li>When several spheres are played at once, their overlapping motions form a fluid and evolving sound field.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>Transparent acrylic or resin sphere (20–25 cm diameter)</li><li>Hydrophobic inner coating</li><li>Embedded piezo sensors connected to a microcontroller</li><li>Internal micro-speaker or wireless audio output</li><li>LED ring synchronized with sound amplitude and frequency</li><li>Optional wireless link for multi-sphere performances</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>The sphere represents the Earth as a resonant body of flow, vibration, and memory. By shaking or rotating the droplets, participants perform the planet and experience the coupling between bodily motion and planetary rhythm. Each gesture becomes an act of resonance, a brief alignment between human pulse and hydrospheric movement. Through this motion, water becomes both medium and memory, reminding us that the world listens through its own circulation.</p><h3>3.1 Resonant Basin: The Liquid Commons</h3><p>A washbasin-sized shallow vessel coated with a hydrophobic layer becomes a stage for water’s fleeting rhythms. From different directions, participants press nozzle buttons that spray droplets onto the basin’s surface. The droplets strike, bounce, and slide under light, producing brief flashes of rhythm that weave into a shimmering ensemble. The basin acts as both instrument and interface, where water performs its own transience and resonance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MINrnUdpActmy0_-xIuVFQ.png" /></figure><h4>INTERACTIONS</h4><ul><li>In a gallery or public space, the installation features a circular basin surrounded by three to four directional nozzles. Each nozzle launches a fine stream of droplets when pressed, hitting the hydrophobic surface with short percussive impacts.</li><li>The droplets interfere, collide, and glide, generating evolving wave patterns that can be modulated through timing and direction.</li><li>When multiple participants play from different sides, the basin transforms into a collaborative percussion surface, or a liquid drum that listens as much as it sounds.</li><li>Through improvisation and coordination, participants explore how rhythm arises from touch, flow, and coincidence.</li><li>Each direction corresponds to a distinct sonic voice: east → deep bass pulses; south → sustained watery drones; west → crisp dripping tones; north → layered echoes and reverb.</li><li>Piezo sensors capture each droplet’s impact and blend the real-time hits with pre-recorded hydroacoustic samples, creating a hybrid percussive texture.</li><li>LED strips embedded along the rim and base pulse with each strike, tracing the droplets’ trajectories through light.</li><li>As more participants join, the sound field thickens and light reflections multiply, turning the basin into an ephemeral orchestra where water, sound, and light converge.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>Hydrophobic-coated acrylic or resin basin (washbasin size)</li><li>Directional spray nozzles with push-button triggers</li><li>Piezo sensors mounted beneath the basin surface</li><li>Microcontroller with real-time audio synthesis and light control</li><li>LED ring synchronized to amplitude and rhythm</li><li>Optional closed-loop water recycling or drainage system</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>This is both an instrument and a meditation on resonance and impermanence. The basin resembles a small planet: its concave surface collecting rhythm and reflection. Each droplet is a temporal gesture, each strike a vanishing connection. Through shared play, participants experience how sound, light, and touch merge into the musicality of transience and an ephemeral harmony between humans, water, and time.</p><h3>3.2 Sonic Pond: Echoing the Touch</h3><p>A shallow pond rests upon a transparent platform, its surface calm and mirror-like. There are no buttons, switches, or screens, but only water. When participants dip their hands, ripple the surface, or swirl the water, their gestures generate light and sound. The pond becomes a liquid interface of echoes, where every movement leaves a trace of resonance and every wave fades into silence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZVfDx6vXgz2HU_yEwdp32g.png" /></figure><h4>INTERACTIONS</h4><ul><li>The installation consists of a clear, shallow basin filled with still water. Capacitive or pressure sensors are distributed beneath the surface, detecting touch and motion.</li><li>In a gallery or public space, participants may dip fingers into the pond, trace lines, or gently stir the water. Each contact activates localized sound responses and subtle glows, as if the pond were listening back.</li><li>Different gestures produce distinct temporal and spatial effects: slow, continuous motions yield sustained ambient tones with long reverberation, while sharp movements trigger short percussive sounds and bright light flashes.</li><li>As multiple participants interact simultaneously, their gestures merge into a collective sound field, modulated by the propagation of ripples across the surface.</li><li>Each area of the pond corresponds to a sonic palette: northern zones evoke low-frequency wind and resonance; central areas reflect deep underwater tones; southern edges produce insect-like trills and high shimmering overtones.</li><li>The sound evolves with touch intensity, direction, and duration, producing a dynamic composition shaped by real-time motion.</li><li>Beneath the water, diffused light softly follows the rhythm of sound, creating a luminous field that breathes with the participants’ gestures.</li></ul><h4>MATERIALS &amp; DESIGN</h4><ul><li>Acrylic or glass basin with stable shallow water layer</li><li>Capacitive or pressure sensors distributed beneath surface</li><li>Piezo microphones or hydrophones for capturing water vibration</li><li>LED grid embedded below transparent base for reactive light</li><li>Audio synthesis controlled via Arduino and Max/MSP environment</li><li>Optional multi-channel spatial sound output for environmental diffusion</li></ul><h4>MESSAGE &amp; OBJECTIVE</h4><p>Sonic Pond is an instrument for listening through touch. The water does not play sound, but remembers and releases it. Each gesture becomes a momentary composition, a dialogue between motion and stillness. As the ripples fade, the sound dissolves, leaving behind a sense of shared quiet. The installation reveals water’s perceptive intelligence and its capacity to sense, absorb, and respond. Through collective interaction, the pond transforms into a living score of human and environmental rhythms, where echoes of touch become a meditation on resonance, attention, and disappearance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3053285b1a12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 5: Output // Piezo Speakers]]></title>
            <link>https://medium.com/@shaoweiw/lab-5-piezo-speakers-13fe0e64b61a?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/13fe0e64b61a</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 07 Oct 2025 18:59:14 GMT</pubDate>
            <atom:updated>2025-10-08T11:53:42.409Z</atom:updated>
            <content:encoded><![CDATA[<p>Shaowei Wang // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4CFk_f1jME-QgIxPrOGZg.jpeg" /></figure><h3>Lab Description</h3><p>After two weeks of learning how to sense through circuits, Lab 5 invited us to make those same circuits speak back. The focus this time was on the piezo buzzer. We began with simple tone generation, followed by building a Theremin that sings through light, and ended with a creative task where input and output coincide in one material gesture. Compared to previous labs where sensors listened to pressure and light, this week reversed direction: signals turned into vibration, vibration into sound. The process felt both technical and playful. Hearing my breadboard suddenly make noise was strangely alive. It was a reminder that electricity has its own voice. And once again, I had so much fun exploring with the piezo. What started as a small tutorial expanded into hours of curiosity and tinkering.</p><h3>Components Used</h3><ul><li>Arduino × 1</li><li>Breadboard × 1</li><li>Colored wires (assorted)</li><li>Piezo buzzer × 1</li><li>10kΩ resistors × 1</li><li>1MΩ resistors × 1</li><li>Photocell × 1 (Sponsored by Ernest, merci!)</li><li>A cup/bowl</li><li>Aluminum foil</li><li>Alligator clips</li><li>Tape &amp; Blu-tack</li><li>Water</li></ul><h3>A) First Experiment — Making Sound</h3><p>We started by following the <a href="https://docs.arduino.cc/built-in-examples/digital/toneMelody">Arduino “Tone Melody” tutorial</a>. I wired the piezo to pin 8 and uploaded the provided example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQMpb_qLxgk-fj0BjB53-A.jpeg" /><figcaption>Wiring</figcaption></figure><p>When the upload finished, the buzzer began to sing a sequence of notes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpHJe6j4GsDY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpHJe6j4GsDY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpHJe6j4GsDY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ed774d31d948daa250a817f515648a0/href">https://medium.com/media/8ed774d31d948daa250a817f515648a0/href</a></iframe><p>Then I updated the sketch and tried the keyboard-controlled melody version:</p><pre><br>/* Sound Serial (aka Keyboard Serial)<br> * ------------<br> * Program to play tones depending on input from the serial port.<br> *<br> * Noura Howell, 2 October 2017<br> * http://nourahowell.com/<br> */<br><br>#include &quot;pitches.h&quot;<br><br>int speakerPin = 8;<br><br>// the keyboard input to specify notes<br>char noteNames[] = { &#39;c&#39;, &#39;d&#39;, &#39;e&#39;, &#39;f&#39;, &#39;g&#39;, &#39;a&#39;, &#39;b&#39;, &#39;C&#39; };<br><br>// the corresponding notes are defined in pitches.h<br>unsigned int tones[] = { NOTE_C4, NOTE_D4, NOTE_E4, NOTE_F4, NOTE_G4, NOTE_A4, NOTE_B4, NOTE_C5 };<br><br>int noteDuration = 100; // ms<br><br>// the note the user wants to play that we read from serial<br>char serNote;<br><br>void setup() {<br>  pinMode(speakerPin, OUTPUT);<br>  Serial.begin(9600);<br>  Serial.println(&quot;enter a note to play (e.g., &#39;c&#39;) :&quot;);<br>}<br><br>void loop() {<br>  while ( Serial.available() ) {<br>    // hopefully this char matches an element in noteNames<br>    serNote = Serial.read();<br>    Serial.print(&quot;We just got some input from serial: &quot;);<br>    Serial.println(serNote);<br>    <br>    // we&#39;ll check every element of noteNames to try to find a match<br>    // note that 8 is a &#39;magic&#39; number for the length of noteNames array<br>    for (int i = 0; i &lt; 8; i++) {<br>      if ( serNote == noteNames[i] ) { // found a match<br>        Serial.print(serNote);<br>        Serial.println(&quot; is a note we can play.&quot;);<br>        <br>        // play the note<br>        tone(speakerPin, tones[i], noteDuration); <br>        // to distinguish the notes, set a minimum time between them.<br>        // the note&#39;s duration + 30% seems to work well:<br>        int pauseBetweenNotes = noteDuration * 1.3;<br>        delay(pauseBetweenNotes);<br>        // stop the tone playing:<br>        noTone(8);<br>      } <br>    }<br>  }<br>}</pre><p>I opened the Serial Monitor: typing c, d, e,f, g, a , btriggered the corresponding pitches.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNBLjaUKDd4k&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNBLjaUKDd4k%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b77e03394c77fea78d9838d38d16b54d/href">https://medium.com/media/b77e03394c77fea78d9838d38d16b54d/href</a></iframe><h3>B) Theremin: Playing Light</h3><p>The second task combined the photocell with the piezo to build a light-controlled Theremin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s2b_YSBDiqDWGJ1pAjmAkw.jpeg" /><figcaption>Updated wiring</figcaption></figure><p>I used the example sketch below, which maps brightness values to tone frequency:</p><pre>/* Theremin<br> * --------<br> *<br> * Created 24 October 2006<br> * copyleft 2006 Tod E. Kurt tod@todbot.com<br> * http://todbot.com/<br> *<br> * Adapted by Noura Howell, 2 October 2017<br> * http://nourahowell.com/<br> */<br><br>int photocellPin = 0;<br>int speakerPin = 8;<br><br>int photocellVal = 0;<br>int toneVal;<br><br>// try changing the noteDuration to hear how that changes the sound<br>int noteDuration = 10; // ms<br><br>void setup() {<br>  pinMode(speakerPin, OUTPUT);<br>  Serial.begin(9600);<br>}<br><br>void loop() {  <br>  // read the value from the sensor<br>  photocellVal = analogRead(photocellPin);<br>  Serial.print(&quot;photocellVal: &quot;);Serial.println(photocellVal);<br>  <br>  // decide what tone to play based on the sensor value<br>  // try changing this calculation to hear how that changes the sound<br>  toneVal = photocellVal * 3;<br>   <br>  // play the tone<br>  tone(speakerPin, toneVal, noteDuration); <br>  // to distinguish the notes, set a minimum time between them.<br>  // the note&#39;s duration + 30% seems to work well:<br>  // try changing the pauseBetweenNotes to hear how that changes the sound<br>  int pauseBetweenNotes = noteDuration * 1.3;<br>  delay(pauseBetweenNotes);<br>  // stop the tone playing:<br>  noTone(8);<br>}</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fxawpt3FpsnA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dxawpt3FpsnA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fxawpt3FpsnA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/73d7bea27a30f6a0979cc04aa1463777/href">https://medium.com/media/73d7bea27a30f6a0979cc04aa1463777/href</a></iframe><h3>C) Sound Refinement: Toward More Pleasant Tones</h3><p>After finishing the basic Theremin prototype, I found the sound almost unbearable. The default square wave from tone() was high-pitched and metallic; technically responsive, but aesthetically grating. It felt more like a warning siren than a musical instrument. This discomfort became the motivation for a new round of coding, a search for pleasantness through structure rather than randomness.</p><p>The first adjustments were purely technical. I added exponential smoothing (emaAlpha) to stabilize the sensor input and a hysteresis threshold to prevent jittering between values. This made the pitch changes slower, more human in timing. But I still wanted the sound itself to breathe; to feel shaped, not continuous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a4-Y9tD-W1JPh-KU.jpg" /></figure><p>That’s when I began experimenting with pentatonic tuning. Instead of mapping raw light levels directly to frequency, I quantized them into the C major pentatonic scale — C, D, E, G, A, repeated across two octaves. The choice was intentional: the pentatonic scale is forgiving, resonant, and emotionally neutral. The choice was deliberate: the pentatonic scale has no tritone (the interval between the fourth and seventh degrees of the major scale). Without that clash of frequencies, the tension dissolves, leaving only consonant intervals — seconds, thirds, fifths, and sixths. No matter where you land, it rarely sounds “wrong.” In a sense, it allowed light to play within a safe harmonic space, translating gesture into tone without dissonance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tk2hmtdnGmnKVzZ1.jpg" /><figcaption>Kalimba (“thumb harp”)</figcaption></figure><p>Inspired by the kalimba (a small musical instrument I recently grew fond of), I also tried to introduce what I called Kalimba Mode. Instead of sustaining a continuous tone, each change in light range now triggers a brief pluck followed by a pause, like striking and releasing a single metal tine. The ear begins to perceive not only pitch but phrasing, a rhythm of approach and retreat.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGa8Z9WcAXdU&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGa8Z9WcAXdU%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0fadb032ad6d83988e66a49f2c90e51e/href">https://medium.com/media/0fadb032ad6d83988e66a49f2c90e51e/href</a></iframe><p>In this refinement, sound became a kind of feedback that rewards stillness as much as movement. The noise of the circuit turned into something closer to breath.</p><h4>Code:</h4><pre>/* Theremin (Tuned Kalimba) */<br><br>#include &quot;pitches.h&quot;<br><br>int photocellPin = A0;<br>int speakerPin = 8;<br><br>int lowHz = 262;<br>int highHz = 784;<br><br>float emaAlpha = 0.18;<br>int hysteresis = 18;<br><br>// Kalimba mode settings<br>bool kalimbaMode = true;<br>int pluckOnMs = 110;<br>int pluckGapMs = 140;<br><br>// C major pentatonic scale<br>int scale[] = {<br>  NOTE_C4, NOTE_D4, NOTE_E4, NOTE_G4, NOTE_A4,<br>  NOTE_C5, NOTE_D5, NOTE_E5, NOTE_G5, NOTE_A5<br>};<br>int scaleSize = sizeof(scale) / sizeof(scale[0]);<br><br>// State variables<br>float emaVal = 0;<br>int curIdx = 0;<br>int lastStable = 0;<br><br>static inline int clampi(int v, int lo, int hi) {<br>  return v &lt; lo ? lo : v &gt; hi ? hi : v;<br>}<br><br>int adcToIndex(int v) {<br>  v = constrain(v, 0, 1023);<br>  return (long)v * (scaleSize - 1) / 1023;<br>}<br><br>void setup() {<br>  pinMode(speakerPin, OUTPUT);<br>  Serial.begin(9600);<br>  emaVal = analogRead(photocellPin);<br>  curIdx = adcToIndex((int)emaVal);<br>  lastStable = curIdx;<br>}<br><br>void loop() {<br>  // Read and smooth the sensor value<br>  int raw = analogRead(photocellPin);<br>  emaVal = (1.0f - emaAlpha) * emaVal + emaAlpha * raw;<br>  <br>  // Check if value changed enough to trigger a note<br>  static int latch = raw;<br>  if (abs((int)emaVal - latch) &gt; hysteresis) {<br>    latch = (int)emaVal;<br>    int idx = adcToIndex(latch);<br>    <br>    // Play note if scale position changed<br>    if (idx != lastStable) {<br>      lastStable = idx;<br>      unsigned f = clampi(scale[idx], lowHz, highHz);<br>      tone(speakerPin, f, pluckOnMs);<br>      delay(pluckGapMs);<br>      noTone(speakerPin);<br>    }<br>  }<br>}</pre><h3>D) Further Explorations: Singing Tea Cup/Bowl</h3><p>For another class, I happened to be reading Yanagi Sōetsu’s <em>The Beauty of Everyday Things</em>, and his reflections on the tea bowl lingered with me. He wrote that a vessel’s beauty lies not in its ornamentation but in how it meets the hand, how it responds to being used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YQf11UAXms91RWhw.jpg" /><figcaption>Yanagi Sōetsu’s <em>The Beauty of Everyday Things</em></figcaption></figure><p>That idea returned as I began this assignment, where input and output were meant to coincide. I wondered what it would mean if the gestures of drinking tea — the slight stir of liquid, the brush of fingertips — could themselves become audible.</p><p>I first experimented with the photocell, FSR, and potentiometer. Each produced measurable changes, yet none felt intuitive enough for the teacup. They demanded gestures for the circuit rather than with the object. I wanted the cup/water itself to participate. Remembering that touch already alters capacitance, I updated a test sketch to measure that change directly between D2 and D4:</p><pre>/* Capacitive Touch Test */<br><br>const int pinSend    = 4;   // D4 --[1M]-- D2<br>const int pinRecv    = 2;   // D2 → electrode<br>const int speakerPin = 8; <br><br>const bool  INVERT_DELTA = false;<br>const float baseBlend    = 0.003f;<br>const int   maxDelta     = 80;<br>const int   triggerLevel = 5;<br>const int   freqMin      = 660;<br>const int   freqMax      = 1200;<br>const int   toneMs       = 120;<br>const unsigned long coolMs = 120;<br><br>float         emaVal       = 0;<br>unsigned long baseline     = 0;<br>unsigned long lastNoteTime = 0;<br>int           direction    = 1;<br>int           currentNote  = 0;<br><br>unsigned long readCapOnce(unsigned long timeout_us = 3000UL) {<br>  pinMode(pinSend, OUTPUT);<br>  digitalWrite(pinSend, LOW);<br>  pinMode(pinRecv, INPUT);<br>  delayMicroseconds(5);<br>  unsigned long t0 = micros();<br>  digitalWrite(pinSend, HIGH);<br>  while (digitalRead(pinRecv) == LOW) {<br>    if (micros() - t0 &gt; timeout_us) { digitalWrite(pinSend, LOW); return timeout_us; }<br>  }<br>  unsigned long dt = micros() - t0;<br>  digitalWrite(pinSend, LOW);<br>  return dt;<br>}<br><br>unsigned long readCapAvg(int samples = 6) {<br>  unsigned long sum = 0;<br>  for (int i = 0; i &lt; samples; i++) sum += readCapOnce();<br>  return sum / samples;<br>}<br><br>void setup() {<br>  pinMode(speakerPin, OUTPUT);<br>  Serial.begin(115200);<br>}<br><br>void loop() {<br>  unsigned long rawValue = readCapAvg();<br>  if (baseline == 0) { baseline = rawValue; emaVal = baseline; }<br><br>  long delta = INVERT_DELTA ? (long)baseline - (long)rawValue<br>                            : (long)rawValue  - (long)baseline;<br>  if (delta &lt; 0) delta = 0;<br>  if (delta &lt; 2) {<br>    baseline = (unsigned long)((1.0 - baseBlend) * baseline + baseBlend * rawValue);<br>  }<br><br>  int intensity = (delta &gt; maxDelta) ? maxDelta : (int)delta;<br><br>  Serial.print(rawValue);<br>  Serial.print(&#39;\t&#39;);<br>  Serial.println(intensity);<br><br>  if (intensity &gt; triggerLevel &amp;&amp; (millis() - lastNoteTime) &gt; coolMs) {<br>    playSmoothArpeggio(intensity);<br>    lastNoteTime = millis();<br>  } else if (intensity &lt;= triggerLevel) {<br>    noTone(speakerPin);<br>  }<br><br>  delay(10);<br>}<br><br>void playSmoothArpeggio(int intensity) {<br>  int iClamp = intensity;<br>  if (iClamp &lt; triggerLevel) iClamp = triggerLevel;<br>  if (iClamp &gt; maxDelta)     iClamp = maxDelta;<br><br>  float t = float(iClamp - triggerLevel) / float(maxDelta - triggerLevel);<br>  if (t &lt; 0) t = 0; if (t &gt; 1) t = 1;<br>  t = pow(t, 0.9f);<br><br>  int hz = int(freqMin + (freqMax - freqMin) * t + 0.5f);<br><br>  noTone(speakerPin);<br>  delay(1);<br>  tone(speakerPin, hz, toneMs);<br>}</pre><p>The moment I touched the wire, the readings in the Serial Plotter shifted, and the piezo speaker responded accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWl8_uaTA6wFaMhhZ1wHig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3W_OBXQViKBsF9xy40hYw.png" /><figcaption>Baseline readings (left) compared to capacitance changes when the wire is touched (right)</figcaption></figure><p>Encouraged, I built a cleaner setup on the breadboard using a 22 µF ceramic capacitor for stability, and alligator clips for flexible connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FmrQn1ZxVpqV9RC88XQ1zw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9KY2ap5YHiAqdsCxvkd3w.jpeg" /><figcaption>Initial setup with a mug and tea strainer</figcaption></figure><p>Once the readings steadied, I attached one clip to the metal chain of a tea strainer sitting atop a cup. Touching the rim or lifting the strainer subtly changed the capacitance, producing tones that accelerated with stronger or faster motions. The interaction felt immediate; sound emerging from gesture.</p><p>In terms of code, I also refined the sound structure itself. Rather than producing a single sliding tone, the new code sequences through a short arpeggio that rises and falls within the Hirajoshi scale — C, D, E♭, G, and A♭. This scale, often used in Japanese koto music, is a minor pentatonic mode with a gentle melancholy: it removes the bright fourth and seventh degrees of the major scale and lowers the third and sixth, leaving intervals that sound open yet inward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/0*3wDJFIFhhY62JXfc" /></figure><p>I chose it partly because it resonates with the tea bowl’s quiet ethos that Yanagi described: beauty that rests in restraint, asymmetry, and use. Each touch now releases a breathlike shimmer of notes; gesture turns into phrasing, and the bowl hums with a tone neither cheerful nor sad, but simply attentive.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTIVzMb778fQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FTIVzMb778fQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTIVzMb778fQ%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7c7b9016629dda7adc90ca8a08ed943/href">https://medium.com/media/f7c7b9016629dda7adc90ca8a08ed943/href</a></iframe><p>After that, I sought a more tactile and embodied response. I tore strips of kitchen foil, wrapped them around a ceramic bowl, and attached the D2 lead directly onto the foil surface. The lab instructions suggested dismantling the buzzer to extract the piezo element inside, but mine was far too small to take apart without breaking. Instead, I soldered two wires onto a separate piezo disc and used it as an external speaker, taping it onto the side of the bowl so the ceramic body itself could resonate with the sound.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_jKDXnqJb_kv5nfnQrlGA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jiHCR8BZjMq1nD5DJdtiXQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5WRUpryqFodFQoAfRHbqKA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tjwGTy1Dupg0DdNKtVWjXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MHwyPto96uPzkoYpdRUw6g.jpeg" /><figcaption>Final setup with foil-wrapped ceramic bowl</figcaption></figure><p>And then, each touch or stroke along the bowl—and each pouring or stirring the liquid inside—made the bowl hum, the sound swelling or fading with every movement. The tones no longer seemed to come from the speaker but through the bowl itself. There was a quiet resonance between material and circuit.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzjO-4yzUNY0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzjO-4yzUNY0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzjO-4yzUNY0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d348390602c52b8e57ee32235a79a9c0/href">https://medium.com/media/d348390602c52b8e57ee32235a79a9c0/href</a></iframe><p>Through this process, I began to sense feedback not as control but as listening. The circuit was minimal, yet it revealed how contact could transform an everyday object into a responsive, sounding body. In that instant, the tea bowl spoke back.</p><h4><strong>Final Code:</strong></h4><pre>/* Singing Bowl (Hirajoshi) */<br><br>#include &quot;pitches.h&quot;<br><br>const int pinSend = 4;<br>const int pinRecv = 2;<br>const int speakerPin = 8;<br><br>// Hirajoshi scale<br>const int SCALE[] = {<br>  NOTE_C4, NOTE_D4, NOTE_DS4, NOTE_G4, NOTE_GS4,<br>  NOTE_C5, NOTE_D5, NOTE_DS5, NOTE_G5, NOTE_GS5<br>};<br>const int N = 10;<br><br>// Sensor settings<br>const bool INVERT_DELTA = false;<br>const float baseBlend = 0.005;<br>const int maxDelta = 35;<br><br>float emaVal = 0;<br>unsigned long baseline = 0;<br>unsigned long lastNoteTime = 0;<br>int direction = 1;<br>int currentNote = 0;<br><br>unsigned long readCapOnce(unsigned long timeout_us = 3000UL) {<br>  pinMode(pinSend, OUTPUT);<br>  digitalWrite(pinSend, LOW);<br>  pinMode(pinRecv, INPUT);<br>  delayMicroseconds(5);<br>  unsigned long t0 = micros();<br>  digitalWrite(pinSend, HIGH);<br>  while (digitalRead(pinRecv) == LOW) {<br>    if (micros() - t0 &gt; timeout_us) {<br>      digitalWrite(pinSend, LOW);<br>      return timeout_us;<br>    }<br>  }<br>  unsigned long dt = micros() - t0;<br>  digitalWrite(pinSend, LOW);<br>  return dt;<br>}<br><br>unsigned long readCapAvg(int samples = 6) {<br>  unsigned long sum = 0;<br>  for(int i = 0; i &lt; samples; i++) sum += readCapOnce();<br>  return sum / samples;<br>}<br><br>void setup() {<br>  Serial.begin(9600);<br>  pinMode(speakerPin, OUTPUT);<br>  randomSeed(analogRead(A0));<br>  <br>  unsigned long sum = 0;<br>  for(int i = 0; i &lt; 10; i++) {<br>    sum += readCapAvg();<br>    delay(10);<br>  }<br>  baseline = sum / 10;<br>  emaVal = baseline;<br>  <br>  for(int i = 0; i &lt; 5; i++) {<br>    tone(speakerPin, SCALE[i], 150);<br>    delay(180);<br>  }<br>  <br>  Serial.println(&quot;Hirajoshi smooth&quot;);<br>}<br><br>void loop() {<br>  unsigned long rawValue = readCapAvg();<br>  long delta = INVERT_DELTA ? (long)baseline - (long)rawValue<br>                            : (long)rawValue - (long)baseline;<br>  if (delta &lt; 0) delta = 0;<br>  <br>  if (delta &lt; 2) {<br>    baseline = (unsigned long)((1.0 - baseBlend) * baseline + baseBlend * rawValue);<br>  }<br>  <br>  emaVal = 0.82 * emaVal + 0.18 * delta;<br>  int intensity = constrain((int)emaVal, 0, maxDelta);<br>  <br>  Serial.println(intensity);<br>  <br>  if (intensity &gt; 5) { <br>    playSmoothArpeggio(intensity);<br>  } else {<br>    noTone(speakerPin);<br>    currentNote = 0;<br>    direction = 1;<br>  }<br>  <br>  delay(10);<br>}<br><br>void playSmoothArpeggio(int intensity) {<br>  unsigned long now = millis();<br>  <br>  int noteInterval = map(intensity, 5, 30, 650, 280);<br>  <br>  if (now - lastNoteTime &gt; noteInterval) {<br>    int maxNote = map(intensity, 5, 30, 5, N);<br>    int freq = SCALE[currentNote];<br>    <br>    int duration = noteInterval * 0.75;<br>    tone(speakerPin, freq, duration);<br>    <br>    currentNote += direction;<br>    <br>    if (currentNote &gt;= maxNote) {<br>      currentNote = maxNote - 1;<br>      direction = -1;<br>    } else if (currentNote &lt; 0) {<br>      currentNote = 0;<br>      direction = 1;<br>    }<br>    <br>    lastNoteTime = now;<br>  }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13fe0e64b61a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 4: Sensing Force and Photocells]]></title>
            <link>https://medium.com/@shaoweiw/lab-4-sensing-force-and-photocells-7601f0f620aa?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/7601f0f620aa</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Tue, 30 Sep 2025 18:58:00 GMT</pubDate>
            <atom:updated>2025-09-30T23:29:40.819Z</atom:updated>
            <content:encoded><![CDATA[<p>Shaowei Wang // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*awU0hJVk1Dlfc8XJqGahPg.png" /></figure><h4><strong>Lab Description</strong></h4><p>This week’s lab opened a new dimension of sensing. Instead of twisting potentiometers, I was invited to play with light and force. The photocell and FSR transformed ambient brightness and tactile pressure into voltage values, and connecting them with LEDs and p5.js turned those signals into color, rhythm, and visualization. I ended up spending hours and hours experimenting beyond the instructions, layering artistic mappings, personal expressions, and ecological metaphors. What could have been a technical exercise became playful exploration, and I found myself having genuine fun watching how shadows, fingertips, and breath-like transitions could all become inputs.</p><h4><strong>Components Used</strong></h4><ul><li>Arduino × 1</li><li>Breadboard × 1</li><li>Colored wires (assorted)</li><li>LEDs (R/G/B) × 3</li><li>220Ω resistor × 3 (one per channel)</li><li>10kΩ resistors × 1</li><li>Photocell × 1 (Sponsored by Ernest, merci!)</li><li>Force-Sensitive Resistor × 1</li><li>Lampshade / diffuser (from Lab 2) made of Styrofoam, cotton, dried flower petals, tracing paper, and recycled acrylic packaging box</li><li>A plant leaf and a recycled hemp rope</li><li>A pillow</li><li>Laptop with Node.js and p5.serialserver (and a projector for ambient demo)</li></ul><h4><strong>A) Photocells</strong></h4><p>I replaced the potentiometers with a photocell (thanks to Ernest for providing it!) and verified it with the basic Arduino sketch provided in the lab instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35ETX_TZaIodXAnQKn6MWg.jpeg" /><figcaption>Wiring (potentiometers replaced by a photocell)</figcaption></figure><pre>const int analogInPin = A0;<br><br>void setup() {<br>  Serial.begin(9600);<br>}<br><br>void loop() {<br>  // read the sensor value from the analog input pin<br>  const int sensorValue = analogRead(analogInPin);<br><br>  Serial.println(sensorValue);<br><br>  // wait 2 milliseconds before the next loop<br>  // for the analog-to-digital converter to settle<br>  // after the last reading:<br>  delay(2);<br>}</pre><p>With the Serial Monitor open, I observed the readings rising with a flashlight, and falling with subtle shadows from my hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iFowdOVYarrYBPPmJdvZKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iPYlBMmJ023iB95OyCaCww.png" /></figure><p>After this confirmation, I modified the circuit to feed the photocell into my three-LED rig from Lab 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9yIDkeHo3RTYp4lFJ8JDcw.jpeg" /><figcaption>Updated wiring with 3 LEDs</figcaption></figure><p>I wrote a sketch that mapped light levels to LED brightness with a smooth fading function. This avoided abrupt flickers and gave the LEDs a “breathing” rhythm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*ifYU15l2DcUkbfZ42o96IQ.gif" /><figcaption>Hand shadows modulate light levels</figcaption></figure><p>During debugging, I realized how sensitive the photocell was: even the Arduino’s onboard LED and the RGB diodes themselves were enough to disturb the baseline. Achieving a reliable “dark” value was tricky, so I kept tuning the darkThreshold and brightThreshold. Eventually I added a smoothing factor to stabilize transitions. For presentation, I placed cotton as a diffuser over the LEDs, which softened the mapping into a mist-like ambient glow.</p><pre>const int photocellPin = A0;<br>const int redPin = 9;<br>const int greenPin = 10;<br>const int bluePin = 11;<br><br>int lightLevel = 0;<br><br>const int darkThreshold = 300;<br>const int brightThreshold = 800;<br><br>// Smooth transition variables<br>int currentBrightness = 0;<br>const float FADE_SPEED = 0.12;<br><br>const int LED_MIN = 0;<br>const int LED_MAX = 80;<br><br>void setup() {<br>  Serial.begin(9600);<br>  pinMode(photocellPin, INPUT);<br>  pinMode(redPin, OUTPUT);<br>  pinMode(greenPin, OUTPUT);<br>  pinMode(bluePin, OUTPUT);<br>  <br>  setRGB(0);<br>}<br><br>void loop() {<br>  lightLevel = analogRead(photocellPin);<br>  <br>  Serial.println(lightLevel);<br>  <br>  int targetBrightness = map(lightLevel, darkThreshold, brightThreshold, LED_MIN, LED_MAX);<br>  targetBrightness = constrain(targetBrightness, LED_MIN, LED_MAX);<br>  <br>  // Smooth transition<br>  currentBrightness += (targetBrightness - currentBrightness) * FADE_SPEED;<br>  <br>  setRGB(currentBrightness);<br>  <br>  delay(50);<br>}<br><br>void setRGB(int brightness) {<br>  <br>  int r = (int)(brightness * 0.45);<br>  int g = (int)(brightness * 0.25);<br>  int b = brightness;<br>  <br>  analogWrite(redPin, constrain(r, 0, 255));<br>  analogWrite(greenPin, constrain(g, 0, 255));<br>  analogWrite(bluePin, constrain(b, 0, 255));<br>}</pre><h4><strong>B) Force-Sensitive Resistors</strong></h4><p>Next I swapped in the FSR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_SrRbhRPTW1Kt0yIu50Ag.jpeg" /><figcaption>Wiring (photocell replaced by a FSR)</figcaption></figure><p>I first tested it with the provided basic sketch and confirmed that pressing generated rising analog values, while releasing dropped them back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHV6plp6BTC3i2e6CZyInw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICansDNxy1UnzbGU8uz3eQ.png" /></figure><p>Then I modified the circuit to feed the FSR into my three-LED rig from Lab 3. I also updated the sketch and implemented a three-threshold mapping: gentle touch triggered a cool blue-green, medium pressure shifted to bright green, and heavy press activated a warm orange tone. This segmented design highlighted force ranges as qualitative moods rather than just raw numbers.</p><pre>const int forcePin = A0; <br>const int redPin = 9;<br>const int greenPin = 10;<br>const int bluePin = 11;<br><br>int forceReading = 0;<br>int threshold = 400;<br>int maxThreshold = 800;<br><br>void setup() {<br>  Serial.begin(9600); <br>  pinMode(redPin, OUTPUT);<br>  pinMode(greenPin, OUTPUT);<br>  pinMode(bluePin, OUTPUT);<br>}<br><br>void loop() {<br>  forceReading = analogRead(forcePin);<br><br>  Serial.println(forceReading);<br><br>  if (forceReading &lt; threshold) {<br>    analogWrite(redPin, 0);<br>    analogWrite(greenPin, 80);<br>    analogWrite(bluePin, 50);<br>  } <br>  else if (forceReading &lt; maxThreshold) {<br>    analogWrite(redPin, 0);<br>    analogWrite(greenPin, 255);<br>    analogWrite(bluePin, 40);<br>  } <br>  else {<br>    analogWrite(redPin, 180);<br>    analogWrite(greenPin, 255);<br>    analogWrite(bluePin, 0);<br>  }<br><br>  delay(10);<br>}</pre><p>To display this, I reused my dried-flower lampshade from Lab 2. The petals diffused the light, so pressing the FSR felt like shifting seasons in a miniature garden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*6HprExTbXNaWyzE1eSgvjQ.gif" /><figcaption>Demo: light press = aqua; medium = bright green; heavy = amber</figcaption></figure><h4><strong>C) p5.js Integration</strong></h4><p>The third step was setting up the p5.js serial server to connect Arduino with the browser. I know Windows users in class ran into lots of problems, but even on my Mac, installation was unexpectedly tricky: during npm install, I repeatedly got warnings (inflight@1.0.6 and glob@7.2.3 deprecated). These did not fully block setup but suggested conflicts with older Node.js versions I had installed.</p><p>Installation initially failed because @serialport/bindings had no arm64 prebuild for my Node version, so it tried to compile from source and couldn’t find standard C++ headers (fixed by pointing to the macOS SDK/CLT). After installation succeeded under Node 20.19.5, I accidentally launched the server with Node 22.20.0; the native module ABI didn’t match (NODE_MODULE_VERSION 115 vs 127). Reinstalling/rebuilding resolved the issue.</p><p>I then updated the Arduino sketch with the provided one:</p><pre>const int potPin = A0;<br><br>int potVal = 0;<br><br>void setup() {<br><br>pinMode(potPin, INPUT); <br><br>Serial.begin(9600);<br><br>}<br><br>void loop() {<br><br> potVal = analogRead(A0);<br><br>Serial.println(potVal);<br><br>delay(10);<br><br>}</pre><p>Eventually, I launched the server successfully and used the provided <a href="https://editor.p5js.org/connieqgu/sketches/5rWyPvWdM">boilerplate sketch</a> (<a href="https://editor.p5js.org/connieqgu/sketches/5rWyPvWdM">https://editor.p5js.org/connieqgu/sketches/5rWyPvWdM</a>) in the p5.js online editor. With my Arduino sending force data, pressing the FSR caused circles in the canvas to scale in real time. Debugging the environment was frustrating, but once it was working, the immediacy of seeing pressure embodied in digital form as live shapes was striking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*Z8VnBVOQc0MPTGm0OW8VFw.gif" /><figcaption>P5.JS console receiving live data; ellipse size responds to pressure</figcaption></figure><h4><strong>D) Homework // Creative Visualizations</strong></h4><p>For the homework, I had so much fun exploring and ventured into three directions of visualization, each expanding on the lab’s base concept.</p><p><strong>PART I. FOUR SEASONS AND RECURSIVE TREES</strong></p><p>The most developed one drew from the ecological imagery I began in Lab 2. I extended my FSR color-mapping sketch into a “four seasons” program:</p><pre>int forcePin = A0;<br>int redPin = 9;<br>int greenPin = 10;<br>int bluePin = 11;<br><br>int forceReading = 0;<br><br>// Season thresholds<br>const int SPRING_END = 255;<br>const int SUMMER_END = 511;<br>const int AUTUMN_END = 767;<br>const int WINTER_END = 1023;<br><br>// Smooth transition variables<br>int currentR = 0;<br>int currentG = 0;<br>int currentB = 0;<br>int targetR = 255;<br>int targetG = 120;<br>int targetB = 180;<br>const float FADE_SPEED = 0.15; // 0.0 to 1.0, higher = faster transition<br><br>void setup() {<br>  Serial.begin(9600);<br>  pinMode(redPin, OUTPUT);<br>  pinMode(greenPin, OUTPUT);<br>  pinMode(bluePin, OUTPUT);<br>  <br>  // Initial state - spring pink<br>  currentR = 255;<br>  currentG = 120;<br>  currentB = 180;<br>  setColor(currentR, currentG, currentB);<br>}<br><br>void loop() {<br>  forceReading = analogRead(forcePin);<br>  <br>  // Send to P5.js for tree visualization<br>  Serial.println(forceReading);<br>  <br>  // Get target color based on season<br>  getTargetColor(forceReading);<br>  <br>  // Smoothly transition current color to target color<br>  fadeToTarget();<br>  <br>  // Update LED<br>  setColor(currentR, currentG, currentB);<br>  <br>  delay(10);<br>}<br><br>void getTargetColor(int reading) {<br>  if (reading &lt; 256) {<br>    // SPRING: Pink blossoms<br>    targetR = 255;<br>    targetG = 120;<br>    targetB = 180;<br>    <br>  } else if (reading &lt; 512) {<br>    // SUMMER: Vibrant green<br>    targetR = 0;<br>    targetG = 255;<br>    targetB = 60;<br>    <br>  } else if (reading &lt; 768) {<br>    // AUTUMN: Warm orange/red<br>    targetR = 255;<br>    targetG = 100;<br>    targetB = 0;<br>    <br>  } else {<br>    // WINTER: Deep ethereal blue<br>    targetR = 30;<br>    targetG = 60;<br>    targetB = 180;<br>  }<br>}<br><br>void fadeToTarget() {<br>  // Smoothly interpolate current color toward target color<br>  currentR += (targetR - currentR) * FADE_SPEED;<br>  currentG += (targetG - currentG) * FADE_SPEED;<br>  currentB += (targetB - currentB) * FADE_SPEED;<br>  <br>  // Round to nearest integer to avoid floating point errors<br>  currentR = round(currentR);<br>  currentG = round(currentG);<br>  currentB = round(currentB);<br>}<br><br>void setColor(int red, int green, int blue) {<br>  analogWrite(redPin, constrain(red, 0, 255));<br>  analogWrite(greenPin, constrain(green, 0, 255));<br>  analogWrite(bluePin, constrain(blue, 0, 255));<br>}</pre><p>After implementing, light pressure produced spring pinks, medium presses shifted into vibrant summer greens, firmer force triggered autumn oranges, and maximum values revealed deep winter blues. Each season smoothly faded into the next, creating a living cycle of growth and decay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEQiRuVWbBgmhnSr4gmLCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GXWafZlGZbWILOrmyco6IQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nz_zRqOaHGn-ZUeyzWUTwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bANeFw_--7xApDsUIxAEZQ.png" /><figcaption>P5.JS recursive tree visualizations with dynamic seasonal palettes</figcaption></figure><p>On the <a href="https://editor.p5js.org/syni/sketches/PC86_iKiB">p5.js side</a> (<a href="https://editor.p5js.org/syni/sketches/PC86_iKiB">https://editor.p5js.org/syni/sketches/PC86_iKiB</a>), I built a tree visualization that reflected the seasonal transitions, so the RGB LEDs and the on-screen graphics worked together as a single ecological loop. My first recursive attempt was too rigid, producing geometry that felt lifeless. Later I drew inspiration from Florian Rey’s <a href="https://openprocessing.org/sketch/446704/"><em>Tree P5 js Version</em></a> (<a href="https://openprocessing.org/sketch/446704/">https://openprocessing.org/sketch/446704/</a>), which introduced slight randomness to branch angles and lengths. By adapting that method, the tree began to sway and vary organically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*pHZcS6GZTWGPs01skO4qKQ.gif" /><figcaption>FSR input drives seasonal transitions, with tree branches jittering organically</figcaption></figure><p>I also attached the FSR to a fallen leaf to create a more intuitive, tangible interaction. The lamp and the tree then shifted palettes in tandem, forming a dual channel of seasonal breathing, both physical and digital.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXZPVC95dN0s%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FXZPVC95dN0s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXZPVC95dN0s%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eae915c010ed2c10d745cc7311544521/href">https://medium.com/media/eae915c010ed2c10d745cc7311544521/href</a></iframe><p><strong>PART 2. LIGHT AS POEM MAGNET</strong></p><p>The <em>Four Seasons </em>experiment gave me a strong sense of accomplishment: the colors and growth cycles worked beautifully, and the tree finally breathed with more organic motion. Yet even in that satisfaction, I felt a quiet restlessness. I wondered if there might be a more immediate, intuitive way for the audience to sense the materiality of interaction.</p><p>In another class, during a discussion of Buddhist texts, I encountered once again the delicate tension between stillness and motion, presence and absence. That conversation unexpectedly brought to mind T. S. Eliot’s <em>Four Quartets</em>, especially the line <em>“At the still point of the turning world.”</em> The resonance stayed with me, and later that night, when moths and small insects gathered around my desk lamp, the pieces clicked together. I wondered: what if letters themselves could be photosensitive, gathering and dispersing with light, like creatures drawn into fleeting constellations?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xM6g_VI2v9t_1aiOYhGeGw.jpeg" /><figcaption>Eliot’s lines appear in rhythm with brightness</figcaption></figure><p>I went back to the photocell as the medium to test this idea. On the screen, glyphs floated in darkness like plankton, animated by curl-noise currents. As the photocell sensed brightness, they were drawn together, slowly cohering into lines of Eliot’s poem. As the light receded, they dissolved again into scattered drift. The transformation was subtle but striking: typography that breathed with light, both fragile and alive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5emKZnwTfsyiytizFHd7DQ.png" /><figcaption>Letters drifting like plankton, just before the light gathers them into verse.</figcaption></figure><p>The coding process was demanding. I spent many attempts adjusting font sizes, velocities, smoothing, and hysteresis thresholds until the letters gathered with the right rhythm. I also added attack and release smoothing to mimic breath, and quick key controls for theme (and dark mode was used in demo as my photocell was very sensitive) and scale. In the <a href="https://editor.p5js.org/syni/sketches/rNT5tMDVk">final version</a> (<a href="https://editor.p5js.org/syni/sketches/rNT5tMDVk">https://editor.p5js.org/syni/sketches/rNT5tMDVk</a>), the poem no longer simply appeared; it emerged, scattered, and dissolved, mirroring the Buddhist idea of impermanence while echoing Eliot’s paradox of stillness within turning.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFzfbnGIoEog%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFzfbnGIoEog&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFzfbnGIoEog%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/060610e75983973146083d635d59a374/href">https://medium.com/media/060610e75983973146083d635d59a374/href</a></iframe><p><strong>PART 3. TYPHOON ORBITS</strong></p><p>The third direction began with Super Typhoon Ragasa moving through Asia while I was sketching at my desk in NorCal. Friends and family in Asia were watching forecasts and sending photos, and the news kept comparing Ragasa to Mangkhut seven years ago.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*65cOujzjrEBXbj13Qoxm8A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*XLgo7QBW77nQo-DLGqTomA.gif" /><figcaption>Ragasa and Mangkhut on satellite imageries</figcaption></figure><p>For me, the echo was phenomenologically personal. In 2018, when Mangkhut struck, my high school best friend had just passed away in a sudden accident. Her funeral took place at the very height of the storm. The city was shredded by wind, streets were blocked by fallen trees, and to reach the cemetery on the hillside we climbed through rain and debris. The shock of her death was already overwhelming; the typhoon’s devastation only magnified that sense of impermanence. Ever since, whenever storms return, sleep slips away. I keep thinking of impermanence not as an abstract concept, but as a pressure system that moves through the body.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XISAHf1tcMdWRb71" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*jUy3wD9o5ABvImFi.jpeg" /><figcaption>Hong Kong during and after Typhoon Mangkhut in 2018</figcaption></figure><p>I wondered how to render that pressure in tangible material. At first I traced meteorological maps, but the grids felt distant from the disorder I carried:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VICukqmTrcI3QAiPo408JQ.png" /><figcaption>First attempt: concentric orbits under inversion, two inner eyes of wind begin to form</figcaption></figure><p>I turned instead to noise fields, thinking of turbulence as a drawing tool. <a href="https://github.com/sdedovic/noiseorbit-tutorial">Stevan Dedovic’s noise-orbit tutorial</a> (<a href="https://github.com/sdedovic/noiseorbit-tutorial">https://github.com/sdedovic/noiseorbit-tutorial</a>) pointed a path toward orbital lines that shear and twist with time, which felt closer to the way weather curls around a void. I implemented a <a href="https://editor.p5js.org/syni/sketches/oLr4JKv_r">black-and-white version</a> (<a href="https://editor.p5js.org/syni/sketches/oLr4JKv_r">https://editor.p5js.org/syni/sketches/oLr4JKv_r</a>) where the scene inverts as pressure rises, so the background sinks into night and the lines brighten, and the rings collapse toward a center that never fully reveals itself. The FSR streams a smoothed control value, so the implosion grows with touch and releases with a slow exhale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*Xl7gKkVCHiE7HKYjWtCa_g.gif" /><figcaption>Final sketch V.1: contour-like flows bending into a central void as force rises</figcaption></figure><p>Yet the storm that I internalized was never only black and white. It was terrifying and also strangely beautiful, like a spectacle that refuses to fit into a single feeling. My friend and I loved the anime film <em>Your Name </em>(<em>Kimi no Nawa</em>), and just before she passed she was practicing RADWIMPS songs on guitar. That memory kept returning, and with it an intuition: disaster and grief, too, can glow with saturated color, much like the film’s radiant portrayal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t7HutZt8sFH7eb8u" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*26wOZWx63gEHbuFi.png" /><figcaption>Comet disaster portrayed as visual spectacles in the anime film</figcaption></figure><p>I revised the sketch into a <a href="https://editor.p5js.org/syni/sketches/E79HUvIIj">rainbow burst</a> (<a href="https://editor.p5js.org/syni/sketches/E79HUvIIj">https://editor.p5js.org/syni/sketches/E79HUvIIj</a>). Pressure adds hue rotation, increases saturation, and thickens the ring strokes. The same orbits now spiral with chroma, as if the atmosphere were a prism, and the implosion becomes a corona of color that gathers and then lets go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*lbHSFatYvgXf9yBuJU11nA.gif" /><figcaption>Final sketch V.2: High-saturation rings twisting into a chromatic eye</figcaption></figure><p>To bring the sketch back into the body, I extended the FSR with jumper wires and slipped it inside a pillow. The material choice mattered. The soft cushion invited slow pressure and long breaths, which mapped well to the rise and fall of the orbits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3N6edyuZaJqGtsSiPuM-yg.jpeg" /><figcaption>From FSR to Pillow Sensor</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeQyXj6g2adU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FeQyXj6g2adU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeQyXj6g2adU%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb94aff6a6facc4486951f8c36148166/href">https://medium.com/media/fb94aff6a6facc4486951f8c36148166/href</a></iframe><p>I set up a projector at the end of the bed so the animation filled the wall, then lay back and pressed into the pillow to test. The wall pulsed, the field imploded, and color spread.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*IqjAYoxEkyQabTW49MuC2A.gif" /><figcaption>Pillow sensor pressed by the head, implosion swelling and receding with each breath</figcaption></figure><p>As interaction design it may never be practical, since nobody needs a storm above their head at night, but as a small ritual for sleeplessness it felt honest. The piece turned internal flow into something visible and touchable, a way to hold grief without freezing it into a diagram.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7601f0f620aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Human Centered Design]]></title>
            <link>https://medium.com/@shaoweiw/human-centered-design-1af5027536df?source=rss-70af44135dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/1af5027536df</guid>
            <dc:creator><![CDATA[Shaowei]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 20:03:27 GMT</pubDate>
            <atom:updated>2025-09-29T20:56:51.028Z</atom:updated>
            <content:encoded><![CDATA[<p>Tangible User Interfaces // Prof. Kimiko Ryokai // INFO C262 // Fall 2025</p><p><strong>Group 1: Liliu Yao, Aonan Jiang, Xiao Peng, Teddy Tian, Shaowei Wang</strong></p><h3>Thoughtless Acts</h3><p>Everyday life is full of small improvisations or “thoughtless acts” where people conform to their environment and adapt in ways that reveal hidden patterns. These actions often pass unnoticed, yet they invite curiosity. They expose creative reuses and unmet needs. By looking carefully at what people actually do in various situations, we can uncover how creativity emerges in the mundane: reinterpreting objects, filling in gaps where design is missing, and signaling new opportunities for human-centered solutions.</p><p>Our group documented three such cases. From a watch hung on a bedpost, to a bottle cap reimagined as an earring, to a dog resting on folded laundry, each example shows how people (and even animals) improvise ways of conforming to and transforming their surroundings. Through observation and design methods, we traced how these unspectacular acts point toward future design opportunities.</p><ol><li><strong>Watch on the Bedpost</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*71rxwhmO-pKGruWM1uSvCw.jpeg" /></figure><p><strong>What we saw</strong></p><p>A digital watch was hanging on the edge of a wooden bedframe, supported by a bungee cord hook.</p><p><strong>Why placed here?</strong></p><ul><li>The bed acts as a threshold space: going to sleep means removing the watch.</li><li>The watch functions as an alarm clock, so it must remain visible and accessible.</li><li>The bedframe’s negative space (the gap at the edge) is creatively reinterpreted as positive space (a storage hook).</li><li>This action satisfies an urgent and constant need: to check time at night or early morning.</li></ul><p><strong>Insights</strong></p><ul><li>People need a transition spot at bedtime for objects like watches, glasses, and phones.</li><li>The environment is reshaped through improvisation, revealing missing storage.</li><li>The shape of the bedframe resembles a wrist; objects are “reciprocated” into it.</li></ul><p><strong>Design opportunities</strong></p><ul><li><strong>“One-flick” hanging watch</strong>: a strap designed for quick hanging (affordance of the wrist translated into bedframe use).</li><li><strong>Bedside charging station</strong>: integrating watch, glasses, phone — devices that often end up precariously placed near the bed.</li><li><strong>Negative → positive space</strong>: transforming gaps and edges of furniture into intentional storage surfaces.</li><li><strong>Multi-scenario use</strong>: not only storage, but wireless charging + notification integration.</li></ul><p><strong>2. Beertop Earring</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AkspOQIAnutRD0fGSdZYNg.jpeg" /></figure><p><strong>What we saw</strong></p><p>A discarded beer bottle cap was repurposed into an earring.</p><p><strong>Why placed here?</strong></p><ul><li>A playful act of DIY and recycling.</li><li>Improvised jewelry design turns an everyday leftover into fashion.</li><li>Demonstrates the human tendency to re-purpose old objects.</li></ul><p><strong>Insights</strong></p><ul><li>Improvisation transforms waste into identity and self-expression.</li><li>The act blurs the line between trash and ornament, functionality and aesthetics.</li></ul><p><strong>Design opportunities</strong></p><ul><li><strong>DIY re-make / re-cycle kits</strong>: empowering users to transform bottle caps and similar objects into accessories.</li><li><strong>Fashion upcycling platform</strong>: share and curate “found-object jewelry.”</li><li><strong>Highlighting cultural value of re-use</strong>: celebrating material afterlife in design.</li></ul><p><strong>3. Laundry Pillow (Dog with Folded Clothes)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kLauThgeNn2R5XWn58hfOA.jpeg" /></figure><p><strong>What we saw</strong></p><p>A dog rested its head on neatly folded laundry, using it as a pillow.</p><p><strong>Why placed here?</strong></p><ul><li>The dog instinctively sought a soft, elevated surface for comfort.</li><li>Clothes possibly carry human scents, adding emotional reassurance to the dog.</li><li>It improvises a pet pillow out of available materials.</li></ul><p><strong>Insights</strong></p><ul><li>Humans and animals alike re-purpose softness for support.</li><li>Comfort objects are not fixed; they emerge from context.</li><li>Smell, texture, and proximity shape rest and attachment.</li></ul><p><strong>Design opportunities</strong></p><ul><li><strong>Pet pillow with owner’s scent</strong>: bridging emotional need and comfort.</li><li><strong>Scented pillows</strong>: designed to embed familiar smells.</li><li><strong>Small modular pillow units</strong>: configurable, stackable, adaptable to different bodies (humans and pets).</li></ul><h4>Patterns Across the Three Cases</h4><ul><li><strong>Improvisation as necessity</strong>: filling a gap where design is missing (watch storage, pet comfort).</li><li><strong>Re-purposing as creativity</strong>: turning an object into something new (bottle cap → jewelry).</li><li><strong>Negative space → positive function</strong>: gaps, leftovers, and “non-places” often become sites of human innovation.</li></ul><h3>Chosen Design Direction: Bedpost Watch</h3><p>Among the three, we chose the Bedpost Watch for further exploration, as we believed it presented the richest design potential:</p><ul><li>It highlights a universal ritual (transition to sleep).</li><li>It addresses urgent needs (alarm clock, bedside visibility).</li><li>It points to clear product opportunities (modular storage, charging integration).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JzxQ8WFQZd9swkXGnBOn8g.png" /><figcaption>In-class ideation sheet: from observation to design opportunities</figcaption></figure><h4>The Bedplay Basket</h4><p>We playfully named our final concept the “Bedplay Basket”, in analogy to CarPlay. Just as CarPlay integrates multiple functions seamlessly into the driving experience, the Bedplay Basket transforms the bedside into a multi-functional interaction hub.</p><p>In our brainstorming, we explored several iterations:</p><ul><li><strong>A bedframe-mounted watch stand,</strong> allowing a natural “one-flick” hanging action.</li><li><strong>Container modules</strong> such as drawers or baskets integrated into the bedframe, providing storage and wireless charging.</li><li><strong>A soft-material night light</strong> that doubles as a watch holder; pressing the watch into the surface activates illumination and displays the time.</li><li><strong>A projection system</strong> that casts time onto the wall or ceiling, reframing time as an ambient presence and even functioning as an alarm.</li></ul><p>Through convergence, these ideas crystallized into the Bedplay Basket:</p><ul><li><strong>Modular container</strong>: attached either as a drawer built into the headboard or as a basket suspended from the bedframe.</li><li><strong>Integrated charging</strong>: wireless charging for watches, phones, and other small devices.</li><li><strong>Projection display</strong>: a touch-sensitive surface that activates a projector, casting time onto nearby surfaces.</li><li><strong>Ambient alarm</strong>: the projector can also serve as a wake-up system, gradually shifting light or projecting gentle visual cues instead of abrupt sound.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*GUBh79BLWKT6J1Sq5EIOeQ.png" /></figure><p>The Bedplay Basket reframes the bedside as an active design space where conforming, signaling, and improvising converge. It transforms negative space into positive interaction, acknowledges the small rituals of bedtime (taking off a watch, putting down glasses, silencing a phone), and translates them into a human-centered design solution that is both practical and playful.</p><h3>Reflections</h3><p>Working through the Thoughtless Acts exercise, we relied on a few methods: 1) Five Whys to probe motivations; 2) concept mapping to trace the ties between rituals and threshold moments; and 3) affinity diagrams to cluster recurring needs.</p><p>What emerged was a reminder that design often begins with gestures so ordinary they vanish into the background: resting a watch on a bedpost, balancing glasses on a ledge, improvising storage from whatever space is at hand. These unspectacular maneuvers, once noticed, reveal entire constellations of hidden needs.</p><p>Seen through this lens, our midterm project <em>One Drop, Two Worlds</em> also came into sharper focus. The contrast that first inspired us — between the industrialized water station, a hyper-visible node of infrastructure, and the creek, an ecological flow largely unnoticed — was never just about water itself. It was about how people encounter water, or fail to. The exercise made us more attuned to the fact that perception is not triggered by symbols alone; it must be staged, invited, sometimes even provoked through interaction.</p><p>This realization leads us to a set of guiding provocations:</p><ul><li><em>How might a design disrupt the tendency to take water for granted, making its presence felt again?</em></li><li><em>Could an installation involve embodied labor — the lifting, carrying, or extracting of water — to reintroduce effort that infrastructure normally erases?</em></li><li><em>How might play transform such labor into collaborative ritual, turning individual gestures into shared awareness?</em></li><li><em>How can invitations remain lightweight and inclusive, drawing in children as readily as adults, allowing engagement without demanding it?</em></li><li><em>And in a culture of constant busyness, what form of interaction can still spark pause, curiosity, and delight?</em></li></ul><p>From these questions, we began to see that publicness is not given but produced. It arises when a design transforms overlooked space into a site of encounter, when interaction itself becomes the medium through which strangers gather, notice, and co-create meaning. If a watch balanced on a bedpost can turn negative space into positive interaction, then a creek reframed through playful affordances might equally become a commons of attention.</p><p>Our ongoing challenge is to design not an object to be looked at, but a situation in which people, through water, can generate awareness together. What we carry forward, then, is not a change of course but a deepened conviction: that even the most mundane acts, if carefully staged, can open onto new forms of public perception and relation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1af5027536df" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>