Arduinoa Development Toolfor Embedded Systemand IOTChapter
Arduinoa Development Toolfor Embedded Systemand IOTChapter
net/publication/357203278
CITATIONS READS
0 237
3 authors, including:
All content following this page was uploaded by Manoj Kavedia on 21 December 2021.
2
Arduino a Development Tools for Embedded
System and IOT
Er. Manoj S. Kavedia1 and Er. Snehal V. Bhambhure2
1
Thadomal Shahani Engineering College, Bandra, Maharashtra, India
Phd (EXTC) Reseach Scholar, Shri J.J.T University, Chudela, Rajasthan, India
E-mail: [email protected]
2
Samarth Group of Institution, Belhe, Maharashtra, India
Phd (MBA) Reseach Scholar, Shri J.J.T University, Chudela, Rajasthan, India
E-mail: [email protected]
ABSTRACT
The open sources provide free or low costs, highly reliable and
affordable technology. Today, with increasing number of people using
open source software and hardware devices day after day, technology
is forming a new dimension by making complicated things look
easier and interesting. Main advantages are fast processing and easy
interface. This chapter provides a glimpse of type of Arduino boards,
working principles, software implementation and their applications.
Also bring up the necessity of learning for adults along with the
development of programming skills for students, in order adults and
children to be competitive in a rapidly changing market and business
world.
These days many people try to use the Arduino because it makes
things easier due to the simplified version of C++ and the already
made Arduino Microcontroller (ATmega328 Microcontroller) that
you can programme, erase and reprogramme at any given time. In
this chapter we will discuss the hardware components used in the
Arduino board, the software used to programme it (Arduino board)
with the guide on how to write and construct your own projects, and
a couple of examples of an Arduino project, This will give you the
overall view of an Arduino Uno, that after reading this chapter you
will get the basic concept and use of an Arduino Uno.
INTRODUCTION
Arduino is an open source Microcontroller. In 2005, building upon
the work of Hernando Barragán (creator of Wiring), Massimo Banzi
and David Cuartielles created Arduino, for interactive art design
projects, at the Interaction Design Institute Ivrea in Ivrea, Italy. David
Mellis developed the Arduino software, whose concept was based on
Wiring. Gianluca Martino and Tom Igoe joined the project, and the
five are known as the original founders of Arduino. This platform
was designed to provide an inexpensive and easy way for hobbyists,
students and professionals to create devices that interact with their
environment using sensors and actuators.
Generally many Arduino boards are designed with the AVR(Alf and
Vegard’s RISC) family of 8-bit Microcontroller (MCU or µC) devices
from Atmel Corporation of San Jose, California and designed a self-
contained circuit board with easy-to-use connections. They also
developed bootloader firmware for the Microcontroller, which was
included into a simple integrated development environment (IDE).
The program for Arduino is called as “sketches.” The most fascinating
things about Arduino is the runtime AVR-GCC library that comes
with the Arduino IDE, and the on-board bootloader firmware that
comes preloaded on the Microcontroller of every Arduino board.
This development board can also be used to burn (upload) a new code
to the board by simply using a USB cable to upload.
The Arduino boards entered the electronic market only a couple of
years ago, and were restricted to small scale projects only. People
associated with electronics are now gradually coming up and accepting
the role of Arduino for their own projects. Today Arduino along with
sensors, actuators and other modules is capable of developing projects
ranging from as small as LED pattern generation to complex project
like real time monitoring which can be connected to internet using
wifi or can controlled with Bluetooth, also can work with webpage,
app and send push notification on Twitter.
The first widely distributed Arduino board, the Diecimila, was released
Arduino a Development Tools for Embedded System and IOT 19
Why Arduino?
1. Active User Community: Arduino user community is very big
which include people from fresher to researcher. These group of
people share their experience work done and those are highly
experience help in solving the problems.
2. Simple, clear programming environment: The Arduino
Software (IDE) is easy-to-use for beginners, and can also be
used at advanced level. Since programming is in c/c++ even
teacher find esay to explain and student who are learning can
write program for Arduino.
3. Growth of Arduino: As the resources, developed libraries
and guidance are shared freely, project development become
economical for hobbyists, students and professionals. Also
freshers and newcomer find easy and perfect for development.
4. Open source and extensible software: The Arduino software
is published as open source tools, available for extension by
experienced programmers. The plans of the Arduino boards are
published under a Creative Commons license, so experienced
20 Software Engineering and Its Applications
Arduino Family
Since 2005 with the development of Arduino board have came up
with new versions, different processors, with increased memory,
multiple feature I/O and many of them have same pinout. Also with
the same pinout Shields i.e. add-on boards developed for sensor, relay,
GSM etc. to make development more easier and versatile. Table 1 lists
the Arduino types that have appeared since 2005. The newer versions
of the Arduino will also run most of the sketches created for older
models, with minor tweaks and newer libraries, but sketches written
for the latest versions may or may not work with older models.
Arduino a Development Tools for Embedded System and IOT 21
As you can see, the years 2007 and 2008 saw the introduction of the
LilyPad; the small form-factor boards like the Nano, Mini, and Mini
Pro; These development some refinements in the power supply, also
automatic switch over between USB power and an external DC (direct
current) power supply.
Table 1: Type of Arduino
Arduino Shields
Arduino Shields are add-on board with complex hardware developed
on board which reduces the complexity and problems associated
with interfacing. These make development easy and faster. Other
than reducing burden of interfacing, these shields are also have
programming libraries associated with them. These libraries allow
you to easily implement the hardware features available on the shield.
There are shields for all types of things – LCD shields, LED matrix
shields, wifi and bluetooth shields, motor shields, power supply
shields, GSM. GPRS shields, stepper motor Shield, SD card Shield and
many more. May be if you need to do something different, there may
bea shield exists to get it done. Shields plug right into the top of an
Arduino. The black plastic rows of holes along the sides of an Arduino
are called headers, and on the bottom of a shield, there male header
of metal, called as called pins. The pins on a shield line up with the
header rows on an Arduino and fit in to it.
Board Details
Description of Components on Arduino Board and it functions.
Shown in Fig. 1.
1. Reset Button – To restart any code that is uploaded to the
Arduino board.
Arduino a Development Tools for Embedded System and IOT 23
Clones of Arduino
A “clone” is sometimes called counterfeit and vice versa, but since
the two words are sometimes interchanged. Although there are many
official Arduino Microcontrollers, lots of Arduino IDE-compatible
devices exist. But its still it’s worth using an Arduino clone. Essentially,
these Microcontrollers retain compatibility with the open-source
Arduino IDE, or integrated development environment. Diavolino,
Lilypad Arduino, Freeduino, Node MCU, Teensy, SunFounder,
SainSmart, Eleego, Netduino and list is endless.
STEP 6 – Board Setting: Set the board type and the serial
port in the Arduino Programmer. It is available in Tools->
Board type and Tools->Port Menu.
Arduino a Development Tools for Embedded System and IOT 27
Applications
Arduino Uno R3 is most widely used controller along with its vast
community who have created thousands of projects and libraries.
Arduino Uno is used in Do-it-Yourself projects prototyping. Arduino
Uno can be used in code based control, Automation, Healthcare,
agricultural, wireless sensor network for collecting data etc.
CONCLUSION
In this chapter we have studies about Arduino, variation, types, clones
of Arduino. We understood the working principle of an Arduino Uno
along the hardware and software of the Arduino. We have studies
how install Arduino software, interface Arduino hardware and how
to test the Arduino with built in code. We saw the application are of
Arduino and different tool which can help development on Arduino
from simple hobbyist who don’t know coding till person who can
write complex code using IDE. Applications are from wearable
fashion to space research, the possibilities of using an Arduino to
learn and develop new ideas is infinite. Hence Arduino can be used
Arduino a Development Tools for Embedded System and IOT 31
REFERENCES
1. Minns, P. D. 2013. C Programming for the PC the MAC and
the Arduino Microcontroller System. Author House.
2. Margolis, M. 2011. Arduino cookbook. “O’Reilly Media,
Inc.”.
3. Mellis, D., Banzi, M., Cuartielles, D. and Igoe, T. “Arduino:
An open electronic prototyping platform,” in Proc. CHI, vol.
2007, 2007.
4. “Intro to arduino,” January 2014.
5. Banzi, M. 2009. Getting Started with arduino. “O’Reilly
Media, Inc.”.
6. ARDUINO.CC, “Arduino – Introduction”, 2015 [Online]
Available: http://arduino.cc/en/Guide/Introduction.
[Accessed: 25- Feb - 2015].
7. Brodkin, J. 2015. ‘11 Arduino projects that require major
hacking skills—or a bit of insanity’, ArsTechnica, 2013.
[Online]. Available: http://arstechnica.com/information-
technology/2013/05/11-arduino projects-that-require-major-
hacking-skills-or-a-bit-of-insanity/2/.
8. Badamasi, Y.A. 2014. “The working principle of an Arduino,”
in Electronics, Computer and Computation (ICECCO), 2014
11th International Conference on, vol., no., pp.1-4, Sept. 29
2014-Oct. 1.
9. Arduino. 2017. Site oficial. Disponívelem: <https://www.
arduino.cc>acessoem 28/09/2017
10. Gibb, A.M. 2010. New media art, design, and the Arduino
microcontroller: A malleable tool. PhD thesis, Pratt Institute.