Professional Documents
Culture Documents
Iot 1.1
Iot 1.1
2. Theory
Introduction to Arduino
3. The Hardware
Now that you know the origin of Arduino, it is essential to get yourself
acquainted with the hardware that Arduino as a company offers. One of the
main reasons for Arduino being so accessible and affordable across the globe
is because all of the Arduino hardware is open-source. Being open-source has
a plethora of advantages- anyone can access the design and build of the
device and make improvements; anyone can use the same hardware design to
create their product lineup. Since Arduino is open-source, it has its own
devoted community that strives to help the core company develop and improve
its hardware products. Another significant advantage of being open-source,
especially in the case of hardware, is that local companies can create replicas
of the products, making it more accessible and affordable to the local
consumers as it avoids hefty customs and shipping charges. All of these
advantages contribute to Arduino being so widespread, affordable and ever-
improving.
4. The types of Arduino
There are additional pins that act as crystal oscillator having frequency of 16 MHz. The
board also has flash memory of 256KB size that uses to store the data in it. The Arduino
Mega board can be attached to the componant.
4. Arduino Leonardo
This board is considered as the microcontroller that uses the Atmega32u4 in it. There are total
20 digital input pins and output pins in it, in that 7 pins are used As PWM and 12 pins used as analog
inputs. The board also contain one micro USB connection, power jack, and one RESET button fit in
it. There are additional pins which act as crystal oscillator of frequency 16 MHz.
The Arduino Leonardo board can be attached to computer system via USB connection and
power supply can be provided to board by using battery or AC to DC adapter. The microcontroller
used by the Arduino Leonardo has in-built USB connection that removes the dependency of extra
processor in it. As there is no additional USB connection in the board, it helps the board to act as
mouse or keyboard for the computer system. The Arduino Leonardo is considered as cheapest
Arduino boards compare to other Arduino products.
6. Arduino Shields
The Arduino shields are considered as pre-build circuit boards that are used to connect other
Arduino boards. The Arduino shield are placed on top of Arduino boards and enhance the capability
of board to get connected to internet network, controlling of motor, controlling of LCD and also help
to establish wireless communication. There are different type of shields available for the use. It
includes Wireless Shields, Ethernet Shield, Proto Shield and GSM shield. This helps to increase the
compatibility of the Arduino boards.
Using the above image as a reference, the labeled components of the board respectively are-
1. USB: can be used for both power and communication with the IDE
2. Barrel Jack: used for power supply
3. Voltage Regulator: regulates and stabilizes the input and output voltages
4. Crystal Oscillator: keeps track of time and regulates processor frequency
5. GND pin: can be used to ground the circuit
6. Vin pin: can be used to supply power to the board
7. analog pins(A0-A5): can be used to read analog signals to the board
8. Microcontroller(ATMega328): the processing and logical unit of the board
9. ICSP pin: a programming header on the board also called SPI
10. Power indicator LED: indicates the power status of the board
11. RX and TX LEDs: receive(RX) and transmit(TX) LEDs, blink when sending
or receiving serial data respectively
12. Digital I/O pins: 14 pins capable of reading and outputting digital signals;
6 of these pins are also capable of PWM
13. AREF pins: can be used to set an external reference voltage as the upper
limit for the analog pins
14. Reset button: can be used to reset the board
6.Advantages:
1- Ready to Use:
The biggest advantage of Arduino is its ready to use structure. As Arduino comes in a complete
package form which includes the 5V regulator, a burner, an oscillator, a micro-controller, serial
communication interface, LED and headers for the connections. You don’t have to think about
programmer connections for programming or any other interface. Just plug it into USB port of
your computer and that’s it. Your revolutionary idea is going to change the world after just few
words of coding.
2- Examples of codes:
Another big advantage of Arduino is its library of examples present inside the software of
Arduino. I’ll explain this advantage using an example ofvoltage measurement. For example if you
want to measure voltage using ATmega8 micro-controller and want to display the output on
computer screen then you have to go through the whole process. The process will start from
learning the ADC’s of micro-controller for measurement, went through the learning of serial
communication for display and will end at USB – Serial converters. If you want to check this
whole process click on the link below.
3- Effortless functions:
During coding of Arduino, you will notice some functions which make the life so easy. Another advantage of
Arduino is its automatic unit conversion capability. You can say that during debugging you don’t have to
worry about the units conversions. Just use your all force on the main parts of your projects. You don’t have
to worry about side problems.
4- Large community:
There are many forums present on the internet in which people are talking about the Arduino.
Engineers, hobbyists and professionals are making their projects through Arduino. You can easily find help
about everything. Moreover the Arduino website itself explains each and every functions of Arduino.
So, We should conclude the advantage of Arduino by saying that during working on different projects you
just have to worry about your innovative idea. The remaining will handle by Arduino itself.
Disadvantages:
1- Structure:
Yes, the structure of Arduino is its disadvantage as well. During building a project you have to
make its size as small as possible. But with the big structures ofArduino we have to stick with big
sized PCB’s. If you are working on a small micro-controller like ATmega8 you can easily make
your PCB as small as possible.
2- Cost:
The most important factor which you cannot deny is cost. This is the problem which every
hobbyist, Engineer or Professional has to face. Now, we must consider that the Arduino is cost
effective or not.
Some years’ ago I was working on a project in which I had to build three smart energy
meters. Now, for three smart energy meters present at some distance connected with different
loads must have their own processors. So, I estimated my expenditures with and without
the Arduino which you can see in the block diagram present below.
7. Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):