查看“Microduino-Hall”的源代码
←
Microduino-Hall
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-Hall }} {| style="width: 800px;" |- | [[File: Microduino-Hall.jpg|400px|thumb|right| Microduino-Hall]] Microduino-Hall is the Hall sensor module, which can detect magnetic filed. 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. ==Features== *High detection flexibility and stability. ==Specification== *Electrical specification **Output: Digital signal **3.3V~5V operation voltage; *Tech parameter **Pin description: GND, VCC, signal output and NC(Empty). **Digital output **Size of the sensor: 5mm*5mm, **Size of the board: 20mm*10mm *1.27mm-pitch 4Pin interface connects with Sensorhub. *Connection method 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. [[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] [[File: Microduino-Hall_rule1.jpg|600px|thumb|center]] ==Document== *Schematic:'''[[File: Microduino_Hall.Zip]]''' ==Development== ===Preparation=== *Make sure you’ve built Microduino IDE or you can refer to: [Microduino Getting started]] *Core board selection **1.Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. **2.Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core and [[Microduino-USBTTL]] asthe program download module. ===Program=== *Open Arduino IDE, select File→Examples→Basics→DigitalReadSerial program examples, choosethe right board, compile and download. [[file:mCookie-crashCodeExample.JPG|thumb|800px|center]] *int pushButton = 6; Define the input pin as D6, which can be changed by users according to personal needs. *pinMode(pushButton, INPUT); Define pushButton as the input pin. *int buttonState = digitalRead(pushButton); Read pushButton as the value of the input pin./ ===Hardware Buildup=== *Connect the Hall sensor and Sensorhub to the D6 digital port, which is also the pin of “pushButton”mentioned above. *For reference: [[Microduino-Sensorhub]] [[file:Microduino-sensorhub_6.JPG|thumb|400px|center]] *For reference: [[mCookie-Hub]] [[file:mCookie-sensorhub_6.JPG|thumb|400px|center]] *Connect the core, Sensorhub and Hall together to a computer with a USB cable. *Select the right board and COM port, compile and download. You can refer to: [AVR Core:Getting started]] [[file:upload.JPG|thumb|800px|center]] *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. ==Application== [[file: Microduino-Hall-1.JPG|thumb|180px|center|Microduino-Hall Front]] If Hall’s starting voltage is high level(V<small>+</small>), its surrounding magnetic field strength becomes intensified. When the intensity is bigger than B<small>np</small>, the output voltage between the two sides of the Hall sensor is the low level (V<small>-</small>). It keeps the same for the reverse. *Suitable for detecting magnetic field and replacable switch function. ===Project=== ==Purchase== ==History== ==Pictures== *Front [[file: Microduino-Hall-F.JPG|thumb|600px|center|Microduino-Hall Front]] *Back [[file: Microduino-Hall -b.JPG|thumb|600px|center|Microduino-Hall Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-Hall
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息