<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_Phone_Bluetooth_Controls_Household_Applications</id>
		<title>Microduino Phone Bluetooth Controls Household Applications - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_Phone_Bluetooth_Controls_Household_Applications"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Phone_Bluetooth_Controls_Household_Applications&amp;action=history"/>
		<updated>2026-04-21T07:58:27Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_Phone_Bluetooth_Controls_Household_Applications&amp;diff=8173&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- |   ==Outline==  *Project: Microduino Phone Bluetooth Controls Household Applications *Purpose: Connect Microduino-BT and Microduino-Core by phone ...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Phone_Bluetooth_Controls_Household_Applications&amp;diff=8173&amp;oldid=prev"/>
				<updated>2015-03-31T07:20:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- |   ==Outline==  *Project: Microduino Phone Bluetooth Controls Household Applications *Purpose: Connect Microduino-BT and Microduino-Core by phone ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
*Project: Microduino Phone Bluetooth Controls Household Applications&lt;br /&gt;
*Purpose: Connect Microduino-BT and Microduino-Core by phone and have a Bluetooth communication to control smart switch and then to get a control of applications. &lt;br /&gt;
*Difficulty: High  &lt;br /&gt;
*Time-consuming: 6-hour  &lt;br /&gt;
*Maker: Microduino Studio-Ray&lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Module||Number||Function &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Core]]||1||Core board &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-USBTTL]] ||1||Download program  &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-BT]] ||1||Bluetooth wireless transmission &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Other Equipment  &lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Electric control board| One  &lt;br /&gt;
|-&lt;br /&gt;
|Reformable patch board|| One &lt;br /&gt;
|-&lt;br /&gt;
|micro usb cable||One &lt;br /&gt;
|-&lt;br /&gt;
|Switch|| One&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Electric Control Board &amp;amp; Smart Power Plug==&lt;br /&gt;
&lt;br /&gt;
Electric control board consists of a pressure reduction module, a relay, Microduino 27pin slot and a wiring slot, which is easy to have an extensive connection with Microduino modules.   &lt;br /&gt;
Put it into the socket and you can make a smart power plug. More details, please refer to: [[Microduino Wifi Controls Household Applications]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
Android client：&lt;br /&gt;
&lt;br /&gt;
Notice: Here the new version means Bluetooth 4.0 and Android 4.3 higher supportable. &lt;br /&gt;
&lt;br /&gt;
Here offers Android APP. &lt;br /&gt;
&lt;br /&gt;
APP download：&lt;br /&gt;
&lt;br /&gt;
Support old version of BT module: &lt;br /&gt;
[[https://github.com/Microduino/Microduino_Tutorials/blob/master/Microduino_Smart_Home/MicroduinoBluControlOutletInoAndAPK/MicroduinoOldBluControlOutlet.rar MicroduinoOldBluControlOutlet.rar]]&lt;br /&gt;
Support new version of BT module:&lt;br /&gt;
[[https://github.com/Microduino/Microduino_Tutorials/blob/master/Microduino_Smart_Home/MicroduinoBluControlOutletInoAndAPK/MicroduinoNewBluControlOutlet.rar MicroduinoNewBluControlOutlet.rar]]&lt;br /&gt;
&lt;br /&gt;
Microduino Test Program:  &lt;br /&gt;
[[https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Smart_Home/MicroduinoBluControlOutletInoAndAPK/MicroduinoBluControlOutlet MicroduinoBluControlOutlet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
APP two-dimension code QQ scan download:  &lt;br /&gt;
Old BT module:  &lt;br /&gt;
[[File:blueControlOldAppMatrixCode.gif|200px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
New BT module:  &lt;br /&gt;
[[File:blueControlNewAppMatrixCode.gif|200px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
&lt;br /&gt;
Step 1: Inside smart power plug:  &lt;br /&gt;
[[File:smartOutletControlWifi1.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Step 2: Make sure your BT serial connection is D4, D5 by default. &lt;br /&gt;
Soft serial port used in program test is D4 and D5.   &lt;br /&gt;
**If you adopt D2 and D3   &lt;br /&gt;
***If adopting Core board, please change “SoftwareSerial  mySerial(4, 5);” to “SoftwareSerial mySerial(2, 3);”.  &lt;br /&gt;
&lt;br /&gt;
***If adopting Core+, you need to change “mySerial” in loop to “Serial1”. &lt;br /&gt;
&lt;br /&gt;
**If using D0, D1.  &lt;br /&gt;
***You need to change “mySerial” in loop to “Serial” and do not stack BT while program download or it’ll cause serial conflict.  &lt;br /&gt;
&lt;br /&gt;
[[file:Microduino-BT-2Big1.jpg|600px|thumb|center|Microduino-BT]]&lt;br /&gt;
&lt;br /&gt;
*Step 3: Build the circuit &lt;br /&gt;
Stack all modules needed.  &lt;br /&gt;
[[File:smartOutletControlBluetooth2.png||600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Step 4: Download test program and open it. &lt;br /&gt;
**Make sure the serial port of your BT is right, which can refer to Step 2. Compile program and download after that.  &lt;br /&gt;
&lt;br /&gt;
*Step 5: Download Android client and then decompress and open it. It will notice users to open Bluetooth device. &lt;br /&gt;
&lt;br /&gt;
[[File:smartOutletControlBluetooth3.png||300px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Step 6: Click “SCAN” and search for HMSoft (Old [[Microduino-【BT】]]) or Microduino (New [[Microduino-BT]]) and then connect.  &lt;br /&gt;
&lt;br /&gt;
[[File:smartOutletControlBluetooth4.png||300px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Step 7: When the status changes from “Serial Present” to “Serial Ready”, you can start communication. &lt;br /&gt;
&lt;br /&gt;
[[File:smartOutletControlBluetooth5.png||600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Click switch button on your phone and it means a successful communication if showing “power on” or “power off” on serial monitor on PC. &lt;br /&gt;
&lt;br /&gt;
Step 8: Take off USBTTL module on receiving end, fixate the socket and Microduino module and plug in, making sure offer power for the application to be controlled. Here we adopt a small humidifier.&lt;br /&gt;
&lt;br /&gt;
[[File:smartOutletControlBluetooth6.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Adjust the switch to smart control mode. &lt;br /&gt;
[[File:smartOutletControlBluetooth71.png|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
&lt;br /&gt;
Use Microduino to achieve the control of household applications with Bluetooth device. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Note==&lt;br /&gt;
*Make sure BT serial port is right.  &lt;br /&gt;
*Android 4.3 or higher supportable.  &lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XOTEzODAwMjQ0.html&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>