My static website generator using poole https://www.xythobuz.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bluetooth.html 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Bluetooth UART (BTM-222) (#) xythobuz.de</title>
  6. <meta name="description" content="PCB for the BTM-222 and 5V level converters" />
  7. <meta name="keywords" content="xythobuz" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <link rel="author" href="/xythobuz@xythobuz.de">
  10. <link rel="shortcut icon" href="/img/favicon.ico">
  11. <link rel="alternate" type="application/rss+xml" title="Blog" href="/rss.xml">
  12. <link type="text/css" rel="stylesheet" href="/css/sh_bright.min.css" />
  13. <link rel="stylesheet" href="/css/bootstrap.css" type="text/css" media="screen" />
  14. <link rel="stylesheet" href="/css/gh-fork-ribbon.css" />
  15. <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
  16. <script type="text/javascript" src="/js/sh_main.js"></script>
  17. <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
  18. <script type="text/javascript" src="/js/bootstrap.js"></script>
  19. <script type='text/javascript'>
  20. /* <![CDATA[ */
  21. (function() {
  22. var s = document.createElement('script');
  23. var t = document.getElementsByTagName('script')[0];
  24. s.type = 'text/javascript';
  25. s.async = true;
  26. s.src = '//api.flattr.com/js/0.6/load.js?mode=auto&uid=xythobuz&category=text';
  27. t.parentNode.insertBefore(s, t);
  28. })();
  29. /* ]]> */
  30. </script>
  31. </head>
  32. <body onload="sh_highlightDocument('/js/sh/', '.min.js');" style="font-size: 1.1em; font-family: 'Droid Sans', sans-serif;">
  33. <div class="navbar">
  34. <div class="navbar-inner">
  35. <ul class="nav">
  36. <li><a href="/index.html">Home</a></li>
  37. <li><a href="/blog.html">Blog</a></li>
  38. <li><a href="/contact.html">Contact</a></li>
  39. <li class="dropdown"><a href="/software.html" class="dropdown-toggle" data-toggle="dropdown">Software<b class="caret"></b></a><ul class="dropdown-menu">
  40. <li><a href="/avrnetstack.html">avrNetStack</a></li>
  41. <li><a href="/avrserial.html">AVR Serial Library</a></li>
  42. <li><a href="/yasab.html">YASAB AVR Bootloader</a></li>
  43. <li><a href="/c250.html">Mio C250 Unlock</a></li>
  44. <li><a href="/nas.html">IB-NAS6210 Linux</a></li>
  45. <li><a href="/serialhelper.html">Serial Helper</a></li>
  46. <li><a href="/ultimatenotifier.html">Ultimate Notifier Script</a></li>
  47. </ul>
  48. <li class="dropdown"><a href="/hardware.html" class="dropdown-toggle" data-toggle="dropdown">Hardware<b class="caret"></b></a><ul class="dropdown-menu">
  49. <li><a href="/ledcube.html">8x8x8 LED Cube</a></li>
  50. <li><a href="/xycontrol.html">xyControl</a></li>
  51. <li class="dropdown-submenu"><a href="/xyrobot.html" class="dropdown-toggle" data-toggle="dropdown">xyRobot</a><ul class="dropdown-menu">
  52. <li><a href="/bluetooth.html">Bluetooth UART (BTM-222)</a></li>
  53. <li><a href="/k6x4008.html">K6x4008 SRAM</a></li>
  54. <li><a href="/rremote.html">rRemote</a></li>
  55. <li><a href="/xyrobotremote.html">xyRobotRemote</a></li>
  56. </ul>
  57. <li><a href="/ssop28.html">SSOP28 - DIL Adapter</a></li>
  58. <li><a href="/serialdebug.html">Serial Debug</a></li>
  59. <li><a href="/ledmatrix.html">LED Matrix</a></li>
  60. </ul>
  61. <li class="divider-vertical"></li>
  62. <li><a href="http://xythobuz.de/lastmusic">♫</a></li>
  63. <li class="divider-vertical"></li>
  64. <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Language<b class="caret"></b></a><ul class="dropdown-menu">
  65. <li><a href='bluetooth.de.html'>Deutsch</a></li> <li><a href='bluetooth.html'>English</a></li>
  66. </ul></li>
  67. <li class="divider-vertical"></li>
  68. <script type="text/javascript">
  69. function sitesearch(curobj) {
  70. curobj.q.value = "site:xythobuz.de " + curobj.r.value
  71. }
  72. </script>
  73. <form class="navbar-search" action="http://www.google.com/search" method="get" onSubmit="sitesearch(this)">
  74. <input name="q" type="hidden" />
  75. <input name="r" type="text" class="search-query span2" placeholder="Search..." />
  76. </form>
  77. </ul>
  78. </div>
  79. </div>
  80. <div style="width: 75%; margin-left: auto; margin-right: auto;">
  81. <h1>Bluetooth UART (BTM-222)</h1>
  82. <p>Here's the Layout of a BTM-222 Bluetooth PCB, following the <a href="http://www.rn-wissen.de/index.php/RN-Definitionen">Roboternetz Guidelines Mini Format</a>. The circuit comes from <a href="http://www.robotfreak.de/blog/mikrocontroller/preiswerte-bluetooth-anbindung/44">Robotfreak</a>, but is basically the minimal circuit described in the <a href="/files/btm222.pdf">datasheet (370kB)</a>.</p>
  83. <p><a href="/img/BT_Top.jpg"><img alt="PCB Top" src="/img/BT_Top_small.jpg" /></a>
  84. <a href="/img/BT_Bot.jpg"><img alt="PCB Bottom" src="/img/BT_Bot_small.jpg" /></a>
  85. <a href="/img/bt_plan.png"><img alt="Circuit diagram" src="/img/bt_plan_small.png" /></a>
  86. <a href="/img/BT_Layout.png"><img alt="Layout" src="/img/BT_Layout_small.png" /></a></p>
  87. <p><a href="/files/bluetooth.zip">Layout and Circuit Diagram as Eagle files (54kB)</a>.</p>
  88. <table border="1">
  89. <tr><th>ID</th><th>Value</th><th>Shop</th></tr>
  90. <tr><td>R1</td><td>200k Ohm</td><td>-</td></tr>
  91. <tr><td>R2</td><td>5k Ohm Poti</td><td><a href="http://www.conrad.de/ce/de/product/430722/">Conrad</a></td></tr>
  92. <tr><td>R3 - R10</td><td>1k Ohm</td><td>-</td></tr>
  93. <tr><td>Q1 - Q4</td><td>BC547 NPN</td><td><a href="http://www.conrad.de/ce/de/product/155012/">Conrad</a></td></tr>
  94. <tr><td>IC1</td><td>LM317(LZ)</td><td><a href="http://www.conrad.de/ce/de/product/155585/">Conrad</a></td></tr>
  95. <tr><td>IC2</td><td>BTM 222</td><td><a href="http://shop.ulrichradig.de/aktive-Bauelemente/Module/Bluetooth-Module-BTM222.html">Ulrich Radig</a></td></tr>
  96. <tr><td>LED 1+2</td><td>LED 5mm</td><td>-</td></tr>
  97. </table>
  98. <p>Soldering the standard parts should be no problem. You should use a find soldering iron to connect each pin of the BTM-222, one after another. A 31mm long piece of wire can be used as antenna.</p>
  99. <h2>Interfacing the BTM-222</h2>
  100. <p>Before using the BTM-222 you have to configure it. You can change the speed, data format, name, PIN and some other things. You have to connect the hardware serial interface of the BTM-222 to a PC and issue the AT-Commands documented in the datasheet. It is very important to use only '\r' as Line-End-Character. Using '\n' or "\r\n" will result in error messages from the module.</p>
  101. <span id="flattr">
  102. <a class="FlattrButton" href="http://www.xythobuz.de/bluetooth.html" title="Bluetooth UART (BTM-222)">PCB for the BTM-222 and 5V level converters</a>
  103. </span>
  104. <span id="twitter">
  105. <a href="https://twitter.com/share" class="twitter-share-buttdata-via="xythobuz" data-dnt="true" data-related="xythobuz" data-count="vertical">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twi.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitwjs");</script>
  106. </span>
  107. <span id="reddit">
  108. <script type="text/javascript">reddit_url = "http://www.xythobuz.de/bluetooth.html";</script>
  109. <script type="text/javascript" src="http://www.redcom/static/button/button2.js"></script>
  110. </span>
  111. <div id="print"><script>var pfHeaderImgUrl = '';var pfHeaderTagline = '';var pfdisableClickToDel = 0;var pfHideImages = 0;var pfImageDisplayStyle = 'right';var pfDisablePDF = 0;var pfDisableEmail = 0;var pfDisablePrint = 0;var pfCustomCSS = '';var pfBtVersion='1';(function(){var js, pf;pf = document.createElement('script');pf.type = 'text/javascript';if('https:' == document.location.protocol){js='https://pf-cdn.printfriendly.com/ssl/main.js'}else{js='http://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script><a href="http://www.printfriendly.com" style="color:#6D9F00;text-decoration:none;" class="printfriendly" onclick="window.print();return false;" title="Printer Friendly and PDF"><img style="border:none;margin:0 6px" src="https://pf-cdn.printfriendly.com/images/icons/pf-print-icon.gif" width="16" height="15" alt="Print Friendly Version of this page" />Print <img style="border:none;margin:0 6px" src="https://pf-cdn.printfriendly.com/images/icons/pf-pdf-icon.gif" width="12" height="12" alt="Get a PDF version of this webpage" />PDF</a></div>
  112. <div id="disqus_thread"></div>
  113. <script type="text/javascript">
  114. var disqus_shortname = "xythobuz";
  115. (function() {
  116. var dsq = document.createElement("script"); dsq.type = "text/javascript"; dsq.async = true;
  117. dsq.src = "http://" + disqus_shortname + ".disqus.com/embed.js";
  118. (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0] ).appendChild(dsq);
  119. })();
  120. </script>
  121. <noscript>Please enable JavaScript to view the <a href="http://disqus. com/?ref_noscript">comments powered by Disqus.</a></noscript>
  122. <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
  123. </div>
  124. <div style="color: gray; text-align: center;">
  125. Built with <a href="http://bitbucket.org/obensonne/poole">Poole</a>
  126. &middot;
  127. Made with <a href="http://twitter.github.io/bootstrap/index.html">Bootstrap</a>
  128. &middot;
  129. Using <a href="http://shjs.sourceforge.net">SHJS</a>
  130. &middot;
  131. Licensed as <a href="http://creativecommons.org/licenses/by/3.0">CC-BY</a>
  132. </div>
  133. <img src="http://xythobuz.de/stats/count.php?img" alt="Analytics">
  134. <script src="http://gitforked.com/api/1.1/button.js" type="text/javascript"></script>
  135. <script type="text/javascript">
  136. var _gaq = _gaq || [];
  137. _gaq.push(['_setAccount', 'UA-39163591-1']);
  138. _gaq.push(['_setDomainName', 'xythobuz.org']);
  139. _gaq.push(['_setAllowLinker', true]);
  140. _gaq.push(['_trackPageview']);
  141. setTimeout("_gaq.push(['_trackEvent', '30_seconds', 'read'])", 30000);
  142. (function() {
  143. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  144. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  145. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  146. })();
  147. </script>
  148. </body>
  149. </html>