性无码一区二区三区在线观看,少妇被爽到高潮在线观看,午夜精品一区二区三区,无码中文字幕人妻在线一区二区三区,无码精品国产一区二区三区免费

  • 回復
  • 收藏
  • 點贊
  • 分享
  • 發(fā)新帖

【技術盛宴】基于51單片機的光控電機驅動

圖片1

【技術盛宴】

#include

sbit P06=P0^6;   //定義光控輸入端

sbit P24=P2^4;   //定義繼電器輸出端

void main()

{

while(1)

{

  P06=1;      //讀端口數(shù)據(jù)之前先往端口寫1;

  if(!P06)    //讀端口數(shù)據(jù),為0表示光線變暗

  {

   P24=0;     //光線變暗,輸出繼電器閉合

  }

  else

  P24=1;       //強光時繼電器斷開

 }

  }

QQ截圖20151205105641

全部回復(23)
正序查看
倒序查看
2015-11-07 10:56
題目是嘛捏
0
回復
2015-11-09 16:35
題目題目
0
回復
2015-11-23 14:28
@電源網(wǎng)-fqd
題目題目[圖片]
基于51單片機光控電機驅動
0
回復
2015-11-23 14:28
@電源網(wǎng)-天邊
題目是嘛捏
Sorry,對板塊不太熟悉
0
回復
2015-11-23 14:28
@電源網(wǎng)-天邊
題目是嘛捏
Sorry,對板塊不太熟悉
0
回復
2015-11-23 14:29
@電源網(wǎng)-天邊
題目是嘛捏
Sorry,對板塊不太熟悉
0
回復
2015-12-05 10:52

  光控電機驅動電路的PCB圖

0
回復
2015-12-05 10:55
@sunzenghui98
 光控電機驅動電路的PCB圖[圖片]

ATMEL公司的AT89S52單片機,是低功耗、高性能CMOS 8位微處理器,具有8K在系統(tǒng)可編程Flash存儲器。使用Atmel公司高密度非易失性存儲器技術制造,與工業(yè)80C51產(chǎn)品指令和引腳完全兼容。片上的Flash允許程序存儲器在系統(tǒng)編程,亦適于常規(guī)編程器。在單芯片上,擁有靈活的8位CPU和在系統(tǒng)可編程Flash,使得AT89S52為眾多嵌入式控制應用系統(tǒng)提供高靈活,超有效地解決方案。

AT89S52具有以下標準功能:8K字節(jié)Flash,256字節(jié)RAM,32位I/O接口,看門狗定時器,2個數(shù)據(jù)指針,三個16位定時器/計數(shù)器,一個6向量2級中斷結構,全雙工串行口,片內(nèi)晶振及時鐘電路。另外,AT89S52可降至0Hz靜態(tài)邏輯操作,支持2種軟件可選擇節(jié)電模式??臻e模式下,CPU停止工作,允許RAM、定時器/計數(shù)器、串口、中斷繼續(xù)工作。掉電保護方式下,RAM數(shù)據(jù)被保存,振蕩器被凍結,單片機一切工作停止,直到下一個中斷或硬件復位為止。

由于單片機的種類很多,在選擇單片機時要依據(jù)實際設計要求選擇合適的單片機。在本課題中,選用的是ATMEL公司的AT89S52。

0
回復
2015-12-09 11:25
@sunzenghui98
仿真調(diào)試[圖片]1)查找所需要的元器件     通過相關關鍵字選取元器件或通過索引系統(tǒng)查找元器件,放置元器件,編輯器件,填加“地”和“電源”。(2)根據(jù)電路圖進行連線      將鼠標移到要連接導線的起點處,此時光標中心出現(xiàn)一個“×”,在此處單擊左鍵,導線的起點固定下來,再將鼠標鼠標一到下一個連接處,光標中心出現(xiàn)一個“×”, 再單擊,導線止點再次出固定下來。若連線需要拐彎,就在拐彎處單擊左鍵即可。(3)下載所寫完的C語言程序即可以仿真      雙擊AT89S52,在編輯里面Program File加載Keil軟件生成的“光控電機.hex”文件,然后點擊“OK”確認。

加熱門了~!

樓主一直從事單片機數(shù)控電源方面的嘛?~


0
回復
2015-12-10 14:44
@電源網(wǎng)-娜娜姐
加熱門了~!樓主一直從事單片機數(shù)控電源方面的嘛?~
還行  就是自己研究過一段時間
0
回復
2015-12-10 17:25

With the rapid development of science and technology, "Information Age" to come, as a means of access to information - sensor technology has been significant progress, more and more extensive areas of its application, its becoming more demanding, more urgent needs . Sensor technology has become the measure of a country's level of development of science and technology an important landmark. Therefore, to understand and master the basic structure of various types of sensors, the working principle and characteristics are very important.       In order to improve awareness and understanding of the sensor, especially for the light sensors in-depth research and its use and purpose, based on practical, extensive, and the principle of the typical design of the system. In this thesis, combining light sensors microchip technology development and design of this light control system, curtains or other equipment if the installation of the sensor, the sensor automation control. The AT89S52 microcontroller and photoresistor light control as the core design of the motor drive circuit can realize automation of light control is a simple structure, stable performance, easy to use, inexpensive, intelligent light-sensitive circuit, has some practical value. 

