Arduino Project
Arduino Project
Introduction
One of the students desires is to have an easy study at school. It is good that the
government and educational departments were doing efforts to improve the academic aspects of
the country not only the curriculum, but also, the facilities of a school. The learning of the
students depends on many things, and we can say that good facility plays a big part. Thats why
other schools with tertiary level and even some with secondary level started to use whiteboards
for an easy lecture. Department of Education (DepEd) supported the use of whiteboards leading
to its distribution. They started distributing whiteboards in Victorias City, Negros Occidental
wherein they include distributing 13 whiteboards to provide educational equipment. Victorias
City Rep. Alfredo Benitez said a word that what DepEd did helped in advancing education. We
can say that whiteboards will soon be the commonly used in schools.
Objectives
The purpose of the study is to design an automated whiteboard eraser controlled by a
voice command sensor.
The purpose is divided to the following sub-objectives:
1. To develop a built-in vertical electronic eraser that can erase the writings on the
whiteboard from left to right or vice versa.
2. To interface of an operated voice command sensor that can activate the eraser with a
certain command (probably erase and stop).
3. To program the voice command sensor that can recognize only the recorded commands.
4. To test and evaluate the prototype to meet at least 95% of its function in terms accuracy,
efficiency, maintainability, reliability, dependability and usability
Chapter 2
REVIEW OF RELATED LITERATURE AND STUDIES
In this chapter, it covers all the reviews of related studies, articles, and ideas that are
related to the study and development of automated whiteboard eraser.
Conceptual Literature
According to Merriam Webster Dictionary, whiteboard is a large board with a smooth
white surface that can be written on with special markers. Teachers use a special marker, the
whiteboard marker, to be able to write in the whiteboard. And sometimes, teachers command a
student to erase the writings on the board. This event is time consuming because sometimes
students pinpoint his or her classmate to erased and it may cause to the student to be delay on
what does the teacher write in the board. So our solution for that is the automated whiteboard
eraser. The Automated Whiteboard Eraser has a voice command device that once the Teacher
command Erase, the automated whiteboard eraser will erase all the writing on the board. The
movement of the automated whiteboard eraser is left to right or vice versa.
Research Literature
Automated Whiteboard Eraser
Jayvee Guylan, a former mechanical engineering from Quezon City, developed a
whiteboard eraser that has a microcontroller implemented inside. The microcontroller controls or
adjusts the automated whiteboard eraser to the desired part of the board and the movement of it
is up and down.1
Automatic Whiteboard Cleaner
The group of Idohen Efemenah, Uzoukwu Michael, Enifo Williams and Winter Gabriel of
Department of Mechanical Engineering in the University of Benin, in Nigeria, developed an
1 https://www.academia.edu/8671931/Automated_WhiteBoard_eraser
automatic whiteboard cleaner on December 1, 2011. The whiteboard cleaner has a switch in the
lower part of the board. Once you switch it on, it will erase the writings on the whiteboard and it
will stop once you switch off.2
Ink-B-GONE
In year 2006, the group of Anthony Cacace, Edgar Luna-Ramirez, and Sharin Shafian, students
of Department of Engineering in San Jose State University, studied on how the whiteboard eraser
develops through an automated whiteboard eraser. The objective of their project was to fulfill the
ME 154 and ME 106 project requirements. The requirements for ME 154 were to design a
mechanism that had at least two degrees of freedom, that incorporated rotational and
translational motion, and that would perform a meaningful task. Furthermore, the requirements
for ME 106 were to use a microcontroller, at least one sensor, and at least one actuator to control
a mechanism that solved a particular problem. To fulfill these requirements the group designed
and built a prototype of a whiteboard ink-removing device. The prototype was tested for it
functionality and its performance was evaluated in context of its market ability. In conclusion,
the design was found to exceed project requirements and objectives but room for improvements
were found to increase the devices market ability.3
Design and Development of an Automated Whiteboard Eraser
Year 2007, M. A. Sulaiman and K.A. Rahman from the Faculty of Manufacturing Engineering,
Universiti Teknikal Malaysia Melaka, Locked Bag 1200, Hang Tuah Jaya, Ayer Keroh, 75450
Melaka, designed and developed an automated whiteboard eraser.
Whiteboards are a well-known medium that provides a convenient surface upon which
notes, drawings, charts or other hand-written notations may be made. Whiteboards also allow
notations to be made in multiple colors and erasable by manual manipulation of an eraser.
Unfortunately, such manual user action is tedious. Typically, a user would obtain an eraser and
then apply the eraser to the surface of the whiteboard at non-uniform motion to wipe-off the
hand-written notations thereon. Such manual erasing action is time consuming and deemed a
2 https://www.youtube.com/watch?v=fbs6599tuLo
3 http://www.scribd.com/doc/73630455/White-Board-Eraser#scribd
5
chore. Following manual erasure, the board is often spotty, meaning that some remnants of the
prior hand-written notations remain. Another disadvantage of manual erasing is that the marker
remnants can cause a dust to develop about the eraser, and thus the user's hand can be dirtied by
the erasure process. Based on these problems, a research on design and development of an
automated whiteboard eraser has been initiated. This kind of eraser is fully automated with a
push buttons control panel on whiteboard and also a remote controller which could be use to
operate the eraser system. This system using a micro plc, two DC motor for driver, a ball screw
and linear bearing with drive shaft as main components. The implementation of this research
consists of eight stages; i) manual sketching and modelling some ideas through literature review,
ii) selected the best design and make-up the drawing, iii) categorized all components according
to final design, iv) done fabrication job and bought selected standard components such as a
micro set plc parts, motor driven, and electronic components, v) assembly process was done by
referring the assembly drawing, vi) testing the major function of the eraser, vii) minor
modification was done on the eraser system, viii) final test for overall function of the automated
whiteboard eraser system. In the first stage, the manual sketches on the overall system had been
done through some reviewed on the past designs or products. Earlier, Autocad 2008 software
was used for modeling purpose. Then in stage two, selection of the final or the best design for
this research was done according to scoring scheme. In third stage, all parts or components were
categorized according to their functions and sequences. Here some parts were identified as
standard components and the other parts could be fabricated on the lab. Meanwhile in fourth
stage, started ordered and bought the components and parts according to the early stage task.
After all components were ready assembly process was done by referring the assembly drawing.
Here members in this research were worked together as a team to make sure that all parts were
assembled exactly following the drawing. Then in sixth stage, testing process on the overall
system was done to ensure the system totally function without any difficulties. According to the
result of the testing stage, some minor modifications had done to make the system more effective.
In the last stage, final test on the overall system and all minor defects were fine tuned.4
4
http://www.researchgate.net/publication/269039406_DESIGN_AND_DEVELOPMENT_
OF_AA_AUTOMATED_WHITEBOARD_ERASER
6
5 http://fs.mapua.edu.ph/MapuaLibrary/Thesis/Automatic%20Whiteboard%20Eraser
%20FULL%20TXT.pdf
7
20 meters to the board, the cleaner cleans the board. The speed and direction of the cleaner is
also controlled via the remote control. The system makes the teaching efficient and flexible.6
Automated Motorized Whiteboard
The group of Puneet Mathur, Bhushan Tukaram Chougule, Ravina Nangare, students from
Department of Mechanical Engineering, from Sinhgad Institute of Technology, Lonavala,
Maharashtra, INDIA in 2013.
Teaching and learning processes in schools and colleges have been continued from the
past. Different methods of writing on boards and cleaning the boards have been developed. This
paper presents the design and construction of automated motorized whiteboard. The system
consists of four basic units: Flexible whiteboard surface material, dusters, plastic rollers,
motors. The working of this system is based on rotation of flexible whiteboard surface material
around the rollers and automatically cleaning the surface by the dusters fixed on the back side of
the board. The system makes teaching efficient and reduces human efforts.7
Auto Whiteboard Cleaning System
Last 2010, Taha Abdulmalek Al-Shami, student from University of Bradford, UK, also
developed an automated whiteboard eraser.
This final year project report revolves around an automated white board cleaning system
with description of its design and implementation methods. A DC motor and a beam structure
attached to an eraser will be modified on an ordinary small sized (80cm by 80cm) white board.
There are several modes of action which the cleaning system is programmed to carry out. First
trigger of the system would d be when the board is written on. After an interval of 15 minutes, if
no more writing on the board the system will be activated automatically. The user would just
have to stand back as the eraser is drawn across the board, thus saving the users energy and
time. The system is also programmed to automatically activate itself at 6am. This mode of
cleaning will prompt water installed on the beam to spray on the board, hence cleaning any
6 Site: http://www.journal.au.edu/au_techno/2012/apr2012/journal154_article10.pdf
7 http://iasir.net/IJEBEApapers/IJEBEA13-308.pdf
8
residue left from the previous use. Consequently, the eraser will automatically sweep across the
board every two hours which is in line with the average intervals between classes. The timer is
set to sleep mode at 6pm and will be activated again at 6am.
The last mode of cleaning is activated manually when the user pushes the button which
once again sets off the eraser. With this, the user neednt wait for a 15minute interval to write
again.
Technically, the white board is equipped with two erasers, one on the left and the other
on the right side which is connected to the DC motors. Every side will have its own IT sensor to
detect any users hand writing on either sides of the board. The system is designed to enable
each side to work independently from each other. The project is using PIC16F877A to control
the process of which. Pins 34 and 35 are for eraser motors whereas pin 36 is for water pump
motor. When the C program placed inside the PIC16F877A is activated by the switch, a voltage
of 5V will emerge at the output. This voltage is sufficient to trigger the relay so that the erasers
will move accordingly. The program in the PIC16F877A runs using IF command function. The
program also uses the loop function i.e. DO WHILE function to continuously read input signal
and WRITE function to send output voltage in HIGH mode.8
8
http://elibrary.intimal.edu.my/dissertation/New_Dissertation_List_&_Abstract/Enginee
ring_2006above/Engineering_Beeub_20062010/Engineering_Electrical(UB)_2010_EE100(Taha_Abdulmalek).pdf
9
Conceptual Framework
Input
KNOWLEDGE
REQUIREMENTS:
1. Concepts of
automated
whiteboard eraser.
HARDWARE
REQUIREMENTS
1. Arduino
2. Voice command
sensor
3. Whiteboard
SOFTWARE
REQUIREMENT
1. Arduino
Process
PROBLEM
Waste of time in erasing
the writings on the board.
TOPIC
- Erasing the writings on the
whiteboard automatically using
voice recognition.
DEVELOPMENT OF
HARDWARE
1. Construction of whiteboard
eraser and its motors.
2. Integration of the voice
command sensor to the arduino
and to the whiteboard.
DEVELOPMENT OF
SOFTWARE
1. Preparation of algorithm and
flowchart.
2. Recording the voice command.
TESTING
1. Voice command sensor
2. Mechanical Function
EVALUATION
1. Project accuracy, efficiency,
maintainability, reliability,
dependability, and usability
Output
AUTOMATED
WHITEBOARD
ERASER WITH
VOICE COMMAND
Figure 1.0
The conceptual framework carries the input, process and the output of the project. The
input includes the concept of the automated whiteboard eraser. Since there is already an existing
project related to ours, we will rely on the mechanical function of the finished project and
improve it using the voice command sensor. The arduino will be responsible for activating the
10
sensor and controlling the actuator. The process, on the other hand, encompasses the long
procedures. It is where the eraser will be connected to the whiteboard. The arduino will be
needing codes for the functions that follows the flowchart. The voice command sensor will be
tested on its accuracy to catch the command in a certain distance. The project will then be a
finished product after it is assured to be useful and reliable by the users.
Theoretical Framework
LIST OF
REVISIONS
LIST OF
REVISIONS
LIST OF
REVISIONS
LIST OF
REVISIONS
User/
Customer
review
Revise
Prototype
PROTOTYPE
TEST
System
Requirements
Design
Prototyping Model
SystemDelivered
Requirements
System
Figure 2.0
The process of making the project will use the prototyping model because this model
helps the construction of the project more understandable. The requirements or design will be
investigated repeatedly by the programmer and developer to ensure that the project will be able
to meet the needs of the customer. In every process, there will be an evaluation to look for
revisions, as soon as possible, as the development proceeds to the next steps.
11
Definition of Terms
Actuator - a type of motor that is responsible for moving or controlling a mechanism or system.
It is operated by a source of energy, typically electric current, hydraulic fluid pressure,
or pneumatic pressure, and converts that energy into motion.
Arduino - is a tool for making computers that can sense and control more of the physical world
than your desktop computer. It's an open-source physical computing platform based on a simple
microcontroller board, and a development environment for writing software for the board.
Assembly Language - a low-level programming language for a computer, or other programmable
device, in which there is a very strong (generally one-to-one) correspondence between the
language and the architecture's machine code instructions. It uses a mnemonic to represent each
low-level machine instruction or operation.
DC Motor - any of a class of electrical machines that converts direct current electrical power into
mechanical power.
DepEd - The Department of Education (abbreviated as DepEd; Filipino: Kagawaran ng
Edukasyon) is the executive department of the Philippine government responsible for ensuring
access to, promoting equity in, and improving the quality of basic education.
Microcontroller - (sometimes abbreviated C, uC or MCU) is a small computer on a single
integrated circuit containing a processor core, memory, and programmable input/output
peripherals.
Permanent Marker - A permanent marker or indelible marker is a type of marker pen that is
used to create permanent writing on an object. In general, the ink comprises a main carrier
solvent, a glyceride, a pyrrolidone, a resin and a colorant, making it waterproof.
Prototype - an early sample, model, or release of a product built to test a concept or process or to
act as a thing to be replicated or learned from. It is designed to test and try a new design to
12
enhance precision by system analysts and users. Prototyping serves to provide specifications for
a real, working system rather than a theoretical one.
Voice Recognition Sensor - Voice or speech recognition is the ability of a machine or program
to receive and interpret dictation, or to understand and carry out spoken commands.
Whiteboard - is a non-electronic variation of the traditional "rewriteable" schoolroom
blackboard, but is white instead of black and of a material that can be written on with colored
markers (known as dry erase markers). Dry erase markers are easier to erase than the chalk used
on a blackboard (which sometimes requires a wet rag for thorough erasing).
Whiteboard Marker - product features for use on whiteboards, glass and non-porous surfaces.
13
Chapter 3
METHODOLOGY
This chapter presents the project design, project development, operation, testing and
evaluation procedures applied in the project to achieve the desired objectives.
Project Design
This study will use the Prototyping Model. It is a technique that proves the effectiveness
of the design, the computations made and the concepts applied, by making an actual working
system. This model allows the identification of materials used to the development of the system.
Also, it allows the simulation and presentation of the design in terms of its functionality and
reliability.
The function of the project is to erase all the writings (except the permanent markers) on
the board. The Arduino Microcontroller will be used in this project because it is easier to
program a command in a project.
The project design includes the flowchart (figure 4.0), block diagram (figure 4.1), and
schematic diagram (figure 4.2).
STAR
COMMAN
ERASE THE
WRITINGS
Y
STOP
OBSTACL
ES
N
14
Figure 3.0
END
15
Voice Sensor/
Timer
DC Motor (Stop)
DC Motor
(Eraser Activate
Again)
Arduino
Microcontroller
DC Motor (Eraser
Forward and Back)
Arduino
Microcontroller
Ultrasonic Sensor
Arduino
Microcontroller
Line Sensor
Figure 4.0
Project Development
This project is concerned with the detailed process in developing the automated
whiteboard eraser. The hardware components must be prepared for the start of the development.
The software development includes the program of the system the records the voices and
activates the command.
Hardware Components
The hardware components to the development of the Automated Whiteboard Eraser with
Voice Activated Command includes Ultrasonic Sensor that detects some obstacles in a certain
distance, Voice Recognition Sensor that recognize a command in a certain range, Arduino
Microcontroller where the programs stored, DC Motor used to move the whiteboard eraser from
left to right, Whiteboard and an Eraser for the writings and erasing it, Mic from Voice
Recognition Sensor where you state the command which is erase and stop, and a Personal
Computer where you will program your codes.
16
Software Components
The main function of the program is to erase all the writing in the whiteboard by the
eraser that is program using the Arduino software. The Voice Recognition sensor is responsible
for the function of all sensors in this project. When the voice command is being recognized by
the Voice Recognition Sensors mic, the Whiteboard Eraser will move left to right or vice versa
to erase the writings on the whiteboard. But when the Whiteboard eraser detects some obstacles,
it will stop and it will continue to erase when the obstacles are already removed.
Operation Testing
The project will be tested through the whiteboard. The voice recognition sensors mic
will be used in a noisy environment to test its accuracy of recognizing the command. The speaker
will try to go further to test if the mic of voice recognition sensor can catch longer distance. To
assure that ultrasonic is useful for its function, there will be obstacles placed intentionally.
To compute for the reliability of the system, we need to compute the total number of
trials. Using the Fundamental formula of gambling,
log(1-DC)
N= ----------------log(1-p)
Where:
N = Number of trials
DC = is degree of certainty that the event will appear (95%)
P = is the probability of the event (50%)
The number of samples to get the 95% reliability is determined using Slovins formula.
N
n= ----------------1+(N+e2)
Where:
17
n = number of samples
N = Population
e = Margin of error
Evaluation procedure
The project will be evaluated based on its reliability and functionality. The aim of the
projects reliability is to reach at least 95%. The project will be said functional if the voice sensor
and the mechanism of the whiteboard eraser were able to perform the task well. Undergoing
three successful trials will support the 95% of its reliability.
The project will be evaluated by our professors and outside experts. The evaluation will
focus on the projects response to the command of our recorded command.
18
Chapter 4
RESULTS AND DISCUSSION
This chapter presents the project technical description, project structure and
organization, project testing and evaluation.
Project Design
The Automated Whiteboard Eraser is attached to the whiteboard as shown in Figure 5.0.
It is composed of three sensors such as Voice Recognition device, Line sensors and Ultrasonic
sensors. The sensors are connected to the microcontroller, the Arduino, to serve as inputs as
shown in Figure 5.1. The Arduino contains programs that will give the sensors the desired
functions. Once the Voice Recognition device (shown in Figure 5.2) detects a command like
erase command, the whiteboard eraser will move to erase the writings on the board. The
Ultrasonic sensor (shown in Figure 5.4) will detect an obstacle while the whiteboard eraser is the
in process of erasing. The function of Line sensor (shown in Figure 5.3) is to detects the
remaining writings to erase and also, if there is permanent mark in the board when the
whiteboard eraser go back to its first position after erasing the writings in the board. The source
of power would be a battery or a power supply.
19
20
Name
Function
Level
GND
Ground
0V
RXD
TXD
VCC
Operating Voltage
3.5V
Line Sensor
The Line sensor specifically identifies the black and white color. The group chose this
kind of sensor to be able for the eraser to go back to where it passed when it sensed remaining
black markings. Following the program, the whiteboard eraser will go back and forth to the line
21
until the writings are erased. However, the program limits the number of movements of the
whiteboard eraser especially when the markings are permanent. The figure below shows the line
sensor.
Name
Function
Level
VCC
Operating Voltage
3.5V-5V
GND
Ground
0V
OUT1
High/Low input
OUT2
High/Low input
OUT3
High/Low input
OUT4
High/Low input
OUT5
High/Low input
22
Ultrasonic Sensor
The Ultrasonic Sensor is a sensor that uses waves to detect objects. When the whiteboard
eraser is moving forward and detected an obstacle in the whiteboard, the eraser will tend to stop.
The ultrasonic detects obstacle at a given distance so the eraser will not continue its movement.
Figure 5.4 shows the ultrasonic sensor.
Name
Function
Level
VCC
Operating voltage
5V
Trig/TX
Echo/RX
GND
Ground
0V
GND
Ground
0V
23
Project Testing
The prototype was tested if its function follows what is planned and designed. If the
whiteboard eraser responds according to the sensors and its programs, it gives the overall of
95%, including its usability and maintainability.
The following are the ways on how to test the prototype.
1. The user will say the command erase at a maximum distant of one meter away from the
2.
3.
4.
5.
Project Evaluation
1. The Sensors functioned at the actual situation.
Based from the formula of fundamental law of gambling, to be able to get 95% reliability
the system must achieved a status of yes in 5 samples. Yes means the sensors are accurately
function in your prototype. Let assume, Voice recognition and Ultrasonic sensor (since it
detects depends on a certain distance), Yes means Detect in Line sensor is 1.
Table 4. Reliability Testing of the Voice Recognition Sensor
Trial Number
(Voice Recognition
Status
(Accurate
Sensor)
Displaying Values)
1
2
3
4
5
Detect
Detect
Detect
Detect
Detect
Status
(Accurate
Displaying Values)
24
1
2
3
4
5
1
1
1
1
1
Status
(Accurate
Sensor)
Displaying Values)
1
2
3
4
5
Detect
Detect
Detect
Detect
Detect
Status
(YES or NO)
Microcontroller)
1
2
3
4
5
YES
YES
YES
YES
YES
25
Like table 4, table 5, table 6, and table 7 showed the reliability of the testing of the
Arduino Microcontroller. In five trials, the results were YES and exceed the target 95%
reliability.
Table 8. Reliability Testing of the Prototype
Trial Number
(Prototype)
Status
(YES OR NO)
1
2
3
4
5
YES
YES
YES
YES
YES
Chapter 5
SUMMARY OF FINDINGS, CONCLUSIONS AND RECOMMENDATIONS
After results were presented, this chapter shows findings for the specific objectives of the
study. This chapter presents the summary of findings, conclusion and recommendations.
Summary of Findings
1. The microcontroller was programmed correctly and served as the brain of the whole
system. The microcontroller board was biased correctly.
2. The Arduino Microcontroller was able to communicate to the Voice Recognition sensor
using the power supply or adaptor. The Voice Recognition sensor must be in half to 1
meter range with the Voice Recognition mic in order to communicate to the Arduino
Microcontroller.
3. Signals from the Voice Recognition mic were converted to electrical signals and
modulated by Voice Recognition sensor. The Voice Recognition receiver demodulates the
26
received signal. The serial converter converted the output signal of the Voice Recognition
to a signal understandable by the Arduino Microcontroller.
4. The Arduino Microcontroller transmits the output to the eraser. The eraser accurately
moves horizontally. Then the remaining sensor, the line and ultrasonic sensor will do
their part, which is detecting a whiteboard marker and an obstacle while the eraser is
moving.
5. After 5 successful trials for the Arduino Microcontroller, Voice Recognition sensor, Line
and Ultrasonic Sensor, the system has achieved 100% reliability, exceeding the target
95% reliability.
Conclusion
Based on the results of the study, the following conclusions were derived.
1. The Arduino Microcontroller was able to control the whole system using Arduino
software. This was successfully indicated by the eraser that moves horizontally in the
whiteboard after the Voice Recognition sensor recognizes the command.
2. The Voice Recognition mic successfully transmitted and received the command accurately.
The Voice Recognition Sensor responded immediately and triggers the eraser to move
horizontally to erase the writings on the whiteboard.
3. Line and Ultrasonic sensors detect the marker and obstacles in the whiteboard
successfully. The sensors are said to be 100% reliable, based on the testing done, the
sensors responded immediately.
4. The system functionality was tested and showed that it has achieved 95% reliability. The
prototype accurately measured and successfully erases the writings in the whiteboard.
27
Recommendations
For future enhancement of the Android based online dogfeeder, the following are
recommended.
1. For a better movement of eraser, use a rubber belt instead of chain to control the eraser
2. Use a long range Voice Recognition sensor to recognize a command in a long distance
(range 1 meter).
3. For a power supply, use an accurate of power supply for better circulation of voltage.
28