{"id":606,"date":"2011-05-06T08:51:22","date_gmt":"2011-05-06T13:51:22","guid":{"rendered":"http:\/\/blog.danjoannis.com\/?p=606"},"modified":"2011-05-06T14:20:05","modified_gmt":"2011-05-06T19:20:05","slug":"cordless-phone-hack-interfacing-with-a-pc","status":"publish","type":"post","link":"https:\/\/blog.danjoannis.com\/?p=606","title":{"rendered":"Cordless Phone Hack &#8211; Interfacing with a PC"},"content":{"rendered":"<p>For a long time I&#8217;ve wanted to be able to interface a cordless phone with my computer. I often do voice calls using Skype and G-Mail, and of course sometimes I&#8217;d like to be able to leave my desk. Wireless headsets are of course available, I&#8217;ve even purchased a Bluetooth headset, but the range of Bluetooth, and the quality, leave a lot to be desired. However, cordless phones not only have decent sound quality, they also have great range. I had an old GE phone in a box that I hadn&#8217;t used in about 2 and a half years, so I took it out and set to work.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/images.amazon.com\/images\/P\/B00005NGR6.01.LZZZZZZZ.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"GE Cordless Phone\" src=\"http:\/\/images.amazon.com\/images\/P\/B00005NGR6.01.LZZZZZZZ.jpg\" alt=\"\" width=\"272\" height=\"300\" \/><\/a><\/p>\n<p><!--more-->There are two ways to practically\u00a0interface\u00a0my computer to the phone. The cleanest solution is to make a device that allows me to convert the audio input\/output to\/from the computer to a telephone line signal. I did some research (ie, Googled), and didn&#8217;t find enough information to help me (not that it doesn&#8217;t exist, I just didn&#8217;t find it). There are many commercial options, but most of them are designed to work with particular software (ie, just Skype) whereas I wanted more flexibility. I opted then for the dirtier route: audio injection.<\/p>\n<p>The idea behind this is simple: open up the base, find where the audio signal pins are on the RF (radio frequency) module, and connect wires to those pins that allow me to connect my computer to it (headphone jacks). In order to find these pins, I went through the following process:<\/p>\n<p><span style=\"text-decoration: underline;\">Initial Setup (Disclaimer)<\/span><\/p>\n<p>Before we go too far: <strong>I am not responsible for anything that results from your decision to follow this write-up, including but not limited to property damage, fire, injury, or death.<\/strong><\/p>\n<p><strong>Here are some risks of damage:<\/strong><\/p>\n<ul>\n<li><strong>Damage to the phone<\/strong><\/li>\n<li><strong>Damage to your computer (if you send 12V into your microphone port because you connected the wrong pin&#8230;)<\/strong><\/li>\n<li><strong>Damage to anything you plug into the phone to test (measurement equipment, used responsibly should be fine, but I meant mp3 players and such.)<\/strong><\/li>\n<\/ul>\n<p>Having said that, here are some important considerations:<\/p>\n<ul>\n<li>Do not perform any work on your device while it is connected to the telephone line! (You may not only slightly injure yourself, but the voltage can be high enough to be dangerous, cause fire, or suspend your phone service.)<\/li>\n<li>Exercise general caution when probing: some components get hot, (I found that out), and ensure you never cross two pins when probing (I didn&#8217;t find that out): you may end up with a brick if you do that.<\/li>\n<li>Do not solder any connections while the device is plugged in. Unplug the base before soldering any wires.<\/li>\n<\/ul>\n<p>My setup for probing was simply that: the DC adapter plugged into the wall, and nothing more.<\/p>\n<p><span style=\"text-decoration: underline;\">Finding the Phone&#8217;s Microphone<\/span><\/p>\n<p>This step may have been the more difficult of the two, but I was lucky: the board had a single IC on it: KA8532. After reading through the <a href=\"http:\/\/www.datasheetarchive.com\/Indexer\/Datasheet-019\/DSA00325727.html\" target=\"_blank\">datasheet<\/a> (PDF download) for this chip, I discovered that the\u00a0audio\u00a0output is on pin 14. This made probing with my oscilloscope a lot easier. I pressed Talk on the phone,\u00a0and\u00a0put my probe on that pin: silence. Then I spoke, and saw my voice on the oscilloscope display: can it really be so simple?<\/p>\n<p><span style=\"text-decoration: underline;\">Finding the Phone&#8217;s Speaker<\/span><\/p>\n<p>I say that this was easier because I took the brute force method. I grabbed an old mp3 player I didn&#8217;t care about being damaged, stripped the ends of some headphone cable, hit play and simply touched different pins on the interfacing connector between the main PCB and the RF module, and waited to hear music on the phone. Once I did, I knew that was the right pin!<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0005.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-607\" title=\"Cracked Open\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0005-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0005-300x225.jpg 300w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0005-1024x768.jpg 1024w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0005.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\">Make the Connection<\/span><\/p>\n<p>I scrounged through my wire bucket and found two headphone cables: one for the microphone and one for the speaker. I soldered the wires in place to the pins I discovered.<\/p>\n<p>At this point, I connected the two cables to the computer, and hit Talk. The phone tried&#8230; and failed to connect. I was confused, but only slightly. I disconnected the base from the computer and tried again: it now worked. I believe that I may have connected my speaker wire to a pin that also controlled something to do with the RF communications. By plugging it in before the connection is established, it may create noise that makes connection impossible. So to make a call, first I hit Talk, then I plug it to the computer.<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0002.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-608\" title=\"Soldered\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0002-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0002-300x225.jpg 300w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0002-1024x768.jpg 1024w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0002.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\">Extra Features<\/span><\/p>\n<p>At this point, the dialing buttons don&#8217;t work. The phone wont ring when I get a call, and there is no caller ID. The sound quality is better than my\u00a0Bluetooth, the range is great, but there is a little bit of noise (not bad considering I&#8217;m not using any filtering of any kind.) But I don&#8217;t care. It does exactly what I set out for it to do. This morning I tested it with a call lasting over 2 hours, and no disconnections, no errors. Amazingly, the battery in the phone is about 8 years old, if not more, and hasn&#8217;t been\u00a0charged\u00a0in over 2.5 years&#8230; Success!<\/p>\n<p><a href=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0008.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-609\" title=\"Plugged in\" src=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0008-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0008-225x300.jpg 225w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0008-768x1024.jpg 768w, https:\/\/blog.danjoannis.com\/wp-content\/uploads\/2011\/05\/DSC_0008.jpg 1536w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time I&#8217;ve wanted to be able to interface a cordless phone with my computer. I often do voice calls using Skype and G-Mail, and of course sometimes I&#8217;d like to be able to leave my desk. Wireless headsets are of course available, I&#8217;ve even purchased a Bluetooth headset, but the range of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[183,181,182,184],"class_list":["post-606","post","type-post","status-publish","format-standard","hentry","category-electronics","category-projects","tag-3-5mm","tag-cordless","tag-phone","tag-skype"],"_links":{"self":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=606"}],"version-history":[{"count":5,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/606\/revisions"}],"predecessor-version":[{"id":613,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=\/wp\/v2\/posts\/606\/revisions\/613"}],"wp:attachment":[{"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.danjoannis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}