單片機(jī)作為一種微型計(jì)算機(jī),其內(nèi)部具有一定的存儲單元(8031除外),但由于其內(nèi)部存儲單元及端口有限,很多情況下難以滿足實(shí)際需求。為此介紹一種新的擴(kuò)展方法,將數(shù)據(jù)線與地址線合并使用,通過軟件控制的方法實(shí)現(xiàn)數(shù)據(jù)線與地址線功能的分時(shí)轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實(shí)現(xiàn)單片機(jī)與存儲器件的有效連接。以單片機(jī)片外256KB數(shù)據(jù)存儲空間的擴(kuò)展為例,通過該擴(kuò)展方法,僅用10個(gè)I/O端口便可實(shí)現(xiàn),與傳統(tǒng)的擴(kuò)展方法相比,可節(jié)約8個(gè)I/O端口。
Abstract:
As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
標(biāo)簽:
單片機(jī)
P0口
數(shù)據(jù)存儲器
擴(kuò)展
上傳時(shí)間:
2014-12-26
上傳用戶:adada
為提高溫度測量效率,降低系統(tǒng)的成本,擴(kuò)展傳輸距離,設(shè)計(jì)出一種新型溫度采集系統(tǒng)。單片機(jī)通過控制具有單總線方式的溫度傳感器DS18B20實(shí)現(xiàn)對溫度的測量,同時(shí)單片機(jī)通過控制具有單總線方式300~450MHz頻率范圍內(nèi)的MAX7044與MAX7033無線發(fā)射與接收芯片實(shí)現(xiàn)溫度數(shù)據(jù)的無線傳輸。與傳統(tǒng)溫度采集系統(tǒng)相比,該系統(tǒng)利用單總線方式連接,采用無線傳輸方式實(shí)現(xiàn)遠(yuǎn)距離通信,易于系統(tǒng)的集成與擴(kuò)展。實(shí)驗(yàn)結(jié)果表明,該系統(tǒng)結(jié)構(gòu)簡單、方便移植,能夠同時(shí)實(shí)現(xiàn)多達(dá)上百點(diǎn)溫度的測量與500m范圍的傳輸。
Abstract:
To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
標(biāo)簽:
單總線
無線溫度
采集
系統(tǒng)設(shè)計(jì)
上傳時(shí)間:
2013-10-29
上傳用戶:515414293