Microduino Read magnetic field intensity(Microduino 10dof)/zh

来自Microduino Wikipedia
跳转至: 导航搜索
Language English

Objective

This tutorial will teath you to use the Microduino-10DOF's HMC5883L sensor to calculate the magnetic field strength and direction, the result will be displayed in OLED.

Equipment

Schematic

  • Microduino-OLED
  • Microduino-Core
  • Microduino-10DOF
  • Microduino-FT232R
  • Microduino-Cube-S1

Program

Refer to HMC5883L10DOFOLED

Debug

Step 1:Stack all the upper Micrduino module, as follows:

Step 2:Compile the program and download it.

Step 3:Observe the OLED, use a magnet close to the sensor,the pointer will change on OLED.

Result

OLED will display a compass.

Video

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