arduino uno microcontroller - aphrdi.ap.gov.inaphrdi/2018/2-feb/iot/… · –microcontroller...

28
Arduino UNO Microcontroller

Upload: others

Post on 27-Jul-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino UNO Microcontroller

Page 2: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Internet of Things

• Sensors and actuators embedded in physicalobjects are linked through wired and wirelessnetworks

• The Internet of things is the internetworking ofphysical devices, vehicles, buildings andotheritems—embedded with electronics, software, sensors,actuators, and network connectivity that enablethese objects to collect and exchange data.

Page 3: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Requirements of IOT

• Hardware Requirements– Microcontroller

– Sensors

– GSM Module

– Bluetooth

• Software Requirements– Arduino IDE

Page 4: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Microcontroller

• A microcontroller is a complete computer

system, including a CPU , memory, a clock

oscillator, and I/O on a single integrated

circuit chip.

Page 5: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller
Page 6: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino UNO Microcontroller

• Arduino is an open-source electronics platform based on easy-to-use hardware and software.

• Arduino boards are able to read inputs and turn it into anoutput.

• By using the Arduino API we can tell the microcontroller boardwhat to do by send the set of instructions to it.

• Arduino can interact with buttons, LEDs, motors, speakers,GPS units, cameras, the internet, and even your smart-phoneor your TV

Page 7: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino UNO Architecture

Page 8: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Components of Arduino UNO Microcontroller

• Power (Barrel Jack)

• Power USB

• Crystal Oscillator

• Arduino Reset

• Analog pins

• Power LED indicator

• TX and RX LEDs

• Digital I/O

• AREF

• Vcc , GND, Vin

• Main microcontroller

Page 9: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller
Page 10: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Features of Arduino UNO

• Digital I/O Pins - 14 (of which 6 provide PWM output)

• Analog Input Pins - 6

• Flash Memory - 32 KB

• SRAM - 2 KB

• EEPROM - 1KB

Page 11: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino Boards

• Various kinds of Arduino boards are availabledepending on different microcontrollers used.

• Boards differ in Operating Voltage, clockspeed, and number of Digital I/O, Analog &PWM pins.

• all Arduino boards have one thing incommon: they are programed through theArduino IDE.

Page 12: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino Boards

Page 13: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Arduino boards

Page 14: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Intel Galileo Gen2 Board

Page 15: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Features of Intel Galileo Gen2

• Microcontroller - SoC Quark X1000

• Operating Voltage - 3.3V / 5V

• Digital I/O Pins - 14 (of which 6 provide 8/12-bit PWM output)

• Analog Input Pins - 6

• Flash Memory - 512 kB

• SRAM - 512 kB

• EEPROM - 8kB

• Clock Speed - 400MHz

Page 16: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Sensors

• A sensor is a device that detects and respondsto some type of input from the physicalenvironment.

• A sensor is a device that sense the data fromphysical environment and converts real worlddata (Analog) into data that a computer canunderstand.

Page 17: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Sensors

• Analog sensors-produce continuous analog output signal and

these sensors are considered as analog sensors

• Ex: light sensors, sound sensors, temperature sensors

• Digital sensors-an electronic or electrochemical sensor,

where data conversion and data transmission are done digitally.

• It has two discrete values. It is on, or it is off.

• Ex: Push button, LED sensors

Page 18: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Sensors

Page 19: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

GSM Module

Page 20: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Bluetooth

Page 21: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Set up the Arduino IDE

Step 1 − First you must have your board (you can choose your favorite board) and a USB cable.

Step 2 − Download Arduino IDE Software from the Arduino website and run the file.

Page 22: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 3 − Power up your board and Connect the Arduino board to your computer

Page 23: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 4 − Launch Arduino IDE.

Page 24: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 5 − Open your first project.

Page 25: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller
Page 26: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 6-Select your Board

Page 27: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 7-Select your serial port

Page 28: Arduino UNO Microcontroller - aphrdi.ap.gov.inAPHRDI/2018/2-feb/iot/… · –Microcontroller –Sensors –GSM Module –Bluetooth •Software Requirements –Arduino IDE. Microcontroller

Step 8- Compile & Upload the program to your board