【正文】
。 具有超重自動報警功能。圖中用 (RV4+R11)代替 350? 應變片 BF3503AA (23) N8, U+、 U為輸出端。 9( OE):數(shù)據(jù)輸出允許信號,輸入,高電平 有效。 4 腳( RS)為寄存器選擇端,高電平時選擇數(shù)據(jù)寄存器、低電平時選擇指令寄存器。按鍵 1 實現(xiàn)對單價或最大稱量值加一的功能。 unsigned int G=0x00。 EP=0。num14。 for(num=0。 EP=1。 12 } void LCD_SET_POS(unsigned char wz) { LCD_WC(wz|0x80)。 delay(1)。 for(i=0。 bcd_Z[1]=b/100%10+0x30。 LCD_DISP(bcd_P)。 else count+=1。//? 15 //LCD_SET_POS(0x0a)。 if(bcd_M[1]==0x3A) { bcd_M[1]=0x30。 if(bcd_M[2]==0x2f) { bcd_M[2]=0x39。 LCD_INIT()。 else M=lG/10。經(jīng)過測試,實現(xiàn)了通過手按應變片的壓力大小改變液晶顯示稱量值功能,而且稱量值與壓力基本上成正比。 【數(shù)字電子稱】的制作中,我主要負責焊接還有編程,過程非常艱辛。s 21 win. Michel Platini, president of European football39。s time, your ideas are always special to clear. Want, want, line is clear, as if nothing could shake his. Also once seemed to be determined to do something, but more often is he backed out at last. Dislike his cowardice, finally found that there are a lot of love, there are a lot of 25 miss, like shadow really have been doomed. Those who do, just green years oneself give oneself an arm injection, or is a selfrighteous spiritual. 一個人的時候,自己的想法總是特別地清晰。ll be traveling fast, so despite the distance, it will not be like diving into the deep end of a pool. It will be like he is diving into the shallow end. 26 Skydiver preps for the big jump When he jumps, he is expected to reach the speed of sound 690 mph (1,110 kph) in less than 40 seconds. Like hitting the top of the water, he will begin to slow as he approaches the more dense air closer to Earth. But this will not be enough to stop him pletely. If he goes too fast or spins out of control, he has a stabilization parachute that can be deployed to slow him down. His team hopes it39。t want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can39。s antiracism taskforce, is in London for the Football Association39。 (按鍵 0),可實現(xiàn)各種調(diào)節(jié): 由于仿真時系統(tǒng)需要時間進行計算以及考慮到電腦反應速度問題,按鍵時延時 2s后松開,可確保仿真正確進行。 LCD_DISP(bcd_Z)。break。 s=d。 if(bcd_P[0]==0x2f) { bcd_P[0]=0x39。 LCD_DISP(bcd_P)。 LCD_DISP( )。 LCD_SET_POS(0x42)。 LCD_SET_POS(0x48)。 bcd_dis[1]=b/10%10+0x30。 if((P2amp。 for(h=0。 } void LCD_ON(void) { LCD_WC(0x0c)。 EP=0。 } delay1(3000)。 } void MALL() { while(1) {RW=0。 P0=。 uchar code table1[]=Design2021041533。其轉(zhuǎn)換方式可以采用程序查詢方式,延時等待 方式和中斷方式三種。本設計采用的是字符式液晶顯示器 LCD顯示一個字符時比較復雜,因為一個字符由 68? 或 88? 點陣組成,既要找到和顯示屏幕上某幾個位置對應的顯示 RAM 區(qū)的 8 字節(jié),還要使每字節(jié)的不同位為“ 1”,其它的為“ 0”,為“ 1”的點亮,為“ 0”的不亮。 1 15 和 17~ 21: 8 位數(shù)字量輸出端。 (2)電阻應變式傳感器測量電路設計: 3 由于機械應變一般都很小,要把微小應變引起的微小電阻值的變化測量出來,就需要設計專用的測量電路。 五邑大學 信息工程學院 課 程 設 計 報 告 課程名稱: 電子系統(tǒng)設計技術 專 業(yè): 通信工程 班 級: AP10059 學 號: AP1005941 姓 名: 張琰 指導教師: 周開利 設計時間: 2021/9/1/— 2021/1/5 評定成績: 2 設計課題題目: ___基于單片機的 數(shù)字電子稱 設計 ___ 一、設 計任務與要求 通過單片機控制設計一個具有顯示單價、質(zhì)量和計算總價等智能數(shù)字電子秤。常采用橋式測量電路。 22( ALE):地址鎖存允許信號,輸入,高電平有效。這樣一來就組成某個字符。本 設計采用的是延時等待方式,具體程序流程圖如圖所示。 uchar code table2[]=Too Heavy!。 delay1(5)。 init()。 } } void MAII() { RW=0。 delay(2)。 delay(256)。h10。0x0f)==0x0f)return(0xff)。 bcd_dis[2]=b%10+0x30。 LCD_DISP(max:)。 BCD_Z((int)M*(bcd_P[0]0x30))。 LCD_SET_POS(0x4f)。 } if(count==2) { bcd_M[2]+=1。 } LCD_SET_POS(0x02)。 if(sM)B_DIS=0。 default:break。 } } 2.元件清單 器件名稱 個數(shù) 器件名稱 個數(shù) ADC0809 1 電解電容 1 LCD1602 1 電解電容 10uf 1 LM324 1 電容 2 STC89C52 1 電容 22pf 2 74HC74 1 電位器 10K 2 電阻 1K 1 復位鍵 5 電阻 2K 1 蜂鳴器 1 電阻 10K 5 三極管 PNP9012 1 電阻 20K 2 發(fā)光二極管 1 電阻 1M 2 電源 1 開關 1 晶體振蕩器 1 重力傳感器 1 五、安裝與調(diào)試 設計: 本設計通過 Altium Designer 6 軟件設計 PCB 電路板,先進行原理圖設計,然后導入 PCB 圖布局布線。 ( 1)按一下,單價 P 后出現(xiàn)“?”即可通過按按鍵 1 和按鍵 2 進行加減調(diào)節(jié)單價, 22 如下圖所示: ( 2)按兩下, Max 后出現(xiàn)“?”即可通過按按鍵 1 和按鍵 2 進行加減調(diào)節(jié)最大稱量值,如下圖所示: ( 3)按三下, M 值清零,即可通過按鍵 1 和按鍵 2 進行調(diào)節(jié)加減調(diào)節(jié)去皮值大小,去皮處理后的稱量值等于原稱量值減去去皮值。s 150th anniversary celebrations a