Arduino with 網樂通 - Linux

By Olive
at 2013-10-01T10:05
at 2013-10-01T10:05
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] 唷!!
--
Tags:
Linux
All Comments

By Heather
at 2013-10-03T16:40
at 2013-10-03T16:40
Related Posts
請教兩個新手問題

By Kumar
at 2013-09-30T23:36
at 2013-09-30T23:36
封包無法傳遞出去

By Freda
at 2013-09-30T22:31
at 2013-09-30T22:31
網樂通 kernel 2.6.32.59 upgrade

By Suhail Hany
at 2013-09-30T19:51
at 2013-09-30T19:51
ubuntu 無法安裝

By Tom
at 2013-09-30T19:19
at 2013-09-30T19:19
/lib/modules/ 底下沒有build

By William
at 2013-09-30T18:09
at 2013-09-30T18:09