Professional Documents
Culture Documents
Chapter 3
METHODOLOGY
This chapter represents the project design, project development, operation and
Project Design
This Motorcycle Safe Riding System is intended to be used for the safety of
motorcycle riders. The prototype was designed with the following features: 1) the engine
of motorcycle will not start if the driver is not wearing the helmet; and 2) if the driver is
under the influence of alcohol. SMS notification and GPS location are sent to the number
that registered on GSM module, specifically the relative or family of the motorcycle
driver under these conditions if the driver is under the influence of alcohol or in case of
accident if the motorcycle falls on the ground for more than fifteen seconds.
Microcontroller
Alcohol Gas Infrared
Unit (Helmet)
Sensor Sensor
The system used a MQ-3 for alcohol sensor that is suitable for detecting the
alcohol concentration. It has a high sensitivity and fast response time. Sensor provides an
emitter and phototransistor in a leaded package with daylight blocking filter and placed it
inside the helmet for detecting if the driver was properly worn the helmet.
The microcontroller unit is the central processor that is responsible for all the
activities of the system from detection to controlling the GSM and GPS Modules. The
project needs two microcontroller units; one is for the helmet and the other is for the
motorcycle. It acts as the brain in this system. The microcontroller used is Arduino board
two microcontrollers.
The system used ADXL345 which is a complete 3-axis accelerometer with signal
conditioned voltage outputs. It measures the static acceleration of gravity in tilt sensing
The SIM808 Module is used in this project because it is a two in one function
module of GSM and GPS. It supports GSM/GPRS Quad Brand network and combines
GPS Technology for satellite navigation. It has a high GPS receive sensitivity with 22
CNY70
Microcontroller
Mobile
Helmet Power Battery
Alcohol Gas Switch
Sensor
Figure 3 shows the proper placement of alcohol gas sensor (AGS), CNY70, power
switch and microcontroller as attached to the helmet. Once the power switch on the
helmet is turned ON, the microcontroller automatically gets signal from the alcohol gas
sensor and CNY70 is also turned ON. The mobile battery served as the main source of
Figure 4 shows the imposed design of whole system. Once the microcontroller in
the helmet receives the data from either CNY or AGS, it will send data to another
microcontroller on the motorcycle can control the engine switch of the motorcycle, based
on the condition of the program together with Accelerometer, SMS and GPS Technology
CNY70
Accelerometer
GSM GPS
AGS
Motorcycle
Project Development
The following step-by-step procedures were done during the fabrication of the
project prototype
Hardware Development
Figure 3.
shown in Figure 5.
efficiently
3.10. Wires, pin and lead for the connection of the materials
System Development
microcontroller in C Language.
2. The flowchart for the main program is shown in Figure 6. When the
Figure 6 shows how a Motorcycle Safe Riding System works. The system checks
if the MQ-3 (alcohol gas sensor), CNY70 (infrared sensor) and GPS was ready. If the
said components are ready, their corresponding LED light indicators will turn OFF
(turning off the LED light indicator means ready). The gathered data from MQ-3 and
CNY70 on the helmet will send to the main microcontroller that attached on the
motorcycle via wireless connection thru Bluetooth communication. The engine of the
motorcycle will not start if the driver was under the influence of alcohol or if the driver
has not properly worn the helmet. SMS notification and GPS location are sent to the
number that registered on the system, specifically the relative or the family of the driver
under this condition. If the driver is under the influence of alcohol or in case of accident
if the motorcycle was fell in the ground or more than 15 seconds. The system can monitor
the maximum speed limit, if the drivers exceed the limit of 60KmpH the Speed LED will
turn ON, indicator that they reach the maximum speed limit.
33
A
Start
GPS LED=ON
ENGINE LED=ON IS
HELMET LED=ON MQ-3=High Level Y ALCOHOL LED=ON
ALCOHOL LED=ON of Alcohol Toxicity
SPEED LED=ON ?
SEND Notification to
HELMET=ON N Registered Number
ALCOHOL LED=OFF
B
IS N
MQ-3=READY
? IS
CNY70=Detect the N HELMET LED=ON
head of the Driver
Y ?
B
ALCOHOL LED=OFF
ENGINE LED=ON
Y
HELMET LED=OFF
Engine will NOT START
IS N
CNY70=READY
? ENGINE LED=OFF
D
D
Y
Engine will START C
SEND MQ-3 Data Value and
CNY70 Data Value to
Main MCU
IS N IS
N
GPS=Search for Signal Motorcycle = Motorcycle=TILT D
Move? ?
?
Y Y
IS SEND Notification to
GPS Signal=Stable
N
IS Registered Number
?
SPEED=60KMPH
N
?
Y
Y SPEED LED=OFF
GPS LED=OFF
SPEED LED=ON
C
A
C
Operation Procedure
4. Wait for the light indicator of alcohol gas sensor to get warm.
5. Wear the helmet properly and make sure that it is locked and fit to the head of the
rider.
Testing Procedure
1. Test the infrared sensor by wearing the helmet and then removing the helmet
afterwards.
3. Test if the engine of motorcycle will turn ON when the driver wears the helmet
4. Test if the engine of motorcycle will turn ON even if the driver did not wear the
8. Perform simulation of an accident where the motorcycle must have fallen to the
ground
Evaluation Procedure
In the preliminary evaluation, the software and hardware was evaluated using
pilot testing. It involves the checking if the system meets the requirement. It is the
In the prototype demonstration, the process of evaluation was carried out via
survey on the performance of the prototype. The evaluation instrument was disseminated
and others who have the knowledge and are very much familiar with this research.
The researcher explained the operation and the procedures on setting up the
prototype to the panel of respondents before the actual evaluation. During the
demonstration, the evaluation on the prototype was administered and the respondents
The seven-point criteria that were adopted in the evaluation came from TUP
evaluation instrument for developed prototype that was found in Appendix A. It includes
criterion consists of three items that are suited, best described and defined. The
evaluation instrument used Likert Scale in Table 1 to verify the level of performance of