-
The LM35 of National Semiconductors that is used in this project is a precision centigrade temperature sensor, which has an analog output voltage. It has a range of -55潞C to +150潞C and a accuracy of 鹵0.5潞C . The output voltage is 10mV/潞C . The output voltage is converted by the AD convertor of the AT Mega8. The temperature is displayed on an LCD module. In this example the thermometer has a range of 0潞C to 40潞C and a resolution of 0.5潞C. If you want to have a readout in Fahrenheit you can use the LM34.
標(biāo)簽:
Semiconductors
centigrade
precision
temperatu
上傳時(shí)間:
2017-04-16
上傳用戶:D&L37
-
OTSU Gray-level image segmentation using Otsu s method.
Iseg = OTSU(I,n) computes a segmented image (Iseg) containing n classes
by means of Otsu s n-thresholding method (Otsu N, A Threshold Selection
Method from Gray-Level Histograms, IEEE Trans. Syst. Man Cybern.
9:62-66 1979). Thresholds are computed to maximize a separability
criterion of the resultant classes in gray levels.
OTSU(I) is equivalent to OTSU(I,2). By default, n=2 and the
corresponding Iseg is therefore a binary image. The pixel values for
Iseg are [0 1] if n=2, [0 0.5 1] if n=3, [0 0.333 0.666 1] if n=4, ...
[Iseg,sep] = OTSU(I,n) returns the value (sep) of the separability
criterion within the range [0 1]. Zero is obtained only with images
having less than n gray level, whereas one (optimal value) is obtained
only with n-valued images.
標(biāo)簽:
OTSU
segmentation
Gray-level
segmented
上傳時(shí)間:
2017-04-24
上傳用戶:yuzsu
-
Generate Possion Dis.
step1:Generate a random number between [0,1]
step2:Let u=F(x)=1-[(1/e)x]
step3:Slove x=1/F(u)
step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn
step5:If the first packet was generated at time [0], than the
second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2],
and so on ….
Random-number generation
1.static method random from class Math
-Returns doubles in the range 0.0 <= x < 1.0
2.class Random from package java.util
-Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values
-Is seeded with the current time of day to generate different sequences of numbers each time the program executes
標(biāo)簽:
Generate
Possion
between
random
上傳時(shí)間:
2017-05-25
上傳用戶:bibirnovis
-
SFLOP simulates a floating point operation
x op y where op = +, -, *, /
In chopping or rounding arithmetic using an
m digit mantissa, base 10, and an unrestricted
exponent range. (sflop: Simulate FLOating Point
operation.) For more details on the how the floating
point representation of a number is computed see
the function sfl.
標(biāo)簽:
simulates
operation
floating
SFLOP
上傳時(shí)間:
2017-06-05
上傳用戶:fxf126@126.com
-
Novell.Press.Linux.Kernel.Development
linux內(nèi)核開發(fā)的經(jīng)典書籍之一
The Linux kernel is one of the most interesting yet least understood open-source projects. It is also a basis for developing new kernel code. That is why Sams is excited to bring you the latest Linux kernel development information from a Novell insider in the second edition of Linux Kernel Development. This authoritative, practical guide will help you better understand the Linux kernel through updated coverage of all the major subsystems, new features associated with Linux 2.6 kernel and insider information on not-yet-released developments. You ll be able to take an in-depth look at Linux kernel from both a theoretical and an applied perspective as you cover a wide range of topics, including algorithms, system call interface, paging strategies and kernel synchronization. Get the top information right from the source in Linux Kernel Development
標(biāo)簽:
Linux
Development
interes
Novell
上傳時(shí)間:
2017-06-06
上傳用戶:songyue1991
-
I implemented a perfect file transfer OCX client/server. I created a perfect function to parse and split the data. The source file size is equal to destination. NO LOSS OF DATA in the packets!
標(biāo)簽:
perfect
implemented
function
transfer
上傳時(shí)間:
2014-01-19
上傳用戶:R50974
-
Historique de Linux
Connexion au système
Présentation de kde
Fichiers et répertoires
Notions d identifiant et de groupe
Les processus
Les droits d accès
Le shell
Gestion des entrées/sorties
Les commandes tee/grep/cut/split/paste/comm/sort/diff/wc/find
La commande sed
La commande awk
Les scripts shell
Les sauvegardes
Automatisation de tâ ches
標(biāo)簽:
Historique
Connexion
sentation
pertoires
上傳時(shí)間:
2017-07-12
上傳用戶:hopy
-
移植uip-1.0到Atmega32
1)把 uip-1.0 的所有文件加入到工程,包括 uip 目錄的文件(除uip-split.c)、unix 目錄的文件、lib 目錄的文件;
2)修改 uip/uip-neighbor.c 文件的
void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr)
函數(shù),一般注釋掉 printf 語句即可,或者改為你自己的串口格式化打印實(shí)現(xiàn)。
3)uip 目錄里的源文件除 uipopt.h 外一般都無需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在
uip-conf.h 里進(jìn)行。
uip-conf.h 里加入如下定義,可以減少編譯的警告:
#define notdef 0
#define UIP_CONF_IPV6 0
#define UIP_ARCH_ADD32 0
#define UIP_ARCH_CHKSUM 0
#define UIP_NEIGHBOR_CONF_ADDRTYPE 0
4)移植工作主要是 定時(shí)器中斷程序 與 網(wǎng)絡(luò)驅(qū)動(dòng) 的編寫
標(biāo)簽:
uip
1.0
Atmega
32
上傳時(shí)間:
2013-12-20
上傳用戶:csgcd001
-
神經(jīng)網(wǎng)絡(luò)系統(tǒng) BP,MGFPROP,SAMGFPROP, QUICKPROP, SARPROP 解決XOR問題收斂速度和收斂率的圖形比較(不同數(shù)量的weightfile和不同范圍的weight range)
標(biāo)簽:
weightfile
SAMGFPROP
QUICKPROP
MGFPROP
上傳時(shí)間:
2014-01-14
上傳用戶:youlongjian0
-
Introduction
? ?
The ARM Cortex -A8 microprocessor is the first applications microprocessor in ARM!ˉs
new Cortex family. With high performance and power efficiency, it targets a wide
variety of mobile and consumer applications including mobile phones, set-top boxes,
gaming consoles and automotive navigation/entertainment systems. The Cortex-A8
processor spans a range of performance points depending on the implementation,
delivering over to 2000 Dhrystone MIPS (DMIPS) of performance for demanding
consumer applications and consuming less than 300mW for low-power mobile devices.
This translates into a large increase in processing capability while staying with the
power levels of previous generations of mobile devices. Consumer applications will
benefit from the reduced heat dissipation and resulting lower packaging and integration
costs.
標(biāo)簽:
microprocessor
Introduction
applications
Cortex
上傳時(shí)間:
2013-12-09
上傳用戶:xzt