HMC5883L TYWu.

Slides:



Advertisements
Similar presentations
Electrical team Arduino tutorial I BY: JOSHUA arduini
Advertisements

MSP430G2553 launchpad and MPU6050 Introduction
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
How to use Arduino By: Andrew Hoffmaster.
Lecture 8: Serial Interfaces
+======-========-========-========-========-========-========-========-========+ | Bit| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |Byte | | | | | | | | | |======+=======================================================================|
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Parallax 4x20 LCD (part number 27979) with Arduino Duemilanove
Arduino Nano to Uno I2C Communication Mike Pluma The-Bao Nguyen EE 444 Spring 2013.
Week 10 Today 1.Homework presentations and critique. 2.Review digital and analog inputs. 3.DIY - jumpers, soldering etc.
Programming Hexors on Arduino Uno. Arduino Uno Arduino is an open-source electronics platform based on easy- to-use hardware and software. It's intended.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
INTERFACING WEB SERVER WITH A ROBOT
3/17/2014 Richard Kuo Assistant Professor
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
High Resolution AMR Compass Honeywell Advisor Dr. Andy Peczalski Advisor Professor Beth Stadler Pat Albersman Jeff Aymond Dan Beckvall Marcus Ellson Patrick.
Processing TYWu. Where can I download? 2.0b9 Windows 32-bit.
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Essentials of Communication This simple model requires many guarantees. Sender Receiver Communication Link Data.
A3144 SENSITIVE HALL-EFFECT SWITCHES & AH Linear Hall sensor
Reflectance Sensors TYWu.
BMP085 Barometric Digital Pressure Sensor Module TYWu.
Arduino libraries Datatekniker Udvidet hardware/software.
Basic Circuits – Lab 5 Wireless Networking Xmedia Spring 2011.
Wireless TYWu. 433Mhz RF link kit Picture 433Mhz RF link kit Specification –Frequency: 433Mhz. –Receiver Data Output: High - 1/2 Vcc, Low - 0.7v –Transmitter.
Photoresistor resistance changes dramatically with light level living with the lab Using Photoresistors with an Arduino © 2011 LWTL faculty team.
Readout of Temperature Monitor with SEABAS ’11 10/12 Y. Takubo (KEK) 1.
Welcome to Processing Who does not have access to digital camera?
Temperature Sensor TYWu. Seeed’s Temperature Sensor Picture.
1 Sensores Magnéticos José Augusto EPUSP The Types of Magnetic Sensors Reed Switches Variable Reluctance Flux-gate Magnetometers Magneto-Inductor.
Tiltmeter, Compass,Temperature modules for the PPM.
Microcontroller basics Embedded systems for mortals.
ME 120: User-defined functions: average analog input reading Arduino Programming – Part 5: User-defined functions ME 120 Mechanical and Materials Engineering.
Microcontroller basics Embedded systems for mortals.
Temperature Text Message Alert System Travis Midthun Dr. Stanislaw Legowski Department of Electrical and Computer Engineering.
ME 120: Arduino Programming Arduino Programming Part II ME 120 Mechanical and Materials Engineering Portland State University
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Electronic instrumentation Digitization of Analog Signal in TD
Pulse-Width Modulation: Simulating variable DC output
Ultrasonic Sensor TYWu.
1 of 20 How to use the Compass A. Compass. 2 Compass: - Provides heading relative to Magnetic North, not true North HMC5883L V input - I2C (not.
ME 120: Photoresistors and Arduino Programming Arduino Programming Case Study: Photoresistor Measurements ME 120 Mechanical and Materials Engineering Portland.
Arduino Programming. THE ARDUINO IS A MICROCONTROLLER – A LOW COST, LOW PERFORMANCE COMPUTER.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
A3144 SENSITIVE HALL-EFFECT SWITCHES & AH Linear Hall sensor
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
BMP085 Barometric Digital Pressure Sensor Module
CS4101 Introduction to Embedded Systems Lab 10: Tasks and Scheduling
Manual for Arduino Kit v1.0
Arduino Programming Part II
Microcontroller basics
Compass module.
LCD.
I2C communication* I²C - Inter-Integrated Circuit – or –I squared C)
Sound Sensor TYWu.
Arduino.
SArduino Training 2018 cho THPT Saigon Institute of Technology
Maxbotix Ultrasonic Distance Sensor
Schedule 8:00-11:00 Workshop: Arduino Fundamentals
Engineering 4862 Microprocessors Lecture 25
CS4101 Introduction to Embedded Systems Lab 8: Arduino DAC and PWM
Arduino : Introduction & Programming
Programming 2: The Arduino IDE & First Sketches
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino程式範例.
Pulse-Width Modulation: Simulating variable DC output
LCD.
Presentation transcript:

HMC5883L TYWu

GY-271 HMC5883L Compass Module Pictures

Other Versions 3 Axis Magnetometer - HMC5883L Breakout Board R2 Sparkfun Triple Axis Magnetometer Breakout - HMC5883L

HMC5883L Block Diagram

HMC5883L 3-Axis Digital Compass IC Use Honeywell’s Anisotropic Magnetoresistive (AMR) technology that provides advantages over other magnetic sensor technologies. These 12-Bit ADC Coupled with Low Noise AMR Sensors Achieves 5 milli-gauss Resolution in ±8 Gauss Fields Low Voltage Operations (2.16 to 3.6V) and Low Power Consumption (100 μA)

HMC5883L Specifications

HMC5883L Specifications

Arduino Resource Example in WWW http://www.geek-workshop.com/thread-105-1-1.html http://www.elechouse.com/elechouse/images/product/3-axis%20Compass%20Module/HMC5883L.rar

Experiment Connection VCC 3.3V GND GND SCL A5 SDA A4 DRDY Floating

Experiment Arduino Code (Simple Version) #include <Wire.h> //I2C Arduino Library #define address 0x1E //0011110b, I2C 7bit address of HMC5883 void setup(){ Serial.begin(9600); Wire.begin(); //Put the HMC5883 IC into the correct operating mode Wire.beginTransmission(address); //open communication with HMC5883 Wire.send(0x02); //select mode register Wire.send(0x00); //continuous measurement mode Wire.endTransmission(); }

Experiment void loop(){ int x,y,z; //triple axis data //Tell the HMC5883 where to begin reading data Wire.beginTransmission(address); Wire.send(0x03); //select register 3, X MSB register Wire.endTransmission(); //Read data from each axis, 2 registers per axis Wire.requestFrom(address, 6); if(6<=Wire.available()){ x = Wire.receive()<<8; //X msb x |= Wire.receive(); //X lsb z = Wire.receive()<<8; //Z msb z |= Wire.receive(); //Z lsb y = Wire.receive()<<8; //Y msb y |= Wire.receive(); //Y lsb }

Experiment //Print out values of each axis Serial.print("x: "); Serial.print(" y: "); Serial.print(y); Serial.print(" z: "); Serial.println(z); delay(250); }

Experiment Snapshot of execution