<?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-Hall</id>
		<title>Microduino-Hall - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-Hall"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Hall&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-Hall&amp;diff=10977&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Microduino-Hall }} {| style=&quot;width: 800px;&quot; |- |  Microduino-Hall  Microduino-Hall is the Hall sensor module, which ...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Hall&amp;diff=10977&amp;oldid=prev"/>
				<updated>2015-10-26T09:57:55Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Microduino-Hall }} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-Hall.jpg&quot; title=&quot;文件:Microduino-Hall.jpg&quot;&gt;400px|thumb|right| Microduino-Hall&lt;/a&gt;  Microduino-Hall is the Hall sensor module, which ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Microduino-Hall }}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-Hall.jpg|400px|thumb|right| Microduino-Hall]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Hall is the Hall sensor module, which can detect magnetic filed.&lt;br /&gt;
&lt;br /&gt;
Microduino-Hall sensor is based on Hall Effect, as one of the magnetoelectric effect, which was found by A.H.Hall in 1879 when he was studing metal’s conductive mechcanism. &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;
*High detection flexibility and stability. &lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Electrical specification &lt;br /&gt;
**Output: Digital signal&lt;br /&gt;
**3.3V~5V operation voltage;&lt;br /&gt;
*Tech parameter &lt;br /&gt;
**Pin description: GND, VCC, signal output and NC(Empty). &lt;br /&gt;
**Digital output&lt;br /&gt;
&lt;br /&gt;
**Size of the sensor: 5mm*5mm，&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;
Note: Here we adopt digital signal output and need to use digital interfac to detect (D0~D13), which can connect to the number 3~9 pin of the Sensorhub, that is, D0,D2,D4,D6,D8,D10 and D12.  &lt;br /&gt;
&lt;br /&gt;
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
&lt;br /&gt;
[[File: Microduino-Hall_rule1.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
&lt;br /&gt;
*Schematic:'''[[File: Microduino_Hall.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
===Preparation===&lt;br /&gt;
*Make sure you’ve built Microduino IDE or you can refer to: [Microduino Getting started]]&lt;br /&gt;
*Core board 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 and [[Microduino-USBTTL]] asthe program download module. &lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
&lt;br /&gt;
*Open Arduino IDE, select File→Examples→Basics→DigitalReadSerial program examples, choosethe right board, compile and 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, which can be changed by users according to personal needs. &lt;br /&gt;
*pinMode(pushButton, INPUT);    Define pushButton as the input pin.&lt;br /&gt;
*int buttonState = digitalRead(pushButton);    Read pushButton as the value of the input pin./&lt;br /&gt;
&lt;br /&gt;
===Hardware Buildup===&lt;br /&gt;
*Connect the Hall sensor and Sensorhub to the D6 digital port, which is also the pin of “pushButton”mentioned above. &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 Hall together 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;
&lt;br /&gt;
*Open the serial monitor after download. The return value is “1” when it detects no magnetic field. By getting close to the Hall sensor with a magnet, you can get the return value “0” when detecting the magnetic field. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
[[file: Microduino-Hall-1.JPG|thumb|180px|center|Microduino-Hall Front]]&lt;br /&gt;
&lt;br /&gt;
If Hall’s starting voltage is high level(V&amp;lt;small&amp;gt;+&amp;lt;/small&amp;gt;), its surrounding magnetic field strength becomes intensified. When the intensity is bigger than B&amp;lt;small&amp;gt;np&amp;lt;/small&amp;gt;, the output voltage between the two sides of the Hall sensor is the low level (V&amp;lt;small&amp;gt;-&amp;lt;/small&amp;gt;). It keeps the same for the reverse.  &lt;br /&gt;
*Suitable for detecting magnetic field and replacable switch function. &lt;br /&gt;
&lt;br /&gt;
===Project===&lt;br /&gt;
&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-Hall-F.JPG|thumb|600px|center|Microduino-Hall Front]]&lt;br /&gt;
*Back &lt;br /&gt;
[[file: Microduino-Hall -b.JPG|thumb|600px|center|Microduino-Hall Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>