Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Node in small places
Search
Carlos Justiniano
November 16, 2016
Technology
0
280
Node in small places
A look at using NodeJS on $5 Raspberry Pi Zeros. Form my talk at NYCNode Nov 2016
Carlos Justiniano
November 16, 2016
Tweet
Share
More Decks by Carlos Justiniano
See All by Carlos Justiniano
Using Redis to orchestrate cloud-based file transfers at scale
cjus
0
400
Building Light-weight Microservices Using Redis
cjus
3
850
Graphs, GraphDBs and JavaScript
cjus
0
310
Building Microservices using Hydra
cjus
1
340
Node Microservices Using Hydra
cjus
0
140
Other Decks in Technology
See All in Technology
ObsidianをLLM時代のナレッジベースに! クリッピング→Markdown→CLI連携の実践
srvhat09
7
9.7k
【CEDEC2025】現場を理解して実現!ゲーム開発を効率化するWebサービスの開発と、利用促進のための継続的な改善
cygames
PRO
0
370
Railsの限界を超えろ!「家族アルバム みてね」の画像・動画の大規模アップロードを支えるアーキテクチャの変遷
ojima_h
4
520
怖くない!GritQLでBiomeプラグインを作ろうよ
pal4de
1
140
複数のGemini CLIが同時開発する狂気 - Jujutsuが実現するAIエージェント協調の新世界
gunta
13
3.8k
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
160
クマ×共生 HACKATHON - 熊対策を『特別な行動」から「生活の一部」に -
pharaohkj
0
180
「手を動かした者だけが世界を変える」ソフトウェア開発だけではない開発者人生
onishi
15
7.6k
2025-07-25 NOT A HOTEL TECH TALK ━ スマートホーム開発の最前線 ━ SOFTWARE
wakinchan
0
170
AIを使っていい感じにE2Eテストを書けるようになるまで / Trying to Write Good E2E Tests with AI
katawara
3
1.9k
機械学習を「社会実装」するということ 2025年夏版 / Social Implementation of Machine Learning July 2025 Version
moepy_stats
1
1.4k
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
110
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Building Adaptive Systems
keathley
43
2.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
Bash Introduction
62gerente
613
210k
GitHub's CSS Performance
jonrohan
1031
460k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
What's in a price? How to price your products and services
michaelherold
246
12k
Faster Mobile Websites
deanohume
308
31k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Code Reviewing Like a Champion
maltzj
524
40k
Transcript
Node in small places Carlos Justiniano (@cjus - github/twitter)
About me • Carlos Justiniano (@cjus - github/twitter) • First
IoT project in 2001 • Ten years later I learned about NodeJS • Deployed Node applications in production since 2011 • Chief Architect at Flywheel Sports - Note: we're hiring!
Best tweet wins a RaspberryPi kit! #node-loves-pi #nycnode
#node-loves-pi #nycnode
Why SBCs?
How SBCs differ from other computers
None
None
Choosing an SBC
None
No Wifi, no Ethernet Raspberry Pi Zero Raspberry Pi 3
Uses USB based networking Has Ethernet, Wifi and Bluetooth and 4 USB ports Has two microUSB ports
None
Setup!
A bit more hardware… +
Linux for SBCs
None
None
Linux Setup • $ diskutil list • $ diskutil unmountDisk
/dev/disk2 • $ sudo dd if=./2016-05-27-raspbian- jessie-lite.img of=/dev/disk2 https://goo.gl/hhJJRE
Boot time!
Networking • $ ping raspberrypi.local • $ ssh
[email protected]
•
$ scp ftw
[email protected]
/home/pi https://goo.gl/hhJJRE
NodeJS Setup https://goo.gl/hhJJRE
None
$ mkdir nodejs $ cd nodejs/ $ wget https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux- armv6l.tar.xz
$ tar -xvf node-v6.9.1-linux-armv6l.tar.xz $ cd node-v6.9.1-linux-armv6l/ $ sudo cp ./bin/* /usr/local/bin
$ cd ~ $ node --version v6.9.1
None
So what’s next?
Hello World!
None
–@cjus “Playing with single board computers is really cool. Getting
them to communicate with one another is even cooler!”
Connecting SBCs! • $sudo apt-get install {cool-app-name} • Install servers:
nginx, redis, apache etc… • Create bots and connect with anything with a public API • Build messaging applications using rabbitmq, zeromq, MQTT
None
None
None
It’s demo time!
So what else can it do?
None
None
None
None
We’re ready for another demo!
None
The Hydra-Cluster is open sourced! https://github.com/cjus
#node-loves-pi #nycnode @cjus