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 9 matches
CCS Forum Index
Author Message
  Topic: ADC on PIC16f876
bauereri

Replies: 11
Views: 27988

PostForum: General CCS C Discussion   Posted: Wed Feb 04, 2004 7:05 pm   Subject: ADC on PIC16f876
Just to put a nice end to this thread.....

I installed a 1k pot in the circuit and took used the wiper signal for the analog input to the PIC. The problem persisted where as soon as I applied the ...
  Topic: ADC on PIC16f876
bauereri

Replies: 11
Views: 27988

PostForum: General CCS C Discussion   Posted: Fri Jan 30, 2004 10:26 am   Subject: ADC on PIC16f876
yep, ground is good. If I disconnect the supply from the pic, the the VOM jumps back up to the 5V.

Strange.....


Eric
  Topic: ADC on PIC16f876
bauereri

Replies: 11
Views: 27988

PostForum: General CCS C Discussion   Posted: Fri Jan 30, 2004 9:30 am   Subject: ADC on PIC16f876
Hi PCM,

I was applying the power supply directly to A0 without any peripheral circuitry. The supply is capable if 1A, but it's not putting out that much and the PIC is not getting hot.

I supp ...
  Topic: ADC on PIC16f876
bauereri

Replies: 11
Views: 27988

PostForum: General CCS C Discussion   Posted: Thu Jan 29, 2004 9:08 pm   Subject: ADC on PIC16f876
Hi PCM,

See my answers below.

Eric



1. What's your version of the compiler ?

Version 2.734

2. What power supply voltage are you using for the PIC ?

5V

3. Are you using a "#de ...
  Topic: ADC on PIC16f876
bauereri

Replies: 11
Views: 27988

PostForum: General CCS C Discussion   Posted: Thu Jan 29, 2004 8:11 pm   Subject: ADC on PIC16f876
Hi,

I have two questions about using the ADC. First, if I dial up my bench power supply to 5V and apply the signal to the input channel, I only read 2.3V on the channel w/ a VOM. And the output o ...
  Topic: ADC Input Buffer Question
bauereri

Replies: 3
Views: 13275

PostForum: General CCS C Discussion   Posted: Sun Jan 25, 2004 2:08 pm   Subject: ADC Input Buffer Question
Hello,

I'm having problems gettinig the ADC on my 16f876 to work. I've searched back through 100's of posts on this topic, and I have ideas on what I am doing wrong from a programming standpoint. ...
  Topic: Help writing to port B
bauereri

Replies: 5
Views: 15003

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2004 3:26 pm   Subject: Help writing to port B
Hi Mark,

If I place the statement ' #byte PORTB = 0x06' at the beginning of main(), and the use the 'PORTB = 0; ', the program will compile. I will have to test to see if it works the way I need i ...
  Topic: Help writing to port B
bauereri

Replies: 5
Views: 15003

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2004 3:07 pm   Subject: Help writing to port B
Then what is the proper way for me to write to the port without settting each individual pin using OUTPUT_HIGH() or OUTPUT_LOW()??

Eric
  Topic: Help writing to port B
bauereri

Replies: 5
Views: 15003

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2004 2:46 pm   Subject: Help writing to port B
Hello,

I need a little help writing to port b. I want to drive an 8 bit DAC w/ port B, so I it would be nice to be able to write to the whole port at once. I think this should be possible, but I' ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group