[SPIN] receive data from port & write to file
amajor
Posts: 3
Hello all,
I am working on a student satellite project where we are sending sensor data (6D inertial data and 2D GPS coordinates) from the satellite through a radio modem and receiving through a radio modem connected to a Propeller chip package. The Propeller chip package is connected to a USB port on a computer. We send a command through the PST to request and receive the sensor data. Next, we will periodically send sensor data (every 30 seconds?) without any commands. We would like to write all of this sensor data to a file. Currently, we do not know how to write to a file using data received by the port. Any ideas on how to access the port with Spin and not the PST :nerd:?
I am working on a student satellite project where we are sending sensor data (6D inertial data and 2D GPS coordinates) from the satellite through a radio modem and receiving through a radio modem connected to a Propeller chip package. The Propeller chip package is connected to a USB port on a computer. We send a command through the PST to request and receive the sensor data. Next, we will periodically send sensor data (every 30 seconds?) without any commands. We would like to write all of this sensor data to a file. Currently, we do not know how to write to a file using data received by the port. Any ideas on how to access the port with Spin and not the PST :nerd:?
Comments
This sounds more like a PC software issue than a Spin issue.
Here's a couple of links that may help.
Phil's Propeller to PC .cvs file interface
AppNote #18
If you want the Propeller to log the data to an SD card file, look at AppNote #6.