Many CAD users dismiss schematic capture as a necessary evil in the process of creating\r\nPCB layout but we have always disputed this point of view. With PCB layout now offering\r\nautomation of both component placement and track routing, getting the des
標(biāo)簽: schematic necessary creating dismiss
上傳時(shí)間: 2013-09-25
上傳用戶:baiom
電路連接 由于數(shù)碼管品種多樣,還有共陰共陽(yáng)的,下面我們使用一個(gè)數(shù)碼管段碼生成器(在文章結(jié)尾) 去解決不同數(shù)碼管的問(wèn)題: 本例作者利用手頭現(xiàn)有的一位不知品牌的共陽(yáng)數(shù)碼管:型號(hào)D5611 A/B,在Eagle 找了一個(gè) 類似的型號(hào)SA56-11,引腳功能一樣可以直接代換。所以下面電路圖使用SA56-11 做引腳說(shuō)明。 注意: 1. 將數(shù)碼管的a~g 段,分別接到Arduino 的D0~D6 上面。如果你手上的數(shù)碼管未知的話,可以通過(guò)通電測(cè)量它哪個(gè)引腳對(duì)應(yīng)哪個(gè)字段,然后找出a~g 即可。 2. 分清共陰還是共陽(yáng)。共陰的話,接220Ω電阻到電源負(fù)極;共陽(yáng)的話,接220Ω電阻到電源+5v。 3. 220Ω電阻視數(shù)碼管實(shí)際工作亮度與手頭現(xiàn)有原件而定,不一定需要準(zhǔn)確。 4. 按下按鈕即停。 源代碼 由于我是按照段碼生成器默認(rèn)接法接的,所以不用修改段碼生成器了,直接在段碼生成器選擇共陽(yáng)極,再按“自動(dòng)”生成數(shù)組就搞定。 下面是源代碼,由于偷懶不用寫(xiě)循環(huán),使用了部分AVR 語(yǔ)句。 PORTD 這個(gè)是AVR 的端口輸出控制語(yǔ)句,8 位對(duì)應(yīng)D7~D0,PORTD=00001001 就是D3 和D0 是高電平。 PORTD = a;就是找出相應(yīng)的段碼輸出到D7~D0。 DDRD 這個(gè)是AVR 語(yǔ)句中控制引腳作為輸出/輸入的語(yǔ)句。DDRD = 0xFF;就是D0~D7 全部 作為輸出腳了。 ARDUINO CODECOPY /* Arduino 單數(shù)碼管骰子 Ansifa 2011-12-28 */ //定義段碼表,表中十個(gè)元素由LED 段碼生成器生成,選擇了共陽(yáng)極。 inta[10] = {0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0x80, 0x90}; voidsetup() { DDRD = 0xFF; //AVR 定義PortD 的低七位全部用作輸出使用。即0xFF=B11111111對(duì) 應(yīng)D7~D0 pinMode(12, INPUT); //D12用來(lái)做骰子暫停的開(kāi)關(guān) } voidloop() { for(int i = 0; i < 10; i++) { //將段碼輸出PortD 的低7位,即Arduino 的引腳D0~D6,這樣需要取出PORTD 最高位,即 D7的狀態(tài),與段碼相加,之后再輸出。 PORTD = a[i]; delay(50); //延時(shí)50ms while(digitalRead(12)) {} //如果D12引腳高電平,則在此死循環(huán),暫停LED 跑 動(dòng) } }
標(biāo)簽: Arduino 10 數(shù)碼管 實(shí)驗(yàn)
上傳時(shí)間: 2013-10-15
上傳用戶:baitouyu
常用D/A轉(zhuǎn)換器和A/D轉(zhuǎn)換器介紹 下面我們介紹一下其它常用D/A轉(zhuǎn)換器和 A/D 轉(zhuǎn)換器,便于同學(xué)們?cè)O(shè)計(jì)時(shí)使用。 1. DAC0808 圖 1 所示為權(quán)電流型 D/A 轉(zhuǎn)換器 DAC0808 的電路結(jié)構(gòu)框圖。用 DAC0808 這類器件構(gòu) 成的 D/A轉(zhuǎn)換器,需要外接運(yùn)算放大器和產(chǎn)生基準(zhǔn)電流用的電阻。DAC0808 構(gòu)成的典型應(yīng)用電路如圖2 所示。
標(biāo)簽: 轉(zhuǎn)換器
上傳時(shí)間: 2014-12-23
上傳用戶:zhenyushaw
isoad系列產(chǎn)品實(shí)現(xiàn)傳感器和主機(jī)之間的信號(hào)安全隔離和高精度數(shù)字采集與傳輸,廣泛應(yīng)用于rs-232/485總線工業(yè)自動(dòng)化控制系統(tǒng),4-20ma / 0-10v信號(hào)測(cè)量、監(jiān)視和控制,小信號(hào)的測(cè)量以及工業(yè)現(xiàn)場(chǎng)信號(hào)隔離及長(zhǎng)線傳輸?shù)冗h(yuǎn)程監(jiān)控場(chǎng)合。通過(guò)軟件的配置,可接入多種傳感器類型,包括電流輸出型、電壓輸出型、以及熱電偶等等。 產(chǎn)品內(nèi)部包括電源隔離,信號(hào)隔離、線性化,a/d轉(zhuǎn)換和rs-485串行通信等模塊。每個(gè)串口最多可接256只iso ad系列模塊,通訊方式采用ascii 碼字符通訊協(xié)議或modbus rtu通訊協(xié)議,其指令集兼容于adam模塊,波特率可由用戶設(shè)置,能與其他廠家的控制模塊掛在同一rs-485總線上,便于主機(jī)編程。 isoad系列產(chǎn)品是基于單片機(jī)的智能監(jiān)測(cè)和控制系統(tǒng),所有用戶設(shè)定的校準(zhǔn)值,地址,波特率,數(shù)據(jù)格式,校驗(yàn)和狀態(tài)等配置信息都儲(chǔ)存在非易失性存儲(chǔ)器eeprom里。 isoad系列產(chǎn)品按工業(yè)標(biāo)準(zhǔn)設(shè)計(jì)、制造,信號(hào)輸入 / 輸出之間隔離,可承受3000vdc隔離電壓,抗干擾能力強(qiáng),可靠性高。工作溫度范圍- 45℃~+80℃。
標(biāo)簽: 20 mA D轉(zhuǎn)換 模擬信號(hào)
上傳時(shí)間: 2013-11-23
上傳用戶:comer1123
本次在線座談主要介紹TI的高精度Delta-Sigma A/D轉(zhuǎn)換器的原理及其應(yīng)用,Delta-Sigma A/D轉(zhuǎn)換器在稱重儀器中,大量采用比例測(cè)量方法。
標(biāo)簽: Delta-Sigma 高精度 轉(zhuǎn)換器
上傳時(shí)間: 2013-10-17
上傳用戶:zhqzal1014
Differential Nonlinearity: Ideally, any two adjacent digitalcodes correspond to output analog voltages that are exactlyone LSB apart. Differential non-linearity is a measure of theworst case deviation from the ideal 1 LSB step. For example,a DAC with a 1.5 LSB output change for a 1 LSB digital codechange exhibits 1⁄2 LSB differential non-linearity. Differentialnon-linearity may be expressed in fractional bits or as a percentageof full scale. A differential non-linearity greater than1 LSB will lead to a non-monotonic transfer function in aDAC.Gain Error (Full Scale Error): The difference between theoutput voltage (or current) with full scale input code and theideal voltage (or current) that should exist with a full scale inputcode.Gain Temperature Coefficient (Full Scale TemperatureCoefficient): Change in gain error divided by change in temperature.Usually expressed in parts per million per degreeCelsius (ppm/°C).Integral Nonlinearity (Linearity Error): Worst case deviationfrom the line between the endpoints (zero and full scale).Can be expressed as a percentage of full scale or in fractionof an LSB.LSB (Lease-Significant Bit): In a binary coded system thisis the bit that carries the smallest value or weight. Its value isthe full scale voltage (or current) divided by 2n, where n is theresolution of the converter.Monotonicity: A monotonic function has a slope whose signdoes not change. A monotonic DAC has an output thatchanges in the same direction (or remains constant) for eachincrease in the input code. the converse is true for decreasing codes.
標(biāo)簽: Converters Defini DAC
上傳時(shí)間: 2013-10-30
上傳用戶:stvnash
ANALOG INPUT BANDWIDTH is a measure of the frequencyat which the reconstructed output fundamental drops3 dB below its low frequency value for a full scale input. Thetest is performed with fIN equal to 100 kHz plus integer multiplesof fCLK. The input frequency at which the output is −3dB relative to the low frequency input signal is the full powerbandwidth.APERTURE JITTER is the variation in aperture delay fromsample to sample. Aperture jitter shows up as input noise.APERTURE DELAY See Sampling Delay.BOTTOM OFFSET is the difference between the input voltagethat just causes the output code to transition to the firstcode and the negative reference voltage. Bottom Offset isdefined as EOB = VZT–VRB, where VZT is the first code transitioninput voltage and VRB is the lower reference voltage.Note that this is different from the normal Zero Scale Error.CONVERSION LATENCY See PIPELINE DELAY.CONVERSION TIME is the time required for a completemeasurement by an analog-to-digital converter. Since theConversion Time does not include acquisition time, multiplexerset up time, or other elements of a complete conversioncycle, the conversion time may be less than theThroughput Time.DC COMMON-MODE ERROR is a specification which appliesto ADCs with differential inputs. It is the change in theoutput code that occurs when the analog voltages on the twoinputs are changed by an equal amount. It is usually expressed in LSBs.
標(biāo)簽: Converter Defi ADC 轉(zhuǎn)換器
上傳時(shí)間: 2013-11-12
上傳用戶:pans0ul
cv181l-a-20
標(biāo)簽: Specification_V 181 1.0 L-A
上傳時(shí)間: 2013-11-14
上傳用戶:daijun20803
2012TI杯陜西賽題H題,2012TI杯陜西賽題-A微弱信號(hào)檢測(cè)裝置.
標(biāo)簽: 2012 TI 微弱信號(hào) 檢測(cè)裝置
上傳時(shí)間: 2013-12-17
上傳用戶:362279997
2011全國(guó)大賽A題開(kāi)關(guān)電源模塊并聯(lián)供電系統(tǒng)
標(biāo)簽: 2011 大賽 開(kāi)關(guān)電源模塊 并聯(lián)供電系統(tǒng)
上傳時(shí)間: 2013-11-10
上傳用戶:冇尾飛鉈
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1