使用 Scratchbot 來連結 Arduino

Scratchbot 是一套基於 MIT Media Lab Scratch 2.0 的圖形化開發工具,可以減低 Arduino 的入門門檻。
Scratchbot 官方網站:http://scratchbot.cc/
[@more@]
下載

執行下載下來的程式

安裝畫面,程式需要先行安裝 Adobe AIR

Adobe AIR 安裝畫面

安裝過程

安裝完畢,程式會自動執行

可以連接 Arduino 的地方在電子模塊,因為還未連接 Arduino,所以會出現紅燈

桌面上也會出現 Scratchbot

將 Scratchbot 的韌體載入到 Arduino 電路板
選擇 File開啟

Scratchbot 韌體路徑 C:Program FilesScratchbotfirmware 目錄之下
選擇 firmware.ino 然後選擇 開啟

開啟的畫面,請確認 Arduino 有連結到正確的 COM Port

選擇 上傳

上傳完畢會出現 Done uploading.

開啟 Scratchbot
選擇 連接 / COM4(請選擇您的連接 COM Port)

選擇 連接 / Arduino UNO

選擇 電子模塊,就會出現 綠燈

在 Zorin 9 上安裝 Chromium 瀏覽器

 Zorin 9 是以 Firefox 為預設的瀏覽器,如果要使用 Chromium 瀏覽器則要另外安裝
[@more@]安裝 Chromium 瀏覽器
$ sudo apt-get install chromium-browser

但安裝完成預設還是不能觀看含有 Flash 網頁

安裝 pepperflashplugin-nonfree 套件就可以解決問題了!
$ sudo apt-get install pepperflashplugin-nonfree

Zorin 9 試用

Zorin 9 Educational 版本安裝的套件很齊全,一般在其它 Linux 很少預載的軟體也都有了,安裝完成幾乎不用在安裝什麼軟體,非常方便,大概只有在 EzGo 光碟中才會看到。
底下列出在功能表中安裝的軟體
影音功能表
[@more@]教育 – Scratch / Tux Math / Tux Typing ..

科學 – 星座軟體 / 化學 ..

系統工具 – Zorin Look Changer / Zorin Theme Changer ..

網際網路 – Firefox…

美工繪圖 – GIMP / Inkscape / FreeCAD …

軟體開發 – Scratch ..

辦公 – LibreOffice / E-Book …

遊戲

附屬應用

預先安裝 OpenJDK 7
$ /usr/bin/java -version
java version “1.7.0_55”
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK Client VM (build 24.51-b03, mixed mode, sharing)

Firefox 觀看 Flash 網頁也沒有問題

整個看了一下,一時之間也找不到還缺什麼軟體,我只安裝了 vim / gcin / filezilla,移除了 ibus 而已。
移除 ibus
$ sudo apt-get remove –purge gir1.2-ibus-1.0 ibus ibus-chewing ibus-gtk ibus-gtk3 ibus-pinyin ibus-table ibus-table-cangjie3 ibus-table-cangjie5 ibus-table-quick-classic libibus-1.0-5

清除不再需要的套件
$ sudo apt-get autoremov

安裝 vim / gcin
$ sudo apt-get install vim gcin im-switch

將預設輸入法框架改成 gcin
$ im-switch
/usr/lib/im-switch/im-switch: 109: /usr/lib/im-switch/im-switch: /usr/sbin/update-alternatives: not found
Input Method Switcher                     im-switch Version: 1.23ubuntu1
  Selection    Input Method Candidates for /home/test/.xinput.d/zh_TW:
  ——————————————————————
      1        default
      2        default-xim
      3        gcin
      4        lo-gtk
      5        none
      6        th-gtk
      7        th-xim
System wide default for zh_TW (or all_ALL) locale is marked with [+].
Type “REMOVE” to remove user selection to enable system default.
Press enter to keep the current selection[*], or type selection number: 3

Please read /usr/share/doc/im-switch/README.Debian.gz .
Please restart the X session to activate the selected Input Method.

$ im-switch -s gcin

重新啟動電腦

Zorin 9 試裝

Zorin OS 也是一套 base on Ubuntu 的 Linux Distribution,是基於 Ubuntu 14 的版本,它在介面上模擬了 Windows 的感覺,為了讓使用者能更快熟悉系統,也預設安裝了 wine。

Zorin 官方網站:http://zorin-os.com/

Zorin OS – 維基百科,自由的百科全書[@more@]目前 Zorin OS Linux 在 DistroWatch.com 的排名為第 9

目前最新的版本是 9,有分成 Core / Educational / Lite / Educational Lite 四個版本
選擇 Get it / Free

這裡下載的是 for Educational 的版本

光碟開機畫面

可以先行試用或直接安裝到硬碟

改成 中文(繁體),並選擇 安裝 Zorin

勾選 當安裝時下載更新,並按 繼續

選擇 清除磁碟並安裝 Zorin,並按 立刻安裝(I)

時區設定,並按 繼續

帳號及密碼設定,並按 繼續

鍵盤設定,並按 繼續

開始進行安裝

畫面會出現類似 Mac OS X / openSUS 安裝時會出現多國語言的歡迎畫面


安裝完成,立即重新啟動

重新開機的開機選項

桌面

選單功能表

Banana Pi 測試 – Gentoo Linux 篇

Gentoo Wiki
http://wiki.gentoo.org/wiki/Main_Page

更新套件庫
$ su –
# emerge –sync

搜尋套件
# emerge –search pdf

# emerge –search mlocate
Searching…
[ Results for search key : mlocate ]
[ Applications found : 1 ]

*  sys-apps/mlocate
      Latest version available: 0.26-r1
      Latest version installed: [ Not Installed ]
      Size of files: 350 kB
      Homepage:      https://fedorahosted.org/mlocate/
      Description:   Merging locate is an utility to index and quickly search for files
      License:       GPL-2

安裝套件
# emerge mlocate
Calculating dependencies |