If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
MINHLE, What exactly is the question? Are you concerned that the voltage across the led is too low? What is the value of the resistor in series with the led? Do you have any resistor in series with the led at all? If there is no resistor in series with the led then the current is too great for the PIC and the voltage is being dropped too low for the oscillator to operate... What is the voltage across the 2 PIC pins you are using to drive the led? You should start out with maybe a 680 Ohm resistor in series with the led and see if that doesnt cure the problem...
Dave Purola,
N8NTA
Hi Dave,
thanks for your concern,
the voltage drop across the LED is an important issue here. if the voltage different across the LED is '0" then the LEd cannot be lighted up. a resistor in serial with the LED is to protect the LED when the high pulse current flowing through the LEd aND TO PROTECT THE PIC FROM HIGH IN PUT CURENT . so we do have to consider the voltage drop on the resistor.
in this case the positive pin of the LED is 1.65V, then the negative pin of the LED has to be '0' as set up. however the situation different, both side of the LED is 1.65 so it means that either open circuit (no current flowS through the LED) , the bad PIC or the program not well set up( i.e conf, ...).
I wish getting some suggestion , ideal from you,
thank agian
Since you didn't use a limiting resistor, you have fried the pic!
Replace it and put a 330 ohms resistor in series to every leds. Then use Joe snippet, given in post # 2 and you will see that leds will switch on and off without burning another pic.
You will always read 1.6 - 1.7 V across a led, unless you have shorted one!
Al.
Last edited by aratti; - 7th February 2009 at 18:31.
All progress began with an idea
hello Arrati,
yes I have 200 ohms resistors connected in serial with each input of the PIC to limit the current into the pic.
I guest some thing wrong, because when I use OHM meter to test the LEDs. at the two pins on the socket (removing the PIC out of the socket) every thing is ok! so the circuit is not open.
I try to figure out
thanks for your comment.
Minh le
hi every boDy,
I removed the two capacitors of the X-TAL OSCILLATOR then it works. i am sorry for long time not to post the reply
Bookmarks