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
530
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arduino with Javascript
Turning a light on and off using arduino and javascript.
Mot
February 06, 2012
More Decks by Mot
See All by Mot
OSS Capital + Dotenv
motdotla
0
110
Airplane + Dotenv
motdotla
0
70
Sponsor Dotenv
motdotla
0
45
Dotenv + Netlify
motdotla
0
41
Dotenv + Auth0
motdotla
0
43
Dotenv + WorkOS
motdotla
0
91
Dotenv + Mux
motdotla
0
44
Dotenv + Strapi
motdotla
0
81
Dotenv + Sizzy
motdotla
0
37
Other Decks in Technology
See All in Technology
AI-DLCって実際どう? 〜聞きたいこと全部聞いてみる〜
news_it_enj
0
240
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
0
850
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
280
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
340
プロダクト思考 × 基盤思考を AIで実現する Compound Engineering
tkc66buzz
1
290
現場に行くだけでは足りない——プロダクトエンジニアが業務の流れを捉える観点と、その鍛え方
takumiengineering
0
330
Bet AI Day 2026丨Production-Ready AI Agents — エンタープライズの実務を任せるための設計と運用
layerx
PRO
4
2.6k
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
2
370
AIとペアプロを始める。人とのペアプロをやめる。ペアプロの良さを改めて知る。もっと好きになった。 / Rediscovering Pair Programming
honyanya
1
290
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
230
コスト最適化の「めんどくさい」を AWS FinOps Agent でチョット楽にする
classmethod_kaz
0
280
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
120
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
520
A Tale of Four Properties
chriscoyier
163
24k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
400
Paper Plane (Part 1)
katiecoart
PRO
1
11k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
How to Ace a Technical Interview
jacobian
281
24k
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