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

pic16f877a adc help
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Mon Jan 17, 2011 8:10 pm     Reply with quote

IT RESULTS

I already have Rb3 Smile

thanks
Rosmaninho



Joined: 16 Jan 2011
Posts: 23

View user's profile Send private message

PostPosted: Mon Jan 31, 2011 2:24 pm     Reply with quote

It possible have one ANALOG OUTPUT???

Regards
Ttelmah



Joined: 11 Mar 2010
Posts: 20159

View user's profile Send private message

PostPosted: Mon Jan 31, 2011 2:37 pm     Reply with quote

This chip has no analog output. Only a few PICs (DSPIC only?) do.
You can go various ways according to what you need:
1) You can simulate a DAC, using a PWM channel, and then (simplest, least accurate), a simple resistor/capacitor, or for better accuracy (but at cost of more components), a full integrator.
2) You can generate a simple (but low accuracy) DAC with a number of output pins, and a resistor tree.
3) You can add an external DAC (some very good I2C examples).

Probably several more options...

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group