Posts

Showing posts from August, 2022

[Interaction 1] Second Stage Prototype: Larger Scale Flower Blooming Mechanism

Image
This blog article will demonstrate the process of developing the flower blooming mechanism on a larger scale. In the previous article, I demonstrated the flower blooming mechanism on a smaller scale. Thus, my next plan is to create a larger scale of it to attach a larger size (actual size) of the petals. From my previous experiment, the lead screw will swift around when rotating, thus I have provided another design option to stabilize the lead screw with a gear.  Challenges & Process First Version -Diameter 4cm This is the first version of the chassis of the flower. The 3D printed parts are broken as it is too thin and fragile when a large force is exerted onto them. Second Version This is the second version of the main chassis. This version is fully covered from bottom to top to support the screw with a gear on top. However, the stand of the parts is too thin and will break easily. Third Version - Diameter 7.5cm    At this stage, I have designed the chassis for 5 pet...

[Interaction 1] Prototype: Master & Slave Arduino

Image
This blog article will be demonstrating the connection between multiple Arduino. The Arduino that connects with the heartbeat sensor act as the master, while the Arduino that connects with LEDs and the stepper motor act as the slave. I have experimented with multiple sources for the connection, but I will only document the final compiled source that is beneficial. For this project, I have used I2C communication to connect 2 Arduinos. To summarize, A4, A5 and ground have to connect together to send the signal.  As with all I2C sketches, I start by including the Wire library. For the master code, masterWriter() is the main code that send the signals to the slave. Here is the code after include the I2C communication with the sensor sketch: Master Code Slave Code Slave Code integrating with LEDs  I did not screenshot the full sketch as it is just combining the LEDs code from the previous blog into the slave code. RD, in this case, is the BPM of the heart rate.  Slave Code int...

[Interaction 1] Prototype: Heartbeat Sensor

Image
Initial Experiment [Stage 1] Based on the initial experiment, the heartbeat sensor is affected by outside factors and pressure which cause the LED to blink randomly even though there's no heartbeat. Thus, I start to look for code sources that measure a more accurate detection of heartbeat & BPM. I have experimented with 3 different codes from 3 different sources. However, the number of BPM values is not stable as it will jump from 0 to 300 randomly. Another problem is that when I place my finger on the sensor, it should detect my BPM which ranges between 60- 78, however, the BPM value doesn't change as well when I monitored through the serial monitor. Source 1: Darrah, K. (2013) HowTo: Heart Beat Monitoring! Arduino/Processing. Youtube. Aug 24. Available at:  LINK I try to implement the code and modify based on my heartbeat condition. The results seem doesn't work in my case. The BPM will jump randomly and the LEDs blink randomly even though the heartbeat is not in rang...