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.
|Published (Last):||26 June 2010|
|PDF File Size:||16.20 Mb|
|ePub File Size:||9.32 Mb|
|Price:||Free* [*Free Regsitration Required]|
I got that yesterday I thought it would take me one or two days dwtasheet set up the compass, but it’s taking more than two weeks already Clearly I’m loosing something here.
I assume you are having problems with protocol that the sensors require. 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. Wed Sep 07, Google [Bot] and 2 guests.
CMPS03 Digital Compass – Cookbook | Mbed
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. Hi Padu, i had some problems trying to use the standard Cmp03 for my project, i dont have time right now but i’ll look into my and eatasheet program and hopefully find something usefull diogenes.
Thanks for the help! Datashedt you think the problem is the non-matching resistor value? My guess is that the baud rate is mismatched.
Turns out that it is always the second setting the register or the third sending the read address. There is too much material to include it all here, but I can send it as email attachments.
Fri Sep 09, 8: Fri Sep 02, 7: I said what the heck? Now this is what’s happening: Do you smell a bug here? You’ll be notified when we have some answers.
Index of /ict/autina/progetto/doc/bussola_CMPS03/altra_doc
Mon Sep 05, 3: I’ve set the pullups with the suggested resistance values 1. Then I looked at my code and it was really 50KHz from a test I did the other day.
I2C can be very frustrating. So here’s what happens: You should be able to follow this and convert it over darasheet MP. I did it to get experience and understanding of I2C protocol and I will be happy to share this with anyone who is interested. You just need to make sure both devices can handle the baudrate, which is always set by the master.
Devantech CMPS03 Compass
Fri Sep 09, 1: Sun Sep 04, 4: Fri Sep 02, 4: Fri Sep 09, 5: Wed Apr 21, 6: Thanks for you help! I’ve used the example provided in the help dataasheet also searched a couple of topics here.
This board has two outputs: I will try I2C again, this time with ccmps03 right resistor values. Previous topic Next topic. Seems like mE have their hands full at the moment so don’t hold your breath.
One thing that is still unanswered for me and I think it’s piece of cake for you I2C guru guys. We will have to check this. I was hoping that somehow I was making something stupid and you would tell me to change one line of code and voila Thu Sep 01, 5: Let’s say the target frequency is kHz 10uS.
Hey, thanks for checking that. 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. It would be nice if someone made a hardware protocol analyzer for I2C in particular, but all serial protocols in general. dataeheet
Follow the Assembler example here: I checked the ASM your code produces and there in nothing wrong with it. Looking at the scl line with an oscope, there is no activity, it is cmps30 high a tad below 3V. 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. The Beagle analzyer provides a high performance monitoring solution in a small, portable package. I’ve suggested that mE could produce a software product used in conjunction with the easyPIC to do this.
Yesterday I tried inserting the datasueet piece of code just before any write: Sun Jul 10, 1: