Documentation 11

// Final Project Idea

After speaking with Tom, I tried to think of other ways to make the clock interactive and elevates the participants’ presence through the design. I tried to develop the interface to make it more engaging and here is a rough idea I have in mind:
 
I personally prefer the second idea. To expand on that, I am thinking of have one surface displaying the accurate seconds movement of a 1-minute cycle. Next to it, there will be a stack of translucent paper and a marker, asking the participants to draw the division of times or clock surface they want and to attach it to the clock. Then, next to it, there will be another surface displaying the actual clock surface, while the hand is moving according to the person’s pulse. In front of it, there will be a sensor where the participants can put their hands on it to see.
However, though this idea seems to increases the interaction and the participants’ bodily movement, I don’t think it is making any sense here? And the part of physical computing is also lacking.

So I reframe it from a 24hour clock to an installation mapping how far people’s heartbeat goes in 1 minute and here are the sketches explaining it:

fig 11.2 idea improvement

//Experiments

Though I haven’t solidified my idea yet, I decided to first test with the motors and sensors so I may get some inspiration through testing. I tested the code on the motor to see how to better code for the hour and minute movement. Here is the code with reference to this:

#include <Stepper.h>
const int stepsPerRevolution = 200;
Stepper myStepper(stepsPerRevolution, 8,9,10,11);
int stepCount = 0; 
void setup() {
Serial.begin(9600);
}
void loop() {
myStepper.step(1);
Serial.print("steps:" );
Serial.println(stepCount);
stepCount++;
delay(1600);
}


question: why can’t I do something like stepCount += 5?

I then experimented with a small fabrication of the clock and here is the result:

The seconds’ movement are barely visible right now so I may increase the step increment and change the code a little bit more. I will also replace the 6V DC power supply to a 5V because it has already burnt one of my motors...

fig 11.3 prototype

video 11.1 prototype for the seconds movement surface


//Questions and troubleshooting

I once thought of using VID28-05 as the stepper motor yet I can not find it and the fastest delivery for that is on December 9th. So I purchased this model instead: 28BYJ-48. I used the ULN2003 driver to control the motor. Yet I noticed that no matter how I tweak with the delay or the steps per revolution, the movement of the stepper motor never matched with what is showing on the serial monitor. Is there any way I can fix this? Also, how do I calibrate the stepper motor to make it precisely showing the hourly and seconds changes?

//Resources

-programming
Arduino real time clock: https://itp.nyu.edu/physcomp/labs/lab-using-a-real-time-clock/
using the pulse sensor: https://electropeak.com/learn/interfacing-max30102-pulse-oximeter-heart-rate-module-with-arduino/
https://lastminuteengineers.com/max30102-pulse-oximeter-heart-rate-sensor-arduino-tutorial/
stepper motor code: https://create.arduino.cc/projecthub/garysat/arduino-nano-stepper-motor-clock-ca1c79
pushbutton code: https://github.com/ITPNYU/clock-club/blob/main/Microcontroller_Time_Setting_Methods/PushbuttonTimeSet/PushbuttonTimeSet.ino

-fabrication
Making clcok hands: https://itpnyu.github.io/clock-club/Making_Custom_Clock_Hands/
stepper controls: https://create.arduino.cc/projecthub/garysat/arduino-nano-stepper-motor-clock-ca1c79

//Questions about the lab
I tried with the time-of-flight lab but it keep showing this though my wirings and codes are all good. Is it because I soldered the sensor wrong?