









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










OBJECTIVE: The main purpose of this project is to control the angle of servo motor and set the solar panel in a position where maximum sun ray will be found. The controlling of servo motor, their torque angle, stability and other properties are also the main purpose of this project.
Required Apparatus:
For Circuit
For Model:
Required software:
2. LDR: A Light-dependent resistor, LDR, photoresistor or photo-conductive cell) is a light- controlled variable resistor. The resistance of LDR decreases with increasing incident light intensity; in other words, it exhibits photoconductivity. Ldr can be applied in light-sensitive detector circuits, and light-activated and dark-activated switching circuits. LDR is made of a high resistance semiconductor. In the dark, ldr can have a resistance as high as several mega ohms (MΩ), while in the light, ldr can have a resistance as low as a few hundred ohms. If incident light on ldr exceeds a certain frequency, photons absorbed by the semiconductor give bound electrons enough energy to jump into the conduction band. The resulting free electrons (and their hole partners) conduct electricity, thereby lowering resistance.
PRICE: 5taka per piece
3. Micro Servo 9g SG90 : - Weight: 9 g
Price : 120TAka
Specifications
Price: 550Taka
7. Jumper wires:
Price: 2taka per piece
8. PVC Board: (5mm)
Price: 75taka/square feet
9. Glue Gun+ Glue stick:
Price: Glue gun: 150taka Glue stick:20 taka /piece
10. Araldite: Araldite is a registered trademark of Huntsman Advanced Materials (previously part of Ciba-Geigy) referring to their range of engineering and structural epoxy, acrylic, and polyurethane adhesives. It is important to keep the used area untouched for 24 hours for best results.
How to use
STEP 1: mix he two liquid homogenously until light yellow color reached
STEP 2: Apply to the place
STEP3: Dry it for 24 hours
How to use araldite: https://www.youtube.com/watch?v=6uq2VSWDjsY
Price: 40taka
11. Anti-Cutter:
Price 80taka
Arduino code:
#include <Servo.h>
Servo base_servo;
Servo top_servo;
int sensorPin[8]= {A0, A1, A2 ,A3, A4,A5, A6, A7};
int senVal[8];
int maxsen=0;
int th=500;
void setup() {
Serial.begin(9600);
base_servo.attach(9);
top_servo.attach(10);
}
void loop()
{
int i;
int senpos=0;
maxsen=0;
for(i=0; i<8; i++)
{senVal[i]=analogRead(sensorPin[i]);
Serial.print(" ");
Serial.print(i);
Serial.print("=");
Serial.print(senVal[i]);
delay(1);
Serial.println(" ");
}
for(i=0; i<8; i++)
{ if(senVal[i]>maxsen)
{
maxsen=senVal[i];
senpos=i;
}
}
Serial.print("maximum position");
Serial.print(senpos);
if(maxsen>th)
{ if(senpos==0 || senpos==2 || senpos==4 || senpos==6)
{
base_servo.write(30);
delay(500);
}
if(senpos==1 || senpos==3 || senpos==5 || senpos==7)
{
base_servo.write(130);
delay(500);
Schematics:
control. This means the motor will only run as hard as necessary to accomplish the task at hand, a very efficient little guy.
Controlling Servo:
Servos are controlled by sending an electrical pulse of variable width, or pulse width modulation (PWM), through the control wire. There is a minimum pulse, a maximum pulse, and a repetition rate. A servo motor can usually only turn 90° in either direction for a total of 180° movement. The motor's neutral position is defined as the position where the servo has the same amount of potential rotation in the both the clockwise or counter-clockwise direction. The PWM sent to the motor determines position of the shaft, and based on the duration of the pulse sent via the control wire; the rotor will turn to the desired position. The servo motor expects to see a pulse every 20 milliseconds (ms) and the length of the pulse will determine how far the motor turns. For example, a 1.5ms pulse will make the motor turn to the 90° position. Shorter than 1.5ms moves it in the counter clockwise direction toward the 0° position, and any longer than 1.5ms will turn the servo in a clockwise direction toward the 180° position.
When these servos are commanded to move, they will move to the position and hold that position. If an external force pushes against the servo while the servo is holding a position, the servo will resist from moving out of that position. The maximum amount of force the servo can
exert is called the torque rating of the servo. Servos will not hold their position forever though; the position pulse must be repeated to instruct the servo to stay in position.
Discussions:
3.Due to the friction between the holder of base motor and the holder of the wooden base ,the circular disk’s shape was distorted, for which the wooden base was not moving according to the base motor. To solve this problem Araldite was used to fix them permanently.