0
回復
2015-12-10 17:26
@sunzenghui98
With the rapid development of science and technology, "Information Age" to come, as a means of access to information - sensor technology has been significant progress, more and more extensive areas of its application, its becoming more demanding, more urgent needs . Sensor technology has become the measure of a country's level of development of science and technology an important landmark. Therefore, to understand and master the basic structure of various types of sensors, the working principle and characteristics are very important.       In order to improve awareness and understanding of the sensor, especially for the light sensors in-depth research and its use and purpose, based on practical, extensive, and the principle of the typical design of the system. In this thesis, combining light sensors microchip technology development and design of this light control system, curtains or other equipment if the installation of the sensor, the sensor automation control. The AT89S52 microcontroller and photoresistor light control as the core design of the motor drive circuit can realize automation of light control is a simple structure, stable performance, easy to use, inexpensive, intelligent light-sensitive circuit, has some practical value. 
0
回復
2015-12-10 17:32
@sunzenghui98
[圖片][圖片][圖片]

 參考文獻

 

[1] 陳強. 電子產(chǎn)品設計與制造. 電子工業(yè)出版社, (2010)

[2] 任致程.經(jīng)典智能電路300例.機械工業(yè)出版社,2004:1~21

[3] 作者不詳.家庭電子小制作.新時代出版社,2004:35~40

[4] 求是科技. 單片機應用系統(tǒng)開發(fā)實例導航. 人民郵電出版社, (2003) 

[5] 何衍慶. 控制系統(tǒng)分析設計和應用. 化學工業(yè)出版社, (2003)

[6] 宏晶科技(深圳). AT89C51系列單片機器件手冊

[7] 成偉, 郝躍, 馬曉華, 劉紅俠. EEPROM單元的電荷保持特性. 電子學報, 2006, 27(7): 1290~1293 

[8] N kansah F D. Technology and reliability of submicron 1 T2 flash EEPROM. UMI Number :9995534. Bell &Howell Information and Learning Company, 2001: 2 

[9] De Salvo B, Ghibaudo G. Pananakak is Getal. Experimental and theoretical investigation of nonvolatile memory data-retention. IEEE Trans Electron Devices, 1999, 46 (7): 15~18 

[10] 黃再銀. 帶看門狗和電源監(jiān)控功能的復位芯MAX813L. 電子世界, 2003(3): 39~40 

[11] 陳曉莉, 張俊濤. KEIL C51單片機仿真器的設計.微計算機信息(嵌入式與SOC),                             2006,2(2): 19~20

[12] Keil Software. Cx51 Complier User‘s Guide. Keil Software,(2001) 

[13] Keil Software. Macro Assembler and Utilities  User‘s Guide. Keil Software, (2001) 

[14] 魏東. Keil C51總線外設操作問題的深入分析. 單片機與嵌入式系統(tǒng)應用, (2006) 

[15] 中小企業(yè)科技信息,Science-Technical on Middle-Small Business,編輯部郵箱,      12期

0
回復
2015-12-10 17:37
@sunzenghui98
 參考文獻 [1] 陳強. 電子產(chǎn)品設計與制造. 電子工業(yè)出版社, (2010)[2] 任致程.經(jīng)典智能電路300例.機械工業(yè)出版社,2004:1~21[3] 作者不詳.家庭電子小制作.新時代出版社,2004:35~40[4] 求是科技. 單片機應用系統(tǒng)開發(fā)實例導航. 人民郵電出版社, (2003) [5] 何衍慶. 控制系統(tǒng)分析設計和應用. 化學工業(yè)出版社, (2003)[6] 宏晶科技(深圳). AT89C51系列單片機器件手冊[7] 成偉, 郝躍, 馬曉華, 劉紅俠. EEPROM單元的電荷保持特性. 電子學報, 2006, 27(7): 1290~1293 [8] N kansah F D. Technology and reliability of submicron 1 T2 flash EEPROM. UMI Number :9995534. Bell &Howell Information and Learning Company, 2001: 2 [9] De Salvo B, Ghibaudo G. Pananakak is Getal. Experimental and theoretical investigation of nonvolatile memory data-retention. IEEE Trans Electron Devices, 1999, 46 (7): 15~18 [10] 黃再銀. 帶看門狗和電源監(jiān)控功能的復位芯MAX813L. 電子世界, 2003(3): 39~40 [11] 陳曉莉, 張俊濤. KEIL C51單片機仿真器的設計.微計算機信息(嵌入式與SOC),                             2006,2(2): 19~20[12] Keil Software. Cx51 Complier User‘s Guide. Keil Software,(2001) [13] Keil Software. Macro Assembler and Utilities  User‘s Guide. Keil Software, (2001) [14] 魏東. Keil C51總線外設操作問題的深入分析. 單片機與嵌入式系統(tǒng)應用, (2006) [15] 中小企業(yè)科技信息,Science-Technical on Middle-Small Business,編輯部郵箱,      12期

0
回復
2015-12-16 15:02
@sunzenghui98
[圖片]
都怎么不理我
0
回復
qinzutaim
LV.11
18
2016-01-02 09:36
@sunzenghui98
都怎么不理我[圖片]
E文不能翻譯么.看得比較費力...
0
回復
2016-02-21 19:14
學習
0
回復
2016-03-19 11:45

聽講,請繼續(xù)

0
回復
2016-03-21 23:58
。。。
0
回復
一棵草
LV.1
22
2017-10-20 23:46
這上面的電阻電容多大的,能否畫一個具體一點的電路圖,謝謝!
0
回復
2017-10-25 10:36
@一棵草
這上面的電阻電容多大的,能否畫一個具體一點的電路圖,謝謝!
有標注啊
0
回復
一棵草
LV.1
24
2017-10-25 20:45
@sunzenghui98
有標注啊
我知道,因為它比較模糊,看的不是很具體,所以想能否發(fā)一個有明確標注的,清晰一點的!謝謝
0
回復
發(fā)