Workshop 01 Light the light

subtitle: 硬嗑一波程式

課程內容:

  • 課程介紹、一般問答
  • 數位製造介紹
  • Arduino 程式設計簡介
  • 程式開發環境設定
  • 第一支程式
  • 本周作業

課程介紹:

參考書:

*初學Arduino完全指南

*超圖解 Arduino互動設計入門

*Prototyping Lab:「邊做邊學」,Arduino的運用實例

參考網址:

葉難:http://yehnan.blogspot.com/search/label/Arduino%E6%96%87%E7%AB%A0%E5%88%97%E8%A1%A8

cooper maa:http://coopermaa2nd.blogspot.com/2011/05/arduino.html

數位製造介紹

教材內容

Arduino Uno板(USB cable)

220 ohm電阻*5

LED R/G/B *3

溫溼度感測器 *1

可變電阻 10k *1

微動開關 *1

蜂鳴器 *1

超音波測距 *1

藍芽模組 *1

紅外線接收器/紅外線發射器 *1

伺服馬達 *1

LCD螢幕組 *1

盒子 *1

Arduino簡介

程式開發環境設定

https://www.arduino.cc/en/Main/Software

第一支程式

開啟檔案->範例-> 01.Basic -> Blink.ino

setup(){}

loop(){}

pinMode()、digitalWrite()、delay()

HIGH/LOW、OUTPUT

變數設定方法

const byte LEDB01 = 1;

函數製作方法

void LEDoff(){}

第一周進度:

作業上傳位置

檔名格式:mov影片檔

檔名:學號_姓名_ww01.mov

下次上課請準備:

請每個人準備提出自己要做的作品,一個人約十分鐘介紹,格式不拘

results matching ""

    No results matching ""