Professional Documents
Culture Documents
rotate the solar panel accordingly, to receive sunlight to the fullest extent always during the day time
This movement is achieved by interfacing a stepper motor to
the solar panel that changes its direction according to the positioning of the sun.
This is achieved using time reference that controls the
movement time for 12 hours by a program written in such a way that for every given time the solar panel faces to the sun to generate maximum power
Introduction
We are using microcontroller 89S52 for controlling the
Why AT 89s52?
Coming to the question of why to use AT89s52 of all
the 8-bit Microcontroller available in the market the main answer would be because it has 8 Kb on chip flash memory which is just sufficient for our application. The on-chip Flash ROM allows the program memory to be reprogrammed in system or by conventional non-volatile memory Programmer. Moreover ATMEL is the leader in Flash technology in todays market place and hence using AT 89s52 is the optimal solution.
Software used
KEIL Vision3 is an IDE (Integrated Development
Environment) that helps you write, compile, and debug embedded programs.
Embedded C is used in this project
Power supply
down transformer from 230v to 12v and 4 diodes forming a Bridge Rectifier that delivers pulsating dc which is then filtered by an electrolytic capacitor of about 470microf to 100microF.
The filtered dc being un regulated IC LM7805 is used to get 5v
Microcontroller AT89S52
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash
time. It runs on a battery and keeps time for you even when there is a power outage. Using an RTC, you can keep track of long timelines, even if you reprogram your microcontroller or disconnect it from USB or a power plug. The RTC we'll be using is the DS1307 . It's low cost, easy to solder, and can run for years on a very small coin cell.
Stepper Motor
A stepper motor (or step motor) is a brushless synchronous
electric motor that can divide a full rotation into a large number of steps.
To make the motor shaft turn, first one electromagnet is given
power, which makes the gear's teeth magnetically attracted to the electromagnet's teeth.
So when the next electromagnet is turned on and the first is
turned off, the gear rotates slightly to align with the next one, and from there the process is repeated
LCD Display
The LCD panel is used in interfacing with micro-
Schematic Diagram
Procedure: Survey
First we studied about all components like
microcontroller,lcd,steppermotor
And we decided to modify project such that we are
Procedure
We bought all the components needed for our project We soldered all components according to the
schematic We wrote the code and created hex file in keil software We dumped hex file with the help of willarprogrammer to the micro controller
Software Programming
KEIL
Vision3 is an IDE (Integrated Development
Environment) that helps you write, compile, and debug embedded programs.
Embedded C is used in this project