I have several operational pressure, temperature, and humidity I2C sensors. They are taking measurements. My next endeavor is to take that data and write it to a CSV or a text file. I want to graph the data and do other kinds of math to it. Any advice? I looked around, and I can only find data logger shields and SD cards. Is there a way to log data via software?
what arduino are you using?
if you have WiFi or Ethernet or a modem available you could upload data to a desktop such as cayenne for display using grpahs, picharts, etc, e.g. how-to-get-data-through-iot
If you have an Arduino with an SD card, use the SD library to print data to a file on the card. The library docs and examples show you how.
You can also connect the Arduino to a desktop or laptop via the USB connection, and instead of using the Arduino serial monitor, use any terminal program (TerraTerm, PuTTY, etc.) to log the data to a file on the laptop.
You open a file on the SD card to write or append to. When you want to save some data you "print" the data to the file. At the appropriate time you close the file
It is your choice whether you open and close the file for each batch of data, say each line, or whether you open it at the start of the sketch and close it at a point in the sketch when data recording is complete
If you have Microsoft 365, then it is really easy to do.
There is a 'Data Streamer' Add-In that you can install. After that you just set Excel to read from the correct COM port, and send the data by using Serial.print()
You have been able to do this with Excel since at least Office 2000, by using the PLX macro, and it's free. If you have the latest Office, fine, if not, look here. I don't suppose Office 365 has any advantage to offer over PLX.