Microchip
直播中

许朝亮

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

PIC16F877A复位系统没有响应

嗨,我仍然是新的,但我有一个倒计时计时器项目使用PIC16F87A比运行一个4位7段显示,并有5个按钮来选择时间倒数从。在倒计时结束时,它发出3次哔哔声。它运行得很好,但是在显示器和按钮会死掉的随机事件中,系统似乎完全没有响应,但看起来系统仍然在后台运行,因为显示和按钮A是不工作,我仍然得到嘟嘟的时间结束。有人能给我一些关于如何解决这个问题的建议?谢谢

以上来自于百度翻译


      以下为原文

    Hi, I am still new to this, but I have a count-down timer project using a PIC16F877a than runs a 4 digit 7 segment display and has 5 buttons to select the time to count down from. At the end of the count-down, it beeps 3 times.

It runs perfectly but get random events where the display and buttons would just go dead, the system then seems to be completely non-responsive, but it looks like the system is still running in the background, because although the display and buttons are not working, I still get the beep at the end of the time-out.

Can someone please give me some advice on how to troubleshoot this ?

Thanks

回帖(5)

tijing忽忽

2018-11-5 15:02:28
如果可能的话,你可以把你的程序代码和示意图放在后面。显示器是停留还是变暗?

以上来自于百度翻译


      以下为原文

    It may be helpful if you post your program code and a schematic if possible.
Does the display stay on or go dark? 
举报

张文婷

2018-11-5 15:15:20
你好,谢谢你的回复。代码相当长,我现在没有可用的示意图,但稍后我会上传代码。显示器变暗,按钮停止工作。它只会回来,如果我删除和重新连接电源板。我不认为它的THR代码,因为它发生在随机的时间,从来没有在同一时间显示。

以上来自于百度翻译


      以下为原文

    Hi, thanks for your reply. The code is fairly long, and I do not have the schematic available right now, but I will upload the code later. The display goes dark, and the buttons stops working. It only comes back on if I remove and reconnect the power to the board. I don't think its thr code though, as it happens at random times, never on the same time displayed.
举报

成贯征

2018-11-5 15:27:19
如果有重置,你应该检查WDT。

以上来自于百度翻译


      以下为原文

    If there is a reset you should check the WDT.
举报

tijing忽忽

2018-11-5 15:44:02
长码并不真正困扰我们,没有它,我们真的无法帮助很多,大多猜测。如果你不能发布示意图,至少要描述部件是如何连接在一起的(具体和详细)。

以上来自于百度翻译


      以下为原文

   
Long code does not really bother us, without it we are really unable to help much, mostly guessing. IF you can not post the schematic at least describe how the parts are connected together (be specific and detailed).
举报

更多回帖

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