Microchip
直播中

李琳

7年用户 201经验值
私信 关注
[问答]

只有在插入Pickit3时,Microchip才能正常工作?

你好,我有一个问题,我的电路只工作时,我有PICtiT3插入。我先对微芯片进行编码,然后我构建了整个电路,效果非常好。在我的设计中,我忽略了一扇非门。我把女性头放在电路里,这样我就可以在电路中编程PIC了。因为我省掉了一个非门,我所做的就是改变什么动作,当输入是1,而不是0(代码明智)。在编程和运行之后不久,当我移除PICTIT3时,电路不再正确操作。我得到了奇怪的电压,我的LED很暗,而不是光明。然后我开始从PICTIT3中去掉电线,它去除了每根电线,但是从PICTIT3中取出了VDD和GND。于是我开始检查电路中的GND和功率的连续性。电路的连续性良好。不久我就意识到,PICTIT3甚至不必***入,当VDD和GND从我的电路上的PICTIT3连接到母头时,电路将工作得很好。我不知道这里发生了什么事。一切都很顺利,直到我在焊接电路中把芯片编程好。如果你有什么想法,请告诉我。我已经发布了图片来告诉你我的意思。图片显示,当PICTIT3***入时,LED打开。当PICTIT3没有***入时,LED是昏暗的。编译器:XC8(V1.44)MPLAB X V4.05PIC:PIC16F503PICTIT3

以上来自于百度翻译


      以下为原文

    Hello,

I am having an issue with my circuit only working when I have the Pickit3 is plugged in. I coded the microchip first then I built the whole circuit, it worked great. I left out a not gate in my design. I put female headers in the circuit so i can program the Pic in the circuit. Since I left out a not gate, all I did was change what action to preform when the input is 1 instead of 0(code wise). Shortly after programming and running, when I removed the Pickit3, the circuit no longer operated correctly. I was getting weird voltages and my LED was very dim instead of being bright. I then began removing wires from the Pickit3 and it worked with every wire removed but the VDD and GND from the Pickit3. So I began to check continuity of GND and power in my circuit. The circuits continuity is fine. I shortly after realized that the Pickit3 doesn't even have to be plugged in and the circuit will work great when the VDD and GND is connected from the Pickit3 to the female headers on my circuit. I have no guess of what is going on here. Everything was running fine till I programmed the microchip in the soldered circuit. If you have any ideas please let me know. I have posted pictures to show you what I mean.

The pictures show that when the the Pickit3 is plugged in the LED turns on. When the Pickit3 is not plugged in, the LED is dim.

Compiler: XC8 (v1.44)
MPLAB X v4.05
PIC: PIC16F1503
PICKIT3

   Attached Image(s)

回帖(14)

吴键洪

2018-11-15 14:39:23
你有你的电路板的原理图吗?是否有任何旁路电容连接在GND和VDD之间?

以上来自于百度翻译


      以下为原文

    Do you have a schematic of your board?
Are there any bypass capacitors connected between GND and VDD on your board?
 
举报

王婷婷

2018-11-15 14:51:30
我只是画了一个示意图。对不起,这不是最容易的事情。如果事情没有意义,让我知道。我把照片贴在原来的帖子里了。我不认为我说过,但电路从未改变。我第一次用外部电源供电时,电路工作良好。然后我意识到我想改变代码中的某些东西。一旦我改变了密码,它就停止工作了,除非插入到PICTIT3中。

以上来自于百度翻译


      以下为原文

    I just drew up a schematic. Sorry, its not the easiest thing to follow. If something doesn't make sense, let me know. I have attached the picture in the original post. I don't think I said it above but the circuit never changed. The first time I built it the circuit worked fine with an external power supply. Then I realized I wanted to change something in the code. Once i changed the code, then it stopped working unless plugged into the pickit3
举报

吴键洪

2018-11-15 15:10:12
我没有看到任何一个电容器输出在你的调节器上。你应该考虑在每个调节器的输出上增加100NF与22-100UF并联。

以上来自于百度翻译


      以下为原文

    I don't see ANY capacitors on the output of either of your regulators.
You should consider adding 100nF in parallel with 22-100 uF on the output of each regulator.
 
举报

周润艺

2018-11-15 15:15:55
在您的示意图中,我没有看到旁路电容器(如100 NF 50 V X7R陶瓷)紧密耦合到PIC的电源引脚。我也看不到电容器的输入和输出的78xx电压调节器。这些是真的遗漏或只是没有显示在您的示意图?

以上来自于百度翻译


      以下为原文

    In your schematic I do not see a bypass capacitor (such as 100 nF 50 V X7R ceramic) closely coupled to the PIC's power pins.
 
I also do not see capacitors on the inputs and outputs of the 78xx voltage regulators.
 
Are these really missing or just not shown on your schematic?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分