Arduino based IoT Application Programming_20180814.pptx

nasir458339 21 views 29 slides Jun 10, 2024
Slide 1
Slide 1 of 29
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29

About This Presentation

gfhfghfghf


Slide Content

Arduino based IoT Application Programming Instructor:

Introduction of Maker Movement

Introduction of Maker Movement 4 DIY (Do It Yourself) Reference: https://www.google.co.kr/search?q=DIY&newwindow=1&safe=off&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjg4uK7__baAhWMfLwKHeaJA9kQ_AUIDCgD&biw=1280&bih=669#imgrc=_

Introduction of Maker Movement 5 DIY + New Technologies References: https://pixabay.com/en/printer-3d-printer-model-3d-1248284/ https://en.wikipedia.org/wiki/Arduino https://en.wikipedia.org/wiki/Raspberry_Pi 3D Printer Arduino Raspberry Pi

Introduction of Arduino

Introduction of Arduino 11 Arduino is an open source computer hardware and software company, project, and user community that designs and manufactures single-board microcontrollers References: https://en.wikipedia.org/wiki/Arduino

Introduction of Arduino 12 Arduino boards References: https://www.arduino.cc/

Introduction of Arduino 13 Arduino UNO pin out References: https://eeeproject.com/arduino-uno-board/

Introduction of Arduino 14 Arduino UNO specification Microcontroller ATmega328P Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limit) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) Analog Input Pins 6 DC Current per I/O Pin 20 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 LED_BUILTIN 13

Installation of Arduino IDE

Installation of Arduino IDE 16 Enter the http://www.arduino.cc/ on the web browser

Installation of Arduino IDE 17 Click the “Windows Installer”

Installation of Arduino IDE 18 Click the “JUST DOWNLOAD” button

Installation of Arduino IDE 19 Double click the downloaded .exe file in the download directory

Installation of Arduino IDE 20 Click the “Next” button

Installation of Arduino IDE 21 Click the “Install” button

Installation of Arduino IDE 22 Click the “Close” button

Structure of Arduino program (Sketch)

Structure of Arduino program (Sketch) 24 Interface of Arduino IDE

Structure of Arduino program (Sketch) 25 Check the installation of Arduino IDE 1. Open  01.Basics  Blink 2. Upload The LED connected to pin 13 of Arduino board is blinking

Structure of Arduino program (Sketch) 26 setup() - The first function to execute - loop() function execute after setup() function terminate loop() - Code within a loop() function runs infinite void setup() { pinMode (13, OUTPUT); } void loop() { digitalWrite (13, HIGH); delay(1000); digitalWrite (13, LOW); delay(1000); }

Structure of Arduino program (Sketch) 27 digitalWrite () - output of digital value - first argument  pin number - second argument  pin status delay() - delay by specific time - unit : ms (milli second) void setup() { pinMode (13, OUTPUT); } void loop() { digitalWrite (13, HIGH); delay (1000); digitalWrite (13, LOW); delay (1000); }

Structure of Arduino program (Sketch) 28 PinMode () - Determine input / output pin - first argument  pin number - second argument  input or output void setup() { pinMode (13, OUTPUT); } void loop() { digitalWrite (13, HIGH); delay(1000); digitalWrite (13, LOW); delay(1000); }

Thank You!!!
Tags