2015年4月5日 星期日

Raspberry Pi Camera module introduction

http://elinux.org/Rpi_Camera_Module



  • Sensor type: OmniVision OV5647 Color CMOS QSXGA (5-megapixel)

"flat flex" cable (FFC, 1mm pitch, 15 conductor, type B contacts, Molex 21039-0843,

tiny connector (Hirose DF30 series, part DF30FC-24DP-0.4V)

  • Video: 1080p at 30 fps with codec H.264 (AVC)
  • 改裝

OV5647

2010 年 2 月 annouce
- 五百萬像素
- 低照度感光效果( 680-mV/lux-sec )
- 720p 60 fps or 1080p 30 fps

product feature : http://www.ovt.com/uploads/parts/OV5647.pdf



2015年4月3日 星期五

Raspberry Pi : 鍵盤設定

發現如果不更改鍵盤設定,  pipe | 符號 打不出來..

一開始沒 config 好. 重新 config :

$ sudo raspi-config

- Generic 105-Key

layout : Others

- English (US)

Compose Key : No compose key

Key to function as AltGr : Both Alt keys

是否可以用 Control + Alt + Backspace 來離開 x Server : Yes





Raspberry Pi : Camera

0. Raspberry Pi Camera module introduction



1. 安裝 camera module, 可以參考這段影片

http://www.raspberrypi.org/help/camera-module-setup/




2. 更新 apt

     $ sudo apt-get update

     $ sudo apt-get upgrade


3. 打開攝影機

     $ sudo raspi-config



4. raspivid


raspivid -o vid.h264

簡單測試, 會有 5 sec. 


5. 安裝 VLC

    $ sudo apt-get install vlc

6. raspivid -o - -t 0 -hf -w 1080 -h 720 -fps 24 | cvlc -vvv stream:///dev/stdin --sout '#standard{access=http, mux=ts, dst=:8160}' :demux=h264

7. 在 PC 端, 安裝 vlc, 並用 vlc 的 open network , 輸入 URL 

     http://樹莓派的IP:8160/



8. 相關畫面

     720p 畫面還算清晰. 如果是 fps 24 還可以(1到2秒 delay), 
     fps 30 時畫面會有毀損.. 


2015年4月1日 星期三

Raspberry Pi : 安裝 Raspbian

1. Raspbian




or



2.  SD card

     $ diskutil list

/dev/disk2
   #:                       TYPE NAME                                 SIZE           IDENTIFIER
   0:     FDisk_partition_scheme                        *15.9 GB        disk2

   1:             Windows_FAT_32 NO NAME          15.9 GB        disk2s1


3.  寫入 image

$ sudo dd if=2015-02-16-raspbian-wheezy.img of=/dev/disk2 bs=1m

如果出現

dd: /dev/disk2: Resource busy

表示 Finder 可能開啟, 關閉所有 Finder, 並執行

$sudo diskutil umount "/Volumes/NO NAME"

燒錄時沒有任何訊息, 要耐心等候, 約 二十多分鐘

3125+0 records in
3125+0 records out
3276800000 bytes transferred in 1503.801059 secs (2179012 bytes/sec)

4. 燒好之後, 放進 Raspberry Pi SD 插槽 (背面)

5. 插上 電源, USB keyboard, USB mouse, HDMI 輸出, 網路線, 

6. 開機


帳號 : pi
密碼 : raspberry 

7. 進入後 $startx , 就可以看到圖形介面


2014年12月7日 星期日

仿真機器人 - Geminoid-F





這是大阪大學教授 石黑浩 (Hiroshi Ishiguro) 科學家所製作.

http://www.geminoid.jp/en/index.html





2010年時, 實驗室和 日本 Kokoro 公司一起合作開發. 針對遠距通訊控制研究發表.

從一位真實的日俄混血女性模特兒的二十歲容貌所取材製作. 有黑色的長頭髮.

身高 165 cm , 坐下時 95 cm, 肩寬 38 cm

Power: External control system.
              Air-flow control valves to drive pneumatic actuators
              an air compressor
              DC power source to control electrical motors

Actuators: 12 pneumatic actuators

沒有處理器, 所以沒有自主能力, 用的是遠距通訊軟體

自由度: 12個、頭部11個、加上身體1個

以形狀記憶矽膠製作,膚色和真人相似度極高, 觸感柔軟,並且可做出65種面部表情


2010 年展示時, 在另一端坐著一位真人, 機器人會跟著真人一起做動作. 並且微笑

當時一台售價一千萬日圓.














 



2012 年 情人節, 在等待男朋友 ( 不知道等到了沒 )




2014年5月, 當高島屋大阪店的浴衣販售員





另外, 有人說- Android-F , 是她的表姐妹, 不是她, 查證中..


石黑研究室

( 原來 2013年 石黑浩 還有來交大演講
   https://www.facebook.com/nctusts/photos/a.305075782857586.77386.155980331100466/630095290355632/?type=1  )


http://eng.irl.sys.es.osaka-u.ac.jp/ 

http://www.geminoid.jp/en/robots.html


写真提供 大阪大学
Photo Credit: Osaka University

大阪大学とATRが開発したジェミノイドF
Geminoid F developed by Osaka University and ATR


2014年12月6日 星期六

仿真機器人 - HRP-4C


HRP-4C

2011




arduino team - Ivrea - 伊夫雷亞


羅馬向北飛行兩個小時後, 可以看到伊夫雷亞小鎮.

http://en.wikipedia.org/wiki/Ivrea




鎮上有一所設計互動學院, Interaction Design Institute Ivrea (IDII)

這裏是 Arduino 的發源地

http://en.wikipedia.org/wiki/Interaction_Design_Institute_Ivrea



Arduino team 的主要成員有 :  ( 照片由左到右 )

David Cuartielles :

    1974年出生, 是西班牙籍晶片工程師,當時在這所學校做訪問學者, 目前是瑞典大學教授.

Gianluca Martino :

    1973年出生,

Massimo Banzi :
    1968年出生, 是 IDII 的老師.

Tom Igoe :

    美國 紐約大學 物理計算 (Physical computing) 教授

David Mellis