Testing my code for the HMC5843 turns out that the labeling for the axis may be wrong. The sign directions are different too. I checked against the Board from Sparkfun. Looking at the datasheet, the components axis described there are when you look at the bottom of the device. The schematic pictures is mirrored upside down to show a view from the top.
Tags:
Permalink Reply by Fabio Varesano on January 8, 2011 at 4:06pm
Permalink Reply by Uwe Gartmann on January 9, 2011 at 2:46pm Ok, I found the problem. Never rename a file when the ArduinoIDE is running. After I restarted the computer the next day, the problems are gone.
For now, sending data from the board to Processing is working. But the orientation on the screen is somehow strange. I never had that much of work to get some data ready. 3D is realy three times of work :-)
Permalink Reply by Fabio Varesano on January 9, 2011 at 5:11pm Point your monitor to the magnetic north in your room. I explain that in the video.
What exactly do you mean when you say that there is lot of work?
Permalink Reply by Uwe Gartmann on January 15, 2011 at 1:03pm Hi Fabio
The code is working! I dit not calibrate the magnetometer value to have an excactly arithmetic zero.
Thanks for your support.
Permalink Reply by Uwe Gartmann on January 27, 2011 at 12:52pm
Permalink Reply by Luis Mauro on January 6, 2011 at 2:07pm Hello Fabio
Please, take a look at the powerpoint file that I attached on the reply to Chris.
This a detailed explanation about my problem.
I used 2 diferent libraries to make the test with the same results (including ones that you suggested).
Thanks
Permalink Reply by Fabio Varesano on January 6, 2011 at 4:33pm Hi Luis, I liked how you detailed your problem.
Well, that's a hell of an issue. Never saw anything like that.. I ran my magnetometer library for more than 30 minutes and never saw anything like that.
I would try keeping things as simple as possible. My suggestions:
I would take my notebook and move to something like a park or your backyard were you know that you are far away from any electromagnetic interference and see what happens.
Keep us posted.
Permalink Reply by Luis Mauro on January 6, 2011 at 6:11pm Hello Fabio
Yes, eletromagnetic interference is a big issue!
I had problems with a SCP1000 and a fluorescent lamp that is above my desk.
I´ll remove everything surrounding the HCM5843 that could became a problem related to "eletromagnetic field" ...
Soon we´ll talk again,
thank you very much
L. Mauro
(a mechanical engineer playing with eletronics ... that´s the real problem!!!)
Permalink Reply by Luis Mauro on January 6, 2011 at 7:11pm Hello
Still related to my problem, take a look on this video:
http://www.youtube.com/watch?v=uv_kyakIvRc
The time elapse until the start of the problem is diferent from the showed at the powerpoint file because this another trying.
It´s portuguese narrated but the legends are in english
thanks
Luís
Permalink Reply by Uwe Gartmann on January 7, 2011 at 12:46am
Permalink Reply by Fabio Varesano on January 7, 2011 at 1:09am
Permalink Reply by Fabio Varesano on January 7, 2011 at 1:30am I've seen the video. You have problems that's for sure. Try to connect the device in the most simple way: see the picture I published on my HMC5843 library page.
I'll now take a dump of more than 30 minutes readings from the HMC5843.. let's see what happens.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.106 members
1279 members
671 members
183 members
182 members
© 2013 Created by Chris Anderson.
Powered by
