【正文】
mental testing of the CAN bus lighting control system. In this paper a detailed introduction master and slave node of the CAN bus ,hardware and software design principles, the principle of CAN bus munication, the formulation of the CAN bus application layer protocol, SD card storage technology, TFT color display, touch screen technology and other practicalfriendly TFT LCD is one of the most wonderful of this the design,we simulate industrial control process flow diagram of the bus involved in the process, light equipment, boards, carefully drawing then make the control system more clear image and vivid. Advanced and convenient touchscreen input technology are the second highlights in the it apply a convenient input to the third highlights is that Light equipment offline detection. So We use from time to time ask, from the node offline detection. In short, in this design, the master node to multiple remote setup and monitoring functions of light equipment from the node offline detection, run munication indicator, updated in real time slave node With independent settings, control the function of the lamp device of the node from the node. The overall system is reliable, normal munication, the munication congestion, crashes and so on. And develop system software and hardware with a certain significance of application to achieve effective control of the lighting equipment. Keyword: CAN bus; node; Lighting control; TFT; Touch screen technology; SD card 廣西科技大學(xué) (籌 )畢業(yè)設(shè)計(jì)論文 目錄 III 目錄 摘 要 .......................................................................................................................................... ABSTRACT .................................................................................................................................... II 1 緒論 ...................................................................................................................................... 1 課題背景 ........................................................................................................................ 1 現(xiàn)場(chǎng)總線的技術(shù)特點(diǎn)和現(xiàn)狀 ........................................................................................ 1 課題的提出及意義 ........................................................................................................ 2 2 系統(tǒng)設(shè)計(jì) .............................................................................................................................. 3 設(shè)計(jì)要求 ........................................................................................................................ 3 總體設(shè)計(jì)方案 ................................................................................................................ 3 設(shè)計(jì)思路 ................................................................................................................. 3 方案論證與比較 ..................................................................................................... 4 主控制器 ......................................................................................................... 4 CAN 控制器選擇 .............................................................................................. 4 CAN 收發(fā)器 ...................................................................................................... 5 CAN 通信電纜 .................................................................................................. 5 系統(tǒng)結(jié)構(gòu)框圖 ......................................................................................................... 5 3 硬件設(shè)計(jì) .............................................................................................................................. 7 系統(tǒng)硬件結(jié)構(gòu) ................................................................................................................ 7 系統(tǒng)單元電路設(shè)計(jì) ........................................................................................................ 8 主節(jié)點(diǎn)單元電路設(shè)計(jì) ............................................................................................. 8 ARM7 最小系統(tǒng)設(shè)計(jì) ........................................................................................ 8 TFT 彩屏電路設(shè)計(jì) .......................................................................................... 9 SD 卡接口電路設(shè)計(jì) ...................................................................................... 10 CAN 總線電路設(shè)計(jì) ........................................................................................ 10 蜂鳴器及 ISP 下載選擇電路設(shè)計(jì) ............................................................... 12 鍵盤電路設(shè)計(jì) ............................................................................................... 13 電源電路設(shè)計(jì) ............................................................................................... 13 串口通信電路設(shè)計(jì) ....................................................................................... 14 從節(jié)點(diǎn)單元電路設(shè)計(jì) ........................................................................................... 14 單片機(jī)最小系統(tǒng)設(shè)計(jì) ................................................................................... 14 液晶接口電路設(shè)計(jì) ....................................................................................... 16 CAN 總線電路設(shè)計(jì) ........................................................................................ 18 鍵盤電路設(shè)計(jì) ............................................................................................... 21 串口通信電路設(shè)計(jì) ....................................................................................... 22 4 軟件設(shè)計(jì) ............................................................................................................................ 23 系統(tǒng)軟件結(jié)構(gòu) .............................................................................................................. 23 主節(jié)點(diǎn)軟件結(jié)構(gòu) ...................................................................................................