Microduino Hall sensor usage

来自Microduino Wikipedia
Pkj讨论 | 贡献2014年4月23日 (三) 13:03的版本 (Created page with "{{Language | Microduino 霍尔传感器使用}} {| style="width: 800px;" |- | ==Objective== This tutorial will teach you how to use the hall sensor. ==Equipment== *'''Micro...")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索
Language English

Objective

This tutorial will teach you how to use the hall sensor.

Equipment

  • Other equipment
    • USB cable one
    • Jumper cable several

Schematic

Connect the digital I/O port to pin13

Program

Refer to hallSensorOLED

Debug

Step 1: Stack the Microduino module and connect the hall sensor, as follows:

Step 2:Compile the program and download.

Step 3:Use a magnet to shake in the surrounding, observe the OLED's output.

Result

OLED will display south and north.

Video

http://v.youku.com/v_show/id_XNzAxMTAxNDk2.html