0% found this document useful (0 votes)
2 views8 pages

Lecture-2 (Introduction To Arduino)

The document introduces Arduino as an open-source electronics platform that enables users to read inputs and produce outputs through various components. It provides specifications for the Arduino Uno, including its microcontroller, voltage requirements, and pin configuration. Additionally, it outlines the basic structure of an Arduino sketch, which consists of naming variables, setup, and a loop for continuous execution.

Uploaded by

chowdhury16-673
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views8 pages

Lecture-2 (Introduction To Arduino)

The document introduces Arduino as an open-source electronics platform that enables users to read inputs and produce outputs through various components. It provides specifications for the Arduino Uno, including its microcontroller, voltage requirements, and pin configuration. Additionally, it outlines the basic structure of an Arduino sketch, which consists of naming variables, setup, and a loop for continuous execution.

Uploaded by

chowdhury16-673
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Training on Arduino

Lecture 1 (Introduction to Arduino)


Intruduction
PWTo
Arduino M
Arduino is an open-source electronics
platform based on easy-to-use hardware and
software.
Arduino boards are able to read inputs - light on a
sensor, a finger on a button, or a Twitter message
- and turn it into an output - activating a motor,
turning on an LED, publishing something online.
Arduino
PWFamily
M
Arduino UnoPWM
Pin Configuration
Arduino Uno Specification
Microcontroller ATmega328p
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
32 KB (ATmega328P) of which 0.5 KB used
Flash Memory by bootloader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
Basic structure
PWM of a sketch
A sketch can be divided in three parts.

1. Name variable
In the first part elements of the program are named ( This
will be explained in program no. This part is not
absolutely necessary.
2. Setup (absolutely necessary for the program)
The setup will be performed only once. Here you are
telling the program for example what
Pin (slot for cables) should be an input and what should be
an output on the boards.
3. Loop (absolutely necessary for the program)
This loop part will be continuously repeated by the board. It
assimilates the sketch from beginning to end and starts
again from the beginning and so on.
Basic Example
PWM Code
Arduino
PWMBlink

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy