{"id":17,"date":"2011-03-02T01:36:46","date_gmt":"2011-03-02T01:36:46","guid":{"rendered":"http:\/\/www.daveakerman.com\/?p=17"},"modified":"2011-03-02T13:21:16","modified_gmt":"2011-03-02T13:21:16","slug":"hanging-on-the-telephone","status":"publish","type":"post","link":"http:\/\/www.daveakerman.com\/?p=17","title":{"rendered":"Hanging On The Telephone"},"content":{"rendered":"<p>Today I ordered the parachute (a 48&#8243; model &#8211; on the &#8220;slow and safe&#8221; side for the expected weight), a GPS antenna, power regulator for the GPS, and of course some duct tape! \u00a0Every project needs some of that! \u00a0It it&#8217;s good enough to save the Apollo 13 astronauts, it&#8217;s good enough for me!<\/p>\n<p>So this evening I worked on the serial comms for the flight computer. \u00a0The serial devices will be GPS (connected to the main (hardware) serial port), radio transmitter (simple to &#8220;bit bang&#8221; at the low baud rate), and the GSM phone for messaging. \u00a0The latter will need to run from a software UART. \u00a0The computer will have some logic such as &#8220;if height below 3 miles, send position every 10 minutes. \u00a0If below 1 mile send every minute&#8221;, or something like that.<\/p>\n<p>I have 2 options for the GSM &#8211; a Wavecom modem and a T39m mobile phone. \u00a0The T39m has 3.3V logic levels which are simple to interface to the Arduino flight computer&#8217;s 5V levels, so that&#8217;s what I did first. \u00a0I downloaded an updated software UART that runs on interrupts and is therefore less disruptive to other operations the computer will need to do. \u00a0I then set up a simple program to echo PC keyboard characters on to the phone, \u00a0and to display anything coming back. \u00a0Then I wired the Arduino to the phone using a phone pinout I found on the web.<\/p>\n<p>Nothing. \u00a0I could see the Arduino was transmitting, but the phone didn&#8217;t respond. \u00a0I tested the voltage levels and made sure things were as per the diagram, but got nothing.<\/p>\n<p>Researching more, I found another pinout reference that had different pins for the transmit and receive lines. \u00a0After quickly rewiring, everything worked! \u00a0I hate it when people post rubbish on the web &#8230;<\/p>\n<p>I then set up some messages to send to the phone so it would send me a message to my main phone. \u00a0Again, nothing. \u00a0Checking the phone&#8217;s menus the message was sat there in the outbox, but wasn&#8217;t being sent. \u00a0No credit! \u00a0The SIM card is one that sits in my netbook PC and hardly gets used, and T-Mobile had kindly timed it out! \u00a0Will try with a SIM card that has credit soon!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I ordered the parachute (a 48&#8243; model &#8211; on the &#8220;slow and safe&#8221; side for the expected weight), a GPS antenna, power regulator for the GPS, and of course some duct tape! \u00a0Every project needs some of that! \u00a0It it&#8217;s good enough to save the Apollo 13 astronauts, it&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/17"}],"collection":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":2,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":22,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions\/22"}],"wp:attachment":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}