PIC microcontroller is not working

Status
Not open for further replies.

chanchal.chauhan

Full Member level 4
Joined
Apr 23, 2009
Messages
216
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Hyderabad, India
Activity points
2,539
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
 

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.
 
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?
 

#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
 
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?
 
Place 0.1uf capacitor across your supply pins (Vdd & Gnd) to bypass power supply noise.

Second, whats the time delay you're using?
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…