WORKSHOP
ON
ARDUINO
HELLO EVERYONE
WHAT IS ARDUINO
Arduino is a type of single-board microcontroller…
Wait!!!
But
What is a microcontroller?????
What is Microcontroller?
A microcontroller is a small computer on a single chip that contains a
processor, memory, and input/output (I/O) ports. It is used to control
electronic devices like robots, washing machines, and remote controls.
There is a lot of confusion about
difference between Microcontroller
and Microprocessor
Washing Machine is a microcontroller Laptop have a microprocessor because it
because it can only do one specific work. many kinds of works
Now let's come to the topic because
of which we are here
Arduino
• It is not a chip(IC)
• It is not a board(PCB)
• It is not a company or a manufacturer
• It is not a programming language
• It is not a computer architecture
(although it involves all of these things…)
Official Definition: Arduino is an open-source electronics platform
based on easy-to-use hardware and software. It's intended for
anyone making interactive projects
Why Arduino?
• For whatever reason, Arduino microcontrollers have become the
standard.
• It is open-source project, software/hardware is extremely accessible
and very flexible to be customized and extended.
• It is inexpensive and comes with free authoring software.
• Strives for the balance between ease of use and usefulness
• Programming language seen as major obstacle.
• Arduino C is a greatly simplified version of C++.
Breadboard
• A breadboard is a solder-less device for
temporary protype with electronics and test
circuit designs.
• Because it is solder-less, it is reusable
• Easy to use for creating temporary circuit.
Analog & Digital Signals
What is analog?
• It is continuous range of voltage
values.
• Analog has many(infinite) values
Why convert to digital?
• Because our microcontroller only
understands digital.
• Digital has two values: on and off
Arduino Uno Pinout Diagram
ATMega328P Microcontroller
Different Arduino Boards
Getting Started with Arduino
We have two options…
Arduino IDE TinkerCad
Arduino IDE
• Download Arduino compiler and development environment from:
[Link]
-and-install-Arduino-IDE
Arduino IDE
(Integrated Development
Environment)
Setting Up of Arduino IDE
• The computer
communicates to
the Arduino
microcontroller via a
serial port through a
USB-Serial adapter.
• Check to make sure
that the drivers and
properly installed.
Arduino Sketch Structure
Important Functions
Activity 1: (LED BLINKING)
Circuit Connection CODE
Activity 2: Control LED by varying
the pulse width
Activity 3:Hello Mechnext