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
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
80
Airplane + Dotenv
motdotla
0
58
Sponsor Dotenv
motdotla
0
18
Dotenv + Netlify
motdotla
0
25
Dotenv + Auth0
motdotla
0
29
Dotenv + WorkOS
motdotla
0
51
Dotenv + Mux
motdotla
0
25
Dotenv + Strapi
motdotla
0
59
Dotenv + Sizzy
motdotla
0
24
Other Decks in Technology
See All in Technology
初めてAWSを使うときのセキュリティ覚書〜初心者支部編〜
cmusudakeisuke
1
250
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
1
480
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
9
72k
Android Audio: Beyond Winning On It
atsushieno
0
120
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
440
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
160
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
220
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
460
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
20
10k
Agile PBL at New Grads Trainings
kawaguti
PRO
1
430
【実演版】カンファレンス登壇者・スタッフにこそ知ってほしいマイクの使い方 / 大吉祥寺.pm 2025
arthur1
1
840
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.2k
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
525
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Designing for Performance
lara
610
69k
How to Ace a Technical Interview
jacobian
279
23k
Designing Experiences People Love
moore
142
24k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Music & Morning Musume
bryan
46
6.8k
Making Projects Easy
brettharned
117
6.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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