Author |
Message |
Topic: Total Power Consumption |
Gerrit
Replies: 17
Views: 20551
|
Forum: General CCS C Discussion Posted: Fri May 12, 2006 1:23 am Subject: Total Power Consumption |
Maybe a dombe solution,
why don't switchoff the sonar until it is needed.
save's a lot of power.
Gerrrit |
Topic: 8us timer |
Gerrit
Replies: 11
Views: 12155
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 2:38 pm Subject: 8us timer |
Hi Tavioman,
Maybe the wrong text but this is the rotary switch I use.
just software decoding.
http://www.farnell.com/datasheets/48122.pdf
Gerrit. |
Topic: 8us timer |
Gerrit
Replies: 11
Views: 12155
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 11:51 am Subject: 8us timer |
Hi Ttelmah,
This was just for going the discusion going. I know that 80 instructions is not mutch for the interrupt handler and the main program.
But I'm confinsed that you can do a lot of stuff i ... |
Topic: 8us timer |
Gerrit
Replies: 11
Views: 12155
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 8:37 am Subject: 8us timer |
80 instructions is mutch.
use the high level interupt, own handler no globals in interupt, fast save work registers, I think this woud leave you 60-70 instructions for software.
regards,
Gerrit |
Topic: 8us timer |
Gerrit
Replies: 11
Views: 12155
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2006 6:23 am Subject: 8us timer |
What do you have to do in this interupt.
80 instruction is a lot.
Gerrit |
Topic: problem I am not able to solve. please take a look |
Gerrit
Replies: 6
Views: 9286
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2006 1:39 am Subject: problem I am not able to solve. please take a look |
Hi wb505,
take a look at fputc(data, port);
gerrit |
Topic: Const array in structure |
Gerrit
Replies: 5
Views: 8536
|
Forum: General CCS C Discussion Posted: Sun Mar 26, 2006 3:20 am Subject: Const array in structure |
Hello Mark,
I thought it would come to this. Only this solution makes me less flexible
in adding members to the structure.
I will think it over and try to make somethink that fits my needs
T ... |
Topic: Const array in structure |
Gerrit
Replies: 5
Views: 8536
|
Forum: General CCS C Discussion Posted: Sat Mar 25, 2006 4:22 pm Subject: Const array in structure |
I'm using a 18F6622 micro.
Sorry for not mentioning.
I want to access som const char arrays indirect via a structure.
I need to memcpy or memmove data from some location in the const char arr ... |
Topic: Const array in structure |
Gerrit
Replies: 5
Views: 8536
|
Forum: General CCS C Discussion Posted: Sat Mar 25, 2006 1:32 pm Subject: Const array in structure |
How do I build the next structure
const char test_A[1024] = {0,0,0.......};
const char test_AA[95] = {0,0,0.......};
const char test_B[1024] = {0,0,0.......};
const char test_BB[95] = {0,0,0.. ... |
Topic: Low power consumption |
Gerrit
Replies: 5
Views: 8031
|
Forum: General CCS C Discussion Posted: Fri Mar 24, 2006 4:31 am Subject: Low power consumption |
Hi Eugeneo,
How long do you want it to be alive?
(self discharge battery)
http://en.wikipedia.org/wiki/Nickel_metal_hydride
"Nickel metal hydride batteries have a high self-discharge rate ... |
Topic: PIC failure, serial communication and watchdog |
Gerrit
Replies: 18
Views: 24705
|
Forum: General CCS C Discussion Posted: Fri Mar 10, 2006 4:30 am Subject: PIC failure, serial communication and watchdog |
Hi Gon,
Try looking at overrun error serial port.
Or make your own interupt handler for serial communication.
Search the forum for ringbuffer en oer (overrun error)
Goodluck,
Gerrit |
Topic: DS1307 power from pic controler. |
Gerrit
Replies: 4
Views: 7611
|
Forum: General CCS C Discussion Posted: Thu Nov 24, 2005 4:25 pm Subject: DS1307 power from pic controler. |
Humberto,
Thanks for explaining it. But for me the second question was a little
bit different intend.
what I want to know is can I drain power from a micro pin when it is in
sleep mode |
Topic: DS1307 power from pic controler. |
Gerrit
Replies: 4
Views: 7611
|
Forum: General CCS C Discussion Posted: Thu Nov 24, 2005 8:24 am Subject: DS1307 power from pic controler. |
Hi all,
Some hardware question. I'm doing a project with battery, micro and
clock chip.
I have to do power saving.
first, Can I switch the ds1307 from my microchip controler on/off (using b ... |
Topic: RS232 I cant receive at 230400 bauds |
Gerrit
Replies: 9
Views: 11409
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2005 1:14 am Subject: RS232 I cant receive at 230400 bauds |
Is it not that for receiving the pic samples 3 time's and
the PC samples 16 time's.
So a receive failure is done faster on a pic than on a PC.
I would measure the absolute bit time of the PIC ... |
Topic: RS232 I cant receive at 230400 bauds |
Gerrit
Replies: 9
Views: 11409
|
Forum: General CCS C Discussion Posted: Wed Sep 14, 2005 8:13 am Subject: RS232 I cant receive at 230400 bauds |
Hi,
Wouldn't it be a problem with ceramic resonator.
I think that it is not accurate.
Gerrit |
|