CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 18 matches
CCS Forum Index
Author Message
  Topic: strange results when put on PCB
Chubbs

Replies: 8
Views: 13317

PostForum: General CCS C Discussion   Posted: Thu Jun 09, 2005 7:23 pm   Subject: strange results when put on PCB
Since the system was working fine before the PCB, I've kept everything the same. It has the same crytals, same caps, same everything. I've checked over all the wiring and it seems fine.
Measuring al ...
  Topic: strange results when put on PCB
Chubbs

Replies: 8
Views: 13317

PostForum: General CCS C Discussion   Posted: Wed Jun 08, 2005 10:16 pm   Subject: strange results when put on PCB
Hi all,
I've been using the PIC16F876A on a modified smoke/CO detector. The system worked fine when I connected everything to the PIC on a bread-board. I have now transferred the system to a PCB, ch ...
  Topic: goto label question
Chubbs

Replies: 2
Views: 16597

PostForum: General CCS C Discussion   Posted: Thu May 19, 2005 11:18 pm   Subject: goto label question
Thanks once again, I was able to successfully use it in my program.
  Topic: goto label question
Chubbs

Replies: 2
Views: 16597

PostForum: General CCS C Discussion   Posted: Thu May 19, 2005 7:47 pm   Subject: goto label question
Can the
goto label;
label:
only be used in the same function?

If so is there any way you could skip from one bit of code to another?
I wanted to jump back to a point in a while loop from ...
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Tue May 17, 2005 9:07 am   Subject: sleep() trouble
#INT_TIMER1
void timer1(void)
{
}

Worked perfectly, thanks.
One last thing what would be the best way to increase the amount of time in sleep mode?
Anything in the funct ...
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Tue May 17, 2005 8:44 am   Subject: sleep() trouble
I't won't compile with a NOP(); command.

PCW Compiler
IDE version 3.212
PCB version 3.213
PCM version 3.213
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Tue May 17, 2005 8:23 am   Subject: sleep() trouble
I should have put in the results obtained from the code above.
The PIC samples the data once then goes into sleep mode for the 16 seconds. During this time if the external interrupt is triggered the ...
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Tue May 17, 2005 7:59 am   Subject: sleep() trouble
Commenting out the
enable_interrupts(INT_TIMER1);
did not give the desired result.
This is what I want to do:
1) Sample the data and send the results
2) Put the PIC in sleep mode
3) ...
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Mon May 16, 2005 11:59 pm   Subject: sleep() trouble
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Mon May 16, 2005 11:58 pm   Subject: sleep() trouble
Thanks, I was able to get it working by putting a clear_interrupt(INT_TIMER1); command before the sleep command.
I wanted to add another feature to check the threshold voltage of the detector which c ...
  Topic: sleep() trouble
Chubbs

Replies: 10
Views: 13216

PostForum: General CCS C Discussion   Posted: Mon May 16, 2005 6:51 am   Subject: sleep() trouble
Hello all, I just got a problem with the sleep function. I am using the 16F876A PIC. I am running a couple of sensors(smoke and CO) and all I want to do is get their outputs (voltages) and display the ...
  Topic: ADC Trouble
Chubbs

Replies: 14
Views: 19724

PostForum: General CCS C Discussion   Posted: Wed May 04, 2005 8:52 pm   Subject: ADC Trouble
Guess what the problem was??
I was running the PIC off a 5v power supply and was running the detector circuit off a 9v battery, so I had a ground from the battery and one from the supply. The voltage ...
  Topic: ADC Trouble
Chubbs

Replies: 14
Views: 19724

PostForum: General CCS C Discussion   Posted: Wed May 04, 2005 7:03 am   Subject: ADC Trouble
I have already tried using an opamp in the voltage follower configuration. I am using the LMC6042, taking the output from the Allegro pin 14 through the buffer then through the voltage divider before ...
  Topic: ADC Trouble
Chubbs

Replies: 14
Views: 19724

PostForum: General CCS C Discussion   Posted: Tue May 03, 2005 11:30 pm   Subject: ADC Trouble
I used small values all under 1k.
910ohm and 390ohm.
  Topic: ADC Trouble
Chubbs

Replies: 14
Views: 19724

PostForum: General CCS C Discussion   Posted: Tue May 03, 2005 11:04 pm   Subject: ADC Trouble
Sounded like a good idea and i gave it a try but it also gave the same result. All I'm doing is going from pin 14 through a voltage divider then to the PIC, I can't figure it out.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group