Monday, March 31, 2014

Tracking Device Progress

Once again, it's been a while since I've made a new post (seriously, it's becoming cliche). But that doesn't mean we haven't been working hard at our project. In fact, we've made some serious progress on the Arduino based tracking device. After realizing we had a major oversight concerning radio communication, we decided to change our methods from serial communication to DTMF (Dual Tone, Multiple Frequency) communication. Don't know what DTMF is? You know the sound you hear when you push a number on your telephone? It's that. The tones you hear through your phone are actually a combination of two frequencies. Each number on the phone corresponds to a unique combination of two of a set of frequencies. When the telephone station (or whatever it's called) receives these tones, it recognizes the combined frequencies as a set of numbers, and takes action accordingly. What exactly does this have to do with our project? Well, because audio signals transmit over radio much better than binary signals, we've decided to use dual frequency signals to communicate the latitude, longitude, and altitude values. We have an IC (integrated circuit) that will take in binary data and convert it to these tones, so we can easily plug output of this chip into the mic of a radio, and plug the speaker of the other radio into a computer to interpret the signals.
DTMF tones of different numbers
So we have a language to communicate the data, but we also need a way to get the data. You may think it's pretty simple, just take the GPS data and plug it into this magical chip. However, we have to convert the GPS data, which is stored in "float" (a type of variable which has numbers after the decimal point), into an array of numbers, so that they can be called individually. After a long time programming, filled with frustration, we finally got it. The video you see below is the GPS data being converted to individual numbers, and then displayed sequentially as binary numbers in four bits. It's probably hard to tell what the numbers are because the LED's are so bright, but the sequence is 2,6,3,7,8,0,3,7,8,4,0,0, and then it repeats again after all the LED's go on. This means that the location in "minutes" (1/60th of a degree) is 26.3780 by 37.8400. I disregarded the degrees because the balloon's trajectory should not cover more than a degree of latitude, and if it does, we'll know which degree area it is in anyway.
Now, all that's left is to get all of the hardware ready and test the range of the radios. That's still a lot of stuff to do, and we only have under 3 weeks left. This is the part of the project where stress levels rise to a record high. I'm fairly confident we can get all of it done, but we're nowhere near where I thought we'd be at this point. What's left on the shopping list? The balloon, the helium, and any materials we need to fashion the capsule. Oh yeah, and another unexpected cost came up recently. As it turns out, the radio range of 40+ miles is only reachable in the GMRS setting. And the FCC requires you to have a license to operate the GMRS channels. And the license costs $85. Yeah. Donations, anyone?

Thursday, March 6, 2014

Update

There hasn't been a blog post in a while, so I figured I'd give everyone an update. 
We've finally collected all of our electronics equipment for the tracking device. I say that with some reservations, however, after making three or four separate shipments from the same electronics site within days of each other. You tend to not realize what it is you forgot to buy until after the shipment arrives. In short, we spent a little too much on shipping than we should have. So anyway, all of the equipment is here and I've already made some tests on the GPS with the arduino, and the radios. Thankfully I have access to the electronics equipment at school: oscilloscopes, storage-scopes, meters, etc. I hope to have the tracker finished by spring break, but I have a lot of work to do. I may post a video on the Facebook page of some tests in the weeks to come. In other news, we've decided on a launch date, which will be the weekend of April 18th-21st. Why those dates? Well that's another bit of news for you. Recently, I stumbled upon something called the Global Space Balloon Challenge. It's a worldwide competition for teams to enter who are doing projects just like us. We've decided to enter it, and the launch date is between the 18th and 21st of April. We'll be competing against high school, college, and independent teams from countries all over the world!
Well that's about all I have for now. Remember, go like our Facebook page at facebook.com/nearspaceadventures for the latest news and content. 

Oh yeah, and maybe you could help us out a little and press that shiny "donate" button over there on the right side of the page. Don't worry, it's through Paypal so it's quite secure. So yeah, press the button. I dare you.