<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3158263629890919806</id><updated>2024-09-04T16:40:26.103-07:00</updated><category term="Android"/><category term="Arduino Uno"/><category term="Atmega328"/><category term="Atmel"/><category term="BT Shield"/><category term="Bluetooth Android Arduino BT Shield RFCOMM"/><category term="Bluetooth Android Ardunio"/><category term="microcontroller"/><title type='text'>Explodertorium</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://explodertorium.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://explodertorium.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Andy</name><uri>http://www.blogger.com/profile/16401887288797967115</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3158263629890919806.post-7339955645882601121</id><published>2012-05-08T21:10:00.003-07:00</published><updated>2012-05-08T21:32:09.939-07:00</updated><title type='text'>Video: Bluetooth Garage App is Working</title><content type='html'>App is now working. &amp;nbsp;It controls a relay switch which is connected to the main garage door opener unit. &amp;nbsp;Take a look at the video and tell me what you think.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/cD2ktMTmljU?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a schematic of the hardware and how its hooked up.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJAycUOSSd5Y2Q7CZyOhuepkoeCzRcgl8IMAoGrAxzT_hhjCM57zgvoEgCVLVmGxkvQG7ieEBA-QUlc2wEe9yfTCfKubnG7R8IyIPhtOdBC5d5fjjFjWFeXilFVhyphenhyphenr0kZROQtGOUC01OF/s1600/CameraZOOM-20120508204714621.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJAycUOSSd5Y2Q7CZyOhuepkoeCzRcgl8IMAoGrAxzT_hhjCM57zgvoEgCVLVmGxkvQG7ieEBA-QUlc2wEe9yfTCfKubnG7R8IyIPhtOdBC5d5fjjFjWFeXilFVhyphenhyphenr0kZROQtGOUC01OF/s400/CameraZOOM-20120508204714621.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
1) &amp;nbsp;this is a Single Pole Double Throw (SPDT) relay. &amp;nbsp;It is basically a switch that is controlled by a coil. &amp;nbsp; &amp;nbsp; &amp;nbsp; When the coil gets energized (signal coming from the Arduino), it produces a small magnetic field and &#39;flips&#39; the switch. &lt;br /&gt;
&lt;br /&gt;
2) this is a diode used to protect the hardware from unwanted emf signals.&lt;br /&gt;
&lt;br /&gt;
3) an NPN transistor used to provide enough current for the relay coil. &amp;nbsp;The coil relay requires more current &amp;nbsp;than the Arduino output pin can provide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bluetooth works just outside my home, but ideally I want to control the garage from anywhere I want. &amp;nbsp;I will be modifying my App in order to communicate it with a computer through the internet. &amp;nbsp;Stay tuned...</content><link rel='replies' type='application/atom+xml' href='http://explodertorium.blogspot.com/feeds/7339955645882601121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://explodertorium.blogspot.com/2012/05/bluetooth-garage-app-is-working.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/7339955645882601121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/7339955645882601121'/><link rel='alternate' type='text/html' href='http://explodertorium.blogspot.com/2012/05/bluetooth-garage-app-is-working.html' title='Video: Bluetooth Garage App is Working'/><author><name>Andy</name><uri>http://www.blogger.com/profile/16401887288797967115</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJAycUOSSd5Y2Q7CZyOhuepkoeCzRcgl8IMAoGrAxzT_hhjCM57zgvoEgCVLVmGxkvQG7ieEBA-QUlc2wEe9yfTCfKubnG7R8IyIPhtOdBC5d5fjjFjWFeXilFVhyphenhyphenr0kZROQtGOUC01OF/s72-c/CameraZOOM-20120508204714621.jpg" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3158263629890919806.post-364768013338823587</id><published>2012-05-05T13:07:00.003-07:00</published><updated>2012-05-08T12:01:42.963-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth Android Arduino BT Shield RFCOMM"/><title type='text'>Video: Initial bluetooth connection between Android and Arduino</title><content type='html'>Here&#39;s a video showing my simple app establishing a connection with the Arduino device.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://i.ytimg.com/vi/_bvaMONcgfg/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/_bvaMONcgfg?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; /&gt;







&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;







