Arduino Programming
Arduino Programming
DECEMBER, 2020-2021
Prepared By:
Prof. SUMITESH MAJUMDER
HOD, AEIE Department
NSEC
What do you need?
To get started you need the following:
• PC (Windows, Mac, Linux)
• Arduino UNO (~200 NOK) or a
Starter Kit (~800 NOK)
• Software (free)
• Electrical components (wires,
resistors, etc.)
Switch
Equipment Resistors
Temperature sensor
Arduino
Potentiometer USB cable LEDs
Light sensor
wires
Thermistor Multimeter
Breadboard
Introduction to Arduino
Arduino Uno R3
Reset button
Pin 13 LED
USB
connector Digital pins header
ATmega328 MCU
Barrel jack
Analog pins header
Power-ground header
Crystal
Oscillator
ATmega328 Microcontroller
Pin number
Pin name
Special
function
Connect your Arduino to your PC
Other component
Other component
Other component
Other component
Other component
Arduino Development
Environment
Arduino.cc
Arduino.cc
Arduino.cc
Program
Example
Example
Example
Example
Example
Serial monitor
Serial monitor
Serial monitor
Arduino
Examples
We need the following
•Arduino UNO •Breadboard
•+
Electrical
Components
Breadboard