Author |
Message |
Topic: Timer1 in sleep mode |
mahdihir
Replies: 1
Views: 5519
|
Forum: General CCS C Discussion Posted: Tue May 26, 2015 3:47 am Subject: Timer1 in sleep mode |
My dear friend in CCS forum
I hope you are doing well.
I need to run a customized LCD with 6 digits in very low power consumption, I used PIC 16f684.
As you know, LCD works with 25 Hz. so I need to ... |
Topic: DS18b20 running problem |
mahdihir
Replies: 8
Views: 13508
|
Forum: General CCS C Discussion Posted: Tue Apr 21, 2015 6:11 am Subject: DS18b20 running problem |
My dear friends.
I hope you are doing well.
I need to run a DS18b20 sensor with 4 digit 7 segment.
but the value is shown in display is not the correct temperature.
main cod is:
////// ... |
Topic: sleep mode in 12f683 |
mahdihir
Replies: 11
Views: 19503
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2015 5:43 am Subject: sleep mode in 12f683 |
My friend
thanks for your help.
I have done what you said from No 1 to 4.
But for No5 and 6, can you explain more? did you mean I should change [spam] from 31k to 4M?
The battery life is the most im ... |
Topic: sleep mode in 12f683 |
mahdihir
Replies: 11
Views: 19503
|
Forum: General CCS C Discussion Posted: Sun Jan 25, 2015 3:00 am Subject: sleep mode in 12f683 |
thanks,
its working properly.
my another question is, i setup a ADC to get sample every 2.3 min, and if the value is bigger than MIN, do something,
is my code correct?
#include <12F683.h> ... |
Topic: sleep mode in 12f683 |
mahdihir
Replies: 11
Views: 19503
|
Forum: General CCS C Discussion Posted: Wed Jan 14, 2015 2:32 am Subject: sleep mode in 12f683 |
thanks a lot
but my problem is the sleep mode is in the middle of program, once WDT reset the MCU and goes to the first line of program and i want to continue after sleep instruction, the rest of pro ... |
Topic: sleep mode in 12f683 |
mahdihir
Replies: 11
Views: 19503
|
Forum: General CCS C Discussion Posted: Tue Jan 13, 2015 3:55 am Subject: sleep mode in 12f683 |
Hi
I’m working on project with 12f683, the purpose is to get sample from ADC every 10 sec and if the sample is bigger than X, do something.
The problem is I need to save energy as much as possible ... |
Topic: how to set LP mode for 12f683 |
mahdihir
Replies: 2
Views: 5709
|
Forum: General CCS C Discussion Posted: Sun Dec 01, 2013 10:15 pm Subject: how to set LP mode for 12f683 |
In datasheet mention that 12f683 use 11uA in LP mode.
I tried to get this value but couldn't get less than 115uA, this is very important issue for battery life.
Anyone can help me,
the code as belo ... |
|