19
7/21/2019 Tech http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 1/19 Team 8: Blake Frantz, Zhichao Lu, Alex Mazzoni, Nori Wilkins, Chenli Yuan, an Zilinskas

Tech

Embed Size (px)

DESCRIPTION

Technical slides on arduino

Citation preview

Page 1: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 1/19

Team 8: Blake Frantz, Zhichao Lu, Alex Mazzoni,Nori Wilkins, Chenli Yuan, an Zilinskas

Page 2: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 2/19

!ntro"uctionBack#roun"$ar"%are Connections◦

!&C Connectionsata Ca'turin#

◦ Ar"uino (o)t%are

ata *ut'ut◦ Con+ertin# ata

Page 3: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 3/19

e+elo' recor"in# s stem that recei+es"ata )rom sensors an" sen"s "ata %irelesslto 'rocessor◦ Bo" -%orn controller .Ar"uino/ sen"s "ata to 0C◦ 1eal-time 'rocessin# on external 0C

Focus on communication 2et%een one

sensor an" Ar"uino

Page 4: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 4/19

!M3- M034567◦ Accelerometer◦ rosco'e◦ Ma#netometer◦ Ca'tures MotionAr"uino◦ Ar"uino 3no

59 "i#ital ! *

*'eratin# ;olta#e-6;!n'ut ;olta#e Limit <-&7;

◦ Collects ata

Page 5: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 5/19

9 %ires connecte" )rom !M3 to Ar"uino;CC, Clock, roun", ata!&C Bus

& 'ull-u' resistors .&=& k>/-)or the line to 2e a2le to #ohi#hClock )re?uenc - 977k$z0in 9 .( A "ata line/0in 6 .(CL clock/

@=@;

Page 6: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 6/19

ata on !&C 2us is trans)erre" in 8-2it 'acketsach 'acket must 2e )ollo%e" 2 an

Ackno%le"#ement 'acket!) no Ackno%le"#ement is recei+e", "ata is not2ein# trans)erre"

Page 7: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 7/19

Both si#nals .( A an" (CL/ are 2i"irectional('eci es connections, 'rotocols, )ormats, a""resses an"'roce"uresFor each clock 'ulse, one 2it o) "ata is trans)erre"Lines can onl chan#e %hen (CL is lo%

Page 8: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 8/19

N

;CC

(CL

( A

Page 9: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 9/19

!&C 2us can onl han"le& a""resses

Multi'lexer◦ (%itch to control

multi'le "e+ices

◦ Ca'a2le o) multi'le

a""resses

Page 10: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 10/19

(ensors are connecte" to channel 'orts

.C7,C5, etc=/Channels are selecte" 2 selector 2its .(7(@/

Page 11: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 11/19

Ar"uino (o)t%areLi2rariesM03<767-Mo"i e" to a !M3-4567!&CWire

◦ (erial Monitor Terminal %in"o% that "is'la s ra% "ata )rom Ar"uino

Page 12: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 12/19

Functions◦ (erial=2e#in .2au"rate/

◦ Accel# ro=initialize./

◦ Accel# ro= etMotion4-2uilt into the li2rar

Page 13: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 13/19

(trin# -'rints the "ata 'oints into a strin#

(erial='rint-'rints the "ata 'oints to the serial

monitor

Page 14: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 14/19

Time-stam'in#◦ 3se)ul %hen connectin# multi'le sensors◦ Micros./D

i+es ou time in Microsecon"s◦ Millis./D

i+es ou time in Millisecon"s

Page 15: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 15/19

Page 16: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 16/19

Page 17: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 17/19

Page 18: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 18/19

Simulation Video

Page 19: Tech

7/21/2019 Tech

http://slidepdf.com/reader/full/tech5695cfd71a28ab9b028fbeec 19/19

Euestions