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
270
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
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
4
170
なぜ私はいま、ここにいるのか? #もがく中堅デザイナー #プロダクトデザイナー
bengo4com
0
1.3k
Witchcraft for Memory
pocke
1
660
PHP開発者のためのSOLID原則再入門 #phpcon / PHP Conference Japan 2025
shogogg
4
930
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
150
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.6k
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
4
3.4k
本が全く読めなかった過去の自分へ
genshun9
0
710
怖くない!はじめてのClaude Code
shinya337
0
300
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
5
590
Delegating the chores of authenticating users to Keycloak
ahus1
0
130
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
940
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Building Adaptive Systems
keathley
43
2.6k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Unsuck your backbone
ammeep
671
58k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Adopting Sorbet at Scale
ufuk
77
9.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
RailsConf 2023
tenderlove
30
1.1k
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