You are on page 1of 5

CHAPTER III

METHODS AND PROCEDURES

The discussion of the methodology and steps used in this investigation is


included in this chapter. Additionally, it outlines the procedures for gathering data,
creating a system prototype, and testing a prototype.
The aim of the study is to devise an effective alarm clock …

A. Locale of the Study

Based on the data obtained from..

B. Propose Architecture and Working Principle of the System

The system developed consist of a sensing unit, processing unit, display unit, and a
notification unit. The sensing unit comprises the vibration sensor which gives off signal
when certain vibrational intensity is achieved. The display unit comprises the LCD
Display with I2C Module to display time. The processing unit comprises the Arduino Uno
and Real Time Module. Lastly, the notification unit comprises the buzzer which serves
as indicator when the clock ticks. The diagram illustrates the whole system consists

Display Unit LCD I2C

Sensing Unit Vibration Sensor


Processing
Unit
Input Unit Buttons

Buzzer and
Notification Unit
LEDs

Figure 1. General Architecture of Wakie-Wakie Alarm Clock


In this project, vibration sensor is used to deactivate the alarm rather than to
measure vibration. The vibration sensor sends ON data every cycle of vibration. The
Arduino microcontroller
C. Prototype Development

Components Used Quantity


Arduino Uno 1

Breadboard 1

Female-to-Male 16
Jumping Wires
Male-to-Male 8
Jumping Wires
I2C LCD Screen 1

DS1302 1
Real-Time Module
Buttons 3

Buzzer 1

Resistor (220 Ohm) 1

C.1 Arduino Uno


Arduino uno is an electronic board that consists ATmega328p microcontroller,
and I/O (Input/Output) pins. The ATmega328p is the heart of the Arduino Uno while
I/O pins are connected to other components. The codes are encoded into Arduino
Uno to specify the function and purpose of different components connected to it.

C.2 I2C LCD Screen


The I2C Liquid Crystal Display (LCD) Screen are used to display characters up to
32 ASCII characters. It displays them in 2-row by 16-column format. It can display
time and date.
C.3 Keypad Module
The keypad module is used to enter the time reference for the alarm or buzzer
and LEDs to activate by pressing buttons. It is composed of buttons arranged in rows
and columns matrix.

C.4 DS1302 Real-Time Module


The DS1302 is a trickle-charge timekeeping chip containing 31 bytes of static
Random Access Memory (RAM). It provides real time information such as seconds,
minutes, hours, day, date.

C.5 Buzzer
A buzzer is an audio signaling device that can be mechanical, electromechanical,
or piezoelectric. It is commonly used in alarm devices, timers, and confirmation of
user input such as a mouse click or keystroke.

C.6 Vibration Sensor


The vibration sensor is used to gives signal to the processing unit that will stop
the activation of buzzer and LEDs. It is comprised of magnetic enamel wire and
resistor.

C.7 Proteus
Proteus 8 Professional is a electronics circuit board design, PCB circuit board
assembly and prototyping software that can also be used to for real time simulation
of microcontroller such as 8051, design of schematics of electronics and external
electrical circuits and PCB (printed circuit board) design.
C.8 Arduino IDE
The Arduino IDE (Integrated Development Environment) is used to
The following steps are taken to upload the code to the Arduino Uno:
1. Ensure that the port of the Arduino is connected and configured to
laptop/computer. Check in the Device Manager if the port of Arduino is working
properly.
2. In tools, select Arduino Uno for Board.
3. Connect the needed components to the pins of the Arduino Uno.
4. Once all codes are written, compile and verify them to check if the code is
working.
5. Press the upload to insert the code into Arduino Uno in order to test it.

D. Testing Methods
To verify and determine the functionality and effectivity of the prototype, the following
tests are done:
i. Functionality Test
ii. Protype System Test

D.1 Method I: Functionality test

You might also like