&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/_bvaMONcgfg?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Since the only Bluetooth device that will be controlling the garage is the Arduino, &amp;nbsp;I hardcoded the address of the Bluetooth module into my code, so I don&#39;t have to select it&amp;nbsp;every time&amp;nbsp;I start the app.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Here is a very crude run-through of what the app does to connect:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;lt;Start App&amp;gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #999999;&quot;&gt;1. &amp;nbsp;If Bluetooth on the phone is not enabled, then enable it.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #999999;&quot;&gt;2. &amp;nbsp;Wait for Bluetooth to be enabled before&amp;nbsp;continuing.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #999999;&quot;&gt;3. &amp;nbsp;Prepare overhead needed for the Bluetooth connection, such as an address to the Arduino BT device, etc.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #999999;&quot;&gt;4. &amp;nbsp;Start the connection to Bluetooth device.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #999999;&quot;&gt;5. &amp;nbsp;Notify user if connected failed or succeeded.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;lt;At this point, the connection is established, and I can send messages to the Arduino Bluetooth device as well as receive status updates&amp;gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I forgot to mention I had to write a simple program for the Arduino as well, to prepare the Bluetooth port for connection. &amp;nbsp;All it does right now is prepare the port and wait for a connection request from the phone.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
What I&#39;ll be working on next is sending a command from the phone to trigger the Arduino to send out a signal which will be used to open the garage.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Stay tuned and don&#39;t forget to subscribe!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explodertorium.blogspot.com/feeds/364768013338823587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://explodertorium.blogspot.com/2012/05/video-initial-bluetooth-connection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/364768013338823587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/364768013338823587'/><link rel='alternate' type='text/html' href='http://explodertorium.blogspot.com/2012/05/video-initial-bluetooth-connection.html' title='Video: Initial bluetooth connection between Android and Arduino'/><author><name>Andy</name><uri>http://www.blogger.com/profile/16401887288797967115</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3158263629890919806.post-648174147437279727</id><published>2012-05-03T01:33:00.002-07:00</published><updated>2012-05-03T01:37:21.690-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth Android Ardunio"/><title type='text'>Progress with Android connection</title><content type='html'>Granted that this is my first time writing an Android app as well as first time writing Bluetooth code, I finally got my phone to connect to the Ardunio. &amp;nbsp;I should have screenshots up by the end of the week, maybe even a video. #progress</content><link rel='replies' type='application/atom+xml' href='http://explodertorium.blogspot.com/feeds/648174147437279727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://explodertorium.blogspot.com/2012/05/granted-that-this-is-my-first-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/648174147437279727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/648174147437279727'/><link rel='alternate' type='text/html' href='http://explodertorium.blogspot.com/2012/05/granted-that-this-is-my-first-time.html' title='Progress with Android connection'/><author><name>Andy</name><uri>http://www.blogger.com/profile/16401887288797967115</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3158263629890919806.post-4218344285084210706</id><published>2012-05-01T21:31:00.001-07:00</published><updated>2012-05-01T23:56:03.547-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Arduino Uno"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmega328"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmel"/><category scheme="http://www.blogger.com/atom/ns#" term="BT Shield"/><category scheme="http://www.blogger.com/atom/ns#" term="microcontroller"/><title type='text'>Android Garage Access</title><content type='html'>This project will allow me to open my existing garage door with my Android phone (and if i&#39;m up for it, I&#39;ll write an app for Iphone as well since everybody has one in this house). &amp;nbsp;I will initially get this thing working using Bluetooth, but eventually, it will work via the internet. &amp;nbsp;I will also add features which will tell alert me if the garage door is open or not.&lt;br /&gt;
&lt;br /&gt;
I will be using an Arduino Uno which contains an Atmel ATmega328 microcontroller. &amp;nbsp;This unit is the &quot;brains&quot; of this project and takes commands sent from the phone and will process it.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-ekSEDrd3zTc/T6C0jVaWJVI/AAAAAAAAAFQ/QglxB_PwH-A/s1600/CameraZOOM-20120501210052499.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://4.bp.blogspot.com/-ekSEDrd3zTc/T6C0jVaWJVI/AAAAAAAAAFQ/QglxB_PwH-A/s320/CameraZOOM-20120501210052499.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I also have a bluetooth shield which accompanies the Arduino Uno. &amp;nbsp;Obviously, it will use Bluetooth as the communication protocol to send data and receive commands to the phone.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-n0SJw4ALU1o/T6C0j7Ci5tI/AAAAAAAAAFY/D_FkFXljEEU/s1600/CameraZOOM-20120501210146272.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://4.bp.blogspot.com/-n0SJw4ALU1o/T6C0j7Ci5tI/AAAAAAAAAFY/D_FkFXljEEU/s320/CameraZOOM-20120501210146272.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Android app in work, please subscribe and stay tuned...!&lt;br /&gt;
&lt;br /&gt;
P.S. &amp;nbsp;I would love your feedback, suggestions, and ideas for other projects! &amp;nbsp;Subscribe me! =]&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://explodertorium.blogspot.com/feeds/4218344285084210706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://explodertorium.blogspot.com/2012/05/android-garage-access.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/4218344285084210706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3158263629890919806/posts/default/4218344285084210706'/><link rel='alternate' type='text/html' href='http://explodertorium.blogspot.com/2012/05/android-garage-access.html' title='Android Garage Access'/><author><name>Andy</name><uri>http://www.blogger.com/profile/16401887288797967115</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ekSEDrd3zTc/T6C0jVaWJVI/AAAAAAAAAFQ/QglxB_PwH-A/s72-c/CameraZOOM-20120501210052499.jpg" height="72" width="72"/><thr:total>2</thr:total></entry></feed>