You are on page 1of 4

LAHORE COLLEGE FOR WOMEN UNIVERSITY

SUBMITTED By:

Laiba Yousaf

SUBMITTED To:

Dr Taskeen Raza

COURSE TITLE:

Embedded System

Assignment no:1

1
 QUESTION:

How to check AVR Microcontroller, LCD and Servo Motor, whether it’s healthy or not?

 Checking of AVR Microcontroller:

There can be many reasons for a microcontroller not working in a circuit. Some of these are
as follow:

There are multiple ways to test a microcontroller.

1. ICSP - In Circuit Serial Programming. Once you start that process, you should be able
to see response in oscilloscope.
2. GPIO test - load an all pins digital out signal program and check individual pins in
oscilloscope or voltmeter.
3. Check the crystal oscillator output in oscilloscope.
If all these are a failure check for power supply, if it is appropriate as per
requirement and then check data sheet for others specific tests.
If possible write a blink code to turn off and on a port line in output mode, every 1 second.
Connect a LED or a voltmeter on that and see it.

When troubleshooting I used to check:

1. The power supply voltage (3.3V or 5V ) is ok between its power pins. You may have a
poor contact there.
2. The oscillator frequency is Ok . You would need a CRO for this.
3. Check that reset line goes true when you press reset switch and when you release it is
not floating but pulled up/down to quiescent state.

 Checking of LCD:

1. If you observe lines, black spots, screen flicker, or discolored areas on


your screen, the LCD is damaged. If the screen entirely doesn't light up, you
have LCD problems.

2
2. Testing LED lights is simple with a digital multimeter, which will give you a
clear reading of how strong each light is. The brightness of the LED while
you test it will also indicate its quality. If you don't have a multimeter to use,
a simple coin cell battery holder with leads will let you know if your LED
lights are still working.

3. To test the Failed chip, You simply plug in your LED panel and short
each individual LED chip. Shorting a Failed LED chip will cause board to
start glowing sans the faulty chip. Other Safer method is to use a small 3v
Power source (Like 2x AA batteries) and hook up Thin probles to the output.

 Checking of Servo Motor:

1. By using ohm meter. Disconnect ONLY 3-phase motor lines (T1,T2,T3)


from the drive. Test while the cable is still connected to the servo motor first.
As long as the reading is infinite, there is no issue. However, if the reading is
0 (zero) or if there is any continuity, you can be sure that a problem exists.
Now disconnect the cable and test the servo and the cable separately. Make
sure that the leads on both ends are not touching anything, including other
leads.

2. By using a Mega ohm Meter.Test all three wires (T1,T2,T3) separately. You're
looking for readings ranging from 600 to 2000 megaohms since most shorts fall
below 20 megaohms. Make sure not to touch the leads or the wires while taking
the readings since false, unrepeatable readings can lead to redundancy. Rule of
thumb: About 1000 ohms of resistance for each volt of power is about the average
for 230VAC 3-phase motors. Readings between 230meg and 600meg reveals that
there is some deterioration in either the cables or the motor insulation.

3. Test for Open or Short in Windings Using an Ohm Meter.Test the connections
from T1 to T2; T2 to T3; then T1 to T3. The expected range for each is
between .3 and 2.0 ohms with .8 ohms being about average. If you get a 0
reading, there is a short between the phases. If the reading is infinite or above
2000 ohms, it is an open.

3
4

You might also like