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
Arduino with Javascript
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mot
February 06, 2012
Technology
2
520
Arduino with Javascript
Turning a light on and off using arduino and javascript.
Mot
February 06, 2012
Tweet
Share
More Decks by Mot
See All by Mot
OSS Capital + Dotenv
motdotla
0
83
Airplane + Dotenv
motdotla
0
60
Sponsor Dotenv
motdotla
0
31
Dotenv + Netlify
motdotla
0
30
Dotenv + Auth0
motdotla
0
36
Dotenv + WorkOS
motdotla
0
54
Dotenv + Mux
motdotla
0
31
Dotenv + Strapi
motdotla
0
65
Dotenv + Sizzy
motdotla
0
25
Other Decks in Technology
See All in Technology
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
590
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
290
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
67k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.3k
Amazon Bedrock AgentCore 認証・認可入門
hironobuiga
3
520
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
320
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
200
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
170
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
400
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
90
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
エンジニアに許された特別な時間の終わり
watany
106
230k
The Curious Case for Waylosing
cassininazir
0
230
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
Utilizing Notion as your number one productivity tool
mfonobong
2
210
How to make the Groovebox
asonas
2
1.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How STYLIGHT went responsive
nonsquared
100
6k
Rails Girls Zürich Keynote
gr2m
96
14k
HDC tutorial
michielstock
1
360
Transcript
Arduino with Javascript Turning a light on and off using
arduino and javascript. Monday, February 6, 2012
Requirements • An Arduino board • Arduino software installed to
your machine • node.js and npm installed to your machine Monday, February 6, 2012
Upload du.ino • https://gist.github.com/1756810 • Upload the above du.ino sketch
to your Arduino board. It is written in C++ and will live on the board. Monday, February 6, 2012
duino_example.js • Create a file named duino_example.js somewhere on your
machine. • Paste the following gist: https:// gist.github.com/1756829 • npm install serialport • node duino_example.js Monday, February 6, 2012
duino_express.js • Create a file named duino_express.js somewhere on your
machine. • Paste the following gist: https:// gist.github.com/1756868 • npm install express • node duino_express.js • Visit http://localhost:3000 Monday, February 6, 2012
Next Steps • Visit https://github.com/scottmotte/ arduino_with_javascript • Visit https://github.com/ecto/duino to
learn more. • Visit https://github.com/voodootikigod/node- serialport • If you have trouble on your Arduino try adjusting the baud_rate defined in du.ino. I changed mine to 9600 in du.ino. Monday, February 6, 2012