<?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=Temperature_%26_Humidity_Device</id>
		<title>Temperature &amp; Humidity Device - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Temperature_%26_Humidity_Device"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Temperature_%26_Humidity_Device&amp;action=history"/>
		<updated>2026-04-21T11:06:43Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Temperature_%26_Humidity_Device&amp;diff=10896&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language| Temperature &amp; Humidity Device }} {| style=&quot;width: 800px;&quot; |- | ==Objective== To send environment data acquired from temperature and humidity sensor and photosensit...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Temperature_%26_Humidity_Device&amp;diff=10896&amp;oldid=prev"/>
				<updated>2015-10-21T02:47:36Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language| Temperature &amp;amp; Humidity Device }} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== To send environment data acquired from temperature and humidity sensor and photosensit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language| Temperature &amp;amp; Humidity Device }}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
To send environment data acquired from temperature and humidity sensor and photosensitive sensor to a phone through Microduino-BT. &lt;br /&gt;
&lt;br /&gt;
==Principle== &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-CoreUSB]]||1||Core board &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Sensorhub]]||1||Sensor pin board &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-BT]]||1||Bluetooth module &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-Temp&amp;amp;Hum]]||1||Temperature and humidity sensor &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-Light]||1||photosensitive sensor &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
 [[File:ble_Temp&amp;amp;Hum.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
Android Client: &lt;br /&gt;
Note: The new version BT 4.0 is supported by Android 4.3 or higher. Here we offer Android APP. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
APP Download:'''[[File:Microduino-Temp&amp;amp;Hum-APP.zip]]''&lt;br /&gt;
&lt;br /&gt;
==Hardware Buildup==&lt;br /&gt;
*Setup 1：Stack CoreUSB, BT and Sensorhub. &lt;br /&gt;
[[File:CoreUSB_Ble_Sensorhub.jpg|600px|center|thumb]]&lt;br /&gt;
*Setup 2：Connect Microduino-Light to the A0 pin of Sensorhub. &lt;br /&gt;
[[file:Microduino-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File:Light_ble.jpg|600px|center|thumb]]&lt;br /&gt;
* Setup 3：Connect Microduino-Temp&amp;amp;Hum to A4 and A5 pins of the Sensorhub.&lt;br /&gt;
[[File:Temp&amp;amp;Hum_ble.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Software Debugging==&lt;br /&gt;
*Setup 1：Build development environment by connecting CoreUSB to the computer and downloading program code.&lt;br /&gt;
[https://github.com/Microduino/Microduino_Tutorials/tree/master/MCookie_Tutorial/ble_THL ble_THL]&lt;br /&gt;
* Setup 2：Download Android Client, decompress, install and open it. In this case, a Bluetooth opening notice will come out if you don't open the Bluetooth. &lt;br /&gt;
[[File:Microduino_BT_Serial_1.png||300px|center|thumb]]&lt;br /&gt;
* Setup 3：Click &amp;quot;SCAN&amp;quot; on the top right and name it as Microduino, then click and connect.&lt;br /&gt;
[[File:Microduino_BT_Serial_2.png||300px|center|thumb]]&lt;br /&gt;
*On the top right, you'll see Serial Present at first and then it turns to Serial Ready, which means starting normal communication. An environment data will be uploaded every one second&lt;br /&gt;
[[File:Microduino_BT_Temp&amp;amp;Hum.png||300px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Code description: Receive Bluetooth information for one part and control light combination of the light based on analog values for the other part.&lt;br /&gt;
**Read Bluetooth information &lt;br /&gt;
Communication serial port of CoreUSB and BT：Serial1&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#define my_Serial Serial1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
**Light Color Change &lt;br /&gt;
When there is BT connection, it will send one environment data for every second. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
By Microduino, you can achieve light control with your phone and get any color you want. You can also build a beautiful shell for this project since mCookie can be easily stacked with LEGO boards. &lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>