Professional Documents
Culture Documents
Introduction to...
Arduino
Department of E & TC Engineering, VIT Pune Date:16-06-2017
Introduction
It is a micro-computer. As any
computer it has internal CPU, RAM,
IOs interface.
It is used for control purposes, and
for data analysis.
Famous microcontroller
manufacturers are MicroChip,
Atmel, Intel, Analog devices, and
more.
[list]
• Arduino Uno
• Node MCU
Atmel
MicroController
USB port
Power input
Analog input.
Power Supply
Department of E & TC Engineering, VIT Pune Date:16-06-2017
Features of the Arduino UNO:
• Microcontroller: ATmega328.
• Operating Voltage: 5V.
• Input Voltage (recommended):
7-12V.
• Input Voltage (limits): 6-20V.
• Digital I/O Pins: 14 (of which 6
provide PWM output)
• Analog Input Pins: 6.
• DC Current per I/O Pin: 40 mA.
• DC Current for 3.3V Pin: 50 mA.
Opensource available on
Arduino website
Ex: 1- Digital:
Lights in the room can be either on or off.
- Square waves are Digital.
Ex.: 2- Analog:
Temperature, can take any value[-1,12.8,25.002,… etc.].
- Sine waves are analog.
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, LOW); // turn the LED off by making the voltage LOW
Task 1
• Using three LED’s mimic the effect of the
traffic signal.
Task 2
• Using multiple LED’s mimic the Diwali Lighting
effect.
Write by yourself
Here you can learn how to program Arduino and what each code
means and do, from here:
http://arduino.cc/en/Reference/HomePage