Shop Oxfords Lace Ups Shop Security Cameras Systems Shop Sim Cards
HOME » Computers & Accessories » Desktop Computers » Server PC » GY-273 HMC5883L 3-Axis Digital Compass Module

GY-273 HMC5883L 3-Axis Digital Compass Module
GY-273 HMC5883L 3-Axis Digital Compass Module1

ส่งฟรี เก็บเงินปลายทาง
ฟรีค่าจัดส่ง จัดส่งเร็วภายใน 2-3 วัน
คืนเงิน/คืนสินค้าได้ใน 7วัน

GY-273 HMC5883L 3-Axis Digital Compass Module


รหัสสินค้า : 4111960255
หมวดหมู่สินค้า : Computers & Accessories » Desktop Computers » Server PC
ร้านค้า : General4_Group
star3-5 (3.5)

เปรียบเทียบราคา

เก็บโค้ดส่วนลด

ราคาปกติ : 70 ฿

FLASH⚡SALE


Share :

GY-273 HMC5883L 3-Axis Digital Compass Module

GY-273 Sensor Module Pin-outs The device has five pins. In most applications (and this tutorial) you will only be concerned with four of them.
Functional Description This is a pretty complicated device that by itself could take pages to describe. This tutorial simply highlights the basics.
The Honeywell HMC5883L sensor used in the module is sensitive to the earths magnetic fields in three axes. These axes are labeled as X Y and Z. An output is provided for each of these axes that describes the position of these axes relative to the earths magnetic field.
As illustrated twisting or turning the device will provide the corresponding outputs.
GY-273 Arduino Basic Output Tutorial In this tutorial you will connect the GY-273 load a basic sketch and see an output to your serial monitor. The purpose of this tutorial is to verify that you can read and output and to
Connect the Arduino to the GY-273 Just four connections are required. Refer to the picture below.

Copy Paste and Upload the GY-273 Example Sketch
#include Wire.h> //I2C Arduino Library #define addr 0x1E //I2C Address for The HMC5883 void setup(){ Serial.begin(9600); Wire.begin(); Wire.beginTransmission(addr); //start talking Wire.write(0x02); // Set the Register Wire.write(0x00); // Tell the HMC5883 to Continuously Measure Wire.endTransmission(); } void loop(){ int xyz; //triple axis data //Tell the HMC what regist to begin writing data into Wire.beginTransmission(addr); Wire.write(0x03); //start with register 3. Wire.endTransmission(); //Read the data.. 2 bytes for each axis.. 6 total bytes Wire.requestFrom(addr 6); if(6Wire.available()){ x = Wire.read()//MSB x x |= Wire.read(); //LSB x z = Wire.read()//MSB z z |= Wire.read(); //LSB z y = Wire.read()//MSB y y |= Wire.read(); //LSB y } // Show Values Serial.print(X Value: ); Serial.println(x); Serial.print(Y Value: ); Serial.println(y); Serial.print(Z Value: ); Serial.println(z); Serial.println(); delay(500); } Open the Serial Monitor and Verify Your Output. Your output should look something like this. Once youve established that you have an output try turning your device along its various axes and view the results.

ติดต่อ/สอบถาม :

BESTSELLER :

