| Author |
Message |
chanchal.chauhan
Joined: 23 Apr 2009 Posts: 37 Helped: 2
|
29 Oct 2009 10:38 PIC microcontroller is not working |
|
|
|
|
Hello Guys,
I am working in PIC18F1330 microcontroller. When I am including LED blinking program my o/p control voltage is varying. I used current limiting resistor.
4.0V ----!>!-------/\/\/\/\/\----- I/O PORT
LED 1K
Please help me to solve the problems.
Thanks & Regards
Chanchal
|
|
| Back to top |
|
 |
Google AdSense

|
29 Oct 2009 10:38 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
wp100
Joined: 15 May 2009 Posts: 327 Helped: 45 Location: England
|
29 Oct 2009 10:47 Re: PIC microcontroller is not working |
|
|
|
|
Hi,
Probably you do not have sufficient delay between your led turning on and off so your ' slow' meter is giving fluctuating readings.
If that is not the cause, then it would be better if you could post your code and circuit diagram.
|
|
| Back to top |
|
 |
chanchal.chauhan
Joined: 23 Apr 2009 Posts: 37 Helped: 2
|
29 Oct 2009 12:26 Re: PIC microcontroller is not working |
|
|
|
|
My Vdd voltage is varying 0.1v when LED is blinking & Vdd-0.1v when LED is ON.
Is the problem in power supply?
Is the Micro controller unable to sink or source the current?
|
|
| Back to top |
|
 |
elrayes
Joined: 03 Jun 2008 Posts: 164 Helped: 8 Location: Egypt
|
29 Oct 2009 16:49 PIC microcontroller is not working |
|
|
|
|
#1 check the power supply separately.
#2 put a current limiting resistor in series with the LED (1 kOhm resistor is good)
#3 check the microcontroller in an easy task, I/O, LED blinking...etc
|
|
| Back to top |
|
 |
wp100
Joined: 15 May 2009 Posts: 327 Helped: 45 Location: England
|
29 Oct 2009 18:20 Re: PIC microcontroller is not working |
|
|
|
|
Hi,
You probably do not have enough filtering on the psu but to be sure you need to post your circuit diagram of the pic and psu
Apart from the voltage fluctation is the program running ok and the led flashing correctly?
|
|
| Back to top |
|
 |
Jack// ani
Joined: 02 Dec 2004 Posts: 488 Helped: 25
|
29 Oct 2009 22:27 PIC microcontroller is not working |
|
|
|
|
Place 0.1uf capacitor across your supply pins (Vdd & Gnd) to bypass power supply noise.
Second, whats the time delay you're using?
|
|
| Back to top |
|
 |