S51編程器制作包:自制AT89S51編程器教程AT89S51芯片的日漸流行,對我們單片機初學者來說是一個大好消息。因為做個AT89S51編程器非常容易,而且串行編程模式更便于做成在線編程器,給頻繁燒片,調(diào)試帶來了巨大的方便。 電路: 只要焊13根線就可以搞定這個電路。基本原理:RST置高電平,然后向單片機串行發(fā)送 編程命令。P1.7(SCK)輸入移位脈沖,P1.6(MISO)串行輸出,P1.5(MOSI)串行輸入(要了解詳細編程原理可以去看AT89S51的數(shù)據(jù)手冊)。使用并口發(fā)出控制信號,74373只是用于信號轉(zhuǎn)換,因為并口直接輸出高電平的電壓有點沒到位,使用其他芯片也可以,還有人提出直接接電阻。并口引腳1控制P1.7,引腳14控制P1.5,引腳15讀P1.6,引腳16控制RST,引腳17接74373 LE(鎖存允許),18-25這些引腳都可以接地。建議在你的單片機系統(tǒng)板上做個6芯的接口。注意:被燒寫的單片機一定是最小系統(tǒng)(單片機已經(jīng)接好電源,晶振,可以運行),VCC,GND是給74373提供電源的。 還有一個方案:使用串口+單片機,這個方案已經(jīng)用了半年了。電路稍微麻煩一點,速度比較快,而且可以燒AT89C51等等。其實許多器件編程原理差不多,由于我沒太多時間研究器件手冊,更沒有MONEY買一堆芯片來測試,所以只實現(xiàn)了幾個最常用單片機編程功能(AT89C51,C52,C55,AT89S51,S52,S53)。如果要燒寫其他單片機,你可以直接編寫底層控制子程序(例如,寫一個單元,讀一個單元,擦除ROM的子程序)。如果有需要,我可以在器件選擇欄提供一個“X-CHIP”的選擇,“X-CHIP”的編程細節(jié)將由用戶自己去實現(xiàn)。當你仔細閱讀器件手冊后,會發(fā)現(xiàn)實現(xiàn)這些子程序其實好容易,這也是初學者學單片機編程的好課題。如果成功了會極大的提高你學單片機的積極性。 軟件: 這個軟件的通信,控制部分早在半年前就完成了,這回只是換了個界面和加入并口下載線的功能,希望你看到這個軟件不會想吐。使用很簡當,有一點特別,當你用鼠標右鍵點擊按鈕后,可以把相關操作設置為自動模式(只有打開文件,擦除芯片,寫FLASH ROM,讀FLASH ROM,效驗數(shù)據(jù) 可以設置),點擊‘自動完成’后會依次完成這些操作,并在開始時檢測芯片。當“打開文件”設為自動后,第2次燒寫同一個文件時不必再去打開文件,軟件會自動刷新緩沖。軟件在WIN XP,WIN 2000可以使用(管理員登陸的),在WIN 98 ,WIN ME使用并口模式時會更快些。這個軟件同時支持串口編程器和并口下載線。操作正常結(jié)束后會有聲音提示。如果沒有聲卡或聲卡爛了,則聲音會從機箱揚聲器中發(fā)出。注意:記得在CMoS設置中把并口設為ECP模式。就這些東西,應該夠詳細吧,還有什么問題或遇到什么困難可以聯(lián)系我,軟件出現(xiàn)什么問題一定要通知我修正。祝你一次就搞定。
上傳時間: 2014-01-24
上傳用戶:13162218709
The PCA9534 is a 16-pin CMoS device that provide 8 bits of General Purpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvements include higher drive capability, 5 V I/O tolerance, lower supply current, individual I/O configuration, 400 kHz clock frequency, and smaller packaging. I/O expanders provide a simple solution when additional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上傳時間: 2013-10-10
上傳用戶:inwins
The PCA9535 and PCA9535C are 24-pin CMoS devices that provide 16 bits of GeneralPurpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and wasdeveloped to enhance the NXP Semiconductors family of I2C-bus I/O expanders. Theimprovements include higher drive capability, 5 V I/O tolerance, lower supply current,individual I/O configuration, and smaller packaging. I/O expanders provide a simplesolution when additional I/O is needed for ACPI power switches, sensors, push buttons,LEDs, fans, etc.
上傳時間: 2013-10-21
上傳用戶:愛死愛死
The PCA9536 is an 8-pin CMoS device that provides 4 bits of General Purpose parallelInput/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed toenhance the NXP Semiconductors family of I2C-bus I/O expanders. I/O expanders providea simple solution when additional I/O is needed for ACPI power switches, sensors,push buttons, LEDs, fans, etc.
上傳時間: 2013-10-09
上傳用戶:731140412
CAT24Cxxx是集E2PROM存儲器, 精確復位控制器和看門狗定時器三種流行功能于一體的芯片。CAT24C161/162(16K),CAT24C081/082(8K),CAT24C041/042(4K)和CAT24C021/022(2K) 主要作為I2C 串行CMoS E2PROM器件,采用先進的CMoS工藝大大降低了器件的功耗。CAT24Cxxx另一特點是16 字節(jié)的頁寫緩沖區(qū),提供8腳DIP和SOIC封裝。CAT24Cxxx的復位功能和看門狗定時器功能保證系統(tǒng)出現(xiàn)故障的時候能給CPU一個復位信號。CAT24Cxxx的第2腳輸出低電平復位信號,第7腳輸出高電平復位信號。CAT24Cxx1 看狗溢出信號從SDA腳輸出CAT24Cxx2不具備看門狗功能
上傳時間: 2013-12-12
上傳用戶:siying
The PCA9517 is a CMoS integrated circuit that provides level shifting between lowvoltage (down to 0.9 V) and higher voltage (2.7 V to 5.5 V) I2C-bus or SMBus applications.While retaining all the operating modes and features of the I2C-bus system during thelevel shifts, it also permits extension of the I2C-bus by providing bidirectional buffering forboth the data (SDA) and the clock (SCL) lines, thus enabling two buses of 400 pF. Usingthe PCA9517 enables the system designer to isolate two halves of a bus for both voltageand capacitance. The SDA and SCL pins are over voltage tolerant and arehigh-impedance when the PCA9517 is unpowered.
標簽: translating Level 9517 PCA
上傳時間: 2013-12-25
上傳用戶:wsf950131
The PCA9537 is a 10-pin CMoS device that provides 4 bits of General Purpose parallelInput/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.
上傳時間: 2013-10-14
上傳用戶:wuchunzhong
PCA9517 是一款基于CMoS 工藝的低電壓I2C 中繼器,在I2C 總線或SMBus 應用中進行高低電壓轉(zhuǎn)換。PCA9517 能夠在電平轉(zhuǎn)換期間保持總線所有的操作模式和特性,通過數(shù)據(jù)線(SDA)和時鐘線(SCL)的雙向緩存實現(xiàn)I2C 總線擴展,總線最大容性負載為400pF。PCA9517 能夠隔離器件總線兩端的電壓和容性負載。SDA 和SCL 引腳具有過壓保護功能,在掉電的情況下為高阻狀態(tài)。
上傳時間: 2013-10-08
上傳用戶:zgz317
The PCA9538 is a 16-pin CMoS device that provides 8 bits of General Purpose parallelInput/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applicationsand was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders.I/O expanders provide a simple solution when additional I/O is needed for ACPI powerswitches, sensors, push-buttons, LEDs, fans, etc.
上傳時間: 2014-01-24
上傳用戶:youmo81
The PCA9539; PCA9539R is a 24-pin CMoS device that provides 16 bits of GeneralPurpose parallel Input/Output (GPIO) expansion with interrupt and reset forI2C-bus/SMBus applications and was developed to enhance the NXP Semiconductorsfamily of I2C-bus I/O expanders. I/O expanders provide a simple solution when additionalI/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上傳時間: 2013-11-10
上傳用戶:ewtrwrtwe