Hi All,
I am just looking for your help (and suggestions)
I want to build a 'Universal Logger'.
Basically a PIC Micro, that can log to a text file on a FAT formatted SD Card.
A USB interface on the pic would be nice to connect to the PC for configuration, etc, but I could always use the UART, or a FTDI usb to UART conversion.
Also, Preferrably built in RTC, although might go for external one if it works out cheaper.
Low Power for battery use would be good.
Once I have the basics down, then I can tailor the program depending on what I want to Log, etc
Have a few 1 Wire Temperature Sensors logged at 5 minute intervals.
or
Have it log all the pin states for a Port, and if any pins change state, timestamp and record the new value.
or
Log Current / Voltage / Power at certain times, etc.
As I say, once I have the basics down, then all i have to do is make up 'shields' and change the coding (or add functions that can be selected via a sort of menu, etc).
The main problem that I am having is figuring out what PIC I need.
For Development, I need to have a Through Hole DIP for breadboarding, but later may want to do a SMT board.
I prefer to use C18 with some libraries (eg ADC Lib, XLCD, etc)
I have checked the Microchip MDDFS (Memory Disk Drive File System) Library specs for memory requirements, and it has the following for the C18's
PROG DATA
R/O 25203 1886
Write Enabled 17366 0
Format Enabled 7394 0
Total Bytes 49963 1886
Kbytes 50 2
So If I am doing this right, for Read Only + Writing + Formatting, I will need 50KB Programming Memory, and 2 KB Data Memory.
Then I will need the space for the other LIBS and my own coding.
Oh, and it will also need to be compatible with a Pickit 2, 'cos that is the only programmer that I can afford at the moment..
Anybody have suggestions on which pic to use. I have tried their parametric search, but the vast amount of options makes my head spin, and makes it hard to choose.
Much, Much Appreciated for all your suggestions and input.
P