View previous topic :: View next topic |
Author |
Message |
Marq
Joined: 06 Oct 2009 Posts: 9
|
Data logging in PIC16F877A |
Posted: Sat Nov 28, 2009 8:30 am |
|
|
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
|
|
Posted: Sat Nov 28, 2009 9:06 am |
|
|
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
|
|
Posted: Sun Nov 29, 2009 6:50 pm |
|
|
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. |
|
|
|