A M2M system using Arduino, Android and Wiki Software
Takashi Yamanoue, Kentaro Oda and Koichi Shimozono
Computing and Communications Center
Kagoshima University
Kagoshima Japan
e-mail: yamanoue@cc.kagoshima-u.ac.jp, odaken@cc.kagoshimau.ac.jp, simozono@cc.kagoshima-u.ac.jp
Abstract—A Machine-to-Machine (M2M) system, which uses
Arduino, Android, and Wiki software, is discussed.
["proposed"?] This system consists of mobile terminals and
web sites with wiki software. A mobile terminal of the system
consists of an Android terminal and an Arduino board with
sensors and actuators. The mobile terminal reads data from
the sensors in the Arduino board and sends the data to a wiki
page. The mobile terminal also reads commands on the wiki
page and controls the actuators of the Arduino board. In
addition, a wiki page can have a program that reads the page
and outputs information such as a graph. This system realizes
an open communication forum for not only people but also for
machines.
Keywords- Sensor Network, Social Network, Wiki, Java, API
I. INTRODUCTION
A wiki[21] is a web site that allows the easy creation
and editing of any number of interlinked web pages via a
web browser and can be used as a means of effective
collaboration and information sharing. Wikipedia[20] is a
well-known wiki site.
If a wiki is friendly to people, it also must be friendly to
machines. If a machine can read and write data on a wiki
page automatically, people can obtain much more
beneficial information. People also can easily control
machines through the wiki page. Not only machine-to-
people or people-to-machine, but also machine-to-machine
communication, must be achieved easily. If such
communication can be achieved, the wiki can be much
more useful (Figure 1). For example, if a well-known wiki
can be used to connect sensors in a sensor network,
building one's own sensor network becomes easier.
To confirm the above presumption regarding the
usefulness of wikis, we are developing a machine-to-
machine (M2M) system using wiki software. This system
consists of mobile terminals and web sites with wiki
software. A mobile terminal of the system consists of an
Android[9] terminal and an Arduino[11] board with sensors
and actuators. The mobile terminal reads data from the
Arduino board sensors and sends the sensor data to a wiki
page. The mobile terminal also reads commands on the
wiki page and controls the actuators of the Arduino board.
Wiki software can include programs that read data on the
wiki page, which is written by a mobile terminal, and
outputs information such as a graph. A mobile terminal can
be placed anywhere, that is, at an Internet-accessible place
as well as a place where a mobile phone can be used, if the
terminal uses an Android terminal for communication
between the terminal and the wiki page. Using Arduino
enables many users to make their own sensors and
actuators easily because Arduino is open source hardware
and its programming environment is easy to use.
PukiWiki[16] software is commonly used in Japan. The
authors of this paper constructed an API for applets to
allow easy and unified data input and output at a remote
host. Moreover, we combined the API and the PukiWiki
system by introducing a wiki tag for starting Java applets.
The proposed API, which can be used to make the wiki
more flexible and extensible, is referred to as the PukiWiki-
Java Connector ( PJC) [5][6].
The PJC enables a number of Java programs to be
easily embedded in PukiWiki. We have embedded
programs such as a simple text editor, a simple music editor,
a simple drawing program, a programming environment,
and a voice recorder in PukiWiki. One to three days was
required for embedding[5][6][7].
We also made an API to read and write data on a page
of PukiWiki from an Android terminal by customizing the
PukiWiki-Java connector. We call this API the PukiWiki-
Java Connector Service for Android (PJC-S). This API
enables an application of Android to read and write a page
of PukiWiki easily and automatically.
To connect an Android terminal and an Arduino board,
the Android Open Accessory Development Kit (ADK)[10]
is used.
We are developing a remote human activity sensoring
system using this M2M system. This system that enables
sensoring is discussed here.
The remainder of this paper is organized as follows.
Section 2 gives an overview of the M2M system. Section 3
illustrates details of a mobile terminal. Section 4 shows an
example usage of the system. Section 5 compares related
work, and, finally, in Section 6, concluding remarks as well
as future work are discussed.
2012 IIAI International Conference on Advanced Applied Informatics
978-0-7695-4826-5/12 $26.00 © 2012 IEEE
DOI 10.1109/IIAI-AAI.2012.33
123