Spider The Lightcatcher. Work contents Idea Idea Allocating duties Allocating duties Designing and...
-
Upload
caren-anderson -
Category
Documents
-
view
212 -
download
0
Transcript of Spider The Lightcatcher. Work contents Idea Idea Allocating duties Allocating duties Designing and...
SpiderSpider The LightcatcherThe Lightcatcher
Work contentsWork contents
IdeaIdea Allocating dutiesAllocating duties Designing and making the projectDesigning and making the project ProgrammingProgramming Checking in real conditionsChecking in real conditions Presentation Presentation
IdeaIdea
The device is compact and simple to deal withThe device is compact and simple to deal with.. It consists of the It consists of the frame, microcontroller, 4 receiversframe, microcontroller, 4 receivers,, lens and LEDs lens and LEDs..The light The light is focused on receivers by the lens; voltages on the receivers is focused on receivers by the lens; voltages on the receivers become input signals of microcontroller, then it turns on LEDs become input signals of microcontroller, then it turns on LEDs in certain combinations depending on the source of light in certain combinations depending on the source of light coordinates.coordinates.
Allocating dutiesAllocating duties
Designing and making the projectDesigning and making the project
Scheme was the first Scheme was the first stepstep!!!!!!
Then a suitable atmosphere were madeThen a suitable atmosphere were made
At last the process started…At last the process started…
And we’ve got the next…And we’ve got the next…
ProgrammingProgrammingThe ADC (analog to digital converter) in The ADC (analog to digital converter) in
microcontroller translates an analog microcontroller translates an analog input signal on receivers to a digital input signal on receivers to a digital output value representing the size of output value representing the size of the input relative to a reference. Then the input relative to a reference. Then this value is compared with the this value is compared with the limit .limit .The microcontroller repeats The microcontroller repeats this operation 4 times (4 receivers this operation 4 times (4 receivers are used). are used).
The program reads digital codes, The program reads digital codes, converted by ADCconverted by ADC,, and then and then analyses them in the subprogram analyses them in the subprogram of interrupt processing, and turns of interrupt processing, and turns on LEDs in different combinations.on LEDs in different combinations.
Instructions of ‘compare register with Instructions of ‘compare register with immediate’ type are used in this immediate’ type are used in this programprogram.. In ‘double’ combinations In ‘double’ combinations masks also helps us to make the masks also helps us to make the program shorter and more program shorter and more convenient. convenient.
Checking in real conditionsChecking in real conditions
On the projectOn the project worked:worked:
Ekaterina Kharitonenko Ekaterina Kharitonenko Alexei IgnatovAlexei Ignatov Tatiana KarazhbeiTatiana Karazhbei
Thank you for attentionThank you for attention