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 support@ccsinfo.com

Data logging in PIC16F877A

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Marq



Joined: 06 Oct 2009
Posts: 9

View user's profile Send private message

Data logging in PIC16F877A
PostPosted: Sat Nov 28, 2009 8:30 am     Reply with quote

Currently, i have both humidity and temperature sensor in my circuit where the readings is output to a LCD_module. But i wonder how can I retrieve this temperature and humidity readings from the PIC16F877A on an interval basis (5 minute one reading is noted down), and at the end of the day i can save these data out and analyze?

Can it be done by connecting a usb port to my existing circuit, so that i can retrieve the data out? And i do come across to CCS USB driver where like usb, usb_cdc, usb_desc_hid and etc, can these driver serve my purpose?

I am still on the learning process on using ccs c compiler, any advice and suggestion will be welcomed, thanks.
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Nov 28, 2009 9:06 am     Reply with quote

The CCS USB drivers are (unless I'm missing something) only for those 18F parts with USB hardware. If you're just getting started you would also probably find the job quite complex.

But... an FTDI FT232RL will make the job very simple. It's basically a USB to serial converter chip. You can also get it in a module (MM232R, UB232R, etc) - just plug it into the PC and your board. Even better, there's a nifty little cable (TTL-232R) that makes it so simple it's well worth the fairly low cost.

FTDI: http://www.ftdichip.com/Products/EvaluationKits/FT232RModules.htm
Guest








PostPosted: Sun Nov 29, 2009 6:50 pm     Reply with quote

If I am using the PIC18F which driver should i use that can serve my purpose?

What is it mean by with 18F with USB hardware?

Thanks.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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