April 19, 2019


CMPS03 Magnetic Compass. Voltage – 5v only required. Current – 20mA Typ. Resolution – Degree. Accuracy – degrees approx. after calibration. Output 1. Library; Reference. The CMPS03 is a digital compass with an I2C interface. Reference¶. CMPS03 Datasheet. CMPS03 Robot Compass Module This compass module has been specifically designed for use in robots as an aid to navigation. The aim was to produce a.

Author: Mojas Gumuro
Country: Mauritania
Language: English (Spanish)
Genre: Environment
Published (Last): 8 March 2011
Pages: 100
PDF File Size: 14.39 Mb
ePub File Size: 12.39 Mb
ISBN: 727-3-52101-973-1
Downloads: 88067
Price: Free* [*Free Regsitration Required]
Uploader: Voodoojar

(PDF) CMPS03 Datasheet download

I think it must be something very simple and I will feel very dumb when I find out, but I couldn’t figure out by myself. I don’t know who is holding the clock line low, the master or the compass. Thu Sep 01, 5: Fri Sep 09, 5: Fri Sep 02, 4: Seems like mE have their hands full at the moment so don’t hold your breath.

Yesterday I tried inserting the following piece of code just before any write: I2C can be very frustrating.

Also, after reading a datasheeg of other posts involving problems using I2C, I’ve just made a note to myself to check the following: I’ve tried reading the compass using the PWM signal that it generates by using timers, but at 4MHz, I cannot get a timing precise enough.


As you can see, I’m pretty newbie on I2C Turns out that it is always the second setting the register or the third sending dstasheet read address.

Here’s my code sorry the lenght, it is mainly due to debug leds Code: So here’s what happens: The Beagle analzyer provides a high performance monitoring solution in a small, portable package. Wed Apr 21, 6: I was measuring the signal duration on the oscope and it was giving me a frequency of 50KHz I’d think that in this case, the clock line would oscilate at a different frequency, instead of not oscillating at all.

Do you smell a bug here? Clearly I’m loosing something here. Hey, thanks for checking that.

Arduino – RobotCompassCalibration

Page 1 of 1. You just need to make sure both devices can handle the baudrate, which is always set by the master. Sun Jul 10, 1: Fri Sep 02, 7: Then I looked at my code and it was really 50KHz from a test I did the other day.

I did it to get experience and understanding of I2C protocol and I will be happy to share this with anyone who is interested. I will try I2C again, this time with the right resistor values.

You should be able to follow this and convert it over to MP. You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum. For this second test, the manufacturer suggests pulling sda and scl lines using a 1. Fri Sep 09, 8: Hi Padu, i had some problems trying to use the standard I2C for my project, i dont have time right now but i’ll look into my and your program and hopefully find something usefull diogenes.


Follow the Assembler example here: This would be a nontrivial task to create the product, but I’m convinved there’s a definate market, because this ends up being so time-consuming.

CMPS03 Не указана Robot Compass Module ChipFind Datasheet Archive |

Previous topic Next topic. Additionally, the values I read are noisy, meaning that from 10 values I read, 5 or 6 of them have nothing to do with the real compass orientation.

Looking at the scl line with an oscope, there is no activity, it is always high a tad below 3V. I thought it would take me one or two days to set up the compass, but it’s taking more than two weeks already I2C has been proven to be working in many cases if you doubt the library