<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HMC5843 Magnetometer Library for Arduino</title>
	<atom:link href="http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/feed" rel="self" type="application/rss+xml" />
	<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 18:13:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: FukKuen</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-38643</link>
		<dc:creator>FukKuen</dc:creator>
		<pubDate>Thu, 06 Oct 2011 22:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-38643</guid>
		<description>I have brought the sensors 2 month ago but still not yet get the correct readings...
After I have read the comments I have brought a capacitor (100uF, 16V), but i dont know how to connect that to the circuit (in parallel). could anybody describe it in detail or show me a photo?</description>
		<content:encoded><![CDATA[<p>I have brought the sensors 2 month ago but still not yet get the correct readings&#8230;<br />
After I have read the comments I have brought a capacitor (100uF, 16V), but i dont know how to connect that to the circuit (in parallel). could anybody describe it in detail or show me a photo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-32634</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 16 Jul 2011 21:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-32634</guid>
		<description>I need the same how can I get an angel?</description>
		<content:encoded><![CDATA[<p>I need the same how can I get an angel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-32572</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Fri, 15 Jul 2011 19:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-32572</guid>
		<description>hello 
i bought hmc5843 and i could get data from it but i dont know  how i can change these data to gauss and the most important i dont know how i can change the output to the angels</description>
		<content:encoded><![CDATA[<p>hello<br />
i bought hmc5843 and i could get data from it but i dont know  how i can change these data to gauss and the most important i dont know how i can change the output to the angels</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nintendo DS Touch Screen and breakout board &#124; inmotion.pt</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-30744</link>
		<dc:creator>Nintendo DS Touch Screen and breakout board &#124; inmotion.pt</dc:creator>
		<pubDate>Tue, 21 Jun 2011 23:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-30744</guid>
		<description>[...] on-board regulator, so a regulated voltage of 2.5-3.3VDC should be supplied. Check out this Arduino library and this tutorial on verifying the accuracy of its [...]</description>
		<content:encoded><![CDATA[<p>[...] on-board regulator, so a regulated voltage of 2.5-3.3VDC should be supplied. Check out this Arduino library and this tutorial on verifying the accuracy of its [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luís Mauro</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-17826</link>
		<dc:creator>Luís Mauro</dc:creator>
		<pubDate>Thu, 06 Jan 2011 20:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-17826</guid>
		<description>Hello

I´m having another BAD experience with a DIYdrones board.

If it´s possible, please take a look at this forum:
http://diydrones.com/forum/topics/hmc5843-3-axis-magnetometer?commentId=705844:Comment:248254

If you have any idea about what is going wrong, I appreciate very much!!

Thank you

Luís</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I´m having another BAD experience with a DIYdrones board.</p>
<p>If it´s possible, please take a look at this forum:<br />
<a href="http://diydrones.com/forum/topics/hmc5843-3-axis-magnetometer?commentId=705844:Comment:248254" rel="nofollow">http://diydrones.com/forum/topics/hmc5843-3-axis-magnetometer?commentId=705844:Comment:248254</a></p>
<p>If you have any idea about what is going wrong, I appreciate very much!!</p>
<p>Thank you</p>
<p>Luís</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-17788</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Thu, 06 Jan 2011 03:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-17788</guid>
		<description>I tried just using Wire library on HMC5883L. It works fine. So I believe that Wire library should also works fine for HMC5843. HMC5843 and HMC5883L are very similar.
please see the complete code below:

#include 
void setup()
{
  initHMC5883L();
}
void loop()
{
  readxyz();
}
void initHMC5883L()
{
    Wire.beginTransmission(0x1E);// 7 bits address //0x3C //datasheet page 17
    Wire.send(0x02);
    Wire.send(0x00); // continues reading
    Wire.endTransmission();
}

void readxyz()
{
    Wire.beginTransmission(0x1E);
    Wire.send(0x03);
    Wire.endTransmission();
    
    Wire.requestFrom(0x1E, 6);
    if(6 &lt;= Wire.available())
    {
    int x,y,z;
    x = Wire.receive() &lt;&lt; 8;
    x &#124;= Wire.receive();
    y = Wire.receive() &lt;&lt; 8;
    y &#124;= Wire.receive();
    z = Wire.receive() &lt;&lt; 8;
    z &#124;= Wire.receive();
    }
}</description>
		<content:encoded><![CDATA[<p>I tried just using Wire library on HMC5883L. It works fine. So I believe that Wire library should also works fine for HMC5843. HMC5843 and HMC5883L are very similar.<br />
please see the complete code below:</p>
<p>#include<br />
void setup()<br />
{<br />
  initHMC5883L();<br />
}<br />
void loop()<br />
{<br />
  readxyz();<br />
}<br />
void initHMC5883L()<br />
{<br />
    Wire.beginTransmission(0x1E);// 7 bits address //0x3C //datasheet page 17<br />
    Wire.send(0&#215;02);<br />
    Wire.send(0&#215;00); // continues reading<br />
    Wire.endTransmission();<br />
}</p>
<p>void readxyz()<br />
{<br />
    Wire.beginTransmission(0x1E);<br />
    Wire.send(0&#215;03);<br />
    Wire.endTransmission();</p>
<p>    Wire.requestFrom(0x1E, 6);<br />
    if(6 &lt;= Wire.available())<br />
    {<br />
    int x,y,z;<br />
    x = Wire.receive() &lt;&lt; 8;<br />
    x |= Wire.receive();<br />
    y = Wire.receive() &lt;&lt; 8;<br />
    y |= Wire.receive();<br />
    z = Wire.receive() &lt;&lt; 8;<br />
    z |= Wire.receive();<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: austiey</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-16364</link>
		<dc:creator>austiey</dc:creator>
		<pubDate>Thu, 09 Dec 2010 18:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-16364</guid>
		<description>I&#039;m having the same problem.  Martin: Have you figured out a solution yet?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem.  Martin: Have you figured out a solution yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio Varesano</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-16045</link>
		<dc:creator>Fabio Varesano</dc:creator>
		<pubDate>Wed, 01 Dec 2010 12:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-16045</guid>
		<description>I just completed porting the HMC5843 Arduino library, originally created by Nirav Patel (see above) and then extended/improved by E.J.Muller (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1274748346/0#0), to use only the Arduino Wire library to use the I2C bus.

If this interests you, you&#039;ll find it at http://www.varesano.net/blog/fabio/hmc5843-magnetometer-library-arduino-based-wire</description>
		<content:encoded><![CDATA[<p>I just completed porting the HMC5843 Arduino library, originally created by Nirav Patel (see above) and then extended/improved by E.J.Muller (<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1274748346/0#0" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1274748346/0#0</a>), to use only the Arduino Wire library to use the I2C bus.</p>
<p>If this interests you, you&#8217;ll find it at <a href="http://www.varesano.net/blog/fabio/hmc5843-magnetometer-library-arduino-based-wire" rel="nofollow">http://www.varesano.net/blog/fabio/hmc5843-magnetometer-library-arduino-based-wire</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nrp</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-15234</link>
		<dc:creator>nrp</dc:creator>
		<pubDate>Sun, 14 Nov 2010 06:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-15234</guid>
		<description>Those values are a possible symptom of the capacitor issue, but could be something else.  I recommend trying the capacitor fix if at all possible.</description>
		<content:encoded><![CDATA[<p>Those values are a possible symptom of the capacitor issue, but could be something else.  I recommend trying the capacitor fix if at all possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://eclecti.cc/hardware/hmc5843-magnetometer-library-for-arduino/comment-page-1#comment-15221</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 13 Nov 2010 21:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/?p=344#comment-15221</guid>
		<description>Hi,
sorry to bother you with my ignorance, but I keep failing with reading the HMC5843.
the sketch (the one on top of this page, with the hmc.h lib) is compiling and running without errors, but constantly delivers all the same value:

x:15677 y:15677 z:15677
x:15677 y:15677 z:15677
x:15677 y:15677 z:15677

I am an absolute noob in i2c (actually, in Arduino stuff as well), and have no idea on how I can track down the problem. 
wiring is ok I guess (Arduino Uno, getting the 3.3V from board, Data pin on A4, clock on A5).

as the hex value of 15677 is 3D3D, I have the suspicion that the sent data is somehow taken as read data (because the read address of the HMC is 3D as well... just a clueless wild guess...). 
I did not try the capacitor fix because I do not want to fry anything, but I think it is a general i2c communication issue that I am facing.

most grateful for any hint,
martin</description>
		<content:encoded><![CDATA[<p>Hi,<br />
sorry to bother you with my ignorance, but I keep failing with reading the HMC5843.<br />
the sketch (the one on top of this page, with the hmc.h lib) is compiling and running without errors, but constantly delivers all the same value:</p>
<p>x:15677 y:15677 z:15677<br />
x:15677 y:15677 z:15677<br />
x:15677 y:15677 z:15677</p>
<p>I am an absolute noob in i2c (actually, in Arduino stuff as well), and have no idea on how I can track down the problem.<br />
wiring is ok I guess (Arduino Uno, getting the 3.3V from board, Data pin on A4, clock on A5).</p>
<p>as the hex value of 15677 is 3D3D, I have the suspicion that the sent data is somehow taken as read data (because the read address of the HMC is 3D as well&#8230; just a clueless wild guess&#8230;).<br />
I did not try the capacitor fix because I do not want to fry anything, but I think it is a general i2c communication issue that I am facing.</p>
<p>most grateful for any hint,<br />
martin</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.238 seconds -->

