Arduino with 網樂通 - Linux

Table of Contents


網頁版: http://goo.gl/5WtEVU


影片:
https://www.youtube.com/watch?v=KVHxe-LeN9I


做法:

1.下載:http://1.34.239.30/wheezy-sh4/kernel_modules_0930.tgz
wget http://1.34.239.30/wheezy-sh4/kernel_modules_0930.tgz
(歡迎自行分流)

2. 解開tgz檔
tar -xvzf kernel_modules_0930.tgz
cd arduino_modules (進入解開的資料夾裡)

3. 將裡面的vmlinux.ub 替換你現在的vmlinux.ub
cp /vmlinux.ub /vmlinux.ub.bk
cp vmlinux.ub /

4. 將2.6.32.59_stm24_0211-PDK7105-32BITS.tgz解開, 並複製到/lib/modules
tar -xvzf 2.6.32.59_stm24_0211-PDK7105-32BITS.tgz -C /lib/modules/

5. 建立modules dep file
depmod -a

6. 載入cdc_acm.ko
modprobe cdc_acm

7. 插入Arduino usb, 應該就可以看到/dev/ttyACM0了

如果想要開機自動載入cdc_acm.ko
可以將cdc_acm 加入到/etc/modules 裡面
echo "cdc_acm" >> /etc/modules



===
網樂通可以使用Arduino之後, 就可以讓Arduino連上網路

藉由網路來做自動控制相關的應用囉~~

大家快來玩, 一起發表好玩又有創意的應用吧!!!!

有任何問題, 都可以站內信or E-mail到 [email protected] 唷!!


--

All Comments

Heather avatarHeather2013-10-03