完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好!这将是我第一次进入睡眠模式。我需要设计一个睡觉的应用程序,每24小时只叫醒一次。XLP固然不错,但是我没有看到定时器在睡眠模式下继续工作的地方。我注意到有些PIC可以在睡眠模式下操作tiMER1,而其他PIC没有。有没有使用指南或搜索术语来查找这些图片?谢谢你的帮助,-P
以上来自于百度翻译 以下为原文 hello! this will be my first foray into sleep-mode. I need to design an application which sleeps and only wakes every 24 hours. XLP would be nice, but I didn't see any where the timer continues to work in sleep-mode. I noticed some PICs can operate TIMER1 in sleep mode, while others have not. Is there a guideline or a search term to use to find these PICs? thank you for your help, -p |
|
相关推荐
8个回答
|
|
大多数人都可以被看门狗计时器唤醒,但不超过24小时。您可以使用外部RTC。
以上来自于百度翻译 以下为原文 Most can be woken up by the Watchdog timer. Not as long as 24 hours, however. You could use and external RTC. |
|
|
|
谢谢你的回复,我不需要每24小时醒来一次。我可以每隔几分钟醒来递增一个变量,然后在24小时过去之后最终执行我的操作。这似乎可行,不是吗?外部RTC似乎过量了,我不需要整个日历,只需要做低功耗的定期维护。或者我想错了。
以上来自于百度翻译 以下为原文 Thank you for your response. I don't need to wake every 24 hours. I can wake every few minute to increment a variable, and then ultimately perform my action after 24 hours have passed. That seems feasible, no? external RTC seems excessive, I don't need an entire calendar, just need to do periodic maintenance at low power. Or maybe i'm thinking about it wrong. |
|
|
|
也许几秒钟。最简单的方法是使用WDT。然而,它也会消耗一些能量。你可以从数据表中得到确切的数字。
以上来自于百度翻译 以下为原文 Few seconds perhaps. The easiest way is to use WDT. However, it will consume some energy too. You can get the exact number from the datasheet. |
|
|
|
你没有错误的想法,我只是不知道你的目标。WDT不太准确。因此,对于需要准确性的应用程序来说,这将是不好的。
以上来自于百度翻译 以下为原文 You are not thinking wrong I just do not know your goals. The WDT is not very accurate. so it would not be good for an application that needs accuracy. |
|
|
|
准确度不是必须的,只是需要每天大约做一次,以最小的功耗。
以上来自于百度翻译 以下为原文 Accuracy is not necessary, just need to do something roughly once a day, with minimal power dissipation. |
|
|
|
嗨,一个解决方案是使用PIC24FJ设备与RTCC(他们大多数有这个)。RTCC单元可以从32kHz驱动,你可以设置一个相对的唤醒,例如1mn,1HR,1天,1周,1个月后。因此,在睡觉之前,将闹钟设置为从现在开始的1天,CPU将在1天后醒来;=)另一种可能性是使用CIP(核心独立外围设备通过级联几个定时器来构建“超级”定时器。例如SMT是一个24位定时器。一些8位图片有2个。如果使用CLC级联,则具有2^48分频器,并使用32kHzXTAL的内部看门狗作为时钟,应该能够达到高持续时间。要找到有2个SMT,CLC的图片,只要使用这个BreCurrEGARDS
以上来自于百度翻译 以下为原文 Hi, One solution would be to use a PIC24FJ device with RTCC (most of them have this). RTCC unit can be driven from a 32kHz and you can setup a relative e.g wake up in 1mn, 1HR, 1day, 1 week , 1month from now. So before to go to sleep you setup the alarm to 1 day from now and the CPU will wake up 1 day later ;=) Another possibility is to use the CIP (Core Independant Peripherals to build a "super" timer by cascading several timers. e.g. the SMT is a 24 bits timer. Some 8bits PICs have 2 of them. If you cascade them using CLC you have 2^48 divider and use the internal watchdog of a 32kHz XTAL as clock you should be able to reach high durations. To find the PICs which have 2 SMT, CLC,...just use this brochure Regards |
|
|
|
不考虑外部解决方案,在LPRC(LFINTOSC)上运行的WDT将消耗掉东部的功率。如果要使用计时器,请小心。他们中的大多数人会停止睡觉。
以上来自于百度翻译 以下为原文 Not counting external solutions, WDT running on LPRC (LFINTOSC) will consume the least power. If you want to use timers, be careful. Most of them will stop in sleep. |
|
|
|
谢谢您!非常非常有用。我把CIP视为一种选择。你知道你提到的想法的成本/功率权衡吗?
以上来自于百度翻译 以下为原文 thank you! very very helpful. I was looking at CIP as an option. Any idea what the cost/power tradeoffs are with the ideas you mentioned? |
|
|
|
只有小组成员才能发言,加入小组>>
5178 浏览 9 评论
2003 浏览 8 评论
1931 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3177 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2228 浏览 5 评论
737浏览 1评论
622浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
509浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
635浏览 0评论
533浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 15:28 , Processed in 1.512214 second(s), Total 91, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号