<?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=Electronic_Greeter</id>
		<title>Electronic Greeter - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Electronic_Greeter"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;action=history"/>
		<updated>2026-06-14T13:30:05Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10301&amp;oldid=prev</id>
		<title>1304410487@qq.com：/* Hardware Buildup */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10301&amp;oldid=prev"/>
				<updated>2015-09-22T08:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hardware Buildup&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2015年9月22日 (二) 08:30的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot; &gt;第95行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第95行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Setup6：Stack all the modules without fixed order (Except that Audio, AudioShield and Amplifier should be stacked together.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Setup6：Stack all the modules without fixed order (Except that Audio, AudioShield and Amplifier should be stacked together.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file: Electronic_greeting _steup_ok.JPG|600px|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file: Electronic_greeting _steup_ok.JPG|600px|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attention! Audio must be powered through BM, which cannot be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;stacked with Coreusb &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;be &lt;/del&gt;powered through &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;computer &lt;/del&gt;or it will fail to work.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/ins&gt;Attention! Audio must be powered through BM, which cannot be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;connected to computer &lt;/ins&gt;and powered through &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Coreusb &lt;/ins&gt;or it will fail to work.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Result==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Result==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10300&amp;oldid=prev</id>
		<title>1304410487@qq.com：/* Hardware Buildup */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10300&amp;oldid=prev"/>
				<updated>2015-09-22T08:28:23Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hardware Buildup&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2015年9月22日 (二) 08:28的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot; &gt;第95行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第95行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Setup6：Stack all the modules without fixed order (Except that Audio, AudioShield and Amplifier should be stacked together.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Setup6：Stack all the modules without fixed order (Except that Audio, AudioShield and Amplifier should be stacked together.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file: Electronic_greeting _steup_ok.JPG|600px|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file: Electronic_greeting _steup_ok.JPG|600px|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Attention! Audio must be powered through BM, which cannot be stacked with Coreusb and be powered through computer or it will fail to work.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Result==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Result==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10299&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language| Electronic Greeter}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This Electronic Greeter will play happy music when someone walking by.  File: Electronic_greetin...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Electronic_Greeter&amp;diff=10299&amp;oldid=prev"/>
				<updated>2015-09-22T08:24:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language| Electronic Greeter}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This Electronic Greeter will play happy music when someone walking by.  File: Electronic_greetin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language| Electronic Greeter}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This Electronic Greeter will play happy music when someone walking by. &lt;br /&gt;
[[File: Electronic_greeting-music.jpg|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
Microduino-PIR sensor will detect if there is someone moving. If there is, this device will get lighten and play music, which lasts for a while and then stop. &lt;br /&gt;
[[File: Electronic_greeting-sch.jpg|600px|center]]&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;
|[[mCookie-CoreUSB]]||1||Core board &lt;br /&gt;
|-&lt;br /&gt;
|[[mCookie-Hub]]||1||Sensor pin board &lt;br /&gt;
|-&lt;br /&gt;
|[[ mCookie-Audio]]||1||Audio module&lt;br /&gt;
|-&lt;br /&gt;
|[[ mCookie-Amplifier]]||1||Amplifier module&lt;br /&gt;
|-&lt;br /&gt;
| [[mCookie-BM]]||1||Battery management &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-PIR]]||1||Pyroelectric Infrared Radiation sensor &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-Color led]]||1||Colored light &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Other Equipment&lt;br /&gt;
**Two Loudspeakers &lt;br /&gt;
**One cell of battery&lt;br /&gt;
[[File: Electronic_greeting-module1.jpg|600px|center]]&lt;br /&gt;
[[File: Electronic_greeting-module2.jpg|600px|center]]&lt;br /&gt;
==Program Download==&lt;br /&gt;
*Setup 1：Connect CoreUSB and PC/Mac with an USB cable, and open Arduino IDE. &lt;br /&gt;
[[Image:CoreUSB_Ble_pc.jpg|600px|center]]&lt;br /&gt;
*Setup 2：Click file&amp;gt;example&amp;gt;&amp;gt; mCookie &amp;gt; _204_JoyfulGreeter.  &lt;br /&gt;
[[File: Electronic_greeting-upload2.jpg|600px|center]]&lt;br /&gt;
*Setup 3：Select the right board card and COM port, then download the program. &lt;br /&gt;
[[File: Electronic_greeting-upload3.jpg|600px|center]]&lt;br /&gt;
==Software Debugging==&lt;br /&gt;
*Function description: &lt;br /&gt;
**” audio.h”(File that controls Audio to play music.) &lt;br /&gt;
**“colorWipe()”(Function to control LED color.) &lt;br /&gt;
*Serial port usage of the Audio module needs to be decided jumpers on the board. Default Serial (2,3)   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;SoftwareSerial.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SoftwareSerial mySerial(2, 3); // RX, TX&lt;br /&gt;
&lt;br /&gt;
//#define AUDIO_PORT Serial1    //Core+&lt;br /&gt;
#define AUDIO_PORT mySerial  //Core&amp;lt;/source&amp;gt;&lt;br /&gt;
* Control pin description  &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#define humanHotSensor 4//PIR sensor D4 &lt;br /&gt;
#define PIN 6//Colored light &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Send serial instruction to control Audio by detecting human movement via PIR. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  if (humanHotState) {&lt;br /&gt;
    colorWipe(strip.Color(125, 125, 125));//The colored light is on &lt;br /&gt;
&lt;br /&gt;
    if (!playing) {&lt;br /&gt;
      Serial.println(&amp;quot;play sound.....&amp;quot;);&lt;br /&gt;
      // audio_play();&lt;br /&gt;
      audio_choose(1);//Play audio &lt;br /&gt;
      playing = true;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    playing = false;&lt;br /&gt;
    //audio_pause();&lt;br /&gt;
    Serial.println(&amp;quot;stop sound.....&amp;quot;);&lt;br /&gt;
    colorWipe(strip.Color(0, 0, 0));&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Hardware Buildup==&lt;br /&gt;
*Setup1：Connect PIR sensor to D4 pin of Sensorhub and colored light to D6 pin. &lt;br /&gt;
 [[file: Electronic_greeting_setup_1.jpg |600px|center]]&lt;br /&gt;
For connection method, please refer to the following picture. Mind connection order, which starts from LED interface IN to Out. It can control six LED lights at most. &lt;br /&gt;
 [[File:CoreUSB_Ble_steup11.jpg|600px|center]]&lt;br /&gt;
*Setup 2：Insert TF into AudioShield. &lt;br /&gt;
 [[File: _MusicBox_Joystick _TF.jpg|600px|center]]&lt;br /&gt;
*Setup 3：Stack AudioSheild and Audio together for TF card reader use. Connect PC via Auido, you can save music into TF card. Here it can only save one piece of music and the play duration shouldn't be long. &lt;br /&gt;
*Setup4：Connect two loudspeakers to Amplifier and stack Audio, AudioShield and Amplifier. &lt;br /&gt;
[[file: Electronic_greeting _3_speak.JPG|600px|center]]&lt;br /&gt;
*Setup5：Connect the activated battery box to BM. &lt;br /&gt;
[File:CoreUSB_Ble_steup2.jpg|600px|center]]&lt;br /&gt;
*Setup6：Stack all the modules without fixed order (Except that Audio, AudioShield and Amplifier should be stacked together.)&lt;br /&gt;
[[file: Electronic_greeting _steup_ok.JPG|600px|center]]&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
When it detects someone moves, the colored led will turn on and play music. You can build a beautiful frame with LEGO. &lt;br /&gt;
[[file: Electronic_greeting _legao-ok.JPG|600px|center]]&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>