[[PageOutline]] = 聯絡方式 = * 姓名:鄧偉華 * wade 在 ncnc 點 org 點 tw = Group = * [http://www.facebook.com/#!/groups/192958837422233?ap=1 靜宜、大葉、彰師大「智慧感知與互動技術」聯合實驗室]:「本社團由靜宜資工、大葉資工、彰師電子、啟​暘科技公司及國家高速網路與計算中心共同成立,是結合「產、學、​研」人員的交流、合作平台。」。 * http://lca2011.linux.org.au/wiki/Miniconfs/ArduinoMiniconf = Arduino 教學 = 從無到有 Arduino 程式,只需簡單的邏輯概念。一塊 arduino 開發板,一條 USB A-B type 連接線,一些 LED 、單蕊線、sensor 即可開發簡易互動元件。 * 電表。 * vista 64bit 無法正常驅動 * DIP SWITCH 解 LED = 簡介 = * 一般 MCU 開發 * 開發板昂貴。 * 程式撰寫不易。 * 使用 Arduino 的差異 * 開放硬體架構。 * 簡易程式撰寫,類似 C ,使用 AVR-GCC。 * 價格便宜。 = 程式架構 = * setup * loop = 模組及應用 = * 中斷(interrupt):http://www.codeproject.com/KB/system/Arduino_interrupts.aspx * digital I/O * analog I/O * XBee: * Topology 建立。 * 偵測網內 node。 * 紅外線: * 37.5K 38.5K,每個長度為 1/38K(s) 6-7(hi) 2-3(low) 先用 76K 試做,產生 flip-flop。上示波器。或用 78P153 * RS232: * Ethernet W5100。 * client 對 service 發出 http request,解析 header 後,再做對應處理。 * 各式 Sensor: * 接受資料。 * 繼電器 Relay: * LED 陣列 Dot Matrix: * 基本電路檢測及連接。 * SI/O 在 74HC595 上應用: * 了解 seril I/O 運作原理。 = 相容版 = * [http://themakersworkbench.com/?q=node%2F421 ChipKIT Uno32 and Max32] = 程式範例 = 1. [wiki:wade/embedded/arduino/example/example_1 三顆 LED 輪流閃爍] 1. [wiki:wade/embedded/arduino/example/example_2 由 Arduino 對 serial 寫入資料] 1. [wiki:wade/embedded/arduino/example/example_3 由 16 個 digital pins 控制 8*8 矩陣式 LED Matrix] 1. [wiki:wade/embedded/arduino/example/example_3-1 由 11 個 digital pins 及 74138 控制 8*8 矩陣式 LED Matrix] 1. [wiki:wade/embedded/arduino/example/example_3-2 由 12 個 digital pins 控制 5*7 矩陣式 LED Matrix] 1. [wiki:wade/embedded/arduino/example/example_3-3 由 3 個 digital pins 及控制 8*8 矩陣式 LED Matrix] 1. [wiki:wade/embedded/arduino/example/example_4 Arduino 由 XBee 接收資料] 1. [wiki:wade/embedded/arduino/example/example_5 smart socket 初版] 1. [wiki:wade/embedded/arduino/example/example_6_XBee_led_matrix_74HC595 透過 XBee 控制 arduino 上的 I/O。] 1. [wiki:wade/embedded/arduino/example/example_7_ethernet_RS232 網路傳輸] 1. [wiki:wade/embedded/arduino/example/example_7_1_ethernet_web_admin arduio web admin 控制介面] 1. [wiki:wade/embedded/arduino/example/example_8_Xbee_Xbee_ATcommand ARDUINO 透過 UART 直接修改 XBee 設定,P to P 模式。] 1. [wiki:wade/embedded/arduino/example/example_8_1_Xbee_Server_broadcast arduino Server 以 brocase 發送不同命令。] 1. [wiki:wade/embedded/arduino/example/example_8_2_Xbee_ClientA_broadcast arduino ClientA 接收命令,執行命令,回應 Server。] 1. [wiki:wade/embedded/arduino/example/example_8_2_Xbee_ClientB_broadcast arduino ClientB 接收命令,執行命令,回應 Server。] 1. [wiki:wade/embedded/arduino/example/example_9_16key_detect 使用 1 個 pin 解出 16 keys] 1. [wiki:wade/embedded/arduino/example/example_10_1_IR 紅外線收發] = 問題 = * 在 ubuntu 8.10 板上會有 avr-gcc 板子太舊支援問題。ubuntu 新板本就無此問題。 = 相關連結 = * [http://letsmakerobots.com/node/26839 android(ADK) 與 arduino + USB host shield 連結]