Card PCI Express Serial 2Port/RS-232/RS232/DB9 Card PCI Express Serial 2Port/RS-232/RS232/DB9...
star5-0 (4.89)
ชุดน้ำระบบปิด Tsunami CoolMan ARGB Multi-platform CPU Liquid Cooler CM-360 White รับประกันสินค้า 1 ปี ชุดน้ำระบบปิด Tsunami CoolMan ARGB Multi-platform CPU Liquid Cooler CM...
star5-0 (4.85)
บู๊ทยาง Plug Boots CAT6 LINK US-6624 US-6625US-6622 (10ตัว/ถุง) บู๊ทยาง Plug Boots CAT6 LINK US-6624 US-6625US-6622 (10ตัว/ถุง)...
star5-0 (4.81)
Arduino NANO V3.0 Shield Adapter Prototype multi-purpose expansion board FOR arduino nano By KPRAppCompile Arduino NANO V3.0 Shield Adapter Prototype multi-purpose expansion boa...
star5-0 (4.84)
PATCH CORD FIBER 9/125 LC/UPC-LC/UPC SM-SX G657A1 2.0MM 3M PATCH CORD FIBER 9/125 LC/UPC-LC/UPC SM-SX G657A1 2.0MM 3M...
star5-0 (5)
Power Supply Epson L110/L120/L210/L220/L300/L350/L360/L455/L405/L550/L555 Power Supply Epson L110/L120/L210/L220/L300/L350/L360/L455/L405/L550/L...
star5-0 (4.66)
Breadboard 830 points Solderless Proto Board 830 comtacts transparent Protoboard For Arduino NodeMCU By KPRAppCompile Breadboard 830 points Solderless Proto Board 830 comtacts transparent ...
star5-0 (4.93)
MPU-9250 9-Axis Attitude+Gyro+Accelerator+Magnetometer Sensor Module MPU-9250 9-Axis Attitude+Gyro+Accelerator+Magnetometer Sensor Module...
star5-0 (4.77)
โมดูล 16 channel 12 - bit pwm/servo driver - i2 c interface pca 9685 โมดูล 16 channel 12 - bit pwm/servo driver - i2 c interface pca 9685...
star5-0 (4.92)
พัดลมเคส Cooler Master SICKLEFLOW 120 ARGB FAN (MFX-B2DN-18NPA-R1) 2y. พัดลมเคส Cooler Master SICKLEFLOW 120 ARGB FAN (MFX-B2DN-18NPA-R1) 2y....
star5-0 (4.94)
6-Pin to 8-Pin PCI Express PCI-E Power Converter Cable for GPU Video card 6-Pin to 8-Pin PCI Express PCI-E Power Converter Cable for GPU Video c...
star5-0 (4.86)
Elit การ์ดแลน วิ่งเต็ม speed Lan Card แลนการ์ด RTL8111E 10/100/1000Mbps PCI-E Gigabit Ethernet LAN Network Elit การ์ดแลน วิ่งเต็ม speed Lan Card แลนการ์ด RTL8111E 10/100/1000Mbp...
star5-0 (4.76)

Others

🇺🇸🔥พร้อมส่ง!! ของเข้าแล้ว🔥🇺🇸【💥CODมีเก็บเงินปลายทางCOD💥】เสื้อกันฝน Supreme🔥🇺🇸 249-. baht 🇺🇸🔥พร้อมส่ง!! ของเข้าแล้ว🔥🇺🇸【💥CODมีเก็บเงินปลายทางCOD💥】เสื้อกันฝน Supr...
star5-0 (5)
จีวร 11 ขัณฑ์ ✔️เนื้อผ้ามัสลิน ไม่มีผ้าอื่นผสม คงทน พระสงฆ์ใช้ได้100%  ขนาดได้มาตรฐาน (เป็นสินค้าสั่งตัด) จีวร 11 ขัณฑ์ ✔️เนื้อผ้ามัสลิน ไม่มีผ้าอื่นผสม คงทน พระสงฆ์ใช้ได้100% ...
star5-0 (4.97)
เสื้อกล้ามBasictanktopทรงคอติด เสื้อกล้ามBasictanktopทรงคอติด...
star5-0 (4.88)
เฟล็กซ์ตัด รีดติดเสื้อ ฟอนต์ไทยลีกสีเหลือง เฟล็กซ์ตัด รีดติดเสื้อ ฟอนต์ไทยลีกสีเหลือง...
star5-0 (4.66)
หมวกพระ หมวกแม่ชี ผ้าไมโคร ฤดูหนาว มีซับใน หมวกพระ หมวกแม่ชี ผ้าไมโคร ฤดูหนาว มีซับใน...
star5-0 (4.6)
ชุดบวชนาคครบชุด ชุดครุยนาค ชุดบวชนาค เสื้อครุยนาค ชุดนาค เสื้อนาค ผ้านุ่งนาค ผ้าคลุมศีรษะนาค หัวคลุมหัวนาค ชุดบวชนาค ชุดบวชนาคครบชุด ชุดครุยนาค ชุดบวชนาค เสื้อครุยนาค ชุดนาค เสื้อนาค ผ้าน...
star5-0 (5)
ผ้าขาวม้า ผ้าฝ้าย โทนขาวดำ เย็บริมแล้ว เนื้อนิ่ม ผืนใหญ่ ซับน้ำ ผ้าขาวม้า ผ้าฝ้าย โทนขาวดำ เย็บริมแล้ว เนื้อนิ่ม ผืนใหญ่ ซับน้ำ...
star5-0 (5)
สินค้าrecyclothes collection สินค้าrecyclothes collection...
star5-0 (5)

หมวดหมู่ที่แนะนำ :

Skirts