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

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Shake&amp;diff=11085&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot; {{Language|Microduino-Shake }} {| style=&quot;width: 800px;&quot; |- |  Microduino-Shake  Microduino-Shake is a vibration detection sen...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Shake&amp;diff=11085&amp;oldid=prev"/>
				<updated>2015-10-28T03:48:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {{Language|Microduino-Shake }} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-Shake.jpg&quot; title=&quot;文件:Microduino-Shake.jpg&quot;&gt;400px|thumb|right| Microduino-Shake&lt;/a&gt;  Microduino-Shake is a vibration detection sen...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{{Language|Microduino-Shake }}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-Shake.jpg|400px|thumb|right| Microduino-Shake]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Shake is a vibration detection sensor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*Small size&lt;br /&gt;
*Adjustable detection sensibility &lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Electrical specification&lt;br /&gt;
**Digital signal input;  &lt;br /&gt;
**3.3V~5V operation voltage; &lt;br /&gt;
&lt;br /&gt;
*Tech parameters &lt;br /&gt;
**Measurement range: 300 grams to thousands of kilograms&lt;br /&gt;
**Accuracy: 1/1000~1/10000&lt;br /&gt;
&lt;br /&gt;
*Size&lt;br /&gt;
**Size of the sensor: 10mm*7mm，&lt;br /&gt;
**Size of the board: 20mm*10mm&lt;br /&gt;
**1.27mm-pitch 4Pin interface connects with Sensorhub.&lt;br /&gt;
&lt;br /&gt;
*Connection method &lt;br /&gt;
**Pin description: GND, VCC, signal output and NC(empty). &lt;br /&gt;
Note: The output signal is digital and it needs digital port to detect (D0~D13), which can connect to the pin (3-9) of Sensorhub with the corresponding pins (D4, D6, D8, D10 and D12). &lt;br /&gt;
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File: Microduino-Shake_rule1.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
&lt;br /&gt;
*Schematic: '''[[File: Microduino_Shake.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
===Preparation===&lt;br /&gt;
*Make sure you build Microduino IDE or refer to: [[Microduino Getting started]]&lt;br /&gt;
*Core selection &lt;br /&gt;
**1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. &lt;br /&gt;
**2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
*Open Arduino IDE, select File→Examples→Basics→DigitalReadSerial program examples, choose the right board, compile and then download. &lt;br /&gt;
[[file:mCookie-crashCodeExample.JPG|thumb|800px|center]]&lt;br /&gt;
&lt;br /&gt;
*int pushButton = 6;   Define the input pin as D6. (Users can also custom the name.) &lt;br /&gt;
*pinMode(pushButton, INPUT);    Define pushButton as the input pin. &lt;br /&gt;
*int buttonState = digitalRead(pushButton);    Read values of the pushButton input pin. &lt;br /&gt;
*Open the serial monitor after download. You can tell if there is vibration or not by the detection value, which is &amp;quot;0&amp;quot; when there is no vibration or &amp;quot;1&amp;quot; under vibration. You can also adjust R3 resistance on the back of the sensor to change detection sensibility. &lt;br /&gt;
&lt;br /&gt;
===Hardware Buildup===&lt;br /&gt;
*Connect Microduino-Shake with Sensorhub to the digital port D6, which refers to &amp;quot;Define pushButton&amp;quot; mentioned above and users can also change according to personal needs. &lt;br /&gt;
*For reference: [[Microduino-Sensorhub]]&lt;br /&gt;
[[file:Microduino-sensorhub_6.JPG|thumb|400px|center]]&lt;br /&gt;
* For reference: [[mCookie-Hub]]&lt;br /&gt;
[[file:mCookie-sensorhub_6.JPG|thumb|400px|center]]&lt;br /&gt;
*Connect the core, Sensorhub and Shake to a computer with a USB cable.    &lt;br /&gt;
* Select the right board and COM port, compile and download.  You can refer to [[AVR Core：Getting started]]&lt;br /&gt;
 [[file:upload.JPG|thumb|800px|center]]&lt;br /&gt;
*Open the serial monitor after download and you'll see vibration values. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
*It can be used as a vibration sensor. &lt;br /&gt;
&lt;br /&gt;
===Project===&lt;br /&gt;
[[Lazy Donkey]]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
It can be applied in vibration detection. &lt;br /&gt;
&lt;br /&gt;
==Purchase==&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
==Pictures==&lt;br /&gt;
&lt;br /&gt;
*Front &lt;br /&gt;
[[file: Microduino-Shake-F.JPG|thumb|600px|center|Microduino-Shake Front]]&lt;br /&gt;
*Back &lt;br /&gt;
[[file: Microduino-Shake -b.JPG|thumb|600px|center|Microduino-Shake Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>