Search found 3 matches

by JohnnyBoy
Sat Aug 11, 2012 5:43 pm
Forum: Open Hardware
Topic: Problems with Magnetometer 5883L
Replies: 8
Views: 22388

Re: Problems with Magnetometer 5883L

That got that part working...

Now the problem is that I still cant get any reading.

I try the example code that is provided to the HMC5883L library and I get the same reading..
I have seen this before from somone else and He got exactly the same values..

I will try to connect another type of I2C ...
by JohnnyBoy
Fri Aug 10, 2012 3:49 pm
Forum: Open Hardware
Topic: Problems with Magnetometer 5883L
Replies: 8
Views: 22388

Re: Problems with Magnetometer 5883L

The coderow Serial.println("After continuous measurement mode "); creates a responce on the console..

The next row to be executed is
Wire.endTransmission();
delay(1000);

I expect the next Serial instruction to be executed
// The compass is initalized for Continous meassurement
Serial.println("The ...
by JohnnyBoy
Wed Aug 08, 2012 4:11 pm
Forum: Open Hardware
Topic: Problems with Magnetometer 5883L
Replies: 8
Views: 22388

Re: Problems with Magnetometer 5883L

I have done a small testprogram...

// Compass
// by johnny Niolsson <http://www.treplex.se>

// Demonstrates use of HMC5883L
// Reads data using I2C
//
// Created 07 August 2012
//
// This example code is in the public domain.


// Address Name Access
// 00 Configuration Register A Read/Write ...