Proteus AVR例子
上傳時間: 2013-09-24
上傳用戶:563686540
Proteus examples for fun!
上傳時間: 2013-09-25
上傳用戶:tianyi996
用兩片AVR(ATmega16)單片機 實現雙機通信(雙向,并帶反饋)。開發環境為ICCAVR。文件中不但有完整的源代碼,還有用PROTEUS作的仿真圖。
上傳時間: 2013-09-27
上傳用戶:m62383408
用AVR實現簡單按鍵的程序與proteus的結合,從一個簡單的例子學習proteus與單片機的聯合調試。
上傳時間: 2013-09-27
上傳用戶:時代電子小智
the practice of proteus and avr
上傳時間: 2013-09-29
上傳用戶:tom_man2008
IAR與ARM在Proteus聯調實例,完全通過,有詳細的介紹
上傳時間: 2013-09-29
上傳用戶:fqscfqj
基于PROTERUS仿真的AVR例子,內容豐富,包含全面,從最簡單的I/O操做到通訊例子都有,并有詳細的注!釋
上傳時間: 2013-09-30
上傳用戶:zhangzhenyu
In this paper, we discuss efficient coding and design styles using verilog. This can beimmensely helpful for any digital designer initiating designs. Here, we address different problems rangingfrom RTL-Gate Level simulation mismatch to race conditions in writing behavioral models. All theseproblems are accompanied by an example to have a better idea, and these can be taken care off if thesecoding guidelines are followed. Discussion of all the techniques is beyond the scope of this paper, however,here we try to cover a few of them.
標簽: Efficient Verilog Digital Coding
上傳時間: 2013-11-22
上傳用戶:han_zh
本文論述了狀態機的verilog編碼風格,以及不同編碼風格的優缺點,Steve Golson's 1994 paper, "State Machine Design Techniques for Verilog and VHDL" [1], is agreat paper on state machine design using Verilog, VHDL and Synopsys tools. Steve's paper alsooffers in-depth background concerning the origin of specific state machine types.This paper, "State Machine Coding Styles for Synthesis," details additional insights into statemachine design including coding style approaches and a few additional tricks.
標簽: Synthesis Machine Coding Styles
上傳時間: 2013-10-15
上傳用戶:dancnc
電路連接 由于數碼管品種多樣,還有共陰共陽的,下面我們使用一個數碼管段碼生成器(在文章結尾) 去解決不同數碼管的問題: 本例作者利用手頭現有的一位不知品牌的共陽數碼管:型號D5611 A/B,在Eagle 找了一個 類似的型號SA56-11,引腳功能一樣可以直接代換。所以下面電路圖使用SA56-11 做引腳說明。 注意: 1. 將數碼管的a~g 段,分別接到Arduino 的D0~D6 上面。如果你手上的數碼管未知的話,可以通過通電測量它哪個引腳對應哪個字段,然后找出a~g 即可。 2. 分清共陰還是共陽。共陰的話,接220Ω電阻到電源負極;共陽的話,接220Ω電阻到電源+5v。 3. 220Ω電阻視數碼管實際工作亮度與手頭現有原件而定,不一定需要準確。 4. 按下按鈕即停。 源代碼 由于我是按照段碼生成器默認接法接的,所以不用修改段碼生成器了,直接在段碼生成器選擇共陽極,再按“自動”生成數組就搞定。 下面是源代碼,由于偷懶不用寫循環,使用了部分AVR 語句。 PORTD 這個是AVR 的端口輸出控制語句,8 位對應D7~D0,PORTD=00001001 就是D3 和D0 是高電平。 PORTD = a;就是找出相應的段碼輸出到D7~D0。 DDRD 這個是AVR 語句中控制引腳作為輸出/輸入的語句。DDRD = 0xFF;就是D0~D7 全部 作為輸出腳了。 ARDUINO CODECOPY /* Arduino 單數碼管骰子 Ansifa 2011-12-28 */ //定義段碼表,表中十個元素由LED 段碼生成器生成,選擇了共陽極。 inta[10] = {0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0x80, 0x90}; voidsetup() { DDRD = 0xFF; //AVR 定義PortD 的低七位全部用作輸出使用。即0xFF=B11111111對 應D7~D0 pinMode(12, INPUT); //D12用來做骰子暫停的開關 } voidloop() { for(int i = 0; i < 10; i++) { //將段碼輸出PortD 的低7位,即Arduino 的引腳D0~D6,這樣需要取出PORTD 最高位,即 D7的狀態,與段碼相加,之后再輸出。 PORTD = a[i]; delay(50); //延時50ms while(digitalRead(12)) {} //如果D12引腳高電平,則在此死循環,暫停LED 跑 動 } }
上傳時間: 2013-10-15
上傳用戶:baitouyu