Today I got the Magneto unit. So I soldered the Magneto to the IMU. But when I run "c" command in CLI mode. I can only get 0 vaule in all fields like the picture below. Do you think my Magneto is damaged?
Also, my MediaTek not working. I used the FTDI cable connected the MediaTek unit to the computer as wiki.Then I try to flash the firmware. I always got error message. I also use the test program in the firmware zip file folder. I left the GPS for hours near the window so it can easily get GPS signal. It still can not get GPS data fixed.
I did a test fly with no GPS and Magneto on board (http://www.diydrones.com/profiles/blogs/finally-up-in-the-air). The IMU working when it is fly. But I can not say the problem is Magneto. Since they are working together.
Can I send back the IMU, Magneto and GPS to get diagnose?
Re the mag - you should definitely double check that you followed the instructions on the wiki correctly. You should also try the example sketch and see if it returns the same results. I suspect that your magnetometer is damaged actually.
re the GPS - I suspect it's actually fine 'cuz they're pretty robust. You should take it outside not just next to your window. I can never get a lock indoors no matter where I put it but it works a-ok outside. Take it outside to a nice open area and give it 5minutes and I'm pretty sure you'll get a lock.
I think everything is tested before leaving the factory, it's open source and DIY so not sure you'll be able to send it back for diagnosis. You should check out the mag a bit more and then contact Chris + Jordi about that. Doesn't sound like there's anything wrong with your IMU. by the way - if your mag really is dead you can get another one and connect it up it will likely work fine. I've done this...i.e. I have one dead mag that's stuck to my Oilpan but I have another perfectly good one that's attached separately (i.e. not directly soldered to the OilPan but rather attached by wires) and it all works ok.
I'm having similar problems, serial monitor returns only 0 values.
I use the Sparkfun magneto with the logic level converter.
Everything is double checked, enabled in software,etc...
The only thing i can come up with is a Dead on arrival sample.
Any suggestion or help would be greatly appreciated!
hmm.. doesn't sound good. I suspect you've either made a small mistake somewhere with the wiring and/or friedn the mag. I would double check the voltage you're supplying with a volt meter. Ensure you're really supplying 3.3v to the mag's vcc pin.
Also you could run the sample sketch which is simpler although I suspect it will return the same results you're seeing.
Thanks for your reply.
Well i was well aware of this device operating voltage, that's why i ordered those logic level converters in the first place.I'm quite sure everything was wired correctly from the start.
Measured voltages on HMC pins are clean 3.3V.
Yes i loaded this sketch too, same results.
Is your GPS plugged in to the top sensor board? If so, it needs to be plugged into the bottom CPU board.
I made this mistake and found that neither the GPS or the magnetometer works when this is the case. Also the motors won't arm, but the CLI works just fine...
I suspect your mag is broken then but can I ask just one more question?
Just wanted to check that you're plugging your GPS into the APM (the red board) and the Mag into the Oilpan (the port labelled "NoGPS" port)?
I followed the arducopter wiki for the implementation, so the mag is connected to the Oilpan board as mentioned.I do not have GPS module yet.
I wrote a mail to the support department of the shop where a bought it, hopefully they replace the magneto.
Thanks again for your suggestions.
My GPS doesn't work, too.
Yesterday, I left the copter outside for about 10minutes but the C-LED didn't light up. The GPS module hat it's blue led burning all the time. So I guess it's not broken.
It's not updated yet (still waiting for the FTDI cable) so I don't know if that's the problem.
Do I have ph enabled to get a lock? This B-LED works great when switching ph on.