Escolar Documentos
Profissional Documentos
Cultura Documentos
com opasdfghjklzxcvbnmqwertyuiopasdfg hjklzxcvbnmqwertyuiopasdfghjklzxc vbnmqwertyuiopasdfghjklzxcvbnmq wertyuiopasdfghjklzxcvbnmqwertyui opasdfghjklzxcvbnmqwertyuiopasdfg hjklzxcvbnmqwertyuiopasdfghjklzxc vbnmqwertyuiopasdfghjklzxcvbnmq wertyuiopasdfghjklzxcvbnmqwertyui opasdfghjklzxcvbnmqwertyuiopasdfg hjklzxcvbnmrtyuiopasdfghjklzxcvbn mqwertyuiopasdfghjklzxcvbnmqwert yuiopasdfghjklzxcvbnmqwertyuiopas
VISIT US, CHOOSE THE PROJECT YOU LIKE AND CLICK THE DOWNLOAD BUTTON
CHAPTER 1
INTRODUCTION
A solar tracker is a device for orienting a Photovoltaic array solar photovoltaic panel or concentrating solar reflector or lens toward the sun. The sun's position in the sky varies both with the seasons (elevation) and time of day as the sun moves across the sky. Solar powered equipment works best when pointed at or near the sun, so a solar tracker can increase the effectiveness of such equipment over any fixed position, at the cost of additional system complexity. There are many types of solar trackers, of varying costs, sophistication, and performance. One well-known type of solar tracker is the heliostat, a movable mirror that reflects the moving sun to a fixed location, but many other approaches are used as well. Non-concentrating applications require less accuracy, and many work without any tracking at all. However, tracking can substantially improve both the amount of total power produced by a system and that produced during critical system demand periods (typically late afternoon in hot climates). The use of trackers in non-concentrating applications is usually an engineering decision based on economics. Compared to photo voltaic, trackers can be inexpensive. This makes theme specially effective for photovoltaic systems using high-efficiency (and thus expensive) panels. Extracting usable electricity from the sun was made possible by the discovery of the photoelectric mechanism and subsequent development of the solar cell a semi conductive material that converts visible light into a direct current. By using solar arrays, a series of solar cells electrically connected, a DC voltage is generated which can be physically used on a load. Solar arrays or panels are being used increasingly as efficiencies reach higher levels, and are especially popular in remote areas where placement of electricity lines is not economically viable. The process of sensing and following the position of the sun is known as Solar Tracking. It was resolved that real-time tracking would be necessary to follow the sun effectively, so that no external data would be required in operation.
www.BEProjectReport.com
Page 2
CHAPTER 2
PHOTOVOLTAICS
Photovoltaic(PV) is a technology that converts light directly into electricity.Photovoltaicis also the field of study relating to this technology and there are many research institutes devoted to work on photovoltaic. Due to the growing need for solar energy, the manufacture of solar cells and solar photovoltaic array has expanded dramatically since 2002.making it the worlds fastest -growing energy technology.
FIG:2.1 Solar Cell The photovoltaic cell is the basic building block of a photovoltaic system. Individual cells can vary in size from about 0.5 inches to about 4 inches across. However, one cell only produces 1 or 2 watts, which isn't enough power for most applications. The performance of a photovoltaic array is dependent upon the sunlight .Climatic conditions (eg., clouds, fog) have a significant effect on the amount of solar energy received by a photovoltaic array and, in turn, its performance. Most current technology photovoltaic modules are about 10% efficient in converting solar radiation. Further research is being conducted to raise this efficiency to 20%.
www.BEProjectReport.com
Page 3
MONO CRYSTALLINE:
Monocrystalline solar panels are made from a large crystal of silicon. These type of solar panels are the most efficient as in absorbing sunlight and converting it into electricity, however they are the most expensive. They do somewhat better in lower light conditions then the other types of solar panels.
POLYCRYSTALLINE:
Polycrystalline solar panels are the most common type of solar panels on the market today. They look a lot like shattered glass. They are slightly less efficient then the monocrystalline solar panels and less expensive to produce. Instead of one large crystal, this type of solar panel consists of multiple amounts of smaller silicon crystal.
www.BEProjectReport.com
Page 4
CAST POLYSILICON:
In this process, molten silicon is cast in a large block which, when cooled, can be cut into thin wafers to be used in photovoltaic cells. These cells are then assembled in a panel. Conducting metal strips are then laid over the cells, connecting them to each other and forming a continuous electrical current throughout the panel.
Amorphous solar panels consist of a thin-like film made from molten silicon that is spread directly across large plates of stainless steel or similar material. These types of solar panels have lower efficiency then the other two types of solar panels, and the cheapest to produce. One advantage of amorphous solar panels over the other two is that they are shadow protected. That means that the solar panel continues to charge while part of the solar panel cells are in a shadow. These work great on boats and other types of transportation.
www.BEProjectReport.com
Page 5
CHAPTER 3
TYPES OF TRACKERS
3.1TRACKER MOUNT TYPES
Solar trackers may be active or passive and may be single axis or dual axis.There are two types of dual axis trackers, polar and altitude-azimuth. Single axis trackers: Horizontal axis: Several manufacturers can deliver single axis horizontal trackers which may be oriented by either passive or active mechanisms, depending upon manufacturer. In these, a long horizontal tube is supported on bearings mounted upon pylons or frames. The axis of the tube is on a North-South line. Panels are mounted upon the tube, and the tube will rotate on its axis to track the apparent motion of the sun through the day. These devices are less effective at higher latitudes. The principal advantage is the inherent robustness of the supporting structure and the simplicity of the mechanism. Vertical axis: A single axis tracker may be constructed that pivots only about a vertical axle, with the panels either vertical, at a fixed, adjustable, or tracked elevation angle. Such trackers with fixed or (seasonably) adjustable angles are suitable for high latitudes, where the apparent solar path is not especially high, but which leads to long days in Summer, Two-axis mount: Altitude-azimuth A type of mounting that supports the weight of the solar tracker and allows it to move in two directions to locate a specific target. One axis of support is horizontal (called the altitude) and allows the telescope to move up and down. The other axis is vertical (called the azimuth) and allows the telescope to swing in a circle parallel to the ground. Restricted to active trackers, this mount is also becoming popular as a large telescope mount owing to its structural simplicity and compact dimensions. Multi-mirror reflective unit: A multiple mirror reflective system combined with a central power tower is employed at the Sierra SunTower, located in Lancaster, California. This generation plant operated by eSolar is scheduled to www.BEProjectReport.com Page 6
begin operations on August 5, 2009. This system, which uses multiple heliostats in a north-south alignment, uses pre-fabricated parts and construction as a way of decreasing startup and operating costs.
www.BEProjectReport.com
Page 7
CHAPTER 4
HARDWARE DESCRIPTION
4.1 BASIC BLOCK DIAGRAM:
FIG: 4.1
www.BEProjectReport.com
Page 8
Fig: 4.2 Block Diagram Of Power Supply A step down transformer is used to convert 230V 50HZ line voltage 12V ac input to the supply pin of the circuit. The ac voltage is converted to pulsated dc using a center tapped full wave rectifier. Any ripples if present are eliminated using a capacitive filter at the output of the full wave rectifier. The capacitive filter output is input to LM 7805(voltage regulator), which produces a dc equivalent of ac 5V. This 5V dc acts as VCC to the micro controller. Circuit Features: Brief description of operation: Gives out well regulated +5V output, output current capability of 1A Circuit complexity: Very simple and easy to build Circuit performance: Very stable +5V output voltage, reliable operation Availability of components: Easy to get, uses only very common basic components Applications: Part of electronics devices, small laboratory power supply Power supply voltage: 230V AC Power supply current: 1A www.BEProjectReport.com Page 9
www.BEProjectReport.com
Page 10
FIG 4.3.1 The AT89C51 is a low-power, high-performance CMOS 8-bit microcontroller with 4k bytes of Flash Programmable and erasable read only memory (EROM). The device is manufactured using Atmels high-density nonvolatile memory technology and is functionally compatible with the industrystandard 80C51 microcontroller instruction set and pin out.
www.BEProjectReport.com
Page 11
PIN CONFIGURATION:
www.BEProjectReport.com
Page 12
PIN DESCRIPTION:
VCC GND Supply voltage Ground Port 0 Port 0 is an 8-bit open drain bi-directional I/O port. Port 0 can also be configured to be the multiplexed low order address/data bus during access to external program and data memory. Port 1 Port 1 is an 8-bit bi-directional I/O port. The port 1output buffers can sink/source four TTL inputs. Port 2 Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. The port 2 output buffers can sink/source four TTL inputs. When 1s are written to port 2 pins, they are pulled high by the internal pull-ups can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current because of the internal pull-ups. Port 3 Port 3 is an 8-bit bi-directional I/O port with internal pull-ups. The port 3 output buffers can sink/source four TTL inputs. When 1s are written to port 3 pins, they are pulled high by the internal pull-ups can be used as inputs. RST Rest input A on this pin for two machine cycles while the oscillator is running resets the device . ALE/PROG: Address Latch Enable is an output pulse for latching the low byte of the address during access to external memory. This pin is also the program pulse input (PROG) during Flash programming. PSEN Program Store Enable is the read strobe to external program memory when the AT89c51 is executing code from external program memory PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory. EA /VPP External Access Enable (EA) must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000h up to FFFFH. Note, however, that if lock bit 1 is programmed EA will be internally latched on reset. EA should be strapped to Vcc for
www.BEProjectReport.com
Page 13
internal program executions. This pin also receives the 12-volt programming enable voltage (Vpp) during Flash programming when 12-volt programming is selected. XTAL1 Input to the inverting oscillator amplifier and input to the internal clock operating circuit. XTAL 2 Output from the inverting oscillator amplifier.
OPERATING DESCRIPTION
The detail description of the AT89C51 included in this description is: Memory Map and Register Timer/Counters
1. Register Banks 0-3: locations 00H through 1FH (32 bytes). The device after reset defaults to
register bank 0. To use the other register banks, the user must select them in software. Each register bank contains eight 1-byte registers R0-R7. Reset initializes the stack point to location 07H, and is incremented once to start from 08H, which is the first register of the second register bank. 2. Bit Addressable Area: 16 bytes have been assigned for this segment 20H-2FH. Each one of the 128 bits of this segment can be directly addressed (0-7FH). Each of the 16 bytes in this segment can also be addressed as a byte. 3. Scratch Pad Area: 30H-7FH are available to the user as data RAM. However, if the data pointer has been initialized to this area, enough bytes should be left aside to prevent SP data destruction.
www.BEProjectReport.com
Page 14
Fig 4.3.1 Special Function Registers The Special Function Registers (SFR's) are located in upper 128 Bytes direct addressing area. The SFR Memory Map in shows that Not all of the addresses are occupied. Unoccupied addresses are not implemented on the chip. Read accesses to these addresses in general return random data, and write accesses have no effect. User software should not write 1s to these unimplemented locations, since they may be used in future microcontrollers to invoke new features. In that case, the reset or inactive values of the new bits will always be 0, and their active values will be 1. The functions of the SFRs are outlined in the following sections.
Accumulator (ACC)
ACC is the Accumulator register. The mnemonics for Accumulator-specific instructions, however, refer to the Accumulator simply as A.
B Register (B)
The B register is used during multiply and divide operations. For other instructions it can be treated as another scratch pad register.
www.BEProjectReport.com
Page 15
Timer Registers
Register pairs (TH0, TL0) and (TH1, TL1) are the 16-bit Counter registers for Timer/Counters 0 and 1, respectively.
Control Registers
Special Function Registers IP, IE, TMOD, TCON, SCON, and PCON contain control and status bits for the interrupt system, the Timer/Counters, and the serial port.
TIMER/COUNTERS
The AT89C51 has two 16-bit Timer/Counter registers: Timer 0 and Timer 1. All two can be configured to operate either as Timers or event counters. As a Timer, the register is incremented every machine cycle. Thus, the register counts machine cycles. Since a machine cycle consists of 12 oscillator periods, the count rate is 1/12 of the oscillator frequency. As a Counter, the register is incremented in response to a 1-to-0 transition at its corresponding external input pin, T0 and T1. The external input is sampled during S5P2 of every machine cycle. When the samples show a high in one cycle and a low in the next cycle, the count is incremented. The new count value appears in the register during S3P1 of the cycle following the one in which the transition was detected. Since two machine cycles (24 oscillator periods) are required to recognize a 1-to-0 transition, the maximum count rate is 1/24 of the oscillator frequency. There are no restrictions on the duty cycle of the external input signal, but it should be held for at least one full machine cycle to ensure that a given level is sampled at least once before it changes.
www.BEProjectReport.com
Page 16
In addition to the Timer or Counter functions, Timer 0 and Timer 1 have four operating modes: 13bit timer, 16-bit timer, 8-bit auto-reload, split timer.
TIMERS:
OSCILLATOR FREQUENCY
12D
TLX THX TFX
TR
TMOD Register
TCON Register
www.BEProjectReport.com
Page 17
These bits are used to configure the way in which the external interrupt flags are activated, which are set when an external interrupt occurs.
TH1
TL1
The Timer or Counter function is selected by control bits C/T in the Special Function Register TMOD. These two Timer/Counters have four operating modes, which are selected by bit pairs (M1, M0) in TMOD. Modes 0, 1, and 2 are the same for both Timer/Counters, but Mode 3 is different. The four modes are described in the following sections.
Mode 0:
Both Timers in Mode 0 are 8-bit Counters with a divide-by-32 pre scalar. Figure 8 shows the Mode 0 operation as it applies to Timer 1. In this mode, the Timer register is configured as a 13-bit register. As the count rolls over from all 1s to all 0s, it sets the Timer interrupt flag TF1. The counted input is enabled to the Timer when TR1 = 1 and either GATE = 0 or INT1 = 1. Setting GATE = 1 allows the Timer to be controlled by external input INT1, to facilitate pulse width measurements. TR1 is a control bit in the Special Function Register TCON. Gate is in TMOD. www.BEProjectReport.com Page 18
The 13-bit register consists of all eight bits of TH1 and the lower five bits of TL1. The upper three bits of TL1 are indeterminate and should be ignored. Setting the run flag (TR1) does not clear the registers. Mode 0 operation is the same for Timer 0 as for Timer 1, except that TR0, TF0 and INT0 replace the corresponding Timer 1 signals. There are two different GATE bits, one for Timer 1 (TMOD.7) and one for Timer 0 (TMOD.3).
Mode 1
Mode 1 is the same as Mode 0, except that the Timer register is run with all 16 bits. The clock is applied to the combined high and low timer registers (TL1/TH1). As clock pulses are received, the timer counts up: 0000H, 0001H, 0002H, etc. An overflow occurs on the FFFFH-to0000H overflow flag. The timer continues to count. The overflow flag is the TF1 bit in TCON that is read or written by software
Mode 2
Mode 2 configures the Timer register as an 8-bit Counter (TL1) with automatic reload, as shown in Figure 10. Overflow from TL1 not only sets TF1, but also reloads TL1 with the contents of TH1, which is preset by software. The reload leaves the TH1 unchanged. Mode 2 operation is the same for Timer/Counter 0.
Mode 3
Timer 1 in Mode 3 simply holds its count. The effect is the same as setting TR1 = 0. Timer 0 in Mode 3 establishes TL0and TH0 as two separate counters. The logic for Mode 3 on Timer 0 is shown in Figure 11. TL0 uses the Timer 0 control bits: C/T, GATE, TR0, INT0, and TF0. TH0 is locked into a timer function (counting machine cycles) and over the use of TR1 and TF1 from Timer 1. Thus, TH0 now controls the Timer 1 interrupt. Mode 3 is for applications requiring an extra 8-bit timer or counter. With Timer 0 in Mode 3, the AT89C51 can appear to have three Timer/Counters. When Timer 0 is in Mode 3, Timer 1 can be turned on and off by switching it out of and into its own Mode 3. In this case, Timer 1 can still be used by the serial port as a baud rate generator or in any application not requiring an interrupt.
www.BEProjectReport.com
Page 19
4.4 DS 1307(RTC)
Real-Time Clock (RTC) Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year
DESCRIPTION
The DS1307 serial alarm real-time clock provides a full binary coded decimal (BCD) clock calendar that is accessed by a simple serial interface. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. In addition, 96 bytes of NV RAM are provided for data storage. The DS1307 will maintain the time and date, provided the oscillator is enabled, as long as at least one supply is at a valid level An interface logic power-supply input pin (VCCIF) allows the DS1307 to drive SDA and SCL pins to a level that is compatible with the interface logic. This allows an easy interface to 3V logic in mixed supply systems. The DS1307 offers dual-power supplies as well as a battery input pin. The dual power supplies support a programmable trickle charge circuit that allows a rechargeable energy source (such as a super cap or rechargeable battery) to be used for a backup supply. The VBAT pin allows the device to be backed up by a non-rechargeable battery. The DS1307 is fully operational from 2.0V to 5.5V. Two programmable time-of-day alarms are provided by the DS1307. Each alarm can generate an interrupt on a programmable combination of seconds, minutes, hours, and day. Dont care states can be inserted into one or more fields if it is desired for them to be ignored for the alarm condition. www.BEProjectReport.com Page 20
The time-of-day alarms can be programmed to assert two different interrupt outputs or to assert one common interrupt output. Both interrupt outputs operate when the device is powered by VCC1, VCC2, or VBAT. The DS1307 supports a direct interface to SPI serial data ports or standard 3-wire interface. A straightforward address and data format is implemented in which data transfers can occur 1 byte at a time or in multiple-byte-burst mode.
www.BEProjectReport.com
Page 21
.
Fig: 4.5.1 Liquid Crystal Display
4.6 KEYPAD
Keypads are a part of HMI or Human Machine Interface and play really important role in a small embedded system where human interaction or human input is needed. Matrix keypads are well known for their simple architecture and ease of interfacingwith any microcontroller. Scanning a matrix keypad: There are many methods depending on how the keypadis connected with the controller, but the basic logic is same. Thecolumns as i/p and rows making them o/p, this whole procedure of reading the keyboard is called scanning.
FIG 4.7.1
www.BEProjectReport.com
Page 23
FEATURES:
600ma. output current capability perchannel 1.2a pe ak o utput current (nonrepetitive) per channel enable facility overtemperature protection logical 0 input voltage up to 15v internal clamps diodes.
SPECIFICATION: INPUT VOLTAGE 15V INPUT CURRENT 0.6A R.P.M 10:1 www.BEProjectReport.com Page 24
www.BEProjectReport.com
Page 25
CHAPTER 5
PROJECT IMPLEMENTATION
5.1 HARD WARE IMPLEMENTATION
5.1.1 SCHEMATIC: 5.1.2 INTERFACING LCD WITH MICRO CONTROLLER:
Fig 5.1 Interfacing Lcd With Microcontroller Lcd (Liquid Crystal Display) was connected to microcontroller through pins (D0-D3) to(p1.4-p1.7) respectively to send the data through microcontroller ,R/W pin was connected to ground ,RS PIN to P2.0,EN pin to P2.1,and Vcc to supply pin.
www.BEProjectReport.com
Page 26
Fig 5.2 Interfacing L293d Driver With Gear Motor L293D was connected to micro controller through pins p0.0 andP0.1 .3and4 pins are connected to D.C BRUSHLESS MOTOR positive and negative pins. 4,5 pins were shorted and given to 9v supply. 7,11,13,14 left open and remaining pins were connected to ground.
www.BEProjectReport.com
Page 27
Fig 5.3 Interfacing Ds 1307 With Micro Controller DS 1307 was connected to the micro controller through pins P3.2, P3.4, P3.3 to the pins 7, 6, 5 respectively. 1, 2pins were connected to 33KHZ crystal oscillator and the remaining pins were connected to supply of 3.6V.
www.BEProjectReport.com
Page 28
www.BEProjectReport.com
Page 29
www.BEProjectReport.com
Page 30
init(0x0c,5); init(0x01,5); init(0x06,5); while(1) { if(K1==0) { init(0x01,5); message1(0x80,"Enter HH:MM:SS"); message1(0xc0,"00:00:00"); delay(1000); break; } if(K2==0) { init(0x01,5); message1(0x80,"process continu"); delay(250); goto process; break; } } delay(150); message1(0xc0,"00:00:00"); delay(1000); while(1) { if(K3==0) { delay(300); break; } if(K1==0)//adjust the hours on the bases of the key1 { delay(100);//if we want to increase a= a+1; init(0xc0,15); if(a<=23) { a=a+1; } else { www.BEProjectReport.com Page 32
} } if(K2==0) { delay(100);//adjust the hours on the bases of the key2 a= a-1; init(0xc0,15); //if we want to decrease if(a<=0) { a=0; } else { a=a-1; } } while(1) { if(K3==0) { delay(300); break; } init(0xc3,15); if(K1==0) //adjust the minutes on the bases of the key1 { //if we want to increase if(b<=59) { b=b+1 } else { } } if(K2==0) { //adjust the minutes on the bases of the key2 //if we want to decrease if(b<=0) { www.BEProjectReport.com Page 33
b=0; } else { b=b-1; } } d=0; while(1) { if(K3==0) { delay(300); break; } if(K1==0) { if(d<=59) { d=d+1; } else { d=59; } } if(K2==0) {
//adjust the seconds on the bases of the key1 //if we want to increase
//adjust the seconds on the bases of the key2 //if we want to decrease
if(d<=0) { d=0; else { d=d-1; } } } voidinit(unsigned char dbyte,unsignedintmsec) { unsigned char temp; DATA=dbyte; callen(); temp=_cror_(dbyte,4); www.BEProjectReport.com Page 34
DATA=temp; callen(); delay(msec); } voidwrite_lcd(unsigned char dbyte,unsignedintmsec) { unsigned char temp; DATA=dbyte; callenrs(); temp=_cror_(dbyte,4); DATA=temp; callenrs(); delay(msec); } //starts i2c, if both SCK & SDA are idle void start(void) { if(SCK==0) //check SCK. if SCK busy, return else SCK idle return; if(SDA==0) //check SDA. if SDA busy, return else SDA idle return; SDALOW //data low delay_us SCKLOW //clock low delay_us } //stops i2c, releasing the bus void stop(void) { SDALOW //data low SCKHIGH //clock high delay_us SDAHIGH //data high delay_us } //transmits one byte of data to i2c bus voidsend_byte(unsigned char c) { unsigned mask=0x80; do //transmits 8 bits { if(c&mask) //set data line accordingly(0 or 1) SDAHIGH //data high else www.BEProjectReport.com Page 35
SDALOW //data low SCKHIGH //clock high delay_us SCKLOW //clock low delay_us mask/=2; //shift mask } while(mask>0); SDAHIGH //release data line for acknowledge SCKHIGH //send clock for acknowledge delay_us slave_ack=SDA; //read data pin for acknowledge SCKLOW //clock low delay_us } //receives one byte of data from i2c bus unsigned char receive_byte(unsigned char master_ack) { unsigned char c=0,mask=0x80; do //receive 8 bits { SCKHIGH //clock high delay_us if(SDA==1) //read data c|=mask; //store data SCKLOW //clock low delay_us mask/=2; //shift mask } while(mask>0); if(master_ack==1) SDAHIGH //don't acknowledge else SDALOW //acknowledge SCKHIGH //clock high delay_us SCKLOW //clock low delay_us SDAHIGH //data high return c; } //writes one byte of data(c) to slave device(device_id) at given address(location) void write_i2c(unsigned char device_id,unsigned char location,unsigned char c) { www.BEProjectReport.com Page 36
do { start(); //starts i2c bus send_byte(device_id); //select slave device if(slave_ack==1) //if acknowledge not received, stop i2c bus stop(); } while(slave_ack==1); //loop until acknowledge is received send_byte(location); //send address location send_byte(c); //send data to i2c bus stop(); //stop i2c bus delay(5); } //reads one byte of data(c) from slave device(device_id) at given address(location) unsigned char read_i2c(unsigned char device_id,unsigned char location) { unsigned char c; do { start(); //starts i2c bus send_byte(device_id); //select slave device if(slave_ack==1) //if acknowledge not received, stop i2c bus stop(); }while(slave_ack==1); //loop until acknowledge is received send_byte(location); //send address location stop(); //stop i2c bus start(); //starts i2c bus send_byte(device_id+1); //select slave device in read mode c=receive_byte(1); //receive data from i2c bus stop(); //stop i2c bus return c; } void message(unsigned char *s) { while(*s) { write_lcd(*s++,150); } } //In this equation, x = the actual decimal value; cc = the integer value of (x modulo 100)/10; b = the integer value of (x modulo 1000)/100; I = the integer value of (x modulo 10000)/1000; and m = the integer value of x/10000. www.BEProjectReport.com Page 37
Voidgopos() { while(cnt1>0) { init(0x80,15); write_lcd(((cnt1/10)+48),5); write_lcd(((cnt1%10)+48),5); delay(1000); Mf=1; Delay (29); mf=0; cnt1--; } } Voidgo1 () { Mf=1; Delay (29); Mf=0; } Voidcurrent time () { While (1) { message1 (0xc0,"init-k1y-k2n"); // delay (10000);//after reset display on lcd //message1 (0xc0,"K1-y:K2-N "); If (K2==0) { z4=1; Break; } elseif(K1==0) Break; } }
www.BEProjectReport.com
Page 38
CHAPTER 6
ADVANTAGES AND DISADVANTAGES
6.1ADVANTAGES:
1.
2. 3. 4. 5. 6.
7.
Solar power is pollution free during use. Production end wastes and emissions are manageable using existing pollution controls. End-of-use recycling technologies are under development. Facilities can operate with little maintenance after initial setup. Solar electric generation is economically superior where grid connection or fuel transport is difficult, costly or impossible. When grid-connected, solar electric generation can displace the highest cost electricity during times of peak demand can reduce grid loading. Grid-connected solar electricity can be used locally thus reducing transmission/distribution losses. Once the initial capital cost of building a solar power plant has been spent, operating costs are extremely low compared to existing power technologies. The power obtained by solar tracking is almost constant over a period of time when compared with the output obtained by a panel without tracking.
6.2 DISADVANTAGES:
1. Solar electricity is almost more expensive than electricity generated by other sources. 2. Solar electricity is not available at night and is less available in cloudy weather conditions. Therefore, a storage or complimentary power system is required. 3. Limited power density. 4. Solar cells produce DC which must be converted to ACwhen used in currently existing distribution grids
www.BEProjectReport.com
Page 39
CHAPTER 7
RESULTS AND CONCLUSION
7.1 RESULTS:
1. Output of the power kit was tested and multimeter reading is 5v. 2. Power supply to the control kit was tested. 3. Seconds and minute operation of tracking system was verified.
www.BEProjectReport.com
Page 40
7.2 CONCLUSION:
In recent years, the generation of electricity using solar technology has seen a tremendous growth, in particular because of the economic considerations and smooth operation of the solar panels. Even though the initial costs are high, but operation costs and maintenance costs are low. Solar tracking system today offer an innovative method to track the solar insolation and provide economic compatibility of the generation of electric power where grid connections are difficult to setup and costly. Here the tracking system is based on microcontroller with effective systematic operation and the solar panel is rotated by the dc gear motor effectively.
www.BEProjectReport.com
Page 41