Professional Documents
Culture Documents
11
Experiment TITLE: Digital Hourglass
Salvado, John Henry M. Date Performed: Jan. 8, 2019
2013102950 Date Submitted: Jan. 15, 2020
Professor: Engr. Edward Ang Course and Year: MFGE/3
Group # 4
Discussion:
This Experiment titled the Digital Hourglass has the Class recreate an Hourglass,
wherein the main component of the experiment is the Tilt Switch Resistor. The tilt switch
resistor detects if the device has been flipped to control the turning on and resetting of
the hourglass. A tilt sensor has a metallic ball that is designed to move the two pins of
the instrument from the 'on' to the 'off' position, and vice versa, if the sensor reaches a
pre-determined angle. Tilt sensors are the environment-friendly version of a mercury-
switch
In the Experiment the Digital hourglass lights up the LEDs one at a time
depending on the time delay set between them which makes a predetermined time for
all of them to light up. Once all of them are lit you may “tilt” or turn over the Arduino to
activate the tilt switch resistor to start the count down again.
Learning Objectives:
This experiment’s objectives are;
- To be familiar with the time delay and time interval codes
- To familiarized the students with the function of tilt switch
- To understand the concept behind the operations of a tilt switch.
- To be able to successfully create a digital hour glass design project
Roca , Reimbert
Randalla Programmed
2 100% 100
the arduino
Fernando , Bon
Keno R. Brought the
4 100% 100
laptop
2. Arduino Uno
3. Bread Board
4. While assembling the Set up another group member should Start Coding in the
Arduino Uno Program.
5. Once the set up has been assembled upload the code onto the Arduino Uno.
6. Test if the set up is working by tilting the breadboard to until the tilt shift resistor
activates. This should let the LEDs start to light up depending on the time delay
between them.
ANALYISIS:
like in our previous experiment called spaceship interface we were tasked to
create time intervals between LEDS but instead of using a push button we used a tilt
switch resistor and more LEDs.
The data we gathered in this experiment was acquired by using a Smartphone
app stopwatch. Accuracy was dependent on the reaction time of the person holding the
smartphone as he watches the LEDs light up one after another, but the data we
gathered was all near the programmed time we put in which was 5 seconds and 3
second intervals.
In the end the experiment was a success and our data matched our
expectations.
Recommendation:
I recommend that we should integrate an LED screen into the experiment to
make it more challenging as this experiment is too similar to the spaceship interface
experiment. With the inclusion of the LED screen we may be able to digitally show the
countdown of the hourglass. This would overall be more interesting and useful in the
industry.
Conclusion:
In conclusion we were able to successfully set up the Digital hourglass
experiment. We were able to familiarize ourselves with the tilt sensor. A tilt sensor has
a metallic ball that is designed to move the two pins of the instrument from the 'on' to
the 'off' position, and vice versa, if the sensor reaches a pre-determined
angle. Tilt sensors are the environment-friendly version of a mercury-switch. This
experiment was very much like the spaceship interface, but instead of using a push
button to start the sequence we used the aforementioned tilt switch, this allows the set
up to behave just like an hour glass as you tilt the set up to activate it.
Answer to Questions:
a. Describe how does millis ( ) function in your experiment?
- Millis() function reports how long the Arduino has been running since it was
last powered on or reset. In the code this was used to assign the currenTime,
which tells the Arduino how long the program has been working or in our case
how long has it been since the tilt switch was activated.
b. What is the DIFFERENCE between tilt switch and accelerometer?
Research it! and explain its function. (Do not write it’s another type of tilt
switch!)
- Although tilt switch and accelerometer are similar in construction, they have
different functions. Accelerometers are used to detect magnitude and
direction of acceleration, and are available in one, two or three axis models.
Accelerometers may also be used as a tilt switch. A tilt switch however can’t
be used as an accelerometer, because it only does one function being an
on/off switch.
c. SUGGEST the INDUSTRIAL APPLICATION of this kind of experiment.
- An industrial application for this would be in factories where there are time
intervals between steps. The lights lighting up would signal workers if the
work done by a machine in that certain station is almost done and ready for
the next step.