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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
85
Airplane + Dotenv
motdotla
0
60
Sponsor Dotenv
motdotla
0
34
Dotenv + Netlify
motdotla
0
30
Dotenv + Auth0
motdotla
0
36
Dotenv + WorkOS
motdotla
0
57
Dotenv + Mux
motdotla
0
31
Dotenv + Strapi
motdotla
0
66
Dotenv + Sizzy
motdotla
0
25
Other Decks in Technology
See All in Technology
(Test) ai-meetup slide creation
oikon48
1
310
複数クラスタ運用と検索の高度化:ビズリーチにおけるElastic活用事例 / ElasticON Tokyo2026
visional_engineering_and_design
0
130
vLLM Community Meetup Tokyo #3 オープニングトーク
jpishikawa
0
330
事例に見るスマートファクトリーへの道筋〜工場データをAI Readyにする実践ステップ〜
hamadakoji
1
300
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
4
1.2k
8万デプロイ
iwamot
PRO
2
230
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
360
OCI技術資料 : コンピュート・サービス 概要
ocise
4
54k
IBM Bobを使って、PostgreSQLのToDoアプリをDb2へ変換してみよう/202603_Dojo_Bob
mayumihirano
1
320
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.2k
AWSの資格って役に立つの?
tk3fftk
1
230
聲の形にみるアクセシビリティ
tomokusaba
0
170
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Mind Mapping
helmedeiros
PRO
1
120
New Earth Scene 8
popppiees
1
1.7k
Music & Morning Musume
bryan
47
7.1k
It's Worth the Effort
3n
188
29k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
350
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
630
The Cult of Friendly URLs
andyhume
79
6.8k
Building Applications with DynamoDB
mza
96
7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
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