Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Anti Sleep Project (English)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Ai

m:Todes
ignanddev
elopanant
i-
sleepal
armf
ordr
iver
s

I
ntr
oduct
ion:
Inmoder
n-t
imes
,owi
ngt
ohect
ics
chedul
esi
t
becomesv erydi ffi
culttoremainact i
veal lthetime. I
magi nea
sit
uationwher eaper sonisdrivi
nghomef r
omwor k,deadt i
red
afterfacingal lthechal lengesoftheday .Hishandsar eont he
wheel andf ootont hepedal buts uddenl yhes tart
sfeelingdr ows y,
hisey ess tartshut t
ingandhi sv i
si
onbl ur sandbef oreheknowsi t,
he'sas leep.Fallingas leepont hewheel canl eadtos eri
ous
cons equences ,theremaybeacci dentsandpeopl emayev enl ose
theirl
ives .Thiss it
uationismuchmor ecommont henwenot i
ceand
hence, i
tisveryi mpor tanttocount erthispr obl
em. Sot oaddr es s
thi
si ssue, wehav ecomeupwi thaDr iverAnt i-
sleepDev i
ce.Thi s
sys t
emal ertstheus erifhe/shefall
sas leepatt hewheel thereby,
avoidingacci dent sandsav i
ngl i
ves.Thiss y st
emi sus ef
ul especiall
y
forpeopl ewhot ravellongdistancesandpeopl ewhoar edr i
ving
l
ateatni ght.

Mat
eri
al
srequi
red:
1
.Ey
ebl
i
nksensor

2.
Ardui
nonanoboar
d

3.
Vibr
ati
onMot
or

4.
Buzzer

5.
Bat
ter
y
1
.)Ey
eBl
i
nkSens
or.

2.
)Ar
dui
noNanoboar
d

3.
)Vi
brat
ionMot
or
4.
)Buz
zer

5.
)Bat
ter
y

6.
)Swi
tch
Appl
i
cat
ion:
Dur
ingt
het
rans
por
tat
ionofcar
goandheav
y
mat eri
al
sov erl ongdistances(es peci
all
ydur i
ngni ghtt i
me)
throught rucks ,theeffectsofi nadequates l
eeppr ov estobea
maj orproblem f orthesev ehicl
edr i
versinv ol
vedi ncont i
nuous
dri
v i
ng,leadi ngt ofatalaccidents.Accordingt oa201 4AAA
Traffi
cSaf et yFoundat i
ons tudy,itwasf oundt hatdr i
ver
sf ell
asleepdur ingdr i
vi
ng.Outoft he21percentoff atalcrashes,
37percent1 3percentcaus eds evereinjuryallduet oa
drows ydr i
v erwhohast oofcont i
nuousl
ydr i
vef orlongt i
me
periodsandatt hesamet i
me,hav eaney eont her oad.

Ci
rcui
tdi
agr
am:
Pr
ocedur
e:Thepr
ojectus
est
heey
ebl
i
nks
ens
orwhi
chcons
ist
ofIRs ens or
.Therearet wos ecti
onsinIRs ensor.TheIR
transmitteri
susedtot ransmittheinfrar
edr aystooureye.TheIR
receiverisusedtorecei v
ether efl
ectedinf
r ar
edr aysofey
e. I
fthe
ey eisclosedthentheout putofIRr ecei
verishighotherwi
set heIR
receiveroutputisl
ow. Andiftheey eisclosedmor ethan3s ecit
activat
esanal armalongwi thitavibrati
onmot orcreat
esvibrati
on
whi chinturnwakesthedr iver.

Concl
usi
onandanal
ysi
s:Theanal
ysi
sanddes
ignofdr
iver
drows inessdet ecti
onandal er
tsystemispresented.Theproposed
systemi sus edt oavoidv ariousroadaccidentscausedbydr owsy
dri
v i
ng. Thisprojectinv ol
vesav oidi
ngaccidenttounconsciousness
throughEy ebl i
nk.Her eey ebli
nks ens
orisfi
ttedinatrans
par ent
spect acl
ewhi chdr i
verneedt owearwhiledri
vingthevehi
clewher e
i
fdr i
verlosehi scons cious ness,t
henital
ertsthedriv
erthrough
buz zerandv ibrati
ont opr eventvehicl
efromaccident.

Ar
dui
nocode:
Thi
sisthecodewhi
chneedt
obeupl
oadedt
oAr
dui
nof
ori
ts
worki
ng:

#def
ineSENSEA0

Voi
dset
up(
)

{
pi
nMode(
SENSE,
INPUT)
;

pi
nMode(
2,OUTPUT)
;

pi
nMode(
LED_
BUI
LTI
N,OUTPUT)
;

Voi
dloop(
)

I
f(
digi
tal
Read(
SENSE)
)

di
gi
tal
Wri
te(
LED_
BUI
LTI
N,LOW)
;

pi
nMode(
2,LOW)
;

El
se

Del
ay(
2000)
;

I
f(
digi
tal
Read(
SENSE)
)

di
gi
tal
Wri
te(
LED_
BUI
LTI
N,LOW)
;

pi
nMode(
2,LOW)
;

El
se
di
gi
tal
Wri
te(
LED_
BUI
LTI
N,HI
GH)
;

pi
nMode(
2,HI
GH)
;

You might also like