{"id":3492,"date":"2023-07-01T05:51:31","date_gmt":"2023-07-01T12:51:31","guid":{"rendered":"https:\/\/www.donluc.com\/?p=3492"},"modified":"2023-07-01T05:51:31","modified_gmt":"2023-07-01T12:51:31","slug":"project-26-radio-frequency-bluetooth-mate-silver-mk16","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=3492","title":{"rendered":"Project #26 &#8211; Radio Frequency &#8211; Bluetooth Mate Silver &#8211; Mk16"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3492-1\" width=\"720\" height=\"480\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #RadioFrequency #Bluetooth #Arduino #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03a.png\" alt=\"Bluetooth Mate Silver\" width=\"720\" height=\"405\" class=\"alignnone size-full wp-image-3494\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03a-300x169.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03b.png\" alt=\"Bluetooth Mate Silver\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-3495\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03b-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03c.png\" alt=\"Bluetooth Mate Silver\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-3496\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03c.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2023\/07\/DL2306Mk03c-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>SparkFun Bluetooth Mate Silver<\/strong><\/p>\n<p>The Bluetooth Mate is very similar to our BlueSMiRF modem, but it is designed specifically to be used with our Arduino Pros and LilyPad Arduinos. These modems work as a serial (RX\/TX) pipe, and are a great wireless replacement for serial cables. Any serial stream from 2400 to 115200bps can be passed seamlessly from your computer to your target.<\/p>\n<p>Bluetooth Mate has the same pin out as the FTDI Basic, and is meant to plug directly into an Arduino Pro, Pro Mini, or LilyPad Mainboard. Because we&#8217;ve arranged the pins to do this, you cannot directly plug the Bluetooth Mate to an FTDI Basic board.<\/p>\n<p>The RN-42 is perfect for short range, battery powered applications. The RN-42 uses only 26uA in sleep mode while still being discoverable and connectable. Multiple user configurable power modes allow the user to dial in the lowest power profile for a given application. The Bluetooth Mate has on-board voltage regulators, so it can be powered from any 3.3 to 6VDC power supply. We&#8217;ve got level shifting all set up so the RX and TX pins on the remote unit are 3-6VDC tolerant.<\/p>\n<p><strong>DL2306Mk03<\/strong><\/p>\n<p>1 x Arduino Uno<br \/>\n1 x SparkFun Bluetooth Mate Silver<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>Arduino Uno<\/strong><\/p>\n<p>RX &#8211; Digital 3<br \/>\nTX &#8211; Digital 2<br \/>\nVIN &#8211; +3.3V<br \/>\nGND &#8211; GND<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>DL2306Mk03p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/* ***** Don Luc Electronics \u00a9 *****\r\nSoftware Version Information\r\nProject #26 - Radio Frequency - Bluetooth Mate Silver - Mk16\r\n26-16\r\nDL2306Mk03p.ino\r\n1 x Arduino Uno\r\n1 x SparkFun Bluetooth Mate Silver\r\n1 x SparkFun Cerberus USB Cable\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\/\/ Software Serial\r\n#include &lt;SoftwareSerial.h&gt;\r\n\r\n\/\/ Software Serial\r\n\/\/ TX-O pin of bluetooth mate, Arduino D2\r\nint bluetoothTx = 2;\r\n\/\/ RX-I pin of bluetooth mate, Arduino D3\r\nint bluetoothRx = 3;\r\n\/\/ Bluetooth\r\nSoftwareSerial bluetooth(bluetoothTx, bluetoothRx);\r\n\/\/ BTA\r\n\/\/String BTA = &quot;0006664FDC9E&quot;; \r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;26-16&quot;;\r\n\r\nvoid loop() {\r\n\r\n  \/\/ isBluetooth\r\n  isBluetooth();\r\n \r\n}\r\n<\/pre>\n<p><strong>getBluetooth.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Bluetooth\r\n\/\/ Setup Bluetooth\r\nvoid isSetupBluetooth(){\r\n\r\n  \/\/ Setup Bluetooth\r\n  \/\/ Begin the serial monitor at 9600bps\r\n  Serial.begin(9600);\r\n  \/\/ Bluetooth\r\n  \/\/ The Bluetooth Mate defaults to 115200bps\r\n  bluetooth.begin(115200);\r\n  \/\/ Print three times individually\r\n  bluetooth.print(&quot;$&quot;);\r\n  bluetooth.print(&quot;$&quot;);\r\n  bluetooth.print(&quot;$&quot;);\r\n  \/\/ Enter command mode\r\n  \/\/ Short delay, wait for the Mate to send back CMD\r\n  delay(100);\r\n  \/\/ Temporarily Change the baudrate to 9600, no parity\r\n  bluetooth.println(&quot;U,9600,N&quot;);\r\n  \/\/ 115200 can be too fast at times for NewSoftSerial to relay the data reliably\r\n  \/\/ Start bluetooth serial at 9600\r\n  bluetooth.begin(9600);\r\n  \r\n}\r\n\/\/ isBluetooth\r\nvoid isBluetooth() {\r\n\r\n  \/\/ If the bluetooth sent any characters\r\n  if(bluetooth.available())\r\n  {\r\n    \r\n    \/\/ Send any characters the bluetooth prints to the serial monitor\r\n    Serial.print((char)bluetooth.read());\r\n    \r\n  }\r\n  \/\/ If stuff was typed in the serial monitor\r\n  if(Serial.available())\r\n  {\r\n    \r\n    \/\/ Send any characters the Serial monitor prints to the bluetooth\r\n    bluetooth.print((char)Serial.read());\r\n    \r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n  \r\n  \/\/ Setup Bluetooth\r\n  isSetupBluetooth();\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Technology Experience<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi,Espressif, etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank and Underwater Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial and Marine<\/li>\n<li>Machine Learning<\/li>\n<li>RTOS<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<\/ul>\n<p><strong>Instructor, E-Mentor, STEAM, and Arts-Based Training<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>IoT<\/li>\n<li>PIC Microcontrollers<\/li>\n<li>Arduino<\/li>\n<li>Raspberry Pi<\/li>\n<li>Espressif<\/li>\n<li>Robotics<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2023<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectronics #DonLuc #RadioFrequency #Bluetooth #Arduino #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; SparkFun Bluetooth Mate Silver The Bluetooth Mate is very similar to our BlueSMiRF modem, but it is designed specifically to be used with our Arduino Pros and LilyPad Arduinos. These modems work as a serial (RX\/TX) pipe, and are &#8230; <a title=\"Project #26 &#8211; Radio Frequency &#8211; Bluetooth Mate Silver &#8211; Mk16\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=3492\" aria-label=\"Read more about Project #26 &#8211; Radio Frequency &#8211; Bluetooth Mate Silver &#8211; Mk16\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[247,50,49,38,59,5,287,58,10,43],"tags":[6,242,288,102,4,19,85,24,9,27,264,33,34],"class_list":["post-3492","post","type-post","status-publish","format-standard","hentry","category-radio-frequency","category-arduino","category-consultant","category-digitalelectronics","category-fritzing","category-microcontrollers","category-program","category-arduino-programming","category-projects","category-sparkfun","tag-arduino","tag-bluetooth","tag-bluetooth-mate-silver","tag-components","tag-consultant","tag-electronics","tag-fritzing","tag-microcontroller","tag-programming","tag-projects-2","tag-radio-frequency","tag-technology","tag-video-blog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/3492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3492"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/3492\/revisions"}],"predecessor-version":[{"id":3497,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/3492\/revisions\/3497"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}