Servo Motor Interface with MSP 430
Servo Motor Interface with MSP 430
Servo Motor Interface with MSP 430
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
By<br />
Adarsh Reddy Ashammagari<br />
Gautam Makineni<br />
Premdeep Varada<br />
Navaneeth Garakahalli
Game Plan<br />
�<br />
� Automatic room-luminance control system aids in<br />
control of light luminance inside a room<br />
automatically.<br />
� This system is very helpful in setting brightness level<br />
in a room as set by the user.<br />
� System uses both sunlight and in-house electrical<br />
lighting to achieve this. (Window blinds will adjust)
LDR<br />
Key<br />
Block Diagram<br />
Sensor<br />
input<br />
Brightness<br />
input<br />
�<br />
<strong>MSP</strong> <strong>430</strong><br />
LCD Display<br />
<strong>Servo</strong> <strong>Motor</strong>
List of Components<br />
Component Qty Manufacturer Series<br />
Number<br />
Microcontroller 1 Texas Instruments <strong>MSP</strong><strong>430</strong>G245<br />
2<br />
Light<br />
Dependent<br />
Resistor<br />
1<br />
<strong>Servo</strong> <strong>Motor</strong> 1 Tower Pro 9 Gram<br />
Precision<br />
Micro <strong>Servo</strong><br />
LCD (16x2) 1 Newhaven NHD-0216HZ-FSW-<br />
FBW-3V3-C<br />
Connectors few
Integration Flow Chart<br />
Yes<br />
�<br />
Start<br />
Input from<br />
Key (K)<br />
LDR i/p<br />
If k<br />
==<br />
LDR<br />
No<br />
<strong>Servo</strong><br />
Display
Overall System Schematic
Light Dependent Resistor (LDR)<br />
� Basically a photoresistor,<br />
whose<br />
resistance varies <strong>with</strong><br />
amount of light.<br />
� Made of many semiconductive<br />
materials<br />
<strong>with</strong> high resistance.<br />
�<br />
0 v<br />
Vcc
LDR interface <strong>with</strong> <strong>MSP</strong> <strong>430</strong><br />
� Vcc to one end of LDR.<br />
�<br />
�� Other end to P1.2/A3- (Since it is an ADC pin)<br />
� To avoid shorting we make use of a Voltage<br />
divider circuit <strong>with</strong> LDR as one of the resistors.
LCD Display<br />
�<br />
� This is used to display the brightness level set by the<br />
user.<br />
�� It is a 16x2 LCD display
LCD Display <strong>Interface</strong> <strong>with</strong><br />
<strong>MSP</strong> <strong>430</strong><br />
�<br />
� We are using a 10K potentiometer to<br />
connect to the LCD display Vcc.<br />
�� This potentiometer is used to vary the<br />
brightness of the LCD display.<br />
� LCD display is connected to P1.0 to<br />
P1.6.<br />
<strong>Interface</strong> details<br />
RS EN D7 D6 D5 D4<br />
P1.0 P1.1 P1.2 P1.4 P1.5 P1.6
<strong>Servo</strong> <strong>Motor</strong><br />
�<br />
� eRC 8 Gram Precision Micro<br />
<strong>Servo</strong>.<br />
�� <strong>Servo</strong> motor is a DC motor<br />
whose position is controlled<br />
by the <strong>MSP</strong> <strong>430</strong>.<br />
� It has 3 pins.<br />
- Vcc<br />
- GND<br />
- Signal (P2.0)
<strong>Servo</strong> <strong>Motor</strong> <strong>Interface</strong> <strong>with</strong><br />
<strong>MSP</strong> <strong>430</strong><br />
�<br />
� The servo is powered of the 5v, and the servo control<br />
pin is connected to P2.0 on <strong>MSP</strong> <strong>430</strong>.<br />
� The servo motor is directly connected to window<br />
blinds, which helps to limit or increase the light<br />
intensity.
Challenges<br />
�<br />
� Testing the LDR input values.<br />
� Integration was the major challenge, since we had to<br />
� Integration was the major challenge, since we had to<br />
tune the servo <strong>with</strong> the input values from LDR and<br />
button input.
Thank you!<br />
