-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·252 lines (197 loc) · 10.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!doctype html>
<html>
<head>
<style>
a:link {
color: gray;
}
a:visited {
color: rgb(177, 137, 230);
}
a:hover {
color: rgb(177, 137, 230);
}
a:active {
color: blue;
}
</style>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.9.0/build/cssnormalize/cssnormalize-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/gallery-2013.03.27-22-06/build/gallery-widget-pointer/assets/gallery-widget-pointer-core.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/gallery-2013.03.27-22-06/build/gallery-tipsy/assets/skins/sam/gallery-tipsy.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/gallery-2013.03.27-22-06/build/gallery-popover/assets/skins/sam/gallery-popover-skin.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.9.0/build/cssgrids-responsive/cssgrids-responsive-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.9.0/build/cssbutton/cssbutton-min.css">
<link rel="stylesheet" type="text/css" href="https://rawgithub.com/tilomitra/yuicss-common/master/ui.css">
<link rel="stylesheet" type="text/css" href="https://rawgithub.com/ccampbell/rainbow/master/themes/obsidian.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-UQiGfs9ICog+LwheBSRCt1o5cbyKIHbwjWscjemyBMT9YCUMZffs6UqUTd0hObXD" crossorigin="anonymous">
<!--[if lte IE 8]>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-min.css">
<!--<![endif]-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:200">
<!--[if lte IE 8]>
<link rel="stylesheet" href="/combo/1.18.13?/css/main-grid-old-ie.css&/css/main-old-ie.css&/css/grids.css&/css/rainbow/baby-blue.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="http://purecss.io/combo/1.18.13?/css/main-grid.css&/css/main.css&/css/home.css&/css/rainbow/baby-blue.css">
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<![endif]-->
<script type="text/javascript" src="https://use.typekit.net/ajf8ggy.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<style>
#demoButtons {
text-align: center;
}
li {
margin-bottom:1.2em;
}
.header {
padding: 20px;
background: rgb(54, 45, 100);
}
.header h1 {
color: #fff;
}
.header h2 {
color: rgb(177, 137, 230);
}
.notice {
background: #61B842;
color: white !important;
}
#fork {
font-size:150%;
}
.yui3-button {
font-size: 80%;
padding: 0.8em 2.5em;
}
.l-centered {
text-align: center;
}
code {
font-family: Consolas, 'Liberation Mono', Courier, monospace;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
font-size: 0.8em;
border-radius: 3px;
border: none;
background: #f8f8f8;
padding: 0.4em 0.6em;
}
pre {
border-radius: 5px;
}
pre code {
font-size:1em;
background: none;
}
.content code {
white-space: pre;
line-height: normal;
}
.content h3 {
font-weight: bold;
color: #333;
margin-top: 2em;
}
.content .subtitle {
font-weight: 100;
font-size: 170%;
}
.centered {
text-align: center;
}
#popoverButton {
background: rgb(30, 66, 148);
color: rgb(121, 167, 248);
display: block;
font-size: 130%;
}
</style>
</head>
<style>
nav {
background-color: rgb(54, 45, 100);
overflow: hidden;
}
nav ul{
}
nav ul li {
/* This allow us to arrange list items in a row, without using float */
display: inline-block;
list-style-type: none;
}
/* Create a style for the first level items */
nav > ul > li > a {
color: #aaa;
background-color:rgb(54, 45, 100);
display: block;
line-height: 2em;
padding: 0.5em 0.5em;
text-decoration: none;
}
</style>
<body class="yui3-skin-sam">
<a href="https://github.com/you"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/82b228a3648bf44fc1163ef44c62fcc60081495e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
<div class="header yui3-u-1">
<h1 class="yui3-u-1">IoT Lab Fiap</h1>
<h2 class="yui3-u">Laboratório de Internet das Coisas - MBA FIAP</h2>
<nav>
<ul>
<li><a href="index.html">Início</a></li>
<li><a href="sobre.html">Sobre</a></li>
<li><a href="projetos.html">Projetos</a></li>
<li><a href="fotos.html">Fotos</a></li>
</ul>
</nav>
</div>
<div class="content">
<h2>A plataforma NodeMCU</h2>
<p>NodeMCU é um ambiente completo de hardware e software para prototipagem IoT composto dos seguintes itens:</p>
<ul>
<li>Placa controladora, composta de um módulo ESP8266;</li>
<li>Porta micro USB para alimentação (5V) e programação;</li>
<li>10 portas digitais GPIOs operando a 3,3V e uma entrada analógica GPIO a 1,8 V;</li>
</ul>
<h2>Utilizando Arduino IDE para desenvolvimento</h2>
<p>Programar o NodeMCU pode ser tão fácil quanto programar o Arduino, utilizando o mesmo ambiente de desenvolvimento. A principal diferença está na pinagem da placa que descrevemos abaixo e adição do suporte a esta placa na Arduino IDE como mostraremos nos videos.</p>
<ul>
<li>Pinagem do NodeMCU x Pinagem NodeMCU utilizando a Arduino IDE;</li>
</ul>
<img src="img/nodemcu.png" alt="NodeMCU" height="420" width="500">
<br>
<h2>Instalando Arduino IDE</h2>
<p>Você pode obter a Arduino IDE em seu site oficial: <a href="http://arduino.cc">arduino.cc</a></p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/JkD9SHzPkcM" frameborder="0" allowfullscreen></iframe>
<h2>Instalando NodeMCU no Arduino IDE</h2>
<p>Para utilizar a Arduino IDE como ferramenta de desenvolvimento do NodeMCU, precisamos adicionar suporte para a mesma.</p>
<pre><code data-language="html"> http://arduino.esp8266.com/stable/package_esp8266com_index.json </code></pre>
<iframe width="560" height="315" src="https://www.youtube.com/embed/UC7fzyEXKe8" frameborder="0" allowfullscreen></iframe>
<h2>Instalando a biblioteca do Firebase</h2>
<p>Nos nossos projetos, vamos utilizar o Firebase como banco de dados em Real Time. Para utilizar o Firebase na Arduino IDE precisamos
instalar uma biblioteca adicional.</p>
<p>Repositório oficial da biblioteca: <a href="https://github.com/firebase/firebase-arduino">Firebase Arduino</a> ou Download em Zip <a href="https://github.com/googlesamples/firebase-arduino/archive/master.zip">Arquivo ZIP</a> </p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/JkD9SHzPkcM" frameborder="0" allowfullscreen></iframe>
</div>
<script src="https://rawgithub.com/ccampbell/rainbow/master/js/rainbow.min.js"></script>
<script src="https://rawgithub.com/ccampbell/rainbow/master/js/language/html.js"></script>
<script src="https://rawgithub.com/ccampbell/rainbow/master/js/language/css.js"></script>
<script src="https://rawgithub.com/ccampbell/rainbow/master/js/language/generic.js"></script>
<div class="header yui3-u-1">
<p>Entre em contato <a href="http://ezefranca.com">clicando aqui</a></p>
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Licença Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br/>
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">IoT Lab Fiap</span> está licenciado com uma Licença <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Atribuição-CompartilhaIgual 4.0 Internacional</a>
</p>
<span class="yui3-u">Página hospedada no <a href="https://pages.github.com">GitHub Pages</a> utilizando <a href="https://github.com/tilomitra/prettypages/">Pretty Pages</a> de <a href=https://github.com/tilomitra>Tilo</a>.</span>
</div>
<script src="https://purecss.io/combo/1.18.13?/js/ui.js&/js/rainbow/rainbow.min.js&/js/rainbow/language/generic.js&/js/rainbow/language/html.js&/js/rainbow/language/css.js&/js/rainbow/language/javascript.js&/js/rainbow/language/shell.js"></script>
</body>
</html>