0% found this document useful (0 votes)
19 views21 pages

Real Projects. Real Learning

This document provides an overview of the Arduino platform for physical computing. It describes what Arduino is, the main components of the Arduino board including the microcontroller and pins. It explains digital and analog signals. It shows the basic functions and interface of the Arduino development environment. It then gives an example lesson on controlling an RGB LED with Arduino by using analogWrite to vary the color. Circuit diagrams and code syntax are provided. Functions for programming Arduino are also introduced.

Uploaded by

brett
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)
19 views21 pages

Real Projects. Real Learning

This document provides an overview of the Arduino platform for physical computing. It describes what Arduino is, the main components of the Arduino board including the microcontroller and pins. It explains digital and analog signals. It shows the basic functions and interface of the Arduino development environment. It then gives an example lesson on controlling an RGB LED with Arduino by using analogWrite to vary the color. Circuit diagrams and code syntax are provided. Functions for programming Arduino are also introduced.

Uploaded by

brett
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/ 21

Real projects. Real learning.

TOPIC OUTLINE

Real projects. Real learning.


Real projects. Real learning.
Real projects. Real learning.
WHAT IS ARDUINO?
Arduino is an open-source physical computing platform based on a simple
microcontroller board, and a development environment for writing software
for the board.

Real projects. Real learning.


ARDUINO ATMEGA 2560

Digital I/O: 54 Pins


Analog Output: 15 Pins

Flash Memory: 256kB


Write/Erase: 10,000 times

CPU Speed: 16MHz

Analog Input: 16 Pins

Operating Voltage: 5V
Real projects. Real learning.
Why Arduino?

Extensible Hardware and Software

Real projects. Real learning.


DIGITAL AND ANALOG SIGNAL

Analog Signal --- information is


translated into electric pulses of
varying amplitude. 

Digital Signal --- information is into


binary format (zero or one) where each
bit is representative of two distinct
amplitudes.

Real projects. Real learning.


ARDUINO PLATFORM
Functions:
• Verify
• Upload
• New
• Open
• Save
Text Editor

Status Bar
Console
Real projects. Real learning.
ARDUINO PLATFORM

WORKING FILE SKETCH

STATUS

BOARDS / CONNECTION

Real projects. Real learning.


ARDUINO PLATFORM --- BASIC FUNCTION

Real projects. Real learning.


Real projects. Real learning.
LESSON 10: RGB LED

OVERVIEW
In this lesson, you will learn
how to use a RGB (Red Green
Blue) LED with an Arduino.
You will use the analogWrite
function of Arduino to control
the color of the LED.
Real projects. Real learning.
SPECIFICATION

RGB LED
Emitting Light Color: Blue, Red, Green
Size(Approx): 5 x 35mm/ 0.2" x 1.37" (D * L)
Forward Voltage: 3.0-3.4V
Luminous Intensity: 12000-14000mcd

Pin definition
It is the definition of RGBLEDpin :
RGB LED UNO R3
R -> D11
GND -> GND
G -> D10
B -> D9
Real projects. Real learning.
HARDWARE

Material Name Number


RGB-LED 1
220Ω/330Ω Resistor 2
USB Cable 1
UNO R3 1
Breadboard 1
Jumper Wires Several
Real projects. Real learning.
CONNECTION
DIAGRAM

Real projects. Real learning.


PWM

Real projects. Real learning.


SYNTAX

Real projects. Real learning.


SYNTAX

Real projects. Real learning.


FUNCTION

It is a block of code that has a name and a block of


statements that are executed when the function is
called. The functions void setup() and void loop() are
built-in functions.

Custom funtions can be written to perform repetitive


tasks and reduce clutter in a program. Functions are
declared by first declaring the function type.
Real projects. Real learning.
FUNCTION

Real projects. Real learning.


FUNCTION

Real projects. Real learning.

You might also like