Saving data directly on MacBook

Hi everyone! I am new to programming.

I am trying to collect data, 8 hours per day, using a humidity, sound and temperature sensor on an Arduino UNO. I checked if everything worked, but appearently my data shield is broken and doesn't find my SD card, and I am not in a position to get a new one or an SD card reader at the moment.

I was hoping I could store data directly on my MacBook, macOS Big Sur, in a CSV file and excel. I am not familiar with programming terms yet, so I was hoping someone could help me with a code for the MacBook that reads the serial line and save it into CSV and excel.

I also found in some threads and additional program like; 'Processing' might work, I have this program but I don't see exactly how this might work, but all the input is welcome.

Thanks in advance! :nerd_face:

Surely there are several terminal programmes available for a macbook - all freebies, and you should also be able to use the datastream facility in Excel to send data directly.

You can use CoolTerm as a serial monitor and it offers the ability to save the incoming data in a file. So just ensure your arduino spits out the data in the CSV format and you’ll be good to go.

As an alternative, If you are familiar with Unix and command line, you can use screen or cu

screen /dev/yourserialport 115200
sudo cu -s 115200 -l /dev/yourserialport

(For cu Exit with ~. when you're done)

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.