<?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=Applause_Enthusiasm_Detection</id>
		<title>Applause Enthusiasm Detection - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Applause_Enthusiasm_Detection"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Applause_Enthusiasm_Detection&amp;action=history"/>
		<updated>2026-04-21T07:58:30Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Applause_Enthusiasm_Detection&amp;diff=9153&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Applause Enthusiasm Detectio}} {| style=&quot;width: 800px;&quot; |- | ==Objective== Here we’ll detect applause. The louder it gets, the brighter the light turns. When the ...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Applause_Enthusiasm_Detection&amp;diff=9153&amp;oldid=prev"/>
				<updated>2015-08-05T02:17:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Applause Enthusiasm Detectio}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== Here we’ll detect applause. The louder it gets, the brighter the light turns. When the ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Applause Enthusiasm Detectio}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
Here we’ll detect applause. The louder it gets, the brighter the light turns. When the brightness gets to the most, the buzzer will give an alarm.&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 pinboard  &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Mic]]||1||Sound detection sensor  &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-Lamp]]||1||led sensor  &lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-BUZZER]]||1||Buzzer sensor &lt;br /&gt;
|-&lt;br /&gt;
| [[Microduino-BM]]||1||Batery management &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 [[File: Applause_heat.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Hardware Buildup==&lt;br /&gt;
*Setup 1：Connect CoreUSB to your PC, open program example, choose the right board fand download program via the serial port.&lt;br /&gt;
&lt;br /&gt;
[[File:Applause_heat_setup_1.jpg|600px|center|thumb]]&lt;br /&gt;
*Setup2：Connect MIC to the A0 pin of Sensorhub, buzzer to D6 and the led light to D4.&lt;br /&gt;
[[file:Microduino-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[file: Applause_heat_sensor.JPG|thumb|800px|center]]&lt;br /&gt;
*Setup6：Connect battery to BM. &lt;br /&gt;
[[file: Applause_heat _bm.JPG|thumb|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Software Debugging==&lt;br /&gt;
*Build IDE and download program code. &lt;br /&gt;
[https://github.com/Microduino/Microduino_Tutorials/tree/master/MCookie_Tutorial/Applause_heat Applause_heat]&lt;br /&gt;
Code description &lt;br /&gt;
*Control pin description  &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#define PIN 4&lt;br /&gt;
&lt;br /&gt;
Adafruit_NeoPixel strip = Adafruit_NeoPixel(6, PIN, NEO_GRB + NEO_KHZ800);&lt;br /&gt;
&lt;br /&gt;
#define mic_pin A0&lt;br /&gt;
#define buzzer_pin 6&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Sound pre-set value  &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  #define voice 400&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*If the sound is louder than the pre-set value, the lamp will get brighter and when it reaches to a certain value, the buzzer will go off.  &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  if (voice_data &amp;gt; voice)&lt;br /&gt;
  {&lt;br /&gt;
    num++;&lt;br /&gt;
    if (num &amp;gt; 255)&lt;br /&gt;
    {&lt;br /&gt;
      num = 255;&lt;br /&gt;
      buzzer();&lt;br /&gt;
    }&lt;br /&gt;
    colorWipe(strip.Color(num, 0, 0));&lt;br /&gt;
    //delay(10);&lt;br /&gt;
    Serial.println(num);&lt;br /&gt;
    time = millis();&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
The louder the applause gets, the brighter the lamp becomes. When it reaches to the brightest, the buzzer will give an alarm. When the sound gets below the pre-set value after that, it will take three seconds and then turn off the light and the buzzer. (You can achieve a beautiful frame with LEGO.)&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>