Re: [PIC] data logging

"Harold Hallikainen" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.pic
Message-ID <[email protected]>
I'm still using PICs! My latest project is using a PIC32MZ. I'm still
maintaining a system using the PIC24H that went into production about 15
years ago and is still being produced. We're about to update the Ethernet
to 100 Mbps.

Anyway, as others have suggested, an SD card is a lot easier to write to.
Microchip has a library for it, and it just uses an SPI port (or even bit
bang). If you write it out as CSV, it's easy to import into a spreadsheet.
In fact, Windows will open a CSV in Excel by default.

Also as mentioned by another, writing to an SPI flash is another option. I
do this in several projects for logs. In the PIC24 system, the log from
external flash memory is converted to HTML for display on a web UI. But as
also suggested by another, programs such as Tera Term can capture incoming
data to a file, so you can just dump the log over RS232.

Good luck!

Harold
https://w6iwi.ot


On Sat, November 9, 2024 7:14 am, Allen Mulvey wrote:
> Does it need to be a PIC device? I have not used PIC in almost 20 years.
> This is pretty trivial with an ESP32 device and an SD card.
>
> Allen Mulvey
>
>
> On 11/9/2024 5:33 AM, David C Brown 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
>


-- 
Not sent from an iPhone.
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.