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: Garg Nashakar
Country: Colombia
Language: English (Spanish)
Genre: Love
Published (Last): 18 November 2008
Pages: 199
PDF File Size: 6.38 Mb
ePub File Size: 16.14 Mb
ISBN: 956-9-92561-735-5
Downloads: 60037
Price: Free* [*Free Regsitration Required]
Uploader: JoJogul

I assume you are having problems with protocol that the sensors require. I’ve set the pullups with the suggested resistance values 1.

Code for Devantech CMPS03 compass

Sun Sep 04, 4: For this second test, the manufacturer suggests pulling sda and scl lines using a 1. 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. 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 said what the heck? Fri Sep 09, 8: Sun Jul 10, 1: Page datashet of 1.

  ASTM E1646 PDF

We will have to check this.

Sensors – Magneto – SEN – CMPS03 Compass – Iran Module Electronic

You just need to make sure both devices can handle the baudrate, which is always set by the master. Previous topic Next topic.

I got that yesterday You don’t need to match baud rates. You should be able to follow this and convert it over to MP. Is that the normal thing to do?

I need help!!! How to read from CMPS03 with HC12 thru i2c

Yesterday I tried inserting the following piece of code just before any write: Mon Sep 05, 3: Turns out that it is always the second setting the datasneet or the third sending the read address. Hey, thanks for checking that. I2C can be very frustrating. Let’s say the target frequency is kHz 10uS.

Index of /ict/autina/progetto/doc/bussola_CMPS03/altra_doc

I don’t know who is holding the clock line low, the master or the compass. This would be a cpms03 task to create the product, but I’m convinved there’s a definate market, because this ends up being so time-consuming.

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.


There is too much material to include it all here, but I can send it as email attachments. Looking at the scl line with an oscope, there is no activity, it is always high a tad below 3V.

Then I looked at my code and it was really 50KHz from a test I did the other day.

The Beagle analzyer provides a high performance monitoring solution in a small, portable package. Thu Sep 01, 5: Wed Sep 07, I thought it would take me one or two days to set up the compass, but it’s taking more than two weeks already I was measuring the signal duration on the oscope and it was giving me a frequency of 50KHz Also, after reading a couple of other posts involving problems using I2C, I’ve just made a note to myself to check the following: I’ve suggested that mE could produce a software product used in conjunction with the easyPIC to do this.

Fri Sep 02, 4: Follow the Assembler example here: