• Nenhum resultado encontrado

6. Οθόνη lcd

3.6 ΣΔ΢Σ HARDWARE

ΕΛΕΓΧΟΣ ΥΛΙΚΟΥ (πάνω ζηον μικποεπεξεπγαζηή)

Αιζθηηήπιο Φωηόρ:

Ο Έιεγρνο ηoπ Αηζζεηεξίνπ Φσηόο νινθιεξώζεθε ζηηο 22/04/2010 θαη βξέζεθε ηθαλό πξνο ρξήζε σο έρεη.

Δλώζακε ην έλα άθξν ηνπ αηζζεηήξηνπ ζε 5volt θαη ην άιιν ζηελ είζνδν ηνπ AVR θαη πήξακε αλαινγηθέο ζε ςεθηαθέο ηηκέο θαη θάλακε ζπγθξίζεηο.

Αιζθηηήπιο Θεπμοκπαζίαρ:

Ο Έιεγρνο ηoπ Αηζζεηεξίνπ Θεξκνθξαζίαο νινθιεξώζεθε ζηηο 22/04/2010 θαη βξέζεθε ηθαλό πξνο ρξήζε σο έρεη. Δλώζακε ην έλα άθξν ηνπ αηζζεηήξηνπ ζε 5volt θαη ην άιιν ζηελ είζνδν ηνπ AVR θαη πήξακε αλαινγηθέο ζε ςεθηαθέο ηηκέο θαη θάλακε ζπγθξίζεηο.

Μοηέπ:

Ο Έιεγρνο κνηέξ νινθιεξώζεθε ζηηο 22/04/2010 θαη βξέζεθε ηθαλό πξνο ρξήζε σο έρεη. Γώζακε 5Volt από ην κπαηαξία κέζσ δύν ξειέ θαη επηβεβαηώζακε ηελ δύλακε, ηαρύηεηα, δεμηόζηξνθε θαη αξηζηεξόζηξνθε θίλεζε.

3.8 ΔΚΘΔ΢Ζ ΔΞΟΓΟΤ ΦΑ΢Ζ΢ 2Α:

ΔΡΓΟ: ΑΤΣΟΜΑΣΖ ΢ΚΗΑ΢Ζ ΠΑΡΑΘΤΡΟΤ ΦΑ΢Ζ:

ΖΜ/ΝΗΑ: 23/05/2010

ΑΠΟΦΑ΢Ζ ΢ΤΝΔΓΡΗΑ΢Ζ΢:

108 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

Ζ θάζε 2Α άξρηζε ζηηο 23/05/2010 θαη ηειείσζε ζηηο 24/06/2010. ΢ην δηάζηεκα απηό πξαγκαηνπνηήζεθαλ νη εμήο ιεηηνπξγηθέο απνθάζεηο από ηελ νκάδα:

 Πξνδηαγξαθέο ΢πζηήκαηνο

 Αλάιπζε δέλδξνπ ιαζώλ

 ΢ρέδην R & D

 Αλάιπζε Δπηθηλδπλόηεηαο

 Λεηηνπξγία αλαπηπμηαθνύ κε oCdevision θαη avr studio

 Αγνξά ησλ πεξηζζόηεξσλ πιηθώλ από ηνλ Τπεύζπλν Δκπνξηθήο Δθκεηάιιεπζεο

 Σνπνζέηεζε αηζζεηεξίσλ ρακειήο θαη πςειήο ζηάζκεο ζηηο δπν δεμακελέο 3.9 ΔΓΚΡΗ΢Ζ ΔΞΟΓΟΤ ΑΠΟ ΣΖΝ ΦΑ΢Ζ Α2:

Ζ ζπλεδξίαζε γηα ηελ εμέηαζε ηεο πξνόδνπ ηεο Φάζεο 2Α πξαγκαηνπνηήζεθε ζηηο 27/11/09, όπνπ παξεπξέζεθε ε νινκέιεηα ηεο νκάδαο ηνπ project. Καηόπηλ ζπδεηήζεσο απνθαζίζηεθε από ηελ project manager όηη ε νκάδα είλαη έηνηκε γηα ηελ επόκελε Φάζε θαη ήκαζηαλ ζύκθσλνη όινη γηα ηελ έγθξηζε εμόδνπ από ηελ Φάζε Α2.

Χπιζηοθή Δημήηπιορ: Τπεύζπλνο Διέγρνπ Λνγηζκηθνύ &Πξνγξακκαηηζηήο Α‟ (Τπεύζπλνο Hardware) Φιλίππος Φίλιππορ : Μεραλνιόγνο &Τπεύζπλνο Διέγρνπ Hardware & Τπεύζπλνο Παξαγσγήο

ΔΓΚΡΗΘΖΚΔ

ΦΑ΢Ζ 2Β

109 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

