Re: [PIC] data logging

Alan Pearce <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.pic
Message-ID <CAHD638i8W4VuuiWTAcG5haopPpLij-mibq6bX3AVYkv4wJ-GSA@mail.gmail.com>
If you wish to record to a USB device then the minimum device is a PIC24
family device that has USB, as these are the minimum device with USB OTG,
i.e. can be a USB master. PIC16 & PIC18 devices with USB are anly slave
devices. However if you can use a suitably formatted EEPROM or FRAM with a
PIC16 or PIC18 to store data then you could make it look like a USB drive
when connected to a PC to download, if you don't specifically require
removable media on the data capture device. But any use of USB will require
using a Microchip library for the USB interface, but all the rest can be
written in assembler if you wish.

If you can use an SD card then you could use a PIC16 or PIC18 with SPI
interface. You will need a reasonable amount of RAM to handle the file
system buffering.

Whichever way you do it you will probably want to use the Chan FatFS
library for the file system handling.



On Sat, 9 Nov 2024 at 10:38, David C Brown <[email protected]> wrote:

> I am planning a project that captures dat every ten minutes or so, using a
> PIC to do the capturing.
> I then want to store the data on a medium such as a thumbdrive in such a
> way that irt can be read into a spreadsheet on a PC.
> Is that feasible and if so could some kind person direct me to some
> information on how to do so.
> (i prefer programming in assembler)
>
> __________________________________________
> David C Brown
> 43 Bings Road
> Whaley Bridge
> High Peak                           Phone: 01663 733236
> Derbyshire                eMail: [email protected]
> SK23 7ND          web: www.bings-knowle.co.uk/dcb
> <http://www.jb.man.ac.uk/~dcb>
>
>
>
> *Sent from my etch-a-sketch*
> --
> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
> View/change your membership options at
> https://mailman.mit.edu/mailman/listinfo/piclist
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.