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
82
Airplane + Dotenv
motdotla
0
58
Sponsor Dotenv
motdotla
0
22
Dotenv + Netlify
motdotla
0
29
Dotenv + Auth0
motdotla
0
32
Dotenv + WorkOS
motdotla
0
52
Dotenv + Mux
motdotla
0
26
Dotenv + Strapi
motdotla
0
64
Dotenv + Sizzy
motdotla
0
24
Other Decks in Technology
See All in Technology
adk-samples に学ぶデータ分析 LLM エージェント開発
na0
3
290
LINEスキマニ/LINEバイトにおけるバックエンド開発
lycorptech_jp
PRO
0
350
LINEギフト・LINEコマース領域の開発
lycorptech_jp
PRO
0
350
はじめての OSS コントリビューション 〜小さな PR が世界を変える〜
chiroito
4
350
Building AI Applications with Java, LLMs, and Spring AI
thomasvitale
1
230
Axon Frameworkのイベントストアを独自拡張した話
zozotech
PRO
0
220
Android Studio Otter の最新 Gemini 機能 / Latest Gemini features in Android Studio Otter
yanzm
0
120
現地速報!Microsoft Ignite 2025 M365 Copilotアップデートレポート
kasada
2
1.5k
【M3】攻めのセキュリティの実践!プロアクティブなセキュリティ対策の実践事例
axelmizu
0
180
レガシーで硬直したテーブル設計から変更容易で柔軟なテーブル設計にする
red_frasco
4
510
Error.prototype.stack の今と未来
progfay
1
200
レガシーシステム刷新における TypeSpec スキーマ駆動開発のすゝめ
tsukuha
1
460
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.4k
Making Projects Easy
brettharned
120
6.5k
Building an army of robots
kneath
306
46k
Six Lessons from altMBA
skipperchong
29
4.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
A designer walks into a library…
pauljervisheath
210
24k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Embracing the Ebb and Flow
colly
88
4.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Side Projects
sachag
455
43k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
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