4 .1 ΥΡΟΝΟΓΗΑΓΡΑΜΜΑ ΦΑ΢Ζ΢ 2Β:

4.2 ΔΗ΢ΑΓΩΓΖ ΢ΣΖΝ ΠΡΟΠΑΡΑΓΩΓΖ:

Καηόπηλ αλάιπζεο ησλ απαηηήζεσλ θαη ησλ πξνδηαγξαθώλ πνπ καο έδσζε ν πειάηεο, πήξακε θάπνηεο απνθάζεηο γηα ην πώο ζα πινπνηεζεί ην έξγν .Έγηλαλ θάπνηα αξρηθά ζρεδία γηα ηε κνξθή ηεο καθέηαο.

ΦΑ΢Ζ 2Β

ΣΗΣΛΟ΢ ΔΡΓΟΤ ΑΤΣΟΜΑΣΖ ΢ΚΗΑ΢Ζ ΠΑΡΑΘΤΡΟΤ

ΤΠΔΤΘΤΝΟ΢ ΔΡΓΟΤ ΥΡΗ΢ΣΟΦΖ ΓΖΜΖΣΡΖ΢/ΦΗΛΗΠΠΟΤΦΗΛΗΠΠΟ΢

ΠΔΡΗΟΥΖ ΑΝΑΠΣΤΞΖ΢ ΚΑΒΑΛΑ

ΔΝΑΡΞΖ ΦΑ΢Ζ΢ 25-06-2010

ΛΖΞΖ ΦΑ΢Ζ΢ 24-08-2010

ΚΟ΢ΣΟ΢ 40.95

Υξνλνδηάγξακκα Φάζεο 2Β 27/05/2010 08/06/2010 13/06/2010 26/06/2010 24/08/20 Τινπνίεζε ησλ αηζζεηεξίσλ

Γηαγξάκκαηα ξνήο

Δθαξκνγή ιεηηνπξγίαο κνηέξ Βάζε πίλαθα 1.0 (ζει 6) Τινπνίεζε θώδηθα γηα ηα αηζζεηήξηα

΢ρεδηαζκόο ειεθηξνινγηθώλ θπθισκάησλ

Λεηηνπξγίαο

110 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

Ζ ξνή ησλ παξαγσγηθώλ δηαδηθαζηώλ μεθηλά κε ηελ πξνκήζεηα ησλ απαηηνύκελσλ πιηθώλ γηα ηελ πινπνίεζε ηνπ έξγνπ. Απηά ηα πιηθά είλαη ε αξρηθή εθηίκεζε γηα ην ηη ζα ρξεηαζηνύκε γηα ην έξγν. Σα θξηηήξηα γηα ηελ επηινγή ησλ πιηθώλ έγηλε κε βάζε ηελ αμηνπηζηία, ην θόζηνο θαη θπζηθά ηελ πνηόηεηα.

Σα πιηθά ζπλνπηηθά είλαη:

 Ο κηθξνεπεμεξγαζηήο STK 500 όπνπ είλαη ε βάζε γηα ην έξγν

 Σα αηζζεηήξηα καο

 Μνηέξ

 Οζόλε

 Σξνθνδνηηθό

111 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

4.3 ΓΗΑΓΡΑΜΜΑΣΑ ΡΟΖ΢:

CALL FUNCTION metrisi_aisthiri

wn

Ανάλςζη ηηρ ζςνάπηηζηρ metrisi_aisthiriwn Βαθμοί από 0 εώρ και 10

if(temp<=10 ||

temp>0)

NO YES

if(temp<=20 ||

temp>10)

if(light<=50 ||

light>=0) YES

NO

if(light<=100 ||

light>50)

NO

if(old_light>100 &&

old_light<=150 &&

old_light>=light && light>

old_light) if(old_light>200 &&

old_light<=255 &&

old_light>=light && light>

old_light)

if(old_light>50 &&

old_light<=100 &&

old_light>=light && light>

old_light) if(old_light>150 &&

old_light<=200 &&

old_light>=light && light>

old_light)

if(old_temp>20

&& old_temp

<30)

YES

if(old_temp>10

&& temp<20)

YES close the blint

3/4 close the blint

3/4

NO

YES NO if(old_temp>30) close the blint

2/4 YES

NO

close the blint 4/4

if(old_temp>20

&& old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

2/4

if(old_temp>30) close the blint 1/4

close the blint 4/4 close the blint

4/4 YES

YES NO

YES NO YES

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30) close the blint 1/4

close the blint 4/4

close the blint 4/4

YES NO

YES

NO NO

NO

YES

YES

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

1/4

if(old_temp>30)

close the blint 3/4

close the blint 4/4

close the blint 4/4

YES YES

NO

YES NO YES

NO NO

NO NO

