Unit#1 Arduino Playground
Unit#1 Arduino Playground
Arduino cram
session
1.1 The Arduino Platform
1.2 Component overview
1.3 Prototyping environment
Rushikesh Deshmukh
Fun fact: The name "Arduino" comes from a bar in Ivrea, where some of the founders of
the project used to meet.
Rushikesh Deshmukh
Rushikesh Deshmukh
Microcontroller
It is just a processor. Memory and I/O Micro controller has internal processor
components
have
to
be
connected along
externally.
Microprocessors
with
internal
memory
and
I/O
components.
are
based
on
Neumann architecture where program and architecture where program memory and
data are stored in same memory module
memory
and
I/Os
are
present
externally, the circuit becomes large and internally, the circuit is small and the cost of
the cost of the entire system increases
Due to external components, the entire Since external components are low, total
power consumption is high. Hence it is not power consumption is less and can be used
suitable to use with devices running on with devices running on stored power like
stored power like batteries.
batteries.
Since memory and I/O components are all Since components are internal, most of the
external, each instruction will need external operations are internal instruction, hence
operation, hence it is relatively slower.
Microprocessor
system.
is
heart
of
speed is fast.
Rushikesh Deshmukh
Rushikesh Deshmukh
Rushikesh Deshmukh
Rushikesh Deshmukh
Rushikesh Deshmukh
3. Most modern diodes are semiconductor devices, but are considered passive since
they do not contribute any amplification or gain to a circuit.
4. Diodes are polarized and must be installed in with correct orientation.
5. Many diodes are modestly susceptible to ESD damage, so normal ESD
precautions should be taken.
6. Mechanical stress due to lead bending should be minimized.
Transistor
1. A transistor is a three-terminal device in which a voltage applied to one of the
terminals (called the base) can control current that flows across the other two
terminals (called the collector and the emitter). The transistor is one of the most
important devices in electronics.
2. Three terminal devices manufactured in a variety of package styles.
Rushikesh Deshmukh
4. Treat all ICs as if they are very susceptible to ESD damage (very many actually
are), so rigorous precautions should be taken.
5. Leads generally should not be bent.
Rushikesh Deshmukh
Rushikesh Deshmukh
Rushikesh Deshmukh
S. N.
Particulars
Specifications
Microcontroller
ATmega328P
Operating Voltage
5V
Input Voltage
7-12V
16 MHz
Clock Speed
Programming
hardware
Flash Memory
SRAM
2 KB
EEPROM
1 KB
ADC
10
Communication
11
External Interrupts
10-bit
Serial: 0 (RX) and 1 (TX)
SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK)
TWI: A4 (SDA) and A5 (SCL)
2 and 3
12
13
6 (3,5,6,9,10,11)
14
15
S. N.
USB, ICSP
32 KB (of which 0.5 KB used by boot-loader)
Particulars
Input Voltage
40.0 mA
200.0 mA
Rushikesh Deshmukh
Rushikesh Deshmukh
5. Jumper wires are used for solderless breadboarding. Differently colored wires and
color-coding discipline are often adhered to for consistency.
6. Limitations
a) Due to relatively large stray capacitance compared to a properly laid out PCB,
high inductance of some connections and a relatively high and not very
reproducible contact resistance, solderless breadboards are limited to
operation at relatively low frequencies, usually less than 10 MHz.
b) The relatively high contact resistance can already be a problem for some DC
and very low frequency circuits.
c) Solderless breadboards are further limited by their voltage and current ratings.
d) Solderless
breadboards
usually
cannot
accommodate
surface-mount
technology devices (SMD) or components with grid spacing other than 0.1 in
(2.54 mm). Further, they cannot accommodate components with multiple rows
of connectors if these connectors don't match the dual in-line layoutit is
impossible to provide the correct electrical connectivity. Sometimes small PCB
adapters called "breakout adapters" can be used to fit the component to the
Rushikesh Deshmukh
board. However, the need to solder the components onto the adapter negates
some of the advantage of using a solderless breadboard.
e) Very complex circuits can become unmanageable on a solderless breadboard
due to the large amount of wiring required. The very convenience of easy
plugging and unplugging of connections also makes it too easy to accidentally
disturb a connection, and the system becomes unreliable.
Fritzing
1. Fritzing is an open source software initiative to support designers, artists,
researchers and hobbyists to work creatively with interactive electronics.
2. It is used to document Arduino-based prototype and create a PCB layout for
manufacturing.
3. There are a lot of components already designed especially for Fritzing and you can
even create yours quite easily.
4. Inside Fritzing there are four different views available
Breadboard view is the one that looks the most like what we have in front of us on
the table. You represent all wires and you connect a virtual breadboard to your
Arduino and directly plug components.
Schematic view is automatically build while sketching in the breadboard view.
And while making a schematic, Fritzing automatically connects the components in
the breadboard view.
PCB view creates a PCB layout for manufacturing.
Code view where one can modify code and upload it directly to an Arduino device.
5. The Fritzing community helps users share and discuss drafts and experiences as
well as to reduce manufacturing costs.
Rushikesh Deshmukh
Rushikesh Deshmukh
18. Draw the circuit diagram from the breadboard view given below
Rushikesh Deshmukh