# cache_field

cid: field:node:115
data:
  a:3:{s:4:"body";a:1:{s:3:"und";a:1:{i:0;a:5:{s:5:"value";s:116856:"<p><span style="font-size: small;">This is a great piece of uer interface board, it is perfect for gaming and navigating through menu quickly. It has headers for LCD and Bluetooth modules.</span></p><p></p><p><img src="data:image/jpeg;base64,[encoded data, 116588 characters]" border="0" alt="" /></p>";s:7:"summary";s:0:"";s:6:"format";s:9:"full_html";s:10:"safe_value";s:116852:"<p><span style="font-size: small;">This is a great piece of uer interface board, it is perfect for gaming and navigating through menu quickly. It has headers for LCD and Bluetooth modules.</span></p>

  <p><img src="data:image/jpeg;base64,[encoded data, 116588 characters]" border="0" alt="" /></p>
  ";s:12:"safe_summary";s:0:"";}}}s:16:"uc_product_image";a:1:{s:3:"und";a:1:{i:0;a:11:{s:3:"fid";s:3:"341";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:3:"uid";s:1:"1";s:8:"filename";s:21:"Joystick1 (Small).jpg";s:3:"uri";s:30:"public://Joystick1 (Small).jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:5:"36992";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1379929987";s:11:"rdf_mapping";a:0:{}}}}s:16:"taxonomy_catalog";a:1:{s:3:"und";a:1:{i:0;a:1:{s:3:"tid";s:1:"2";}}}}


cid: field:taxonomy_term:2
data:
  a:1:{s:16:"uc_catalog_image";a:1:{s:3:"und";a:1:{i:0;a:11:{s:3:"fid";s:2:"17";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:3:"uid";s:1:"1";s:8:"filename";s:11:"Shields.jpg";s:3:"uri";s:20:"public://Shields.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:5:"74914";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1304814926";s:11:"rdf_mapping";a:0:{}}}}}


cid: field:node:22
data:
  a:3:{s:4:"body";a:1:{s:3:"und";a:1:{i:0;a:5:{s:5:"value";s:4203:"<p><span style="color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;">Wiring the Arduino + LCD + &nbsp;DHT11</span><br /> <br /><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> First of all, you will need to wire the DHT11 sensor and the LCD as shown in the circuit diagram below:</span><br /><span style="font-family: verdana, geneva; font-size: medium;"> <img src="/sites/default/files/pictures/DHT-11-wiring.jpg" border="0" width="570" height="489" /></span><br /><span style="font-family: verdana, geneva; font-size: medium;"> &nbsp;<map id="imgmap201221173521" name="imgmap201221173521"><area shape="rect" title="USB" alt="" coords="555,180,595,206" target="" /></map><map id="imgmap201221175024" name="imgmap201221175024"></map></span></p><p dir="ltr" style="margin-left: 120pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;">Fig 1: Circuit to wire up the Arduino the LCD and the DHT11 sensor</span></p><p><br /><span style="color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> Loading the program to get the weather station going:</span><br /> <br /><span style="font-family: verdana, geneva; font-size: medium;"> <span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The code for reading the Sensor data and displaying it on the LCD is available </span><a href="http://code.google.com/p/weather--station/source/browse/trunk/WeatherStation.ino" target="_blank">here</a><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">,</span></span><br /><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> The code is very easy to read and understand and you can tweak it to your advantage..</span><br /> <br /><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> Once the code is loaded the Weather Station should be reading the Temperature and Humidity reading and displaying it on the cool blue backlight screen!!!</span><br /><span style="font-family: verdana, geneva; font-size: medium;"> <img src="https://lh3.googleusercontent.com/W5qorWFpEhRhHlg0ob2EnzslSHLiX4dZuNAoHp3L7dcd-hKb5WW5kOFK35Di65Ey3jZUGWQSrUWw4igbpnoolwtlq2neXbEWvUGwT-dzjQhhFGS3lO4" border="0" width="427px;" height="372px;" /></span><br /> <br /><span style="font-family: verdana, geneva; font-size: medium;"> &nbsp;</span></p><h2 dir="ltr"><span style="font-family: verdana, geneva; font-size: medium;"><a href="?q=node/15"><span style="color: #000099; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline;">GET A WEATHERSTATION!</span></a></span></h2><p><br /><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> NOTE: We leave the interfacing of the light sensor as a task for the hobbyist, But if you get stuck drop us a line and we will send you the link to interface it!</span></p>";s:7:"summary";s:0:"";s:6:"format";s:9:"full_html";s:10:"safe_value";s:4164:"<p><span style="color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;">Wiring the Arduino + LCD +  DHT11</span></p>
  <p><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> First of all, you will need to wire the DHT11 sensor and the LCD as shown in the circuit diagram below:</span><br /><span style="font-family: verdana, geneva; font-size: medium;"> <img src="/sites/default/files/pictures/DHT-11-wiring.jpg" border="0" width="570" height="489" /></span><br /><span style="font-family: verdana, geneva; font-size: medium;">  <map id="imgmap201221173521" name="imgmap201221173521"><area shape="rect" title="USB" alt="" coords="555,180,595,206" target="" /></map><map id="imgmap201221175024" name="imgmap201221175024"></map></span></p>
  <p dir="ltr" style="margin-left: 120pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;">Fig 1: Circuit to wire up the Arduino the LCD and the DHT11 sensor</span></p>
  <p><span style="color: #000000; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> Loading the program to get the weather station going:</span></p>
  <p><span style="font-family: verdana, geneva; font-size: medium;"> <span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The code for reading the Sensor data and displaying it on the LCD is available </span><a href="http://code.google.com/p/weather--station/source/browse/trunk/WeatherStation.ino" target="_blank">here</a><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">,</span></span><br /><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> The code is very easy to read and understand and you can tweak it to your advantage..</span></p>
  <p><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> Once the code is loaded the Weather Station should be reading the Temperature and Humidity reading and displaying it on the cool blue backlight screen!!!</span><br /><span style="font-family: verdana, geneva; font-size: medium;"> <img src="https://lh3.googleusercontent.com/W5qorWFpEhRhHlg0ob2EnzslSHLiX4dZuNAoHp3L7dcd-hKb5WW5kOFK35Di65Ey3jZUGWQSrUWw4igbpnoolwtlq2neXbEWvUGwT-dzjQhhFGS3lO4" border="0" width="427px;" height="372px;" /></span></p>
  <p><span style="font-family: verdana, geneva; font-size: medium;">  </span></p>
  <h2 dir="ltr"><span style="font-family: verdana, geneva; font-size: medium;"><a href="?q=node/15"><span style="color: #000099; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline;">GET A WEATHERSTATION!</span></a></span></h2>
  <p><span style="color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; font-family: verdana, geneva; font-size: medium;"> NOTE: We leave the interfacing of the light sensor as a task for the hobbyist, But if you get stuck drop us a line and we will send you the link to interface it!</span></p>
  ";s:12:"safe_summary";s:0:"";}}}s:10:"field_tags";a:1:{s:3:"und";a:4:{i:0;a:1:{s:3:"tid";s:1:"6";}i:1;a:1:{s:3:"tid";s:1:"7";}i:2;a:1:{s:3:"tid";s:2:"10";}i:3;a:1:{s:3:"tid";s:1:"9";}}}s:11:"field_image";a:0:{}}


cid: field:node:26
data:
  a:3:{s:4:"body";a:1:{s:3:"und";a:1:{i:0;a:5:{s:5:"value";s:12718:"<p><strong><span style="font-size: 16px;">Bluetooth Module:</span></strong></p><p><img src="/sites/default/files/pictures/bluetooth/bluetooth_with_wires.jpg" border="0" width="400" height="300" /></p><p>Fig1: Bluetooth module</p><p><span style="font-size: 14px;"><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">This HC-06 Bluetooth module is the most economical and easiest way to go wireless.</span></span></p><p><span style="font-size: 14px;"><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">This module allows you to wirelessly extend your serial interface,&nbsp;</span>Hence any program running on your Laptop feels its controlling a local serial port (which is over a wireless bluetooth link )</span></p><p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The 4 pins are +5V, GND, TXD, RXD. Supply voltage should be 3.3 - 6 V. Absolute maximum is 7 V.</span></p><p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Default pairing code: 1234</span></em></span></p><p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Default baudrate: 9600</span></em></span></p><p class="rteleft"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">HC-04 is almost identical to HC-06. The only difference is that HC-04 is for industry and HC-06 is for civil. Other than that, they are the same. Please refer this<a href="http://www.hobbyist.co.nz/sites/default/files/Bluetooth_HC-06.pdf"> HC-04 Datasheet</a> for more technical information.</span></span></p><p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The maximum baudrate can be configured to </span></em><span style="font-family: arial,helvetica,sans-serif;">1382400bps, but 115200bps is recommended for reliability purposes. The name and paring code can be re-configured by</span><span style="font-family: arial,helvetica,sans-serif;"> </span><span style="font-family: arial,helvetica,sans-serif;">a <a href="http://www.hobbyist.co.nz/?q=ftdi-usb-to-serial">USB to Serial converter</a></span></span><span style="font-family: arial,helvetica,sans-serif;"><a href="http://www.hobbyist.co.nz/?q=ftdi-usb-to-serial"></a></span><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: x-small;"><span style="font-size: small;">,</span><span style="font-size: small;"> t</span><span style="font-size: medium;">he steps for the configuration can be found</span></span></span><span style="font-size: medium;"><span style="font-family: arial,helvetica,sans-serif;"> <a href="http://www.hobbyist.co.nz/?q=bluetooth-module-configurations">here</a>.</span></span></p><p class="rteleft"><br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Below shows how the Bluetooth module is connected to the Arduino or other microcontroller device. The Bluetooth module also works in 3.3 V power supply</span></p><p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"><img src="sites/default/files/connection.jpg" border="0" alt="" /></span></p><p class="rteleft">Fig 2: Bluetooth module wiring</p><p class="rteleft"><img src="sites/default/files/wrong_connections.jpg" border="0" alt="" /></p><p class="rteleft"><br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Once the wires are connected, in the computer under the Bluetooth properties, select ‘Add a device’. The default device name of the Bluetooth module is ‘linvor’</span><img src="https://lh5.googleusercontent.com/d2tCf5BGov4qtZ3PpNPFRFhX8GnaNIPP9-KJ2_n-kjJVZG0eL-xYaMwsekvaA3mna6zXwlMwrtEagc-nT_PqlTV3ONWdCCyercVfec3U9U10wnf9dZQ" border="0" width="403px;" height="280px;" /></p><p class="rteleft">Fig3: Detecting the Bluetooth module<br /> <br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Double click ‘linvor’ and select the ‘Hardware’ tab, you can see which COM port the module is connected. In this example, it is connected to COM 21.</span><img src="https://lh4.googleusercontent.com/FoP-QPLF8b1NfM7yPvvV3-MGLu0OqbwspSb6MGR56TCrVY2ei6IyKY0SMKZ8mPQyJrBdy-rkeO8UHuSmGxr1RcRAPlpULdYif4cXOzhcWtXy_rFQWmM" border="0" width="442" height="543" /></p><p class="rteleft">Fig4: Finding the COM port associated with the bluetooth module<br /> <br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">You may use any terminal programs, or the open source terminal program </span><a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline;">puTTY</span></a><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">. Download it and double click on the putty.exe, select the ‘Serial’ radio button.</span></p><p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"></span><img src="https://lh4.googleusercontent.com/YU8nIBVKa5MmOEG4ur7RaZFpOYtr0fyTrnNUKCJD0UZXDsyu92l7cier8mTtsqTnOiRNXJC48qM2imlC69Vlg_2HtOrEG9vE2maAd2BK6WK7vpPwEN0" border="0" width="433px;" height="416px;" /></p><p class="rteleft">Fig 5: Connecting to the bluetooth module using Putty application</p><p class="rteleft"><br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Then type in the COM port number that the Bluetooth device is connecting to. The default baud rate is 9600. Click ‘Open’. And here you go, a new session pops up and if the Bluetooth module’s LED changed from flashing to always on, then it indicates the connection is established. </span><br /> <br /> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Test the Bluetooth module : Loopback testing</span></p><p class="rteleft"><span style="font-size: 14px;"><font face="Arial">First test of the bluetooth module is call the the loopback test</font></span></p><ul><li class="rteleft"><p><span style="font-size: 14px;"><strong><font face="Arial">Wiring the Bluetooth to get power from the Arduino</font></strong></span></p></li></ul><p class="rteleft rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">To wire up the Bluetooth, power up the Arduino board (with usb or other power source), connect the +5 V and GND to the Arduino, then short circuit the rx and tx pin.</span><span style="background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">&nbsp;</span></span></span></p><p class="rteleft rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">By doing this, you’ll receive exactly what you send.</span></span></p><ul><li class="rteleft"><p><strong><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Bluetooth test from PC</span></span></strong></p></li></ul><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"></span>In the Bluetooth device properties of your computer, add the Bluetooth device by selecting ‘add a device’.</span></p><p class="rteindent1"><span style="font-size: 14px;">The default device name is linvor, and default pairing code is 1234, default baud rate 9600.</span></p><p class="rteindent1"><span style="font-size: 14px;">The device doesn’t need any driver. Please ignore the ‘unknown device warning’ in the windows device manager.</span></p><p class="rteindent1"><span style="font-size: 14px;">In the Bluetooth connection property, you can found which COM port the Bluetooth module is connected to.</span></p><p class="rteindent1"><span style="font-size: 14px;"><em><strong>Note:</strong>&nbsp;Until now the LED on the Bluetooth module is still flashing. Launch puTTY, type in the correct COM port and start the session. Soon after the session started, the flashing should stop and the LED on the Bluetooth module should stay on, which indicates that the connection has been established. In default setting, puTTY doesn't echo what you type, and whatever you type in puTTY gets sent to the Bluetooth module. So if you can see what you type in the terminal (non-repeated), it means the Bluetooth received the character you typed and sent it back to puTTY. </em></span></p><p class="rteindent1">&nbsp;</p><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">For advance users who want to customize the settings of the Bluetooth module, see <a href="http://www.hobbyist.co.nz/?q=bluetooth-module-configurations">Bluetooth module configurations</a>. However, you are encouraged to skip this and continue to step3 to get your wireless rover working first!</span></span></p><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><br /></span></span></p><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: medium; font-family: verdana,geneva;"><strong>Bluetooth module is not visible to Android phones and Android tablets?</strong></span><br />It is reported that Android has some issues with the </span></span><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Bluetooth Serial Port Protocol (SPP). Installing TerminalBT app allows a pairing / connect to the Bluetooth module. This <a href="http://zornsoftware.codenature.info/blog/pairing-spp-bluetooth-devices-with-android-phones.html%20" target="_blank">link</a> explains it in a bit more detail.<br /></span></span></p><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><br /></span></span></p><p class="rteindent1"><strong><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Slow response in Arduino IDE when Bluetooth is enabled</span></span></strong></p><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">When the Bluetooth of a laptop is enabled, the Arduino IDE becomes painfully slow and it is unusable. This is due to the auto-scanning COM port feature of the IDE. This <a href="slow-response-arduino-ide-in-windows" target="_blank">link</a> explains how to resolve this problem.<br /></span></span></p><p><span style="font-size: 14px;"><a href="?q=bluetooth-robot">Step3: Combine Bluetooth with Motor Shield</a></span></p>";s:7:"summary";s:0:"";s:6:"format";s:9:"full_html";s:10:"safe_value";s:12711:"<p><strong><span style="font-size: 16px;">Bluetooth Module:</span></strong></p>
  <p><img src="/sites/default/files/pictures/bluetooth/bluetooth_with_wires.jpg" border="0" width="400" height="300" /></p>
  <p>Fig1: Bluetooth module</p>
  <p><span style="font-size: 14px;"><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">This HC-06 Bluetooth module is the most economical and easiest way to go wireless.</span></span></p>
  <p><span style="font-size: 14px;"><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">This module allows you to wirelessly extend your serial interface, </span>Hence any program running on your Laptop feels its controlling a local serial port (which is over a wireless bluetooth link )</span></p>
  <p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The 4 pins are +5V, GND, TXD, RXD. Supply voltage should be 3.3 - 6 V. Absolute maximum is 7 V.</span></p>
  <p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Default pairing code: 1234</span></em></span></p>
  <p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Default baudrate: 9600</span></em></span></p>
  <p class="rteleft"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">HC-04 is almost identical to HC-06. The only difference is that HC-04 is for industry and HC-06 is for civil. Other than that, they are the same. Please refer this<a href="http://www.hobbyist.co.nz/sites/default/files/Bluetooth_HC-06.pdf"> HC-04 Datasheet</a> for more technical information.</span></span></p>
  <p class="rteleft"><span style="font-size: medium;"><em><span style="font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">The maximum baudrate can be configured to </span></em><span style="font-family: arial,helvetica,sans-serif;">1382400bps, but 115200bps is recommended for reliability purposes. The name and paring code can be re-configured by</span><span style="font-family: arial,helvetica,sans-serif;"> </span><span style="font-family: arial,helvetica,sans-serif;">a <a href="http://www.hobbyist.co.nz/?q=ftdi-usb-to-serial">USB to Serial converter</a></span></span><span style="font-family: arial,helvetica,sans-serif;"><a href="http://www.hobbyist.co.nz/?q=ftdi-usb-to-serial"></a></span><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: x-small;"><span style="font-size: small;">,</span><span style="font-size: small;"> t</span><span style="font-size: medium;">he steps for the configuration can be found</span></span></span><span style="font-size: medium;"><span style="font-family: arial,helvetica,sans-serif;"> <a href="http://www.hobbyist.co.nz/?q=bluetooth-module-configurations">here</a>.</span></span></p>
  <p class="rteleft"> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Below shows how the Bluetooth module is connected to the Arduino or other microcontroller device. The Bluetooth module also works in 3.3 V power supply</span></p>
  <p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"><img src="sites/default/files/connection.jpg" border="0" alt="" /></span></p>
  <p class="rteleft">Fig 2: Bluetooth module wiring</p>
  <p class="rteleft"><img src="sites/default/files/wrong_connections.jpg" border="0" alt="" /></p>
  <p class="rteleft"> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Once the wires are connected, in the computer under the Bluetooth properties, select ‘Add a device’. The default device name of the Bluetooth module is ‘linvor’</span><img src="https://lh5.googleusercontent.com/d2tCf5BGov4qtZ3PpNPFRFhX8GnaNIPP9-KJ2_n-kjJVZG0eL-xYaMwsekvaA3mna6zXwlMwrtEagc-nT_PqlTV3ONWdCCyercVfec3U9U10wnf9dZQ" border="0" width="403px;" height="280px;" /></p>
  <p class="rteleft">Fig3: Detecting the Bluetooth module</p>
  <p> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Double click ‘linvor’ and select the ‘Hardware’ tab, you can see which COM port the module is connected. In this example, it is connected to COM 21.</span><img src="https://lh4.googleusercontent.com/FoP-QPLF8b1NfM7yPvvV3-MGLu0OqbwspSb6MGR56TCrVY2ei6IyKY0SMKZ8mPQyJrBdy-rkeO8UHuSmGxr1RcRAPlpULdYif4cXOzhcWtXy_rFQWmM" border="0" width="442" height="543" /></p>
  <p class="rteleft">Fig4: Finding the COM port associated with the bluetooth module</p>
  <p> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">You may use any terminal programs, or the open source terminal program </span><a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline;">puTTY</span></a><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">. Download it and double click on the putty.exe, select the ‘Serial’ radio button.</span></p>
  <p class="rteleft"><span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"></span><img src="https://lh4.googleusercontent.com/YU8nIBVKa5MmOEG4ur7RaZFpOYtr0fyTrnNUKCJD0UZXDsyu92l7cier8mTtsqTnOiRNXJC48qM2imlC69Vlg_2HtOrEG9vE2maAd2BK6WK7vpPwEN0" border="0" width="433px;" height="416px;" /></p>
  <p class="rteleft">Fig 5: Connecting to the bluetooth module using Putty application</p>
  <p class="rteleft"> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Then type in the COM port number that the Bluetooth device is connecting to. The default baud rate is 9600. Click ‘Open’. And here you go, a new session pops up and if the Bluetooth module’s LED changed from flashing to always on, then it indicates the connection is established. </span></p>
  <p> <span style="font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: bold; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">Test the Bluetooth module : Loopback testing</span></p>
  <p class="rteleft"><span style="font-size: 14px;"><font face="Arial">First test of the bluetooth module is call the the loopback test</font></span></p>
  <ul><li class="rteleft">
  <p><span style="font-size: 14px;"><strong><font face="Arial">Wiring the Bluetooth to get power from the Arduino</font></strong></span></p>
  </li>
  </ul><p class="rteleft rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;">To wire up the Bluetooth, power up the Arduino board (with usb or other power source), connect the +5 V and GND to the Arduino, then short circuit the rx and tx pin.</span><span style="background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline;"> </span></span></span></p>
  <p class="rteleft rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">By doing this, you’ll receive exactly what you send.</span></span></p>
  <ul><li class="rteleft">
  <p><strong><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Bluetooth test from PC</span></span></strong></p>
  </li>
  </ul><p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"></span>In the Bluetooth device properties of your computer, add the Bluetooth device by selecting ‘add a device’.</span></p>
  <p class="rteindent1"><span style="font-size: 14px;">The default device name is linvor, and default pairing code is 1234, default baud rate 9600.</span></p>
  <p class="rteindent1"><span style="font-size: 14px;">The device doesn’t need any driver. Please ignore the ‘unknown device warning’ in the windows device manager.</span></p>
  <p class="rteindent1"><span style="font-size: 14px;">In the Bluetooth connection property, you can found which COM port the Bluetooth module is connected to.</span></p>
  <p class="rteindent1"><span style="font-size: 14px;"><em><strong>Note:</strong> Until now the LED on the Bluetooth module is still flashing. Launch puTTY, type in the correct COM port and start the session. Soon after the session started, the flashing should stop and the LED on the Bluetooth module should stay on, which indicates that the connection has been established. In default setting, puTTY doesn't echo what you type, and whatever you type in puTTY gets sent to the Bluetooth module. So if you can see what you type in the terminal (non-repeated), it means the Bluetooth received the character you typed and sent it back to puTTY. </em></span></p>
  <p class="rteindent1"> </p>
  <p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">For advance users who want to customize the settings of the Bluetooth module, see <a href="http://www.hobbyist.co.nz/?q=bluetooth-module-configurations">Bluetooth module configurations</a>. However, you are encouraged to skip this and continue to step3 to get your wireless rover working first!</span></span></p>
  <p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><br /></span></span></p>
  <p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: medium; font-family: verdana,geneva;"><strong>Bluetooth module is not visible to Android phones and Android tablets?</strong></span><br />It is reported that Android has some issues with the </span></span><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Bluetooth Serial Port Protocol (SPP). Installing TerminalBT app allows a pairing / connect to the Bluetooth module. This <a href="http://zornsoftware.codenature.info/blog/pairing-spp-bluetooth-devices-with-android-phones.html%20" target="_blank">link</a> explains it in a bit more detail.<br /></span></span></p>
  <p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;"><br /></span></span></p>
  <p class="rteindent1"><strong><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">Slow response in Arduino IDE when Bluetooth is enabled</span></span></strong></p>
  <p class="rteindent1"><span style="font-size: 14px;"><span style="font-family: arial,helvetica,sans-serif;">When the Bluetooth of a laptop is enabled, the Arduino IDE becomes painfully slow and it is unusable. This is due to the auto-scanning COM port feature of the IDE. This <a href="slow-response-arduino-ide-in-windows" target="_blank">link</a> explains how to resolve this problem.<br /></span></span></p>
  <p><span style="font-size: 14px;"><a href="?q=bluetooth-robot">Step3: Combine Bluetooth with Motor Shield</a></span></p>
  ";s:12:"safe_summary";s:0:"";}}}s:16:"uc_product_image";a:1:{s:3:"und";a:1:{i:0;a:11:{s:3:"fid";s:3:"109";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:3:"uid";s:1:"1";s:8:"filename";s:15:"frontback_0.jpg";s:3:"uri";s:26:"public://frontback_0_0.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:6:"219366";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1332114407";s:11:"rdf_mapping";a:0:{}}}}s:16:"taxonomy_catalog";a:1:{s:3:"und";a:1:{i:0;a:1:{s:3:"tid";s:2:"36";}}}}


cid: field:node:49
data:
  a:3:{s:4:"body";a:1:{s:3:"und";a:1:{i:0;a:5:{s:5:"value";s:1793:"<h2><strong>Bluetooth Module</strong> <strong>(Master):</strong></h2><p><img src="sites/default/files/pictures/bluetooth/bluetooth_with_wires.jpg" border="0" alt="" width="611" height="457" /></p><p><span style="font-size: small;">This is the HC-06 Bluetooth module, master. It can talk to the HC-06 Bluetooth module, device.</span></p><p><span style="font-size: small;">Please note:</span></p><ul><li><span style="font-size: small;">HC-06 master can only connect to HC-06 device.</span></li><li><span style="font-size: small;">The role of a HC-06 Bluetooth module master and a HC-06 Bluetooth device cannot be interchanged, its defifined in its firmware, which is proprietary.</span></li><li><span style="font-size: small;">The name of the master module cannot be changed, and other commands are the same as the <a href="http://www.hobbyist.co.nz/?q=Bluetooth-module-configurations">device module</a>.</span></li></ul><p><span style="font-size: small;">Once the master detects a slave module with the same paring code, it will establish the connection. and next time, even after power down, once the master module detect the same slave module, it will automatically connect to it even other slave modules are also nearby. The master module recognizes that specific slave module through it's MAC number. A master module that is mated with a slave module has a slow flashing LED. Once connection established, its LED stays on. To reset the MAC number, press the button on the master module, or give the 'key/wake' pin a logic high impulse. Once it's reset, and if there are more multiple slave modules in the vicinity with the same paring code, the master module will randomly pick one to connect, and will again, lock into that module until the reset button is pressed.</span></p><p>&nbsp;</p>";s:7:"summary";s:0:"";s:6:"format";s:9:"full_html";s:10:"safe_value";s:1798:"<h2><strong>Bluetooth Module</strong> <strong>(Master):</strong></h2>
  <p><img src="sites/default/files/pictures/bluetooth/bluetooth_with_wires.jpg" border="0" alt="" width="611" height="457" /></p>
  <p><span style="font-size: small;">This is the HC-06 Bluetooth module, master. It can talk to the HC-06 Bluetooth module, device.</span></p>
  <p><span style="font-size: small;">Please note:</span></p>
  <ul><li><span style="font-size: small;">HC-06 master can only connect to HC-06 device.</span></li>
  <li><span style="font-size: small;">The role of a HC-06 Bluetooth module master and a HC-06 Bluetooth device cannot be interchanged, its defifined in its firmware, which is proprietary.</span></li>
  <li><span style="font-size: small;">The name of the master module cannot be changed, and other commands are the same as the <a href="http://www.hobbyist.co.nz/?q=Bluetooth-module-configurations">device module</a>.</span></li>
  </ul><p><span style="font-size: small;">Once the master detects a slave module with the same paring code, it will establish the connection. and next time, even after power down, once the master module detect the same slave module, it will automatically connect to it even other slave modules are also nearby. The master module recognizes that specific slave module through it's MAC number. A master module that is mated with a slave module has a slow flashing LED. Once connection established, its LED stays on. To reset the MAC number, press the button on the master module, or give the 'key/wake' pin a logic high impulse. Once it's reset, and if there are more multiple slave modules in the vicinity with the same paring code, the master module will randomly pick one to connect, and will again, lock into that module until the reset button is pressed.</span></p>
  <p> </p>
  ";s:12:"safe_summary";s:0:"";}}}s:16:"uc_product_image";a:1:{s:3:"und";a:1:{i:0;a:11:{s:3:"fid";s:2:"81";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:3:"uid";s:1:"1";s:8:"filename";s:13:"frontback.jpg";s:3:"uri";s:22:"public://frontback.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:5:"35398";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1321944055";s:11:"rdf_mapping";a:0:{}}}}s:16:"taxonomy_catalog";a:1:{s:3:"und";a:1:{i:0;a:1:{s:3:"tid";s:2:"36";}}}}


cid: field:node:65
data:
  a:3:{s:4:"body";a:1:{s:3:"und";a:1:{i:0;a:5:{s:5:"value";s:135093:"<p><span style="font-family: verdana, geneva; font-size: medium;">This pair of wireless modules operates in the 433mHz Frequency band, and the range can be up to 2 km. It is very simple to use, and can be a very cost effective solution for your long range wireless project. A slight latency of about 0.5 second may be expected. It's ideal for not-real-time-critical applications such as sending instructions to relays, cameras and other sensors and actuators. Please note that the pair only does one way communication. For applications where both way communication is needed, two pairs may be used.</span></p><p><font face="verdana, geneva" size="3"><br /></font></p><p><font face="verdana, geneva" size="3">Schematic:</font></p><p><a href="http://hobbyist.co.nz/sites/default/files/docs/longRangeTxRx/Schematic.rar" target="_blank" title="Link to wiring Schematic"><font face="verdana, geneva" size="3">Link to wiring Schematic</font></a></p><p><span style="font-family: verdana, geneva; font-size: medium;"><img src="/sites/default/files/pictures/2km-TxRxMod/2km%20Tx.png" border="0" width="325" height="324" /></span></p><div><span style="font-family: verdana,geneva; font-size: medium;"><strong><span style="color: #ff0000;">Note: </span></strong></span></div><div><ul><li><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;">Wire the TX strictly as mentioned in diagram above. The data pins should only be connected to Vcc or left floating.</span></strong></li><li><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;">Please straighten&nbsp; the antenna before usage, or the module will be burned!</span></strong></li></ul></div><div><span style="font-family: verdana, geneva; font-size: medium;"><b><br /></b></span></div><div><span style="font-family: verdana, geneva; font-size: medium;"><b>Specification:</b></span></div><ul><li><span style="font-family: verdana, geneva; font-size: medium;">Working volt : 5V</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Working current: ≤2.5mA(5.0VDC)</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Technology:&nbsp;Superhet （VCO, PLL）</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Modulation：OOK/ASK</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Working band: &nbsp;433.92MHz&nbsp; <br /></span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Bandwidth: &nbsp;1.5MHz&nbsp;</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Sensitivity: &nbsp;-105dBm (50Ω)&nbsp;</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Rate: ＜5Kbps</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Decoding form：PT2272</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Antenna length: &nbsp;18cm</span></li><li><span style="font-family: verdana, geneva; font-size: medium;">Emission Distance: 2 KM</span></li></ul><div></div><div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Coupling the TX to RX module</strong></span></div><div><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;"><img src="/sites/default/files/RFModule.png" border="0" width="576" height="296" /></span></strong></div><div><span style="font-family: verdana, geneva;"><strong><span style="color: #ff0000;"><br /></span></strong></span></div><div><span style="font-family: verdana, geneva;"><img src="data:image/jpeg;base64,[encoded data, 126160 characters]" border="0" alt="" /></span></div><div></div><div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Example wiring</strong></span></div><div><span style="color: #bf0080; font-family: verdana, geneva; font-size: medium;"><br />D0--&gt;pin4;<br />D1--&gt;pin5;<br />D2--&gt;pin6;<br />D3--&gt;pin7;<br />GND--&gt;GND;<br />VDD--&gt;5v.</span></div><div><span style="color: #bf0080; font-family: verdana, geneva; font-size: medium;"><br /></span></div><div><span style="font-family: verdana, geneva; font-size: medium;">The data pins of the receiver will follow the logic level of the transmitter.</span></div><div><span style="font-family: verdana, geneva; font-size: medium;"><br /></span></div><div></div><div></div><div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Example Code</strong> </span></div><div></div><div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void setup()</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; pinMode(4,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; pinMode(5,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; pinMode(6,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; pinMode(7,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; Serial.begin(9600);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void loop()</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; unsigned char i=0;</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; for(i=0;i&lt;16;i++)</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; {</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; send_data(i);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; Serial.print("i=");</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; Serial.println(i,DEC);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; delay(500);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; send_data(0);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; &nbsp; delay(500);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; }</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">//====================================</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void send_data(unsigned char data)</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; digitalWrite(4,(data&amp;0x01));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; digitalWrite(5,(data&amp;0x02));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; digitalWrite(6,(data&amp;0x04));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">&nbsp; digitalWrite(7,(data&amp;0x08));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span></div><div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;"><br /></span></div><div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">Schematic:</span></div><div><font face="'comic sans ms', sans-serif" size="3" color="#000065"><br /></font></div><div></div><div><span style="font-family: verdana, geneva;"><br /></span></div><div><span style="font-family: verdana, geneva;"><br /></span></div><div><span style="font-size: xx-small; font-family: verdana, geneva;"><br /></span></div><div><span style="font-size: xx-small; font-family: verdana, geneva;"><br /></span></div><div><span style="font-size: xx-small; font-family: verdana, geneva;">keywords: fm transmitter, transmitter fm, transmitter</span></div>";s:7:"summary";s:0:"";s:6:"format";s:9:"full_html";s:10:"safe_value";s:135005:"<p><span style="font-family: verdana, geneva; font-size: medium;">This pair of wireless modules operates in the 433mHz Frequency band, and the range can be up to 2 km. It is very simple to use, and can be a very cost effective solution for your long range wireless project. A slight latency of about 0.5 second may be expected. It's ideal for not-real-time-critical applications such as sending instructions to relays, cameras and other sensors and actuators. Please note that the pair only does one way communication. For applications where both way communication is needed, two pairs may be used.</span></p>
  <p><font face="verdana, geneva" size="3"><br /></font></p>
  <p><font face="verdana, geneva" size="3">Schematic:</font></p>
  <p><a href="http://hobbyist.co.nz/sites/default/files/docs/longRangeTxRx/Schematic.rar" target="_blank" title="Link to wiring Schematic"><font face="verdana, geneva" size="3">Link to wiring Schematic</font></a></p>
  <p><span style="font-family: verdana, geneva; font-size: medium;"><img src="/sites/default/files/pictures/2km-TxRxMod/2km%20Tx.png" border="0" width="325" height="324" /></span></p>
  <div><span style="font-family: verdana,geneva; font-size: medium;"><strong><span style="color: #ff0000;">Note: </span></strong></span></div>
  <div>
  <ul><li><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;">Wire the TX strictly as mentioned in diagram above. The data pins should only be connected to Vcc or left floating.</span></strong></li>
  <li><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;">Please straighten  the antenna before usage, or the module will be burned!</span></strong></li>
  </ul></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><b><br /></b></span></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><b>Specification:</b></span></div>
  <ul><li><span style="font-family: verdana, geneva; font-size: medium;">Working volt : 5V</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Working current: ≤2.5mA(5.0VDC)</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Technology: Superhet （VCO, PLL）</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Modulation：OOK/ASK</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Working band:  433.92MHz  <br /></span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Bandwidth:  1.5MHz </span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Sensitivity:  -105dBm (50Ω) </span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Rate: ＜5Kbps</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Decoding form：PT2272</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Antenna length:  18cm</span></li>
  <li><span style="font-family: verdana, geneva; font-size: medium;">Emission Distance: 2 KM</span></li>
  </ul><div></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Coupling the TX to RX module</strong></span></div>
  <div><strong style="font-family: verdana, geneva; font-size: medium;"><span style="color: #ff0000;"><img src="/sites/default/files/RFModule.png" border="0" width="576" height="296" /></span></strong></div>
  <div><span style="font-family: verdana, geneva;"><strong><span style="color: #ff0000;"><br /></span></strong></span></div>
  <div><span style="font-family: verdana, geneva;"><img src="data:image/jpeg;base64,[encoded data, 126160 characters]" border="0" alt="" /></span></div>
  <div></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Example wiring</strong></span></div>
  <div><span style="color: #bf0080; font-family: verdana, geneva; font-size: medium;"><br />D0--&gt;pin4;<br />D1--&gt;pin5;<br />D2--&gt;pin6;<br />D3--&gt;pin7;<br />GND--&gt;GND;<br />VDD--&gt;5v.</span></div>
  <div><span style="color: #bf0080; font-family: verdana, geneva; font-size: medium;"><br /></span></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;">The data pins of the receiver will follow the logic level of the transmitter.</span></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><br /></span></div>
  <div></div>
  <div></div>
  <div><span style="font-family: verdana, geneva; font-size: medium;"><strong>Example Code</strong> </span></div>
  <div></div>
  <div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void setup()</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  pinMode(4,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  pinMode(5,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  pinMode(6,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  pinMode(7,OUTPUT);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  Serial.begin(9600);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void loop()</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  unsigned char i=0;</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  for(i=0;i&lt;16;i++)</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  {</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    send_data(i);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    Serial.print("i=");</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    Serial.println(i,DEC);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    delay(500);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    send_data(0);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">    delay(500);</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  }</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">//====================================</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">void send_data(unsigned char data)</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">{</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  digitalWrite(4,(data&amp;0x01));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  digitalWrite(5,(data&amp;0x02));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  digitalWrite(6,(data&amp;0x04));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">  digitalWrite(7,(data&amp;0x08));</span><br /><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">}</span></div>
  <div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;"><br /></span></div>
  <div><span style="color: #000065; font-family: 'comic sans ms', sans-serif; font-size: medium;">Schematic:</span></div>
  <div><font face="'comic sans ms', sans-serif" size="3" color="#000065"><br /></font></div>
  <div></div>
  <div><span style="font-family: verdana, geneva;"><br /></span></div>
  <div><span style="font-family: verdana, geneva;"><br /></span></div>
  <div><span style="font-size: xx-small; font-family: verdana, geneva;"><br /></span></div>
  <div><span style="font-size: xx-small; font-family: verdana, geneva;"><br /></span></div>
  <div><span style="font-size: xx-small; font-family: verdana, geneva;">keywords: fm transmitter, transmitter fm, transmitter</span></div>
  ";s:12:"safe_summary";s:0:"";}}}s:16:"uc_product_image";a:1:{s:3:"und";a:1:{i:0;a:11:{s:3:"fid";s:3:"126";s:3:"alt";s:0:"";s:5:"title";s:0:"";s:3:"uid";s:1:"1";s:8:"filename";s:9:"2kmrf.jpg";s:3:"uri";s:20:"public://2kmrf_0.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:5:"39478";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1335184968";s:11:"rdf_mapping";a:0:{}}}}s:16:"taxonomy_catalog";a:1:{s:3:"und";a:1:{i:0;a:1:{s:3:"tid";s:2:"36";}}}}