if(old_light>150 &&

old_light<=200 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES close the blint

4/4 close the blint

3/4

NO

YES NO

close the blint 2/4 YES

NO close the blint

4/4

YES

NO

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

YES

112 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

if(light<=150 ||

light>100)

NO

if(old_light>200 &&

old_light<=255 &&

old_light>=light && light>

old_light)

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

2/4

if(old_temp>30) close the blint 1/4

close the blint 4/4 close the blint

4/4 YES

NO

YES NO YES

NO

NO

if(old_light>=0 &&

old_light>50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30) close the blint 4/4

close the blint 4/4

close the blint 4/4

YES NO

YES

NO NO

YES

YES

if(old_light>100 &&

old_light<=150 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

1/4

if(old_temp>30)

close the blint 3/4

close the blint 4/4

close the blint 4/4

YES YES

NO

YES NO YES

NO

YES if(old_light>150 &&

old_light<=200 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES close the blint

4/4 close the blint

3/4

NO

YES NO

close the blint 2/4 YES

NO close the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

if(old_light>200 &&

old_light<=255 &&

old_light>=light && light>

old_light)

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30) close the blint 1/4

close the blint 4/4 close the blint

4/4 YES

NO

YES NO YES

NO NO

NO

NO

113 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

if(light<=200 ||

light>150)

if(old_light>200 &&

old_light<=255 &&

old_light>=light && light>

old_light)

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30) close the blint 1/4

close the blint 4/4 close the blint

4/4 YES

NO

YES NO YES

NO

if(old_light<=100 &&

old_light>50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30) close the blint 4/4

close the blint 4/4

close the blint 4/4

YES NO

YES

NO NO

YES

YES

NO NO

if(old_light>=0 &&

old_light<=50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) close the blint

4/4

if(old_temp>30)

close the blint 4/4

close the blint 4/4

close the blint 4/4

YES YES

NO

YES NO YES

NO

if(old_light>50 &&

old_light<=100 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES open the blint

4/4 open the blint

4/4

NO

YES NO

open the blint 4/4 YES

NO open the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

NO NO

YES

114 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

if(old_light>100 &&

old_light<=150 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

1/4

if(old_temp>30)

open the blint 1/4

open the blint 4/4

open the blint 3/4

YES YES

NO

YES NO YES

NO

if(old_light>=0 &&

old_light<=50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

4/4

if(old_temp>30)

open the blint 4/4

open the blint 4/4

open the blint 4/4

YES YES

NO

YES NO YES

NO

NO NO

if(old_light>200 &&

old_light<=255 &&

old_light>=light && light>

old_light)

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

2/4

if(old_temp>30) open the blint 3/4

open the blint 4/4 open the blint

4/4 YES

NO

YES NO YES

NO

if(light<=255 ||

light>200)

if(old_light>50 &&

old_light<=100 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES open the blint

4/4 open the blint

4/4

NO

YES NO

open the blint 4/4 YES

NO open the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

YES

115 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

if(old_light>100 &&

old_light<=150 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

1/4

if(old_temp>30)

open the blint 1/4

open the blint 4/4

open the blint 3/4

YES YES

NO

YES NO YES

NO

if(old_light>=0 &&

old_light<=50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

4/4

if(old_temp>30)

open the blint 4/4

open the blint 4/4

open the blint 4/4

YES YES

NO

YES NO YES

NO NO

NO

if(old_light>150 &&

old_light<=200 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES open the blint

1/4 open the blint

1/4

NO

YES NO

open the blint 2/4 YES

NO open the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

116 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

117 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

118 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

119 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

120 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

121 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

122 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

123 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

124 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

125 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

126 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

127 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

if(light<=255 ||

light>200)

if(old_light>50 &&

old_light<=100 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES open the blint

4/4 open the blint

4/4

NO

YES NO

open the blint 4/4 YES

NO open the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

YES

if(old_light>100 &&

old_light<=150 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

1/4

if(old_temp>30)

open the blint 1/4

open the blint 4/4

open the blint 3/4

YES YES

NO

YES NO YES

NO NO

if(old_light>=0 &&

old_light<=50 &&

old_light>=light && light>

old_light)

if(old_temp>20

&&| old_temp

<30)

if(old_temp>10

&& temp<20) open the blint

4/4

if(old_temp>30)

open the blint 4/4

open the blint 4/4

open the blint 4/4

YES YES

NO

YES NO YES

NO NO

NO

if(old_light>150 &&

old_light<=200 &&

old_light>=light && light>

old_light)

if(old_temp>10

&& temp<20)

YES open the blint

1/4 open the blint

1/4

NO

YES NO

open the blint 2/4 YES

NO open the blint

4/4

YES

if(old_temp>20

&& old_temp

<30)

if(old_temp>30)

128 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

129 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

130 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

131 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

132 ΑΤΣΟΜΑΣΟ ΢ΚΙΑ΢ΜΑ ΠΑΡΑΘΤΡΟΤ

Documentos relacionados