0% found this document useful (0 votes)
8 views

IoT_Lab1_Study (1)

The document outlines a lab exercise for studying Arduino IDE and various types of Arduino boards, including specifications for the Mega and Nano models. It details the hardware and software requirements for a simple experiment to blink an LED using an Arduino board. Key specifications such as operating voltage, pin configuration, and memory are provided for each Arduino type.

Uploaded by

metallurgyaditya
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)
8 views

IoT_Lab1_Study (1)

The document outlines a lab exercise for studying Arduino IDE and various types of Arduino boards, including specifications for the Mega and Nano models. It details the hardware and software requirements for a simple experiment to blink an LED using an Arduino board. Key specifications such as operating voltage, pin configuration, and memory are provided for each Arduino type.

Uploaded by

metallurgyaditya
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/ 15

Internet of Things

and Applications
Class: TYB.TECH
LAB: 1
Mr.Pankaj P. Tasgaonkar
AIM: To Study Arduino IDE and different types of
Arduino

• Software: Arduino IDE 1.8.15


• Link: https://www.arduino.cc/en/software
Types of Arduino
Why different Arduino?
• Size
• Pin out
• Operating Frequency
• Additional features in built like Bluetooth, Wi-Fi, Ethernet
Mega
• Atmega 2560
• It supports all communication protocols, I2C-supported by
pin 20-SDA, 21- SCL
• Serial communication:
• 0 Tx-1, Rx-0
• 1 Tx-18, Rx-19
• 2 Tx-16, Rx-17
• 3 Tx-14, Rx-15
Specifications
• The ATmega2560 is a Microcontroller
• The operating voltage of this microcontroller is 5volts
• The recommended Input Voltage will range from 7volts to 12volts
• The input voltage will range from 6volts to 20volts
• The digital input/output pins are 54 where 15 of these pins will supply PWM o/p.
• Analog Input Pins are 16
• DC Current for each input/output pin is 40 mA
• DC Current used for 3.3V Pin is 50 mA
• Flash Memory like 256 KB where 8 KB of flash memory is used with the help of
bootloader
• The static random access memory (SRAM) is 8 KB
• The electrically erasable programmable read-only memory (EEPROM) is 4 KB
• The clock (CLK) speed is 16 MHz
Arduino Nano
Arduino Nano
Specifications
• Microcontroller: Microchip ATmega328P[5]
• Operating voltage: 5 volts
• Input voltage: 6 to 20 volts
• Digital I/O pins: 14 (6 optional PWM outputs)
• Analog input pins: 8
• DC per I/O pin: 40 mA
• DC for 3.3 V pin: 50 mA
• Flash memory: 32 KB, of which 0.5 KB is used by bootloader
• SRAM: 2 KB
• EEPROM: 1 KB
• Clock speed: 16 MHz
• Length: 45 mm
• Width: 18 mm
• Mass: 7 g
Specifications
• Microcontroller: ATmega328P
• Operating Voltage: 5V
• Input Voltage (recommended): 7-12V
• Inout 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
• Flash Memory: 32 KB (ATmega328P) of which 0.5 KB used by bootloader
• SRAM: 2 KB (ATmega328P)
• EEPROM: 1 KB (ATmega328P)
• Clock Speed: 16 MHz
EXPT 2
• AIM: To blink the LED using the Arduino board
• Hardware: Arduino uno board, LED, Resistor, Connecting
Wires, Breadboard, USB connector
• Software: Arduino IDE
Circuit Diagram
Code
• The first thing you do is to initialize LED1 pin as an output pin
with the line; pinMode(LED1, OUTPUT);
• Similarly for LED2 and LED3
• To turn LED on, 5V is provided with the line;
digitalWrite(LED1, HIGH);
• To turn LED off, 0V is provided with the line;
digitalWrite(LED1, LOW);
• Delay is given to observe the change between on and
off condition.

You might also like