• 沒有找到結果。

6.1 遭遇困難與解決之道

硬體測試

1. Adam

在此之前我們沒有使用過 Visual Basic MSComm 通訊元件來控制 RS-232 的串列通訊,於是我們找了相關的書籍來看,利用 CommPort 指定所要使用的串列埠的號碼與 RS-232 作通訊,初期家電並沒有任

軟體發展

都能體諒對方,製作過程可以說非常順利,由於我們有如此團結的心,

所以我們對於自己所做出來的專題給予相當大肯定,雖然說我們不見 得是最好的,但是我們都非常盡心盡力的去完成它,看著我們的成果,

我們非常高興也非常欣慰,因為,我們終於完成它了!在此,我們要 再次感謝所有幫助我們的老師、學長和同學,有大家的幫助才能順利 的完成我們的專題。

6.3 系統未來發展

本系統目前是使用 Network Camera,未來可在視訊部分使用支援 一般大樓監視器的系統,可降低所花費的攝影機成本,並且可以多處 置放攝影機來達到完全監控,使其能落實無死角之監控理念。

Adam 控制模組部份,目前只能控制簡單的電器,在增加電器個數 部分較昂貴並且有限。未來可以改用 8051 單晶片來控制,則能控制較 高檔位的電器,如冷氣機等;在增加電器個數部分也較為容易。

遠端操作部分,未來可以改成以 Java Applets 來呈現,使用者可 以直接透過瀏覽器來遙控遠端電器,不必再安裝本系統於 Client 電腦。

參考資料與文獻

[1]范逸之、陳立元、賴俊朋,Visual Basic 與 RS-232 串列通訊控制,

文魁資訊股份有限公司,1999 年 10 月

[2]盧毅,VISUAL BASIC 6 程式設計學習寶典(中文版),碁峯資訊股份 有限公司,1999 年 4 月

[3]廖榮貴研究室編著,Visual Basic 6.0 程式設計入門與實務,文魁資 訊股份有限公司,2001 年

[4]陳徹工作室編著,Visual Basic 6.0 程式設計實務入門,斗魁資訊股 份有限公司,1999 年

[5]洪國勝編著,Visual Basic 6.0 程式設計實務與應用,松崗電腦圖書 資料股份有限公司,1999 年

[6]王國榮,Visual Basic 6.0 實戰講座,旗標出版公司,1999 年 [7] [彼得魯托斯]Evangelos Petroutsos,[哈夫]Kevin Hough 原著,廖

文琪,陳昭元編譯,Visual Basic 6 應用系統開發寶典 進階整合篇,

儒林圖書有限公司,1999 年

[8] [雷米]Dan Rahmel 原著,葉涼川編譯,Visual Basic 6 完全程式設 計手冊,美商麥格羅希爾國際股份有限公司,1999 年

[9]彭明柳編著,Visual Basic 5 徹底研究 入門與進階運用,博碩文化股 份有限公司,1997 年

[10]Evangelos Petroutsos,ActiveX Development with Visual Basic 5,松崗電腦圖書資料股份有限公司,1998 年 2 月

[11]C. R. Wren,A. Azarbayejani,T. J. Darrell,and A. P. Pentland,

“Pfinder:Real-time tracking of the human body,”IEEE Trans.

Pattern Anal. Mach. Intell.,vol. 19,pp. 780-785,July 1997.

[12]C. Stauffer and W. E. L. Grimson,“Learning patterns of activity using real-time tracking,”IEEE Trans. Pattern Anal. Mach.

Intell.,vol. 22,pp. 747-757,Aug. 2000.

[13]R. T. Collins,A. J. Lipton,H. Fujiyoshi,and T. Kanade,

“Algorithms for cooperative multisensor surveillance,”

Proceedings of the IEEE,vol. 89,no. 10, Oct. 2001.

附錄

ADAM-4522

General / isolate RS-422 / 485 Repeater

Isolated / General RS-232 to 422 / 845 converter

Specifications

Power requirement: Unregulated +10~+30 VDC . Module protected from power reversals

Case:ABS with captive mounting hardware

Accessorise (supplied): ABS DIN- rail mounting adapter, SECC panel mounting bracker

Plug- in screw terminal wiring:Accepts AWG1-#14~#22(0.5 to 2.5 mm2)wires

Operating temperature: -10 to 70°C (14 to 158°F) Dimensions: 60mm*120mm(2.36”*4.41”)

Transmission speed (bps):1200, 2400, 4800, 9600, 19.2K, 38.4K, 57.6K, 115.2K, RTP control and RS-4522 mode (switchable)

Isolation voltage:3000VDC(ADAM-4522 only) RS-232 interface connector:Female DB-9

RS422/RS-485 interface connector: Plug-in screw terminal Power consumption:1.2W

Features

Automatic internal RS-485 bus supervision

No external flow control signals required for RS-485 3000VDC isolation protection(ADAM-4520 only) Transient suppression on RS-485 data lines Speed up to 115.2 kbps

Networking up to 4000 feet

Reserved space for termination resistors

Power and data flow indicator for troubleshooting Power requirement: +10 to+30VDC

Mounts easily on a DIN-rail or panel

ADAM-4050

Digital I / O Module

Specifications

Digital Input

Channels:7

Logic level 0:+1 V max.

Logic level 1:+3.5 V ~ +30 V

Pull up current Logic:0.5 mA, 10 K resistor to +5 V

Digital Output Channels:8

Open collector to 30 V , 30 mA max. load Power dissipation:300 mW

Watchdog Timer Built - in:

Power

Power Requirements:+10~+30 VDC( non-regulated ) Power consumption:0.4 W

相關文件