weather balloon code help
jt_huskerfan80
Posts: 2
I am part of a group of students building a weather balloon that we intend to send up in a few weeks and need some help with code. we have the following components; BS2, Memory Stick Data Logger, 30-120 kPa pressure sensor (from parallax) , LM 35 Temp sensor circuit, RH sensor (parallax's). I assume that we need a main code to control the three sets of code for the sensors and then to initialize DataLogger. If anyone can help point me to a fast solution I would greatly appreciate it as my deadline looms very near.
Thanks
Thanks
Comments
The example programs for each sensor will demonstrate how to get the information from that sensor. You can put the main data gathering code into subroutines for each sensor. You will need to examine the example code to identify the parts you need. Then you would write code to initialize the hardware, especially the Datalogger, which has several examples.
Your main program loop will call each subroutine and write the data to the Datalogger in the format you specify, which could then be read later on the PC. For example if you store the data as a CSV file (comma separated values) then it could easily be imported into Excel or a similar spreadsheet for data analysis. I hope this helps.
P.S. - if you need help with combining programs you could check out the following videos:
http://www.savagecircuits.com/forums/showthread.php?145-Episode-5-Merging-Programs-Part-1-of-2
http://www.savagecircuits.com/forums/showthread.php?146-Episode-6-Merging-Programs-Part-2-of-2