-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
330 lines (330 loc) · 16.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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="arduino, mini, micro, nano, uno, uno wifi, mega, due, nano every, nano 33, nano 33 iot, nano 33 ble, sparkfun, nodemcu, wemos, d1, mini, esp8266, atmega, esp12, esp10, atmega328p, atmega4809, atmega2560, atmega32u4, at91sam3x8e, nrf52840, samd21 cortex-m0+, attiny85, pinout, specs, comoare, comparator, boards, microcontroller">
<meta name="description" content="View and compare the most popular microcontroller boards specs">
<title>Board Arena</title>
<!-- OG tags -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://biohzrdmx.github.io/board-arena/">
<meta property="og:title" content="Board Arena">
<meta property="og:image" content="https://biohzrdmx.github.io/board-arena/assets/images/share.png">
<meta property="og:description" content="View and compare the most popular microcontroller boards specs">
<meta property="og:site_name" content="Board Arena">
<meta property="og:locale" content="en_US">
<!-- Favicon -->
<link rel="shortcut icon" href="assets/images/favicon.ico">
<link rel="icon" href="assets/images/favicon-md.png" type="image/png">
<!-- Device-specific icons -->
<link rel="apple-touch-icon" href="assets/images/favicon-sm.png" />
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/favicon-md.png" />
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/favicon-lg.png" />
<!-- Stylesheets -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css">
<link rel="stylesheet" href="assets/styles/app.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-93695188-8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-93695188-8');
</script>
</head>
<body>
<header class="app-header"></header>
<section class="app-client"></section>
<footer class="app-footer"></footer>
<!-- Templates -->
<script type="text/template" id="partial-header">
<div class="container py-1">
<div class="m-1">
<div class="row">
<div class="col-6">
<h1><a href="#/start"><img src="assets/images/badge_w.svg" width="60" alt="" class="img-fluid"></a></h1>
</div>
<div class="col-6">
<nav class="app-menu">
<ul>
<li>
<a href="#" class="js-toggle-menu"><i class="fa fa-bars"></i></a>
<ul>
<li><a href="#/start">All boards</a></li>
<li><a href="#/compare">Comparator</a></li>
<li><a href="https://github.com/biohzrdmx/board-arena">View on GitHub</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="partial-footer">
<div class="container py-1">
<div class="m-3">
<div class="text-center">
<p><img src="assets/images/logo.svg" width="160" alt="" class="img-fluid"></p>
<p class="text-muted">All product names, logos and brands are property of their respective owners.</p>
<p class="text-muted">Copyright © <%= date.getFullYear() %> biohzrdmx. All rights reserved.</p>
<p class="text-muted"><a href="https://github.com/biohzrdmx/board-arena" class="link-github"><i class="fab fa-github"></i> View project on GitHub</a></p>
</div>
</div>
</div>
</script>
<script type="text/template" id="partial-slot">
<form action="" method="post">
<div class="form-fields">
<div class="form-group">
<select name="board" class="custom-select">
<option value="">Select board</option>
<% _.each(app.boards, function(board) { %>
<option value="<%= board.slug %>" <%= selected == board.slug ? 'selected' : '' %>><%= board.name %></option>
<% }) %>
</select>
</div>
</div>
</form>
<div class="compare"></div>
</script>
<script type="text/template" id="partial-compare">
<div class="compare-image">
<img src="assets/boards/<%= board.slug %>/board.svg" alt="" class="img-fluid" width="240" height="240">
</div>
<div class="compare-details">
<h3><%= board.name %></h3>
<p><a href="#/board/<%= board.slug %>">View specifications</a></p>
<h4>General properties</h4>
<p><span>Brand</span><strong><%= board.brand %></strong></p>
<p><span>Microcontroller</span><strong><%= board.microcontroller %></strong></p>
<p><span>Dimensions</span><strong><i class="fa fa-fw fa-arrows-alt-h"></i> <%= board.size.length %>mm <i class="fa fa-fw fa-arrows-alt-v"></i> <%= board.size.width %>mm</strong></p>
<h4>Power</h4>
<p><span>Operating voltage</span><strong><%= app.formatArray(board.voltage, 'v', '/') %></strong></p>
<p><span>Power supply</span><strong><%= app.formatArray(board.powerSupply, 'v', '—') %></strong></p>
<p><span>Current usage (normal)</span><strong><%= app.formatArray(board.currentUsage.normal, 'mA', '—') %></strong></p>
<p><span>Current usage (deep sleep)</span><strong><%= app.formatArray(board.currentUsage.deepSleep, 'mA', '—') %></strong></p>
<h4>Input/Output</h4>
<p><span>Digital I/O pins</span><strong><%= board.pins.digital %></strong></p>
<p><span>Digital I/O pins with PWM</span><strong><%= board.pins.pwm %></strong></p>
<p><span>Analog input pins</span><strong><%= board.pins.analog %></strong></p>
<p><span>SPI</span><strong><%= board.pins.spi %></strong></p>
<p><span>I²C</span><strong><%= board.pins.i2c %></strong></p>
<p><span>I²S</span><strong><%= board.pins.i2s %></strong></p>
<p><span>UART</span><strong><%= board.pins.uart %></strong></p>
<p><span>Max. current per pin</span><strong><%= app.formatArray(board.pins.maxCurrent, 'mA') %></strong></p>
<h4>Memory</h4>
<p><span>Flash</span><strong><%= app.formatBytes(board.memory.flash) %></strong></p>
<p><span>SRAM</span><strong><%= app.formatBytes(board.memory.sram) %></strong></p>
<p><span>EEPROM</span><strong><%= app.formatBytes(board.memory.eeprom) %></strong></p>
<h4>Processing</h4>
<p><span>Cores</span><strong><%= board.cpu.cores %> <i class="fa fa-microchip"></i></strong></p>
<p><span>Clock</span><strong><%= app.formatArray(board.cpu.clock, 'MHz', '/', 0.001) %></strong></p>
<h4>Extra features</h4>
<p><i class="fa fa-fw <%= board.features.wifi ? 'fa-check' : 'fa-times' %>"></i> WiFi</p>
<p><i class="fa fa-fw <%= board.features.bluetooth ? 'fa-check' : 'fa-times' %>"></i> Bluetooth</p>
<p><i class="fa fa-fw <%= board.features.can ? 'fa-check' : 'fa-times' %>"></i> CAN bus</p>
<p><i class="fa fa-fw <%= board.features.ethernet ? 'fa-check' : 'fa-times' %>"></i> Ethernet</p>
<p><i class="fa fa-fw <%= board.features.hall ? 'fa-check' : 'fa-times' %>"></i> Hall-effect sensor</p>
<p><i class="fa fa-fw <%= board.features.touch ? 'fa-check' : 'fa-times' %>"></i> Touch sensor</p>
<p><i class="fa fa-fw <%= board.features.temperature ? 'fa-check' : 'fa-times' %>"></i> Temperature sensor</p>
<p><i class="fa fa-fw <%= board.features.powerJack ? 'fa-check' : 'fa-times' %>"></i> Power jack</p>
<p><i class="fa fa-fw <%= board.features.usbConnector ? 'fa-check' : 'fa-times' %>"></i> USB connector</p>
</div>
</script>
<script type="text/template" id="partial-placeholder">
<p class="animable"><i class="far fa-fw fa-hand-point-up"></i> Pick some boards to get started</p>
</script>
<script type="text/template" id="page-sitemap">
<div class="block block-sitemap">
<div class="container py-1">
<div class="m-3">
<h3>Sitemap</h3>
<ul>
<li><a href="#/start">Board index</a></li>
<li><a href="#/compare">Board comparator</a></li>
<li>
<span class="text-muted">Boards</span>
<ul>
<% _.each(app.boards, function(board) { %>
<li><a href="#/board/<%= board.slug %>"><%= board.name %></a></li>
<% }) %>
</ul>
</li>
</ul>
</div>
</div>
</div>
</script>
<script type="text/template" id="page-start">
<div class="block block-splash">
<div class="container">
<div class="m-3">
<div class="text-center">
<img src="assets/images/logo.svg" alt="" width="480" class="img-fluid">
<p>View and compare the most popular microcontroller board specs </p>
<p><a href="#" class="btn btn-primary btn-lg js-view-boards">View all boards</a></p>
</div>
</div>
</div>
</div>
<div class="block block-boards">
<div class="container py-1">
<div class="m-3">
<h2>Available boards</h2>
<form action="" method="post">
<div class="form-fields">
<div class="form-group">
<div class="icon-group">
<input type="text" name="search" id="search" class="form-control" placeholder="Search" autocomplete="off">
<i class="fa fa-search group-icon"></i>
</div>
</div>
</div>
</form>
<div class="list list-boards row">
<% _.each(app.boards, function(board) { %>
<div class="col-md-4 col-lg-3">
<div class="item item-board" data-name="<%= board.name.toLowerCase() %>">
<div class="item-image">
<img src="assets/boards/<%= board.slug %>/board.svg" alt="" class="img-fluid" width="320" height="320">
</div>
<div class="item-details">
<h4><%= board.name %></h4>
<p><%= board.microcontroller %></p>
<a href="#/board/<%= board.slug %>" class="btn btn-primary btn-block">Specifications</a>
<a href="#/compare/<%= board.slug %>" class="btn btn-outline-primary btn-block">Compare</a>
</div>
</div>
</div>
<% }) %>
</div>
<div class="placeholder d-none">
<p><i class="fa fa-fw fa-search"></i> There are no boards that match your criteria</p>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="page-board">
<div class="block-board">
<div class="container py-1">
<div class="m-3">
<h2><a href="#/start">Boards</a> <i class="fa fa-angle-right"></i> <%= board.name %></h2>
<div class="board-details">
<div class="row">
<div class="col-md-5">
<div class="board-image">
<img src="assets/boards/<%= board.slug %>/board.svg" alt="" class="img-fluid" width="640" height="640">
</div>
</div>
<div class="col-md-7">
<div class="board-description"><%= marked(board.details) %></div>
<p>
<a href="#/start" class="btn btn-outline-primary js-back-boards"><i class="fa fa-fw fa-angle-left"></i> Back to list</a>
<a href="#/compare/<%= board.slug %>" class="btn btn-primary"><i class="fa fa-fw fa-clone"></i> Compare board</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="block-specs">
<div class="container py-1">
<div class="m-3">
<div class="board-details">
<div class="board-specs">
<h2>Specifications</h2>
<div class="row">
<div class="col-md-3">
<h3>General properties</h3>
<p><span>Brand</span><strong><%= board.brand %></strong></p>
<p><span>Microcontroller</span><strong><%= board.microcontroller %></strong></p>
<p><span>Dimensions</span><strong><i class="fa fa-fw fa-arrows-alt-h"></i> <%= board.size.length %>mm <i class="fa fa-fw fa-arrows-alt-v"></i> <%= board.size.width %>mm</strong></p>
<h3>Power</h3>
<p><span>Operating voltage</span><strong><%= app.formatArray(board.voltage, 'v', '/') %></strong></p>
<p><span>Power supply</span><strong><%= app.formatArray(board.powerSupply, 'v', '—') %></strong></p>
<p><span>Current usage (normal)</span><strong><%= app.formatArray(board.currentUsage.normal, 'mA', '—') %></strong></p>
<p><span>Current usage (deep sleep)</span><strong><%= app.formatArray(board.currentUsage.deepSleep, 'mA', '—') %></strong></p>
</div>
<div class="col-md-3">
<h3>Input/Output</h3>
<p><span>Digital I/O pins</span><strong><%= board.pins.digital %></strong></p>
<p><span>Digital I/O pins with PWM</span><strong><%= board.pins.pwm %></strong></p>
<p><span>Analog input pins</span><strong><%= board.pins.analog %></strong></p>
<p><span>SPI <i class="fa fa-question-circle" title="Serial Peripheral Interface"></i></span><strong><%= board.pins.spi %></strong></p>
<p><span>I²C <i class="fa fa-question-circle" title="Inter-Integrated Circuit"></i></span><strong><%= board.pins.i2c %></strong></p>
<p><span>I²S <i class="fa fa-question-circle" title="Integrated Interchip Sound"></i></span><strong><%= board.pins.i2s %></strong></p>
<p><span>UART <i class="fa fa-question-circle" title="Universal Asynchronous Receiver-Transmitter"></i></span><strong><%= board.pins.uart %></strong></p>
<p><span>Max. current per pin</span><strong><%= board.pins.maxCurrent %>mA</strong></p>
</div>
<div class="col-md-3">
<h3>Memory</h3>
<p><span>Flash</span><strong><%= app.formatBytes(board.memory.flash) %></strong></p>
<p><span>SRAM</span><strong><%= app.formatBytes(board.memory.sram) %></strong></p>
<p><span>EEPROM</span><strong><%= app.formatBytes(board.memory.eeprom) %></strong></p>
<h3>Processing</h3>
<p><span>Cores</span><strong><%= board.cpu.cores %> <i class="fa fa-microchip"></i></strong></p>
<p><span>Clock</span><strong><%= app.formatArray(board.cpu.clock, 'MHz', '/', 0.001) %></strong></p>
</div>
<div class="col-md-3">
<h3>Extra features</h3>
<p><i class="fa fa-fw <%= board.features.wifi ? 'fa-check' : 'fa-times' %>"></i> WiFi</p>
<p><i class="fa fa-fw <%= board.features.bluetooth ? 'fa-check' : 'fa-times' %>"></i> Bluetooth</p>
<p><i class="fa fa-fw <%= board.features.can ? 'fa-check' : 'fa-times' %>"></i> CAN bus</p>
<p><i class="fa fa-fw <%= board.features.ethernet ? 'fa-check' : 'fa-times' %>"></i> Ethernet</p>
<p><i class="fa fa-fw <%= board.features.hall ? 'fa-check' : 'fa-times' %>"></i> Hall-effect sensor</p>
<p><i class="fa fa-fw <%= board.features.touch ? 'fa-check' : 'fa-times' %>"></i> Touch sensor</p>
<p><i class="fa fa-fw <%= board.features.temperature ? 'fa-check' : 'fa-times' %>"></i> Temperature sensor</p>
<p><i class="fa fa-fw <%= board.features.powerJack ? 'fa-check' : 'fa-times' %>"></i> Power jack</p>
<p><i class="fa fa-fw <%= board.features.usbConnector ? 'fa-check' : 'fa-times' %>"></i> USB connector</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="page-compare">
<div class="container py-1">
<div class="m-3">
<h2><a href="#/start">Boards</a> <i class="fa fa-angle-right"></i> Compare boards</h2>
<div class="comparator">
<div class="row">
<div class="col-md-4">
<div class="comparator-slot slot-1 js-slot"></div>
</div>
<div class="col-md-4">
<div class="comparator-slot slot-2 js-slot"></div>
</div>
<div class="col-md-4">
<div class="comparator-slot slot-3 js-slot"></div>
</div>
</div>
<div class="placeholder"></div>
</div>
</div>
</div>
</script>
<script type="text/template" id="page-error">
<div class="container py-1">
<div class="m-3">
<h2>Not found</h2>
</div>
</div>
</script>
<!-- Scripts -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.10.2/underscore-min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/marked/1.1.1/marked.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.5.2/velocity.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.5.2/velocity.ui.min.js"></script>
<script type="text/javascript" src="assets/scripts/class.js"></script>
<script type="text/javascript" src="assets/scripts/app.js"></script>
</body>
</html>