From 110945005cdf3e83b673c9e969ffd40ccd5bc1f7 Mon Sep 17 00:00:00 2001 From: test2 Date: Sun, 13 Oct 2019 21:14:34 +0300 Subject: [PATCH] Arduino --- Intro-Arduino.adoc | 14 +++++++------- Intro-IoT.adoc | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Intro-Arduino.adoc b/Intro-Arduino.adoc index f1ed375..dd54563 100644 --- a/Intro-Arduino.adoc +++ b/Intro-Arduino.adoc @@ -27,11 +27,11 @@ https://en.wikipedia.org/wiki/Arduino[^] The 14 digital input/output pins can be used as input or output pins by using pinMode(), digitalRead() and digitalWrite() functions in arduino programming. Each pin operate at 5V and can provide or receive a maximum of 40mA current, and has an internal pull-up resistor of 20-50 KOhms which are disconnected by default. Out of these 14 pins, some pins have specific functions as listed below: - Serial Pins 0 (Rx) and 1 (Tx): Rx and Tx pins are used to receive and transmit TTL serial data. They are connected with the corresponding ATmega328P USB to TTL serial chip. - External Interrupt Pins 2 and 3: These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. - PWM Pins 3, 5, 6, 9 and 11: These pins provide an 8-bit PWM output by using analogWrite() function. - SPI Pins 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK): These pins are used for SPI communication. - In-built LED Pin 13: This pin is connected with an built-in LED, when pin 13 is HIGH – LED is on and when pin 13 is LOW, its off. + - Serial Pins 0 (Rx) and 1 (Tx): Rx and Tx pins are used to receive and transmit TTL serial data. They are connected with the corresponding ATmega328P USB to TTL serial chip. + - External Interrupt Pins 2 and 3: These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. + - PWM Pins 3, 5, 6, 9 and 11: These pins provide an 8-bit PWM output by using analogWrite() function. + - SPI Pins 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK): These pins are used for SPI communication. + - In-built LED Pin 13: This pin is connected with an built-in LED, when pin 13 is HIGH – LED is on and when pin 13 is LOW, its off. Along with 14 Digital pins, there are 6 analog input pins, each of which provide 10 bits of resolution, i.e. 1024 different values. They measure from 0 to 5 volts but this limit can be increased by using AREF pin with analog Reference() function. @@ -39,8 +39,8 @@ Along with 14 Digital pins, there are 6 analog input pins, each of which provide Arduino Uno has a couple of other pins as explained below: - AREF: Used to provide reference voltage for analog inputs with analogReference() function. - Reset Pin: Making this pin LOW, resets the microcontroller. + - AREF: Used to provide reference voltage for analog inputs with analogReference() function. + - Reset Pin: Making this pin LOW, resets the microcontroller. == Communication diff --git a/Intro-IoT.adoc b/Intro-IoT.adoc index 3cab078..3c0ea1b 100644 --- a/Intro-IoT.adoc +++ b/Intro-IoT.adoc @@ -13,6 +13,7 @@ Apostolos rootApostolos@swarmlab.io {empty} + + Ορισμός, βασικά χαρακτηριστικά και αρχιτεκτονικές IoT, εφαρμογές ΙοΤ, αντιδιαστολή με τον ιστό των αντικειμένων (Web of Things / WoT), προκλήσεις του IoT όπως προτυποποίηση, κλιμάκωση, μέγεθος συσκευών, κατανάλωση ενέργειας, διευθυνσιοδότηση, ασφάλεια/ιδιωτικότητα, ποιότητας υπηρεσιών, κινητικότητα κ.α Δομή και τεχνολογία κόμβων. Αρχιτεκτονική και τοπολογίες. Πρότυπα και πρωτόκολλα φυσικού επιπέδου. Θέματα διανομής, επικοινωνίας και οργάνωσης. Πρωτόκολλα δρομολόγησης. Ενεργειακά αποδοτικοί αλγόριθμοι συλλογής και επεξεργασίας δεδομένων.