SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492015-03-31T16:05:10-06:00SparkFun ElectronicsCustomer #639072 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #639072urn:uuid:16c8f1d2-927c-9144-4da0-a702cb26d5f92015-01-26T18:06:12-07:00<p>Once I can get this compiled how do I flash the compiled code from 9DOF-v11_firmware.zip to the device? I am using OS X.</p>
<p>Edit:
Would it be similar to this?
avrdude -p atmega328p -P COM1 -c stk500v1 -b 57600 -Cavrdude.conf -U flash:w:main.hex</p>fh123 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblefh123urn:uuid:c6803b70-2ec6-79cc-c220-9ae2893721402013-03-20T04:11:24-06:00<p>Hy
Is the code for the application showed in the video above opensource and available?
thank&rsquo;s</p>a1ronzo on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblea1ronzourn:uuid:fd88531c-94aa-6798-2042-c8dbed6bb1092012-11-06T08:59:39-07:00<p>The default firmware does not use a Kalman filter.</p>Customer #376585 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #376585urn:uuid:88cc9d93-937c-b5da-b341-20c62cda49092012-11-06T08:28:14-07:00<p>Does this sensor has Kalman Filtering ????</p>Customer #336957 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #336957urn:uuid:388bd9a0-c679-76e2-33df-a03e9f1825dc2012-07-09T21:43:34-06:00<p>Hi, I am a new beginner for this 9DOF appliations.
I got many questions here as below, and hope to get your help:
Question 1: Now we are using the IMU developed by ourselves, this IMU integrate three sensors, including accelemeter, gyrometer,meganetometer sensors. I want to ask whether the DCM source code here could be suitable for our situation to be used?</p>
<p>Question 2: Where is the right open source code could be downloaded to be suitable for us? I seached few times, but not sure which is the right one.</p>
<p>Question 3: What should we process the raw data beofre sending to DCM part? The result from DCM is about some angele, right?</p>
<p>Great thanks.</p>
<p>Tonny</p>Tin_tin98N on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleTin_tin98Nurn:uuid:720e2c92-813d-c837-1f95-aa96b85876942012-02-23T14:01:41-07:00<p>Are The Test Firmware v22 located on
http://github.com/a1ronzo/SparkFun-9DOF-Razor-IMU-Test-Firmware
usable for this IMU? I can&rsquo;t find the old versions there. Current firmvare uses a triple axis gyro. this one has 2 gyros.</p>Customer #208683 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #208683urn:uuid:e882912f-24ad-99f2-1ca2-846c4d0b3b942011-09-18T04:05:00-06:00<p>Hi everyone,<br/>
I have used ITG3200 and ADXL345 break out (http://www.sparkfun.com/products/10121). I had a very good and stable reading on my old quad, and I was using complementary filter instead of Kalman filter. Right now, I am using the code provided (http://code.google.com/p/sf9domahrs/) and it fluctuate a lot when my motors are running fast. So I started using my own code for ADXL345 and I am not using Arduino IDE, I am using Code vision. My SDA is PORTC.4 and my SCL is PORTC.5. I send the 0xA6 which is the ADXL345 address and I don&rsquo;t receive any ack.<br/>
My sensor is working fine with the code provided so it can&rsquo;t be a hardware problem. Do you have any idea what I am missing?<br/>
thank you very much.</p>rocketbob on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerocketboburn:uuid:7d82271e-ff4b-7493-b863-6b075d5e11ea2011-08-18T18:34:13-06:00<p>Thanks Zoomer!! This is so much better than having to go thru installing Python&hellip;which I was never able to get to work on a 64-bit machine.</p>Customer #238923 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #238923urn:uuid:9af7d26e-237c-b808-3b44-4acbf6830e832011-07-19T07:16:46-06:00<p>1.I want to start then I am tyro, please help me to start.<br/>
2.I want to connect my imu with ft232 to PC , please send me monitoring software<br/>
3.Please help me to develop IMU with kalman filter<br/>
4.Where I can download the source code of razor ?<br/>
5.We have to upload new Avr code. Is it correct?<br/>
Mersi turlan1979@yahoo.fr</p>Sciencez on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleSciencezurn:uuid:9a1f5db0-cebe-993a-1f61-dc8dea4df4d02011-07-15T21:12:48-06:00<p>The link to the 3.3V FTDI Basic Breakout is out of date and leads a reader to old stock no longer carried by Sparkfun, in fact it is so old that there have been two new revisions of this board since this link was implemented.</p>Dinuka on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDinukaurn:uuid:c7ca6a23-69a6-26c8-97c5-bef266d72fe92011-06-06T20:50:50-06:00<p>Hi Rawebb, I had the same issue with the magnetometer. (values is constant at 32, even if I recycle power). Did u manage to fix it ? Is there any effect from soldering external I2C pull ups to the magnetometer behavior ?</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:5108a020-c799-ccd8-ad1e-54aa6e9eb1eb2011-05-31T15:23:34-06:00<p>We should have a new version available within a week.</p>Amundsen on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAmundsenurn:uuid:8de26f0b-a3f5-c7b5-2d13-7c53eaece4232011-05-31T12:43:40-06:00<p>I bought it <a href="http://www.aliexpress.com/fm-store/604119/210684656-365365430/9-Degrees-of-Freedom-Razor-IMU-AHRS-compatible.html" rel="nofollow" >here</a><br/>
It has just arrived from China today.</p>Customer #207278 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #207278urn:uuid:cbcf137d-060e-aecf-d43b-07cd47898dcf2011-05-27T10:27:10-06:00<p>It&rsquo;s unfortunate that you guys are intending to continue selling this product with the well known, and well documented problems that it has. I have to be honest, of the last 6 products I bought that were developed by Sparkfun, 3 have had flaws that made them unusable. I&rsquo;m sure this comment will be ignored like other similar comments on numerous products on your site. Beware potential SparkFun customers.</p>Carsten on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCarstenurn:uuid:fe910842-29aa-c50e-a85b-e7b9f83c12362011-05-25T12:15:00-06:00<p>When will this be available again ?</p>Customer #227975 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #227975urn:uuid:ca9726f6-2759-c496-d09c-19a6c256d5b92011-05-25T06:06:12-06:00<p>Can this be purchased from anywhere I cant find it.</p>Customer #225874 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #225874urn:uuid:cd35dfe8-bf33-697f-2e27-ab698af0f9922011-05-16T06:14:37-06:00<p>I am newer to 9DOF and IMU. I fund Roll and Pitch outputed form the 9DOF is relative angle, then i want ask whether i can get the horizontal absolute angle, and how?<br/>
Thanks!</p>Customer #144810 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #144810urn:uuid:ac4c0242-022d-5b2a-8818-d45aa321e89d2011-05-08T13:27:50-06:00<p>Sorry for my bad english.<br/>
and sorry send this question here, I really had looking for my solution, but at the time, nothing simple to use! Its very hard for me, to look all comments and understand, because my english is very bad.<br/>
I have bought that 9dof razor imu on other site, because here is out of stock, and now, i will say my problem.<br/>
I have to use this board with my seeeduino v2.12 (atmega 168) to stabilise a camera in hard condition ( i will try, that is a work of my university).<br/>
I had sucess using FTDI to interface in Python GUI, and in Serial.print to see value of x (accel),y (accel) an z (gauss) using the code of Jordi Munoz.<br/>
How can realy read pitch, yaw and roll, to use that values to controll Servos on my Arduino? with RX and TX, I just can see that values, i can not use this values to control any Pins of Arduino. Please, help-me&hellip; i know how this tipe of message is inconvenient.<br/>
Thank&hellip;</p>Pranjal Chaubey on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePranjal Chaubeyurn:uuid:0d660a16-dc07-56e6-7c24-feab113af64b2011-05-07T01:15:38-06:00<p>This part DID have some inherent problems related to its power supply and the magnetometer. I had a really long set of email discussions I had with your tech support.<br/>
The magnetometer malfunctions when the IMU is powered from its own regulated supply. It works fine if you feed it 3.3V directly from some other source, the XBee USB explorer board for example.</p>Pranjal Chaubey on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePranjal Chaubeyurn:uuid:4a3bc6a7-738c-c842-f83d-9f76c3a341412011-05-07T01:07:44-06:00<p>This is what you wanted, a step-by-step tutorial<br/>
<a href="http://pranjalchaubey.wordpress.com/2011/04/14/razor-imu/" rel="nofollow" >Razor IMU Step by Step Tutorial</a></p>Pranjal Chaubey on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePranjal Chaubeyurn:uuid:da04da3c-97de-4908-55cb-6b3a5efa60502011-05-07T01:04:40-06:00<p>I have written a Tutorial on this, you might want to have a look<br/>
http://pranjalchaubey.wordpress.com/2011/04/14/razor-imu/</p>jyros on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejyrosurn:uuid:afe78115-0e35-6a49-fa24-3612e549a48a2011-05-03T16:14:04-06:00<p>any idea when the new version will be available?</p>M-Short on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleM-Shorturn:uuid:133a46dd-40a0-b242-9230-9a528bff75582011-05-03T15:54:27-06:00<p>The new revision replaces the magnetometer because the one on this board is no longer being made, it isn&rsquo;t to fix any defects so if you have a defective item contact techsupport@sparkfun.com</p>Customer #207278 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #207278urn:uuid:aed0770c-37f4-b6df-54f8-95149765406b2011-04-23T20:26:07-06:00<p>It&rsquo;s great that a new revision is coming out, but is anything going to be done for those of us who paid $125 for this defective item?</p>viscousflow on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleviscousflowurn:uuid:8d25344b-568d-b808-39bb-5bcca3e8dc362011-04-22T18:37:59-06:00<p>Hmm I checked around on the error and it says the PC just isn&rsquo;t communicating with the board. So I checked out the 9 axis and saw a scratch precisely on the Rx line of the 9 axis. Sparkfun sold me a defunct IMU. I&rsquo;ll have to contact their customer service&hellip;</p>viscousflow on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleviscousflowurn:uuid:e069feab-93db-1aa4-51d5-63a8cba13f7f2011-04-22T18:05:00-06:00<p>There seriously needs to be some step by step instructions for the 9dof which actually work. I&rsquo;ve tried to getting it to work via the arduino Mega 1280 and nothing. I just bought an ftdi breakout which came yesterday and still nothing. It sends data to the serial port flawlessly. However, I can&rsquo;t upload jack via the arduino or the ftdi. Now this device is very important for my project and it would be nice if it worked! the error I am getting is<br/>
avrdude: stk500_getsync(): not in sync: resp0x72<br/>
avrdude: stk500_disable(): protocol error, expect=0x14, resp 0x51<br/>
What&rsquo;s the big deal? Uploading data to this device shouldn&rsquo;t be this hard!!!!</p>berdux on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleberduxurn:uuid:83c3fe69-14d3-ab30-f71d-2ae1861196382011-04-09T08:51:37-06:00<p>The 6 holes on the board that are supposed to be for the ATmega SPI have actualy 3 digital IO ports. These are the MOSI MISO and SCK that we can see on the Schematic. They correspond to arduino&rsquo;s 11 12 and 13 ports. (Also on the SCK (13) there is connected the green LED of the board). So, for as long as we do not use the SPI (i think nobody uses it) we can use these ports as we like ;)<br/>
Hope i helped :)</p>berdux on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleberduxurn:uuid:79231b53-ebe0-de97-0057-0ef40e45a71b2011-04-09T08:44:09-06:00<p>i just started playing with my 9dof, and i found out that in the 6 holes we have 3 digital IO ports! These holes are supposed to be for the ATmega SPI, but actually the SPI on an ATmega connects on portB, this means that when we don&rsquo;t use the SPI we can use these pins for IO!<br/>
These are pins PB3 PB4 and PB5 that on an arduino correspond to pins 11 12 and 13. As we can see on the schematic of the 9DOF they are the MISO (PB4 or 12 on the arduino), MOSI (PB3 or 11) and SCK (PB5 or 13) ports. Also on the SCK port there is connected the green LED of the board.<br/>
I hope this will be useful to you guyz :)</p>Customer #167287 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #167287urn:uuid:fd3771c9-08c7-084d-b610-3581722846a02011-04-07T17:25:49-06:00<p>Ok, I have one unit with 3.3ftdi, bought 6 months ago and fully functional. I think I paid about 150 for both but would sell for 105 with shipping. Contact me at sy at yalcin dot us, if anyone.</p>MakeKorea on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMakeKoreaurn:uuid:9a7d5413-ce60-b23c-5619-fe27925703a52011-04-04T00:40:58-06:00<p>I do need of two of them and will pay them with credit card. That&rsquo;s the problem. :D</p>Zoomer on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleZoomerurn:uuid:63ce1617-560e-99f3-4740-8ba6a329854f2011-03-31T22:28:06-06:00<p>I posted a small Windows program with minimal dependencies that should run on most versions of Windows from XP SP3 on using WPF that emulates the python 3D display shown above. You need to have the ARHS firmware installed. See http://code.google.com/p/sf9domahrs/issues/detail?id=22</p>Customer #167287 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #167287urn:uuid:1f1fc931-ac67-6af1-79bf-fbca0980a3b12011-03-31T19:53:08-06:00<p>Yes it should work, make sure to use 3.3V</p>Customer #167287 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #167287urn:uuid:4cfcab25-2b33-2de2-3501-f0a27b0650d72011-03-31T19:52:17-06:00<p>I can sell you mine</p>xronos on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblexronosurn:uuid:80a27834-e5de-b8a1-cf92-e56528e5eeda2011-03-30T21:17:57-06:00<p>It&rsquo;s out of stock. When will it be available on the store again?</p>hackfanatic on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblehackfanaticurn:uuid:62106039-3350-9a76-ff0e-ee68fd797ac72011-03-29T18:47:45-06:00<p>Hey,<br/>
If I connected this chips rxtx to the arduino and pulled out the ATMEGA328 from the arduino, I should be able to read/write firmware off the Razor without an FTDI right? I just wanted to know if that may work before I got myself a FTDI :D<br/>
Thanks</p>Customer #167287 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #167287urn:uuid:8fb20a99-9ac4-aad1-c698-9baeafbb36a32011-03-21T00:13:55-06:00<p>I bought this with ftdi 3.3 serial usb but decided to go with hmc6343 and will be selling it on ebay. I see that its out of stock so if you want, I can give you mine.</p>Dinuka on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDinukaurn:uuid:876ec235-786c-670e-99d3-10171910f0df2011-03-14T22:37:05-06:00<p>anyone with an idea when the current 9DOF was taken out of production, and this new revision post was made ?<br/>
I just need to figure out when the new revision would be out and what would be the changes of the new one<br/>
thanks</p>werepants on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblewerepantsurn:uuid:9c3b3165-8bbd-c0cd-6deb-c74837267b8b2011-03-14T11:44:03-06:00<p>Just noticed - the accelerometer link in the description section is broken. It points at the ADXL335, but it should point at the ADXL345.</p>rousselmanu on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerousselmanuurn:uuid:27eeec43-b6ec-4154-617f-8b4b7b43e6042011-03-01T05:57:49-07:00<p>I made a quick step-by-step tutorial for using this IMU and trying the AHRS code here :<br/>
http://8p-tech.hopto.org/?p=249&amp;lang=en<br/>
I hope it will be helpful!</p>Donzi on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDonziurn:uuid:278283a9-c2ba-b02e-141c-98111bab752a2011-02-28T20:32:31-07:00<p>New to Arduino<br/>
How do I compile and upload the firmware?<br/>
I do not see a pde file in the zip file.<br/>
I also tried installing it as a library in the arduino ide with no luck. Thanks for any help you can provide.</p>razoropenlog on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerazoropenlogurn:uuid:cf3ff1a7-8316-dca9-6c40-3787178dcc632011-02-28T11:15:07-07:00<p>regarding 1) look for &ldquo;Firmware Files&rdquo; under Documents on this page</p>razoropenlog on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerazoropenlogurn:uuid:a607e076-b855-e061-5d42-0d2f6f0fbdc12011-02-28T10:55:57-07:00<p>Hi,<br/>
from the schematic it looks as if the outputs from both the LPR530AL as well as the LY530ALH sensor are processed using a HP/LP combination. However, the corresponding (not amplified) outputs (XOUT-1X, YOUT-1X, ZOUT-1X) don&rsquo;t seem to be routed to the Atmega.<br/>
I&rsquo;d like to be able to use the +/-1200°/s measurement range available on these lines. Is there any way to get access to them?<br/>
Thanks and best regards</p>huangwanzi on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblehuangwanziurn:uuid:547c0414-33b3-c02e-3476-2d3c466b7e2f2011-02-27T18:55:12-07:00<p>Hey,everyone,I am trying to understanding the AHRS code, and want to modify something for myself .But I get some problem, I cannot understand two part of code ,DCM.pde and ADC.pde, there are some theory in them ,but i don&rsquo;t know about them. Like in DCM.pde ,eq19 and eq20 ,I cannot find them .If anyone who knows about these equations, please tell me ,thank you very much .</p>Donzi on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDonziurn:uuid:bcb70ceb-0ab5-33f2-2166-b2e82865200a2011-02-27T16:22:43-07:00<p>I have read most of the posts here and still have the following 2 questions:<br/>
1) where can I get the code (pde) that was shipped with the 9 ODF Razor board (just bought it a few days ago)?<br/>
I want to be able to restore the board to it&rsquo;s orginal state so I can grab the raw values just like it was sent when I&rsquo;m done for my next project.<br/>
2)I get the following values<br/>
$,12,62,237,383,402,366,148,-276,-559,#<br/>
$,6,56,232,378,401,367,148,-276,-559,#<br/>
$,0,51,232,370,398,366,148,-276,-559,#<br/>
$,2,54,237,366,399,363,148,-276,-559,#<br/>
$,8,51,218,366,399,360,149,-257,-561,#<br/>
What do the values in position 0,1,2,3,4,5,6,7,8,9,10 relate to? (ex which one is speed, heading, pitch, yaw, roll, g&rsquo;s etc)<br/>
Thanks for any help you can provide</p>aarobc on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleaarobcurn:uuid:70af4dce-33cc-23cd-2c27-9b935712ccf12011-02-25T14:48:52-07:00<p>They sent me a new one and the new one works just fine. Probably was a bad batch.</p>AdamW on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAdamWurn:uuid:13e814d4-fca7-f2e6-b8e3-ea78f4ddedbf2011-02-25T12:00:24-07:00<p>I really need some help. Trying to do something I think should be really easy&hellip;but I am struggling. I know it&rsquo;s ill-advised to determine position from an accelerometer only, but I am trying to create a demo where I can detect that I have moved my board X meters (overall magnitude, so sqrt(x<sup>2</sup> + y<sup>2</sup>) is fine. With the board completely still, and running through some corrections from the AHRS project, I get reading such as below.<br/>
Acc X: -1.0 Acc Y: -1.0 Acc Z: 248.0,<br/>
Acc X: -2.0 Acc Y: 1.0 Acc Z: 248.0,<br/>
Acc X: -3.0 Acc Y: 0.0 Acc Z: 247.0,<br/>
Acc X: 0.0 Acc Y: 1.0 Acc Z: 245.0,<br/>
Acc X: 1.0 Acc Y: -1.0 Acc Z: 246.0,<br/>
Acc X: -1.0 Acc Y: 1.0 Acc Z: 248.0<br/>
First off, does the sensor think it is reading -1m/s<sup>2</sup> in the x and y coords for the first case? Also, with that much fluctuation, how can I ever get a reading worth using? Thanks for any help!!</p>Young Maker on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleYoung Makerurn:uuid:2f3a12c9-f008-7dd3-97c0-a55465d859452011-02-23T15:34:18-07:00<p>Not sure. Standard TTL/RS232 Asynchronous Serial is 9600 so try use that as your default</p>JureZ on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJureZurn:uuid:078de520-e67c-41f8-98f4-a947ddf4f35d2011-02-23T00:43:41-07:00<p>Hi, I would like to know what is the frequency of the output stream? I use default settings 38400-8-N-1 with v.18 firmware board version. I measure time intervals between each line and they vary between even less then millisecond to around 0.04. The average is around 0.012s.<br/>
I do not have enough skills in MCU handling that&rsquo;s why I am asking for a help!</p>Customer #37419 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #37419urn:uuid:dd8b80fd-6d63-b2ca-38f9-7381198eb0a02011-02-22T09:52:30-07:00<p>Is this board compatible with Ardupilot Mega? Please reply.</p>Customer #198960 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #198960urn:uuid:ba9b4281-ff22-f4a6-ada2-b7dd2266cc462011-02-16T09:30:28-07:00<p>Hello friends&hellip;<br/>
i am using 9dof imu board&hellip;.i have installed arduino 18 and python&hellip;.blinking test code is working&hellip;.but i m facing problem in uploading AHRS code&hellip;its showing types.h no such file or directory&hellip;..please help me&hellip;how to add directory of i2c,types &amp; defs.h in the arduino 18??<br/>
thank you in advanced&hellip;</p>Pdf417 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePdf417urn:uuid:7f3135d5-1338-7c1a-b7d6-18cda69634482011-02-16T09:23:41-07:00<p>Hi,<br/>
Could someone please point me to the original code that came in the 9DOF. I uploaded the AHRS version but its not the right one for me. All links in these comments seem to be for the 16MHz version. I just received the 9DOF a couple of weeks ago and I think I have the 8MHz version. How can I tell which version I have?<br/>
Any help would be appreciated.</p>Pdf417 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePdf417urn:uuid:52b486f8-b8e3-810d-1575-840c6abca3362011-02-13T08:27:36-07:00<p>Thanks Bill, But it didn&rsquo;t go exactly as described. I managed to work my way around it based on your description and arduido hack pages.<br/>
What worked was as follows (for rookies like me).<br/>
1. I built a Parallel programmer (http://arduino.cc/en/Hacking/ParallelProgrammer)<br/>
2. Changed the filename and f_cpu in \hardware\arduino\boards.txt to &ldquo;ATmegaBOOT_168_atmega328_pro_8MHz.hex&rdquo; and 8000000L respectively (I&rsquo;m running an 8MHz board).<br/>
3. Loaded the Arduino software and selected Tools -> Burn Bootloader -> w/Parallel Programmer.<br/>
Details are all in here - http://arduino.cc/en/Hacking/Bootloader</p>Environmator on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleEnvironmatorurn:uuid:1f860080-e99f-7d19-1ffe-8f9762fe2a162011-02-12T17:46:55-07:00<p>I am trying to interface this IMU with my laptop as is shown in the video above and am completely lost. When I plug it in via USB port using the FTDI basic breakout. My laptop sees the FTDI basic breakout as new hardware, but that is where things stop. Any help is appreciated.</p>Scotty on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleScottyurn:uuid:e19cd762-e41b-82fd-873d-81b5a1db30292011-02-11T14:49:36-07:00<p>There didn&rsquo;t seem to be much lag in the video, but does anyone know how many times a second this outputs new data? Hz? Thanks</p>Nicko on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleNickourn:uuid:f5996a59-db67-4c20-a204-59c19996195e2011-02-09T13:01:27-07:00<p>mmmmmm! Same problem as me. No serial comms at all! Might be a bad batch.</p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:bc628541-0af1-f8ec-185a-fa26133ef1482011-02-01T21:19:06-07:00<p>I should note that I bought the IMU 1 year ago. Not sure if that matters</p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:b84cac01-ea76-bd99-8bbf-d6195faa322b2011-02-01T20:44:21-07:00<p>I updated the firmware, so that I could get the IMU to work with an xbee.<br/>
Well&hellip;it worked on my serial port before the update. It would initialize, give me the menu, and the data made sense.<br/>
Now it does this through my serial port:<br/>
http://code.google.com/p/sf9domahrs/issues/detail?id=18<br/>
(I tried firmware 1.1 and 1.0)</p>Customer #190691 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #190691urn:uuid:0a0d9a2b-6fba-e38a-ff5f-276b41e879872011-01-29T13:59:02-07:00<p>What are the 6 through hole connections on the side of the board, right by the arudino? Are they unused inputs/outputs? Struggling to find them on the schematic, and they don&rsquo;t seem covered anywhere.</p>aarobc on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleaarobcurn:uuid:17829287-2bbc-e4fc-8f00-18f5d538e10a2011-01-29T00:19:15-07:00<p>I just spent 7 hours trying to get mine to work, and it&rsquo;s not outputting anything at all. It makes me sad, I hope it&rsquo;s not defective.</p>Aurelio on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAureliourn:uuid:e6a9366a-06f7-ac02-3248-d7e51a3521f92011-01-28T05:28:08-07:00<p>Thanks Niz&hellip;.. have you built something around this board? I am interested. Also surprised at the cost of more modern gyros and accels. I just want to make sure accuracy is still decent and the board is tested&hellip;</p>DitchesHurt on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDitchesHurturn:uuid:5f3be6d6-37b6-ebff-5405-3b670108840f2011-01-27T12:20:00-07:00<p>One design flaw I&rsquo;ve come across with this board; when powering it from the header interface I have to add an additional 30+ degrees correction factor in addition to my local declination to get it oriented to true north. I think I have discovered the source of this offset. Near the magnetometer (between the comm header and SPI programming connections) there is a power trace. I did notice that there is a grounded plane on either side of it. However, unless there is an equal and opposite current flowing parallel to this power trace there would be a magnetic field setup in a plane orthagonal to this power trace. Others thoughts on this subject are welcome!</p>NerdyFirefighter on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleNerdyFirefighterurn:uuid:4d23589f-f1b4-2a32-4462-8d822879fa152011-01-27T10:16:40-07:00<p>Without getting into it too deeply would anyone have any comments on whether to pursue this or the IMU shield for UAV development?<br/>
The other option ( http://store.diydrones.com/product_p/br-0013-01.htm ) has some extra bells and whistles but I&rsquo;m more interested in component choices and overall system accuracy/precision.<br/>
Any inputs?</p>what on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblewhaturn:uuid:f66a202d-1641-cece-7d57-805a8a64a1462011-01-26T07:56:56-07:00<p>Does anyone know how to modify AHRS code to calculate position and velocity in 3D translation or full 6DOF displacement?</p>Niz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleNizurn:uuid:4cd50fba-b71d-0361-016c-a9e48b08281d2011-01-25T17:35:09-07:00<p>Hi, I have a 1"x 1" small PCB that does 6 degrees of freedom on batch PCB.<br/>
http://batchpcb.com/index.php/Products/51805<br/>
I2C interface<br/>
total BOM &lt; $25</p>Customer #163945 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #163945urn:uuid:d5c941af-8e11-ce65-cd2b-ef863574b4ab2011-01-21T11:31:47-07:00<p>prompt me please formulas for determination of pitch and roll using x_accel,y_accel&hellip;..,y_mag,z_mag</p>tax on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletaxurn:uuid:6a9ba47c-fb38-72d9-3042-baa55532c53f2011-01-18T03:29:34-07:00<p>I am working on a project where im using multiple Razor boards to measure orientations of the human body. Think of it as a simplistic motion capture system.<br/>
Therefore I need to aquire data from several Razor boards and gather them on a Netduino. My problem is that I havent got more than one serial port on the Netduino, and I would like to save that for debugging.<br/>
My idea was that I could have the AVR on the Razor board output I2C on two unused pins. Effectively making the AVR an I2C bridge. I need to have two I2C busses, to avoid address conflicts between sensors on the Razor boards. As I understand it they have static addresses.<br/>
I would like your comments and feedback. There might be better ways, and it might not be possible at all.<br/>
Im thinking can I do I2C on 2 generic pins?<br/>
And is it possible to have two instances of Wire.h coexisting?<br/>
I am aware that it would require some modding of the board, but im willing to do that.<br/>
Kind regards<br/>
tax</p>IL Denizen on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleIL Denizenurn:uuid:674be1f4-b8ea-3d8c-7136-c5acc2700bee2011-01-16T16:36:05-07:00<p>Just purchsed my Razor IMU - added a header, connected 3.3v FTDI cable, and have data showing on com port through hyperterminal.<br/>
Mag data looks good, gyro data looks good, however the accelerometer data shows as 0,0,0, no matter what is going on with the Razor IMU.<br/>
As I have not really done anything yet, should I try anything else? Or is this some defect/issue?<br/>
Thanks for the help!</p>Customer #171051 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #171051urn:uuid:40c8b5fb-c4b5-cb29-c534-7d0e068453852011-01-14T14:46:54-07:00<p>hi, anyone know, how to read gyro reading?</p>LOMA on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleLOMAurn:uuid:5c561b93-0cbb-a929-71cc-d7099582ddb12011-01-10T03:21:12-07:00<p>hi!<br/>
Baud rate seems bad !</p>Dan_ex on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDan_exurn:uuid:4d8a4cf5-5774-3dde-02c1-6445ee2b35192011-01-09T18:37:11-07:00<p>Интересно узнать данную штучка в действии, можете порекомендовать её аналоги, а-то что-то много негативных отзывов о данном компоненте&hellip; спс. :)</p>Fisek on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleFisekurn:uuid:1b4ee835-d14a-c580-ef0e-8858dc15d4052011-01-07T01:48:11-07:00<p>Hi,<br/>
My interface with python is working fine instead of uncalibrated data i am receiving. How to calibrate, anyone has an idea?<br/>
Furthermore, whenever I reset my razor IMU, it just deletes the first calibrated data and fix the position of the IMU as 0,0,0 coordinates (although it is not). So my questions are; how to calibrate the IMU? And how to save the calibrated data once it is set?</p>Fisek on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleFisekurn:uuid:d74d0c23-31f4-4847-2ece-0ff4b1194d342011-01-06T06:18:50-07:00<p>Can you be able to solve this problem. Because I am experiencing very much the same problem. Anyone knows how to fix this?</p>LOMA on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleLOMAurn:uuid:1e2c06f6-efbf-a51c-0a85-98f30ce5d2432011-01-05T13:41:30-07:00<p>Hello ( sorry for my bad english, i&rsquo;m french)<br/>
I bought this item, and a FTDI 3.3V Breakout.<br/>
The Firmaware version is &ldquo;9DOF IMU software V18"<br/>
I install "Arduino 0022&rdquo; and upload &ldquo;SF9DOF_AHRS_1_1.zip"<br/>
Change Com9 by Com3 in python file and it run find.</p>Customer #171051 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #171051urn:uuid:61cb0828-475b-c322-274c-4b9e10e9da8c2011-01-05T03:54:25-07:00<p>hi everyone, i got a big problem here.<br/>
I already bought this 9dof sensor and 3.3V FTDI Basic Breakout. I run this sensor in arduino software using the code in<br/>
http://code.google.com/p/sf9domahrs/downloads/list (SF9DOF_AHRS_1_0.zip).<br/>
the output data works fne, except the euler angle of pitch and yaw is not correct. could anyone help me with the code? why the pitch and yaw angle is messed up whilst roll angle is quite fine??<br/>
thanx in advance</p>shaunmac on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleshaunmacurn:uuid:23bb749a-d873-df96-399e-b5e5b2733ffb2011-01-05T03:51:21-07:00<p>Hi folks,<br/>
I wonder if someone would be good enough to advise me on whether the AHRS code found here<br/>
<a href="http://code.google.com/p/sf9domahrs/" rel="nofollow" >http://code.google.com/p/sf9domahrs/</a><br/>
would fit on to the ATMEGA168 chip, also bearing in mind that it is already loaded with the boot loader software.<br/>
It seems that the latest batch of 9DOF Razor IMU boards are fitted with the ATMEGA168 chip rather than the 328 :(.<br/>
Thanks,<br/>
Shaun</p>DougCoutts on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDougCouttsurn:uuid:4eeeaa1b-631d-25dc-8f48-adfb4f75841f2010-12-31T16:34:33-07:00<p>Has anyone measured the power consumption on this board?</p>YH on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleYHurn:uuid:df96a5b0-7dbf-510b-7524-1a561efc270d2010-12-31T04:32:03-07:00<p>Hi I&rsquo;ve bought this 9DOF through my local supplier and used it on my quadrotor to sense and control the attitude and heading. It worked fine initially, but after I&rsquo;ve used it for some time I noticed that the heading control is not functioning well. So I connect it to my laptop using the 3.3V FTDI and run the python code to check the attitude and heading output. The heading output was not stable and it was flickering.<br/>
So I told my supplier about it and exchanged for a new one. The new board worked well, but after a few weeks the same thing happened again. However I continued to use it for attitude readings as it was still giving stable pitch and roll output. And today after I powered up my quadrotor I noticed the green LED on the 9DOF blinking randomly while the quadrotor is on the ground. I thought that it should only turn off when the gyro saturates so I used the python program to check again. And this time even the attitude data becomes unusable.<br/>
My friend who&rsquo;s working on a coaxial heli used the same 9DOF board so I borrowed from him and compared with mine. I&rsquo;ve uploaded a video showing the output of the faulty board using the python code: http://www.youtube.com/watch?v=bbNB4Rt-QXs<br/>
I&rsquo;m using the SF9DOF_AHRS_1_1 firmware from here: http://code.google.com/p/sf9domahrs/downloads/list</p>Customer #142021 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #142021urn:uuid:9e5d3a14-4b98-7e1d-ffbe-73636ee863af2010-12-29T16:43:11-07:00<p>Please I would like to know if the 9 Degrees of Freedom - Razor IMU – AHRS compatible sku: SEN-09623 cames with every thing that is required – including the software – to be used as a attitude reference on a UAV.<br/>
Thanks for your help<br/>
Luis Gonzalo</p>Customer #182054 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #182054urn:uuid:b5da2622-bc68-e4e8-6e55-19e9454a232d2010-12-26T21:06:03-07:00<p>I got it working thanx JonT for very precise instructions.</p>Customer #182054 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #182054urn:uuid:5558f9db-a50f-4131-dd3b-6fe7d74127f92010-12-26T17:17:58-07:00<p>I just bought Razor IMU 9DOF with USB to serial board it works with Hyperterminal on XP, please guide me to get exe file to make it work on PC (like on the Tube video).<br/>
or anybody has information where to get this file I do not have complier for code&hellip;.. http://google.com/p/sf9domahrs&hellip;please help</p>Gerpus on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleGerpusurn:uuid:c294fe08-fec2-4702-1124-893222eb57a82010-12-21T20:09:50-07:00<p>I successfully flashed the part that comes with the ATmega 168 and I&rsquo;m getting very inaccurate results (or so it seems). Can anybody check my story <a href="http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=25300" rel="nofollow" >here</a>?</p>AdShea on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAdSheaurn:uuid:03b6972c-7dfb-c30e-f785-01a9465d052a2010-12-13T11:37:27-07:00<p>You probably could do it by changing the PI gains for the first tens of samples to ramp up the integrators faster.</p>TLAlexander on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleTLAlexanderurn:uuid:ba01e4a0-bc8e-80f3-2ff8-4d1529af1adf2010-12-08T18:17:26-07:00<p>Don&rsquo;t know if you ever sorted this out, but that sounds like a baud rate mismatch to me!</p>algorhythm on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblealgorhythmurn:uuid:f26ad2a9-9c07-f6f4-b885-df54ae16aebd2010-12-07T17:06:50-07:00<p>I&rsquo;m having a similar jittery problem&hellip;&lt;br /><br/>
&lt;br /><br/>
I have:&lt;br /><br/>
&lt;br /><br/>
- AHRS code on 9DOF, modified to continuously output euler values at 115200 baud.&lt;br /><br/>
&lt;br /><br/>
- Bluetooth Mate soldered to 9DOF header, sending 12 byte frames of data to a computer.&lt;br /><br/>
&lt;br /><br/>
- Simple computer-side debugging program in c to receive and display the data.&lt;br /><br/>
&lt;br /><br/>
Sometimes it pauses and then seems to make up for the pause by spitting out a ton of data at once, and sometimes it just stops entirely.&lt;br /><br/>
&lt;br /><br/>
I wonder if it may be the 9DOF slowing down since I have it sending data as fast as possible?&lt;br /><br/>
&lt;br /><br/>
Perhaps I should be using raw input mode instead of canonical mode when I initialize my terminal to receive the data?&lt;br /><br/>
&lt;br /><br/>
Does anyone have experience with streaming as much data as possible via bluetooth?</p>jarjin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejarjinurn:uuid:0961e5fe-f55b-850f-0084-41e4bedca3222010-12-06T16:11:52-07:00<p>I get it to read output for baud rate 38400 through a standard window. When I tried it on the python code, it gave:&lt;br /><br/>
&lt;br /><br/>
,29,-265,14,373,375,367,-129,666,-4,#&lt;br /><br/>
&lt;br /><br/>
&lt;br /><br/>
Invalid line&lt;br /><br/>
&lt;br /><br/>
Traceback (most recent call last):&lt;br /><br/>
File &ldquo;\filer\jrumack\ms_windows\cpsc_redirected\Desktop\IMU_Razor9DOF.py&rdquo;, line 114&lt;br /><br/>
L1.text = str(float(words[0]))&lt;br /><br/>
ValueError: could not convert string to float: &lt;br /><br/>
&lt;br /><br/>
any ideas?</p>jarjin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejarjinurn:uuid:341d3c50-392a-6801-967f-4ebae7b4ca7d2010-12-06T14:15:40-07:00<p>I recently had a similar problem and found the paper at: &lt;br /><br/>
http://delivery.acm.org/10.1145/1470000/1460250/a18-torres.pdf?key1=1460250&amp;key2=8763761921&amp;coll=DL&amp;dl=ACM&amp;CFID=598080&amp;CFTOKEN=28135307 &lt;br /><br/>
to be helpful. Didn&rsquo;t get it to work (had trouble since there were magnets interfering with my IMU), but when I picked accelerations and gyroscope values, they followed expected/calculated paths</p>pmhassin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblepmhassinurn:uuid:9b84cd0c-fce0-1f46-193e-a638e7b0b1b42010-12-01T18:05:49-07:00<p>has anyone tried to use the heading angles and the accelerometer data to project accelerations onto an earth fixed frame? Then these values could be integrated to get velocity and, if the noise isn&rsquo;t too bad, position?&lt;br /></p>pmhassin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblepmhassinurn:uuid:8f782d00-56e2-85be-2720-b4817629f5132010-12-01T18:04:14-07:00<p>has anyone tried to use the heading angles and the accelerometer data to determine accelerations in an earth fixed frame, that could then be integrated to get velocity and position?</p>Customer #166594 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #166594urn:uuid:156e3fd5-b17f-8080-d857-05d49e995e4e2010-11-29T20:05:04-07:00Customer #166551 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #166551urn:uuid:9daefe16-dbf5-4bcc-08b9-311ceac3669e2010-11-29T18:03:00-07:00<p>Just received Razor IMU board. I am new to Arduino. After building SF9DOF_AHRS I attempt to download and receive the following error:&lt;br /><br/>
&lt;br /><br/>
avrdude: stk500_getsync(): not in sync: resp-0x0c&lt;br /><br/>
avrdude: stk500_disable(): protocol error, expect 0x14, resp=0x0c&lt;br /><br/>
&lt;br /><br/>
The test firmware over serial port works fine.&lt;br /><br/>
&lt;br /><br/>
I get the feeling I am missing something really basic here about uploading to the board, however I checked the troubleshooting guide and nothing obvious stood out.&lt;br /><br/>
&lt;br /><br/>
Any ideas?&lt;br /><br/>
&lt;br /><br/>
Thanks,&lt;br /><br/>
Dave</p>Customer #138833 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #138833urn:uuid:68a5cb0a-30d9-dd1a-b0da-7322bc7d9f782010-11-29T04:42:18-07:00<p>Hi All,&lt;br /><br/>
I recently bought this product. I am trying to see the output on a PC using terminal program. I havent changed the firmware. Can I connect it directly to the PC using a serial-to-usb connector? what is the baud rate the terminal program should be set to?&lt;br /><br/>
Please help.</p>bob monsen on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblebob monsenurn:uuid:ab4f647a-6a5e-e0d0-359e-e30986ed3fa52010-11-28T21:04:03-07:00<p>I&rsquo;m getting intermittent values of 255 from the accelerometer, but only on the y axis. Has anyone else seen this?&lt;br /></p>virtual on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblevirtualurn:uuid:3a8bc0d6-2ff1-47c5-8ef7-5b95b78403732010-11-28T10:39:10-07:00<p>i get the 9dof sensor, then i try to upload 9DOF AHRS with ardu duemilanove then set &ldquo;Arduino Pro or Pro Mini (3.3V, 8MHz) w/ Atmega328&rdquo; and arduino program said done uploading but when i try in serial with baut rate at 57600,the yaw pitch and roll didn&rsquo;t show.anyone have any solution? thx</p>Customer #139285 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #139285urn:uuid:1a72f677-fd75-6e96-e0c9-35fd72bcef912010-11-26T21:20:16-07:00<p>Mine worked with the baud rate on the XBees set to 57,600 (this is +++ATBD6[enter]) The SF9DOF_AHRS.pde code sets the IMU to output at this rate.</p>Customer #139285 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #139285urn:uuid:a52cf604-eb5b-5105-d7e6-479cebd8e39e2010-11-24T20:07:47-07:00<p>oops, sorry, that was meant for one post above</p>Customer #139285 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #139285urn:uuid:70770590-735b-df5c-e2f0-0507613f1fb02010-11-24T20:06:12-07:00<p>If you just open a terminal to the correct port with the baud set for 57,600, do you see readable output? The data is a series of lines like this:&lt;br /><br/>
!ANG:-3.56,-3.39,92.35</p>Customer #139285 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCustomer #139285urn:uuid:4c9bbb7e-90ca-0449-1b3a-eb6bd5401c1f2010-11-24T18:48:37-07:00<p>To get the code to upload to the Razor, I found it necessary to press the reset button shortly after clicking upload in Arduino. Otherwise, I got the no-sync message others have reported.</p>rocketbob on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerocketboburn:uuid:14a51db8-e4e5-3052-58f6-3944a1f58e772010-11-21T17:29:58-07:00<p>I&rsquo;ve got sf9domahrs running on my board but getting the python interface installed has proven to be impossible on 64-bit Windows 7. Python itself installs but I cannot get pywin, pyserial or vpython to work with Python 2.7. Is there a simpler test program available that I can use to visually see the output of the AHRS?</p>jarjin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejarjinurn:uuid:4ef65d8e-eb49-debc-de5d-ec6b886e7c462010-11-15T17:21:23-07:00<p>I recently got the board, along with an FTDI Basic and miniB cable to plug into my USB. I tried testing it using the python code given from the code base, but it never reads any of the information. I made sure to change it to the right com serial port, but I only get junk. Any ideas what&rsquo;s wrong?</p>bzerk on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblebzerkurn:uuid:74bd2cdb-2986-6a3c-50f7-3a3c096ff0e22010-11-08T12:30:39-07:00<p>Oops. Meant the CHR-6dm. My bad.</p>bzerk on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblebzerkurn:uuid:c2ac0b6e-3c51-2b0a-fb98-bcccf2c7cb282010-11-08T11:17:43-07:00<p>Heh. You and everyone else. Check out the CH Robotics CHR-6d firmware.<br/>
<a href="http://www.chrobotics.com/index.php?main_page=page&amp;id=3" rel="nofollow" >http://www.chrobotics.com/index.php?main_page=page&amp;id=3</a><br/>
The chr6d_states.c file is what you&rsquo;re most interested in.</p>pmhassin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblepmhassinurn:uuid:09ec5d73-26f4-262f-78d9-359906d7a23d2010-11-01T19:48:03-06:00<p>I&rsquo;d like to access accel values projected onto the earth frame. I suspect the DCM code already has this functionality built in somewhere, but I am having a difficult time following all aspects of the code. If this functionality is built in, what is the variable name for it?</p>Blom on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBlomurn:uuid:7cf89c38-f6c8-c92d-dc9c-0b7a850943892010-10-31T15:22:23-06:00<p>I got raw data from the IMU but what does the values meen?<br/>
Like for the last 3 (magnetometer I guess) what do the values meen?</p>vbento on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblevbentourn:uuid:015e69d8-62e0-b1d1-2a0d-561f904a01b52010-10-29T16:04:18-06:00<p>Has anyone added the arduino code for the magnetometer offset nulling?</p>Nelson on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleNelsonurn:uuid:bf146e59-486e-82f2-b26f-cbe12a57375a2010-10-28T16:36:59-06:00<p>I just got my Razor working with the XBee Explorer. I was having trouble getting the baud rate correct. I found that I was setting the board to the wrong type. I have the 328 and the correct board setting (Tools/Board) is &ldquo;Arduino Pro or Pro Mini(3.3v, 8 MHz)w/ ATmega328&rdquo;. It works with the baud rate set to 115200 with the Python display code. I also did have to change the baud rate in the python code.</p>S.K.H on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleS.K.Hurn:uuid:c24883d4-4a3e-36c4-7005-166fe87378e42010-10-23T17:48:19-06:00<p>Hi;<br/>
Does it work for ATmega328 too?<br/>
Thanks</p>gke on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblegkeurn:uuid:906c5785-f7a8-c5e5-107e-eeb71c5238342010-10-13T21:48:15-06:00<p>I have rewritten the original SF9DOF_AHRS V1.1 code and re-included the features of V1.0 while still allowing it run on the Atmega168. The free running update rate with representative binary attitude output is ~160Hz. I did this as part of an evaluation for use in future implementations of UAVX.<br/>
The code is at:<br/>
<a href="http://code.google.com/p/uavp-mods/downloads/list" rel="nofollow" >http://code.google.com/p/uavp-mods/downloads/list</a><br/>
Having an I2C connector would have been VERY useful if that can make its way into future versions of the board:).<br/>
Greg</p>Kalmanfilter on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleKalmanfilterurn:uuid:38be02ce-a90a-7c15-1428-20f169c50d282010-10-13T14:04:19-06:00<p>Hi,<br/>
I need to code Kalman filter on this unit.<br/>
Can anybody help me?<br/>
Best Regards</p>S.K.H on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleS.K.Hurn:uuid:a1143ec4-50e8-a46c-2d8c-e45c603947452010-10-07T11:27:25-06:00<p>I bought one on 3Oct, ATMEGA chip is 328. Be happy:)</p>Rich10 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRich10urn:uuid:8feb19fa-65a0-46e9-17dc-18a3faf28ee92010-10-07T08:10:16-06:00<p>Is the ATmega chip the 328 or the 168 on the stock as of 7-Oct-2010? The last two that I bought had the 168 (during the time that the 328 was unavailable).<br/>
The university that I work with would like to buy a couple of these, but they want to be able to change the program. The 168 is full with the AHRS code and they really do not want to change the chip.</p>vbento on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblevbentourn:uuid:b4240af4-7b29-d771-ac1d-74f44baf21cc2010-10-07T06:34:51-06:00<p>Tks man. I was having a problem reading the data. Tried almost everything, it turns out that the problem was the board.</p>S.K.H on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleS.K.Hurn:uuid:7457b71c-f3b8-e361-70b1-f2a176e9ae262010-10-06T23:16:58-06:00<p>Does any body have any documentation for the concept of written code in Python (IMU-Razor9DOF) for those who doesn&rsquo;t know this language?<br/>
<a href="http://code.google.com/p/sf9domahrs/downloads/list" rel="nofollow" >http://code.google.com/p/sf9domahrs/downloads/list</a><br/>
I already learn some of the syntax but it is very useful to know the pseudocode first.<br/>
Thank you</p>S.K.H on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleS.K.Hurn:uuid:3a4d8e2d-04d0-f704-a32f-3d97c31222282010-10-06T12:36:45-06:00<p>Hey JOn;<br/>
Thanks for your info.<br/>
I have a problem in the following part of your explanations.<br/>
Install pywin for 2.7 from <a href="http://sourceforge.net/projects/pywin32/" rel="nofollow" >http://sourceforge.net/projects/pywin32/</a><br/>
Install pyserial from <a href="http://sourceforge.net/projects/pyserial/files/" rel="nofollow" >http://sourceforge.net/projects/pyserial/files/</a><br/>
Install Vphyton from <a href="http://vpython.org/contents/download_windows.html" rel="nofollow" >http://vpython.org/contents/download_windows.html</a><br/>
I tried to install pywin using cmd, but it gave me an error.<br/>
So far I could run the example file by VIDLE for VPython, although I cannot see any out put because of probably the version (my python is 2.7).<br/>
Could you help on this?</p>UMaineHPS on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleUMaineHPSurn:uuid:52f9db05-d0c6-e923-6b21-9bbd67c3557c2010-09-29T19:37:00-06:00<p>I&rsquo;m part of a team at the University of Maine that is making a Human Powered Submarine for ISR11. We plan on using an auto-pilot system but don&rsquo;t have much experience with gyros, accelerometers, servos etc. We plan on using a National Instruments cRIO 9022 as our controller. Is this compatible with the Razor IMU? Can anyone provide some books/websites or other references that can help us with making the connections between our controller and various sensors and servos? Any help is very much appreciated!</p>PIND on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePINDurn:uuid:0c1e6241-68d6-659c-5cbb-1918f53572142010-09-29T16:16:00-06:00<p>Hi Everyone,<br/>
Do anyone know whether or not can we increase the frequency of the loop that the firmware is operating? Right now its 50Hz in the code that i downloaded from <a href="http://code.google.com/p/sf9domahrs/downloads/list" rel="nofollow" >http://code.google.com/p/sf9domahrs/downloads/list</a>. I need to increase it to 100Hz, is that possible or this frequency of operation was chosen under some constraint?<br/>
Any help will be appreciated.</p>titan on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletitanurn:uuid:304be44f-21e3-8c1c-e12f-a965ce35260f2010-09-28T10:59:22-06:00<p>I am getting ready to send my board in for repair/replacement. When doing a self-test I always get the magnetometer returning &lsquo;BAD&rsquo;, tech support tells me that this is normal. However when looking at the magnetometer output, X and Y appear to work fine while the z-axis is reporting values from -650 to -700. The z values on the magnetometer do not respond to rotations about the z-axis.<br/>
Any ideas before I send the board back. Thanks!</p>rawebb on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerawebburn:uuid:806c742f-e3c5-ca3b-14f2-244b589e04bc2010-09-26T14:54:23-06:00<p>Just to follow-up on this &hellip;<br/>
Tagging a couple 6.8Ks to the SCL and SDA lines helps a lot to clean up the appearance of the I2C bus. There&rsquo;s plenty of room to superglue a couple of 0805s to the soldermask and then add some &ldquo;field change&rdquo; 30 gauge wires to the processor pins and also to 3.3 V.<br/>
The issue with the magnetometer seems to be that it really, <em>really</em> wants a full power cycle or else it can get hung at a fixed value (32 in my case; don&rsquo;t know if that&rsquo;s universal). It wasn&rsquo;t an I2C bus problem but I&rsquo;m happier now that the bus looks right.</p>rawebb on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerawebburn:uuid:13675e11-25ce-9cc3-3c43-e2be468cb56c2010-09-25T18:18:44-06:00<p>Very unhappy I2C bus, at least on this sample of one that I have here.<br/>
It looks like the board is depending on the 50K pull-ups that are internal to the magnetometer and that is way too much to run a 200 Kbps I2C bus. I&rsquo;m seeing a rise time (standard 10%-90%) of more than 2 usec, twice the maximum for a even a &ldquo;standard mode&rdquo; 100 Kbps I2C bus.<br/>
The accelerometer (which shares the I2C bus) seems to be okay with it but the magnetometer isn&rsquo;t talking. Maybe it&rsquo;s dead but I suspect that tagging the SCL and SDA lines with 7.5K or 6.8K will do the trick.</p>NardS on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleNardSurn:uuid:8780eaaf-693c-8155-6ce4-aba62c3cc3752010-09-24T09:31:35-06:00<p>I&rsquo;m testing a new 9DOF Razor IMU (sku: SEN-09623). I bought it in Italy few days ago.<br/>
My suspect is integrated LPR530AL 2 axis gyro is not working properly.<br/>
I&rsquo;m testing it using original firmware, viewing gyro sensor data.<br/>
Moving the board, the value of Z axis gyro change only. X and Y axis (LPR530AL chip) values don&rsquo;t change when i move board (fast or slow) in any directions.<br/>
Accelerometers and magnetometers work correctly on any axis. Gyro works on Z axis only.<br/>
X and Y gyro displayed values usually start from a around 400 and they decrease to 0 in few minutes after power on, regardless board movement.<br/>
Connection used : serial RX/TX, GND and 3.3 pins only. Board is connected to (and powered by) my pc using FTDI breakout.<br/>
Is it dead ?</p>JohnAbshier on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJohnAbshierurn:uuid:a49438e0-8274-fde0-0249-57082e65fb0a2010-09-22T13:13:52-06:00<p>If you don&rsquo;t want to post code, I would appreciate a reference to the calibration algorithms for both accelerometers and gyros.<br/>
John Abshier</p>MANOLINPINGUIN on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMANOLINPINGUINurn:uuid:d1cace14-7920-eb40-8826-a6512d13ce7a2010-09-20T21:47:47-06:00<p>Does anyone know if there is a way to tap into a pin for input (i.e. a button, or even a infrared sensor)?<br/>
I am a beginner so reading the schematic could take me forever.<br/>
Thanks.</p>MANOLINPINGUIN on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMANOLINPINGUINurn:uuid:8c9628f2-785a-4460-7ef8-48718738a1ef2010-09-20T21:43:10-06:00<p>I&rsquo;m working on a project with similar requirements (position estimation). If you want to share ideas, let me know and I&rsquo;ll send you contact info.</p>Logan Greenlee on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleLogan Greenleeurn:uuid:858c0aae-5917-2d87-8c94-0098236f6c932010-09-19T17:39:55-06:00<p>Any chance you could share your code? Is it arduino or AVR?</p>Drazziweht on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDrazziwehturn:uuid:df6cd74c-a382-5fc6-0c99-8ccb3fb62c3b2010-09-16T10:55:32-06:00<p>Am using this board to make a flight logger for gliders flying aerobatics (full size gliders).<br/>
Just wanted to say am impressed so far by the board.<br/>
Have completed the initial firmware to allow calibration of the board accelerometers and the results are as good as much more expensive IMU&rsquo;s. Have not finished the gyro cal routines yet but some quick tests show drift rate after initial bias correction to be below 1deg/min.<br/>
A real bargin compared to some of the $1000+ units once it is correctly calibrated.<br/>
Example accuracy of board after 14 point1G tumble cal)<br/>
Offsets<br/>
-15.171142 -7.42442 25.0406<br/>
Calculated axis misalignments (degrees)</p>
<h2>X= 0.066 Y=-1.094 Z= 0.358 </h2>
<p>Max X Error 5.479 at cal pos 9 (0.558%)<br/>
Max Y Error 4.096 at cal pos 13 (0.418%)<br/>
Max Z Error 7.242 at cal pos 5 (0.738%)<br/>
Total error using 14 positions 95.098 ave error 2.264</p>King on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleKingurn:uuid:3e064dd7-441a-1f6d-dfb6-d1ced10c184f2010-09-13T13:31:05-06:00<p>On the 9DOF AHRS code, i would like to have the magnetic bearing information in the output stream. Anbody know how I can add that?</p>tom007stud on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletom007studurn:uuid:056a6459-c2a8-5375-7024-d6fe92c4369a2010-09-04T11:09:30-06:00<p>Anybody notice it takes about 400 or so outputs to stabilize from power up (the first 400 samples or about 10 sec worth of data are ramping to a limit if the board is powered up and left still)? Any idea why? Is it just the complexity of the math pipelining it&rsquo;s way through all the calculations to the output? Can anyone get rid of this initial drift other than waiting?</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:d14ee960-ae95-b3a6-ca90-1f062f869c962010-09-01T13:29:00-06:00<p>No problem. Contact tech support at techsupport@sparkfun.com and they can help you.</p>MANOLINPINGUIN on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMANOLINPINGUINurn:uuid:07a018b5-ec29-2a61-8d7f-b0bd64cfc3dc2010-09-01T13:16:28-06:00<p>I&rsquo;m sorry. I am really not familiar with this. When I download the Test Firmware it looks like a C program file. How can I compile it and upload it to the board?<br/>
Thanks</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:a1650ee6-8113-abcc-b974-902e81d6b0ea2010-09-01T08:56:57-06:00<p>You can program this just like an Arduino,using an FTDI basic. Check the forums, there is a lot of discussion about loading code there.</p>MANOLINPINGUIN on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMANOLINPINGUINurn:uuid:c77969e9-9699-6443-642f-5dc0ebd0309b2010-08-31T22:57:30-06:00<p>Can anyone help me?<br/>
1. How can I backup the firmware?<br/>
2. How can I upload the Test Firmware?<br/>
I am completely new to this so I&rsquo;m sorry if the question seems dumb.<br/>
Thanks</p>Chris S on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleChris Surn:uuid:bbd8e875-fe65-6532-07c4-901f44cc7ca02010-08-27T07:54:27-06:00<p>Hmm&hellip; I just got one of these sensors. I flashed it to the AHRS code and tried to read it with the Python GUI. the big problem is that the sensor is amazingly off and the numbers it&rsquo;s returning are very, very jittery, or at least that&rsquo;s how the GUI made it look.<br/>
Anybody know what I&rsquo;m talking about?</p>razoropenlog on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblerazoropenlogurn:uuid:d96d1533-4aa6-fa37-5642-df336b12ea552010-08-27T05:35:50-06:00<p>Hi all,<br/>
I&rsquo;m trying to connect the Razor 9DOF (AHRS firmware v1.1) to an OpenLog v1.61 module. At 19200 bps everything works as expected but if I change the AHRS code and OpenLogs config.txt to 57600 bps it doesn&rsquo;t. The data is not completely corrupt as what happens if the baud rate is completely wrong. I can still see part of the data columns but it&rsquo;s riddled with a lot of strange characters&hellip;<br/>
Any idea what happens here? I&rsquo;ve selected &ldquo;Adruino Pro or Pro Mini (3.3V, 8MHz) w/ ATmega328&rdquo; in the GUI&hellip;</p>Chris S on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleChris Surn:uuid:2457d1f3-50e8-cc6e-a821-ea8df7d78ca02010-08-23T11:16:21-06:00<p>Thanks!</p>cow on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblecowurn:uuid:492eb661-7373-228f-0677-7ad5364a0d7e2010-08-23T10:01:33-06:00<p>Pitch should have a range of +/-90 degrees. After you pitch past vertical (90 degrees) your roll and yaw value should swing 180 degrees. A pitch value of 100 degrees is measured as a pitch of 80 degrees and inverted flight (roll = 180 degrees). Another example is a pitch of 180 degrees (upside down)&hellip;this is measured as a level pitch (0 degrees) and a roll of 180 degrees. Hope that helps.</p>tom007stud on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletom007studurn:uuid:a2765c12-36b2-411e-e767-f59e177199242010-08-22T17:43:30-06:00<p>Anybody notice the pitch value range is only shown between -80 degrees and +80 degrees? Does anyone know why? Why doesn&rsquo;t it work between -180 and +180 like the roll and yaw?</p>cow on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblecowurn:uuid:ee397f4f-63a6-400a-0a60-00249746cab62010-08-20T12:55:18-06:00<p>I too am interested if samoc&rsquo;s calculation is correct. If it is, then I&rsquo;m getting -365 to 600 degrees per second instead of +/-300 as I&rsquo;d expect based on data sheet. I am spinning board in both directions and purposely trying to saturate the sensors, but I expected them to saturate near +/-300 degrees/sec. Also, is there any way to get the 1X range of +/-1200 deg/sec so I can measure higher rates than +/-300?</p>Hugo on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHugourn:uuid:8c76e82f-4fc2-5dca-df2f-fe7828073a6e2010-08-20T03:55:51-06:00<p>Thank you.</p>JonT on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJonTurn:uuid:5708d4f4-4252-a856-6782-fa38959cd7022010-08-20T00:12:04-06:00<p>For Dummies! I got mine working. This is what I would have liked to be told:<br/>
Download arduino programming environment from www.arduino.cc<br/>
Plug in board via FTDI basic, make sure windows finds the serial to USB device<br/>
Check com port assigned in Device Manager<br/>
Use Arduino serial monitor to check device is working (push reset button on Razor!)<br/>
Download Razor code and python code from<br/>
<a href="http://code.google.com/p/sf9domahrs/" rel="nofollow" >http://code.google.com/p/sf9domahrs/</a><br/>
Download Razor code using Arduino:<br/>
Set correct board (Pro or Pro mini, 328)<br/>
Set correct port<br/>
Download Razor code<br/>
Then DO NOT follow header instructions in python code as versions have changed<br/>
First Install Python 2.7<br/>
Install pywin for 2.7 from <a href="http://sourceforge.net/projects/pywin32/" rel="nofollow" >http://sourceforge.net/projects/pywin32/</a><br/>
Install pyserial from <a href="http://sourceforge.net/projects/pyserial/files/" rel="nofollow" >http://sourceforge.net/projects/pyserial/files/</a><br/>
Install Vphyton from <a href="http://vpython.org/contents/download_windows.html" rel="nofollow" >http://vpython.org/contents/download_windows.html</a><br/>
Then copy python IMU code into any appropriate directory and run!</p>samoc on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesamocurn:uuid:192ef440-5458-ca32-8d83-d14d86e113782010-08-14T06:55:05-06:00<p>Can you please confirm if I&rsquo;ve got this right.<br/>
for gyro deg/s<br/>
sensitivity = 0.83 // as per datasheet<br/>
zeroLevel = 1.23 // as per datasheet<br/>
degPerSecond = (gyroX * 3.3/1024 - zeroLevel)/sensitivity<br/>
angle = degPerSecond * elapsedTime + previousAngle</p>samoc on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesamocurn:uuid:5838fe23-1a32-1a66-a636-94322bd37c602010-08-14T05:56:10-06:00<p>Awesome, thank you. Can i ask how i would go about converting values received from the gyro to degrees/s or even better to actual angles.<br/>
When the board is laying flat i am getting readings of 377, 374, 380;<br/>
Cheers</p>Roygul on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRoygulurn:uuid:afc9600c-7477-02f8-65ce-42878eca7b322010-08-13T19:42:05-06:00<p>This arrived the today. The test software seemed to work fine, and I have loaded the ahrs software on it.<br/>
Myproblem is that it blocks while trying to talk to the ic2 bus.<br/>
Following Code Lifted from the i2c module of ahrs.<br/>
Serial.println(&ldquo;Start AccelAddress&rdquo;);<br/>
Wire.beginTransmission(AccelAddress);<br/>
Serial.println(&ldquo;Start Send&rdquo;);<br/>
Wire.send(0x2D); // power register<br/>
Wire.send(0x08); // measurement mode<br/>
Serial.println(&ldquo;End AccelAddress&rdquo;);<br/>
Wire.endTransmission();<br/>
Serial.println(&ldquo;AccelAdress Done&rdquo;)<br/>
I get all the serial messages excpet the last one. Seems to block when it executed Wire.endTransmission.<br/>
Driving me nuts. I tried loading the factory test firmware back and thats another story :).</p>Shifted on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleShiftedurn:uuid:aa22393c-bda2-bc05-62fd-91fd90936d4b2010-08-13T13:11:53-06:00<p>Well&hellip; let&rsquo;s break it down&hellip;<br/>
The angular sensors are +/- 180 degrees. That gives a 360 degree span. The output is in ADC bits, from 0-1024 (data sheet shows it is a 10 bit ADC).<br/>
So, to get the right value, you can use the formula (for degrees):<br/>
Angle = (360 / 1024) * ADC Value<br/>
Which for your two examples, gives:<br/>
Angle = (360 / 1024) * 150 = 52.734 degrees<br/>
Angle = (360 / 1024) * 269 = 94.570 degrees<br/>
The span is arbitrary, if you wanted volts, replace 360 with 3.3. If you want radians use 2*Pi, etc.</p>samoc on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesamocurn:uuid:1d620ea7-ecb6-0021-69a4-99c6fe0da4382010-08-13T04:48:45-06:00<p>Hi, I?m a newbie and am a little stuck. I have just purchased a 9 DOF Razor IMU and a 3.3v FDTI breakout which I?m powering via usb.<br/>
I?m planning on building a C# application to measure tilt but can?t understand the values received from the accelerometer.<br/>
If I hold the board flat I get a reading of 0, 0 on the x and y axis?s. If I rotate the board 45 degrees on the x axis I get a value around 150. If the board is held at 90 degrees I get a value of 269. I also receive the similar negative values if the board I rotated the other direction.<br/>
What are these values I?m receiving? Are they Volts, G?s, Newton?s or something else? How do I go about converting these values to accurate angles.<br/>
Any help would really be appreciated<br/>
Cheers</p>N8B on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleN8Burn:uuid:b76c887c-804a-2e9b-adb0-a42e36017e832010-08-12T15:22:56-06:00<p>The 2x3 header is for SPI communication yes.<br/>
The 1x6 is for serial communication. You can use the 1x6 header to connect to a gps module such as the following:<br/>
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=465" rel="nofollow" >http://www.sparkfun.com/commerce/product_info.php?products_id=465</a><br/>
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8975" rel="nofollow" >http://www.sparkfun.com/commerce/product_info.php?products_id=8975</a><br/>
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8266" rel="nofollow" >http://www.sparkfun.com/commerce/product_info.php?products_id=8266</a><br/>
What these module have in common is a serial data output. This 1x6 header is also used to upload Arduino Sketchs or other code that uses a serial bootloader.<br/>
You certainly can use the SPI header to talk to a module that uses an SPI interface if you don&rsquo;t want to use the serial link.</p>triff on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletriffurn:uuid:b5ca2291-9404-9130-254a-a8a6e38015542010-08-11T16:22:18-06:00<p>I have investigated and I think the pins are for SPI protocol.</p>N8B on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleN8Burn:uuid:15f5d914-06d0-7a8d-ab0b-d29032eab58b2010-08-11T12:54:09-06:00<p>Most GPS modules output standard NMEA strings of data over a UART. Use the pins labeled TXO/RXI if you want to connect this to a typical GPS module.</p>triff on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletriffurn:uuid:c6497f1e-3943-12ef-9f9f-30511a4a48802010-08-10T06:01:01-06:00<p>Is there any posibility to conect a GPS?</p>triff on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletriffurn:uuid:01dd2c56-3b37-6720-7b4b-907e1818cd162010-08-10T05:26:05-06:00<p>hello!! there are some free pins that i don?t know what they are for. Is there any posibility to conect a GPS to those pins??</p>jayjay on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejayjayurn:uuid:2668dcd5-53a8-36c9-3c35-8132dd74d4f72010-08-09T02:41:28-06:00<p>Could you guys add the eagle files for this? Thank you</p>adxl345rate on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleadxl345rateurn:uuid:470aebf9-692f-15fa-4a30-32a613cf05902010-08-07T01:42:03-06:00<p>Hello Arduino Experts,<br/>
I wonder if it is possible to read from ADXL345 at 100 Hz rate (0.01 second). I have checked the code given above &ldquo;Code by Doug Weibel and Jose Julio&rdquo; and it works fine for 50 Hz.<br/>
Can any one help or suggest a solution or may be this is not possible using the Razor IMU board.<br/>
Thank you very much.</p>jhuflyer on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejhuflyerurn:uuid:d6e2346a-5dec-a94e-9a90-720ec004f4a12010-08-06T08:57:44-06:00<p>I&rsquo;m a noob, got it working. Flow control to RTS/DTS @ 38400 bps</p>jhuflyer on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejhuflyerurn:uuid:c80b221a-84cb-97fa-5f8c-d46e29e92afd2010-08-06T08:52:47-06:00<p>So I&rsquo;ve now tried just a plain old FTDI breakout cable (besides the bluetooth module) using both Hyperterminal and Putty. Rubbish data output only, time to get another one (haven&rsquo;t done anything to let the magic blue smoke out).</p>Jade on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJadeurn:uuid:21bea192-f6be-607c-b72f-238692d73a712010-08-05T17:08:25-06:00<p>After 6 hours of tinkering I finally got the device to work!<br/>
The issue is with bluetooth mate&rsquo;s baud rate being different from Razor&rsquo;s. You fix it by going into the terminal window (the same one spitting gibberish).<br/>
Type &ldquo;$$$&rdquo; - command mode for the bluetooth mate. The terminal should respond with &ldquo;CMD&rdquo;.<br/>
Type &ldquo;SU,38.4&rdquo; and hit enter. The terminal should respond with &ldquo;AOK&rdquo; indicating that the serial connection on the Razor end has been successfully set to 38400 baud. If the terminal returns &ldquo;ERR&rdquo;, check spelling.<br/>
Type &ldquo;&mdash;&rdquo; and hit enter. The terminal should respond with &ldquo;END&rdquo;.<br/>
Cycle power.<br/>
You should now be able to see Razor&rsquo;s firmware. Now that the data stream is active, you will no longer be able to go into bluetooth mate&rsquo;s command mode without disconnecting the TX and RX pins. If you choose to program your own sketches that utilize different serial baud rates, then you&rsquo;ll probably have to go through the same process - first updating Razor, then bluetooth mate&rsquo;s baud settings.</p>Jade on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJadeurn:uuid:d3cebeb9-c7b0-78c5-f71c-7af5c47fc61e2010-08-05T14:06:02-06:00<p>What does your rubbish data look like? Mine&rsquo;s a combination of &ldquo;a&rdquo; and &ldquo;u&rdquo; characters. I looked up on youtube what the testing program should look like. <a href="http://www.youtube.com/watch?v=SIYj0tMy-Is" rel="nofollow" >http://www.youtube.com/watch?v=SIYj0tMy-Is</a> at 0:16 mark looks like the menu.<br/>
I tried sending commands that the menu would respond to if it was active, with no success. The only time I get any data from the device is when it&rsquo;s powering up.</p>Jade on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJadeurn:uuid:ec15f4d4-cbcc-9184-365b-a084e9a7f8b62010-08-05T13:25:30-06:00<p>Just got the Razor IMU board. Hooked it up to bluetooth mate. I had no problem establishing the connection at 9600 baud, or 38400, or 115200, but I haven&rsquo;t been able to receive any useful data from Razor itself. When I reset the board, I get a sting of symbols through the serial port (a combination of &ldquo;?&rdquo; &ldquo;?&rdquo;), and that&rsquo;s it. No other kind of data.<br/>
As far as I understand the board should be pre-loaded with testing firmware. How do I communicate with it? Is the firmware missing, am I doing something wrong or is one of the components defective?<br/>
I&rsquo;d upload a code to the board to fully test the serial communication, but I fear overriding the test firmware sketch.</p>jhuflyer on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejhuflyerurn:uuid:1b8e4fcc-1006-41bb-752f-8fed822e4a082010-08-05T13:12:51-06:00<p>Just getting started here. I&rsquo;ve hooked the SF Bluetooth module to the SF 9DOF and succesfully connected the SF BT module; however, I&rsquo;m getting rubbish output in hyperterminal. Anyone have any ideas? I see below someone connected the &ldquo;grounds&rdquo; together, could someone explain further? Thanks!</p>TheJag on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleTheJagurn:uuid:5bc27fa8-d385-c331-0bad-421732e095a72010-07-18T08:55:39-06:00<p>Hi, I&rsquo;d like to use this product in an automotive environment to gather live dynamic car attitude data (G forces, braking strength etc&hellip;).<br/>
Is this IMU suitable for this purpose?<br/>
Is the accelerometer fixed at +-16g sensitivity or is it programmable?<br/>
Thanks!</p>Dinuka on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDinukaurn:uuid:93618359-feae-25a1-e1cb-2f865036553c2010-07-18T01:28:12-06:00<p>Hoping SFE can clear out some doubts for me<br/>
!.) With the default test FW, the Gyro readings are from the 4x mode right?<br/>
2.) Though the 3 Vref values of the gyros are connected to ADC pins of the 328, they are not used in the test FW code, right ?<br/>
3.) using the test FW, the gyro value when the razor is still (please tell me whether my calculations are correct)<br/>
zero rate level(from gyro datasheet) = 1.23V<br/>
ADC - 10bit covering full 3.3V range<br/>
Therefore zero rate output = 1.23 / 3.3 * 1024 = 382<br/>
But the zero rate op i get practically is about 260 - 270<br/>
Am I missing something here ? Hope you can help with this<br/>
D</p>AndreaErmini on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAndreaErminiurn:uuid:1d0c9fc9-fda0-5c35-fa1d-b67364bf4d612010-07-15T04:10:38-06:00<p>Hi, I&rsquo;ve just received your IMU and I&rsquo;m going to test it.<br/>
I studied carefully your AHRS code and I&rsquo;m very impressed about simplicity and accurary (theorically).<br/>
I&rsquo;ve a lot of question to ask, but now I start with the first and second only:-)<br/>
Q#1: Have you try to use same accelerometer output for twice integration to estimate position ?<br/>
Q#2: Do you think it is necessary to use a second kalman filter matrix to correct accelerometer output errors?<br/>
My goal is to upgrade your IMU/AHRS in a complete INS.<br/>
Thank in advance.</p>KoV on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleKoVurn:uuid:6dd522ba-b32d-0596-d87d-cc5ddc8f968f2010-06-29T10:04:56-06:00<p>Does anybody can tell me the power consumption of this thing ?<br/>
Thanks</p>Adam23 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAdam23urn:uuid:8fcaa92a-ece6-d295-87f9-fdfb7d266c682010-06-26T06:01:15-06:00<p>Firmware for idiots!!<br/>
I have the razor and an Arduino Duemilanove. I&rsquo;ve downloaded everything and read everything online, but I can&rsquo;t for the life of me figure out how to update the firmware. What do I do with the Makefile or main.c? Do I use Arduino sketch, Programmers Notepad 2, or avrdude? Are there any other connections required between the Razor and Duemilanove other than Gnd, Tx, and Rx? A step-by-step guide for morons would be GREATLY appreciated.<br/>
Thanks - JAFM</p>Subhagato on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleSubhagatourn:uuid:a99ee160-f257-18f0-c5e3-e16b55c5fb6c2010-06-26T05:41:33-06:00<p>Is it possible to use it without the DTR, CTS pin connected?</p>lcavini on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblelcaviniurn:uuid:82a3cde1-a60b-c195-8694-74e76ceff80b2010-06-21T10:42:40-06:00<p>Hi, I can&rsquo;t understand a small part of Jordi&rsquo;s code. He says that use an oversampling tecnique for increase ADC resolution but if he cumulate analog value in the Interrupt Service Routine (ISR) how does he update ADCH and ADCL registers? He should exit from ISR and when the next conversion has finished and and new interrupt occur then sum the new value to previous in the ISR: analog_buffer[MuxSel]+=&hellip;&hellip;&hellip;.;<br/>
I don&rsquo;t understand.Can someone help me?<br/>
thanks</p>feevoo on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblefeevoourn:uuid:f8a5c759-eeac-1e34-709a-aaa46c875b142010-06-19T20:08:38-06:00<p>i have buy the 9 Degrees of Freedom - Razor IMU - AHRS compatible and the Breakout Board for FT232RL USB to Serial<br/>
I had conected both of their and then with the compiuter to see in the terminal the result. anything happen, in the terminal I din?t see nothing, even the tx and rx leds to the Breakout Board for FT232RL were switched of.<br/>
i make anithing wrong????<br/>
any body can helpe me??<br/>
thanks</p>PIND on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePINDurn:uuid:513b56c9-29e7-9bf8-a518-dd2985c3e2222010-06-18T11:03:35-06:00<p>@ Sparkfun experts&hellip;<br/>
How can i interface the IMU to an Arduino serially. what to do whit the DTR and CTS pins as leaving them open doesn&rsquo;t make Arduino to read data from IMU? IMU is working fine with PC.<br/>
Thanks!</p>PIND on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePINDurn:uuid:7ce1f598-a375-9973-bf92-bfada738fbf52010-06-18T11:01:25-06:00<p>@tesmoj&hellip;<br/>
I am also trying to achieve same thing&hellip;.that is i want to interface the IMU with my Arduino Duemilanove. I want to read the raw data of IMU and then use it for stabilization of my robot. How can i interface the IMU with external Arduino board? i.e. i connected Tx/Rx, Rx, Tx, Gnds and Power pins together but what to do with DTR and CTS pins of IMU as Arduino boards generally don&rsquo;t have these?<br/>
Thanks!</p>Pearce on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblePearceurn:uuid:e5a1df5b-865e-d60c-0267-47675a37dee92010-06-15T16:39:40-06:00<p>Have you tried different baud rates?</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:80c015dd-f8cd-3faa-60a7-e793ff50ca812010-06-09T08:04:58-06:00<p>Yes, but it&rsquo;s not necessarily guaranteed to work right. Some controllers like it, some don&rsquo;t. You may need a logic level converter. We sell &lsquo;em, and they&rsquo;re cheap.</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:e3a5c9b3-547b-86d2-443e-ecaee059cd4f2010-06-09T08:04:08-06:00<p>You can use either. You may need to manually reset the 9DOF though, since the cable doesn&rsquo;t reset after programming.</p>Dinuka on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDinukaurn:uuid:ee123ecd-65a4-5f94-e9fd-6fa23f3da45b2010-06-08T23:41:18-06:00<p>Hi, Can I connect the Razor to the PC USB port and program it, (via the bootloader) using the FTDI cable ? or do I specifically need the FTDI breakout board for that ?</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:df7b9ede-6b54-3bc3-188c-c6a6d784f7442010-06-07T14:32:47-06:00<p>&ldquo;You can use the Arduino IDE to program your code onto the 9DOF, just select the &lsquo;Arduino Pro or Pro Mini (3.3v, 8mhz) w/ATmega328&rsquo; as your board."<br/>
Make sure you select Pro or Pro Mini 3.3v, 8mhz.</p>ghelle on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleghelleurn:uuid:93f86541-e0eb-481a-806e-971d63bc3c3f2010-06-07T08:15:10-06:00<p>Hello,<br/>
is it possible to connect directly the 3.3v UART of the Razor to a 5v UART of a processor?</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:9574e937-57dc-b55d-940f-ac0f864021892010-06-07T08:02:26-06:00<p>I wanna try programming the 9DOF to get quaterneion angles.But busy&hellip;If anyone have already done, we save some time. If once i finish doing it, i will upload.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:48873244-d810-4ef4-e717-57938badecf92010-06-07T07:32:57-06:00<p>I was wrong in selecting the Board when i was loading AHRS code to 9DOF. I cleared myself. thanks.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:8418da8c-5fa6-e670-9f61-ac886bf3ad872010-06-07T07:28:56-06:00<p>When i tested my 9DOF soon after arrival, it worked with the preloaded firmware. Now i loaded AHRS code to 9DOF, when i open COM4, it shows junk data.Please tell,How to load the bootloader to 9DOF.</p>AdrianJ on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAdrianJurn:uuid:e1141e7d-391e-9843-8a97-1a38b1bfc7072010-06-07T00:29:36-06:00<p>Somewhat answering my own question. I can get connection to the board using the Atmel JTAG ICE Mkii and a squid cable, so now I know the ISP is active. Still cant talk to it using a Polulu AVR programmer, but I can sort that out later.<br/>
Different question. I used the Arduino AHRS code, and it compiled and uploaded ok with the Arduino bootloader, but the main output seems to be garbage, no recognisable characters at 57600 baud. Must be something else wrong.</p>AdrianJ on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAdrianJurn:uuid:79815136-fd0c-7604-817f-83be21e16b9a2010-06-06T20:19:44-06:00<p>Can anyone confirm whether the ISP system on the Razor is enabled or not ? I tried a read of the AVR signature bytes with an AVR ISP programmer using AVR Studio, and just got a connection error message. I want to use the ISP, since I need to program in some non-Arduino code.</p>a1ronzo on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblea1ronzourn:uuid:60464108-23cc-29ed-bce5-90a7da0c19022010-06-04T12:27:44-06:00<p>To use the self test function, cycle power on the board, then hit the self test command. In other words, you must use the self test function as the first command after power up.<br/>
Really, if you want to test the sensors on the board, just look at the raw outputs, the self test function is primarily used for streamlining production testing.</p>l3.mn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblel3.mnurn:uuid:a3fad253-67ff-30b9-aa68-0e07db4bf4ce2010-06-04T05:46:23-06:00<p>hi. i am having the same problem with the same string of bad characters. i have also tried all the baud rates&hellip; but with no luck. what grounds did you forget to tie toghether? thank you in advance!</p>erhart on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleerharturn:uuid:96416b9b-496d-2607-be48-4be01c38ef3a2010-06-02T19:05:41-06:00<p>I&rsquo;m in the same situation - I would like to mount it on another board, but I can&rsquo;t figure out the position of the screw holes and pins. Thanks to anyone who can point me in the right direction.</p>sandiegovic on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesandiegovicurn:uuid:fc2ad34c-3368-85d9-d295-2c54cc1efc6a2010-06-02T15:05:57-06:00<p>In function &lsquo;void setup()&rsquo;:<br/>
error: &lsquo;Analog_Reference&rsquo; was not declared in this scope In function &lsquo;void loop()&rsquo;:</p>a1ronzo on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblea1ronzourn:uuid:8b1ace15-69fe-6606-654d-7c5073f38c6f2010-06-02T09:26:19-06:00<p>Sorry about that. The v11 firmware is back up on the product page.<br/>
-Aaron</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:0f5f5e23-6bad-60b0-4514-7e9407654c8a2010-06-02T08:35:04-06:00<p>That should be the firmware that ships with the unit, unless you have an older unit.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:5c4fcb2a-1939-fa5e-2066-336c2d595afd2010-06-01T22:32:42-06:00<p>What errors are you getting ?</p>sandiegovic on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesandiegovicurn:uuid:7fb25ea0-dac1-6ad9-2751-8caeb1a633b12010-06-01T17:57:47-06:00<p>Hi, I&rsquo;m working with Benjamin<br/>
The code doesn&rsquo;t compile as written&hellip;</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:221a59a6-fb62-9fe7-d70a-8d30fefef03d2010-06-01T09:30:40-06:00<p>When you upload to the board, make sure you select Pro or Pro Mini (8mhz, atmega328). This changes the timing. That should work.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:3ac70a03-7e69-ff38-56be-c23ac764c32c2010-06-01T01:16:29-06:00<p>If we program the 9DoF IMU with <a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip</a><br/>
we loose the previous FW that is already there on IMU, I would appreciate Sparkfun, if it upload source of that preloaded FW also.<br/>
Is anybody have that preloaded FW ?</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:3bf2218c-1e76-2206-aa66-d0997ea7b48d2010-06-01T01:02:34-06:00<p>Hi tismoj,<br/>
I got the board ,just connected to PC as they said.<br/>
I also get the following message when i select [5] in menu<br/>
MAG: BAD<br/>
ACCEL: GOOD<br/>
<em>must cycle power to perform another test</em><br/>
Anything wrong with this board ?</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:43dff255-c1ce-5c7c-9559-c3b5f90c95982010-06-01T00:52:14-06:00<p>Hi pica,<br/>
Yes, you can do that what you said. Only FTDI basic board+cable to PC. that&rsquo;s all.<br/>
download Arduino IDE and program the code provided by Sparkfun .I think, you need to take out some serial print commands if you want to use this board directly to your other boards.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:25759f7f-a77d-f217-a25d-d0ffcf9e40c72010-06-01T00:46:57-06:00<p>Thanks N8B. So they are like multi slaves on I2C bus.</p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:2f7a1c62-8822-6814-460a-74316bc905222010-06-01T00:43:25-06:00<p>Hi Benjammin,<br/>
1. Just download SF9DOF_AHRS_1_0 and arduino-0018 IDE to compile and connect IMU via USB breakout board to PC.<br/>
2. In the &ldquo;SF9DOF_AHRS_1_0&rdquo; you will see this<br/>
Serial.begin(57600); You can change the baudrate as<br/>
you want.<br/>
3. Use the &ldquo;Upload&rdquo; button in the toolbar. Thats it.<br/>
Now you can open your terminal program at 57600 and see the data.</p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:2cbfb425-871e-3526-f5c9-7c6109ebdcb12010-05-31T20:37:07-06:00<p>Python GUI:<br/>
<a href="http://code.google.com/p/sf9domahrs/downloads/detail?name=SF9DOF_AHRS_interface_python.zip" rel="nofollow" >http://code.google.com/p/sf9domahrs/downloads/detail?name=SF9DOF_AHRS_interface_python.zip</a></p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:6f53fc10-3357-6964-908f-db3f9643eab12010-05-31T20:10:26-06:00<p>I&rsquo;m trying to log the 9 dofs with the Openlog. The Openlog doesn&rsquo;t have the option of 38400 baud rate. So I have to change the Razor imu to 57600. How do I do that?<br/>
&hellip;I have no experience with arduinos.<br/>
Thanks,<br/>
Benjamin</p>HungryMaggot on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHungryMaggoturn:uuid:57ef4803-9238-a9ff-6416-4ebb25c76afd2010-05-31T15:29:29-06:00<p>if this was based on a PIC32 I would consider it interesting.</p>JasonPod on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJasonPodurn:uuid:7ee66ac7-b623-dc72-2763-18bc6aaaed582010-05-31T11:13:20-06:00<p>Hi<br/>
Just download SF9DOF_AHRS_1_0 and used arduino-0018 IDE to compile and upload sketch to IMU via USB breakout board!<br/>
When I run the serial monitor, set to 57600 baud, I get rubbish.<br/>
COM3 is set to 57600,8,1,none. I get the same result use terminal software too?<br/>
I can see in the code the Serial.begin(57600); so I dont understand why I&rsquo;m getting rubbish output??<br/>
Please help!</p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:19e78b9f-873e-e1c3-2ebf-6644e9d7c7102010-05-31T00:45:34-06:00<p>I think&hellip;<br/>
whatever the range is 0-360deg or 0-16g, it is broken into 1024 steps if the signal has 10 bits resolution (2<sup>10</sup>). A lot of these low-end IMUs only have 8 bits resolution so the reading is always between 0 and 256 (2<sup>8</sup>). Then you have to convert that into something with physical meaning like Gs or degrees or degrees/s.<br/>
&hellip;i think</p>JasonPod on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJasonPodurn:uuid:46b0951d-c5b5-831c-6029-87f3b0d4d05f2010-05-30T14:14:52-06:00<p>Hi<br/>
I have just wired up my 9dof imu to a serial port and have selected option 3 from the boot menu.<br/>
I am typicaly seeing values like this one :-<br/>
x= 377, y= 364, z= 548<br/>
I&rsquo;m real new to this, but expected that these values would be degrees, i.e. 360 or less?<br/>
Whats values am I seeing??<br/>
Thanks in advance!</p>Mauro on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleMaurourn:uuid:acca0d2c-e4ff-51d1-5e0d-4c2963e3ce862010-05-30T12:41:42-06:00<p>I have just bought this product in order to connect it to an ARM microcontroller to make a inertial measurement system. I havent bought the 3.3V FTDI Basic Breakout. So I would like to know if there is any way that I can use the serial interface of the AHRS to connect to a RS232 port.<br/>
There is any document describing this product in a technically detailed way like for the 6DOF?<br/>
Thanks</p>pica on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblepicaurn:uuid:b6f328f2-0fd0-2fe5-f765-3bdd8fa5611e2010-05-30T00:35:25-06:00<p>I am considering buying the Razor IMU and am new to electronics and programming.<br/>
Which components are necessary to program the sensors on the Razor IMU? Are the FTDI basic breakout board + cable the only additional components needed? Do I need to purchase a separate programmer board? What software will I need to download to accomplish this? I&rsquo;m unfamiliar with Arduino products, etc., so specific information would be greatly appreciated.<br/>
My plan is to first solder the Razor to the FTDI basic breakout board, do the sensor programming, then desolder and connect the Razor to the Logomatic for several measurement events.<br/>
Thanks a lot for your help!</p>agressiva on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleagressivaurn:uuid:bdf7bdd6-2ad2-c1f0-3c96-8e1b19c2e5782010-05-28T08:25:15-06:00<p>Does anyone know where i can get phyton code for 9dfo show in the youtube ?</p>N8B on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleN8Burn:uuid:d70c4600-cd8f-8d9b-d6c3-67fb81a096612010-05-25T14:37:17-06:00<p>Yes, the SDA SCL lines are shared by the accelerometer and compass. I2C is designed so you can connect multiple devices to the same data bus.<br/>
Take a look at the example code for the ADXL345. It is a good starting point:<br/>
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9156" rel="nofollow" >http://www.sparkfun.com/commerce/product_info.php?products_id=9156</a></p>Harinath on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHarinathurn:uuid:fed8876c-83d1-8b87-ae7e-a8553b568a152010-05-25T00:41:52-06:00<p>The schematics shows both Magnetometer and Accelerometer<br/>
are connected to ATMEGA328( TWI(I2C)) using SDA , SCL pins.Am I right ? Schematics are Confusing me.<br/>
If i want to utilize the tapping functionality(single click,double click mouse functionality) of accelerometer, How to do that ?<br/>
If taping is possible, any problem with AHRS code ?<br/>
Any idea is appreciated.</p>Dinuka on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleDinukaurn:uuid:3aeddebc-6d27-71b8-a06b-bb8149e5de432010-05-21T09:49:08-06:00<p>On the verge of buying the 9DOF, I have a few questions and hopefully someone can help me with them<br/>
1. is the bootloader issue (having the 168 instead of 328 bloader) now fixed ?<br/>
2. Why did SF do away with the 16MHz and went down to 8MHz. Can I upgrade the &ldquo;razor&rdquo; to 16MHz ?</p>Hellmaaf on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHellmaafurn:uuid:cd6f380d-cd89-7956-b323-cd7118be72512010-05-21T05:08:18-06:00<p>Yep, thanks Tismoj, good information, much appreciated :)</p>tismoj on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletismojurn:uuid:2a56ecdf-c2ee-a984-0700-767c345b15c62010-05-21T03:37:00-06:00<p>The Mega should definitely be able to pickup the output from the 9DOF.<br/>
If you have an FTDI breakout 3.3v, you could initially connect the 9DOF to the PC, with the FTDI acting as a virtual com and bring up Hyperterm or teraterm to see the 9DOF&rsquo;s interactive menu and outputs from any or all of the sensors.<br/>
But if you don&rsquo;t have the FTDI, and just want to connect to the Mega go through the Arduino tutorial particularly on the sample code for it&rsquo;s UART and work your way from there.<br/>
Basically in the Mega you could just initialize the UART, set a delay for a few seconds, and then send out through the UART the decimal or hexa equivalent for the ASCII 1, 2 ,3, or 4, before you could start receiving data through the UART.<br/>
Hope that helps.</p>tismoj on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletismojurn:uuid:cb70c3a4-34f6-a336-2b6d-b37f3937cb162010-05-21T03:21:53-06:00<p>Yes a simple TX to RX pins from the 9DOF to the Mega should work with the AHRS FW, but for the SFE FW (which requires an initial input) will require you to either connect the RX to TX pins as well, or just modify the code slightly to output any or all sensor readings upon start up. Of course any of the options will require connecting the supply and GND pins as well.</p>tismoj on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletismojurn:uuid:78e71cc6-8399-0371-cd7e-de211b0e0d502010-05-21T03:13:24-06:00<p>There is another kind of FW that was mentioned but it was actually developed by the guys from DIYDrones, which is the AHRS FW (<a href="http://code.google.com/p/sf9domahrs/" rel="nofollow" >http://code.google.com/p/sf9domahrs/</a>).<br/>
The main diff between the 2 kinds of FWs are that FW vers 11, 15, &amp; 16 are from SFE and are actually a bit more raw in sampling the various data from the 4 sensors, which is best for testing and for a simple code to show how to sample data from the sensors. The AHRS FW though gathers data from 3 of the 4 sensors (Mag &amp; 2 Gyros) and pre-processes them to output just the AHRS with drift compensation using the Mag. This is what you need if you just want to get the Magnetic Heading, Yaw, Pitch and Roll of the 9DOF. This is the FW to use if you want to try the cool Python GUI that represents the board (or the AHRS output) flying in an interactive 3D space.<br/>
Hope this helps the new guys.</p>tismoj on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletismojurn:uuid:21d18003-4ef7-5331-4d26-0cea59f0f4b32010-05-21T03:12:21-06:00<p>Okay just so everybody has an Idea of Firmwares that had been the topic of the comments here. Anybody can correct me if I am wrong.<br/>
FW v.15 is the FW that comes with the current batch of 9DOFs (unless they have a new batch having the latest FW). FW v.16 is the latest FW. and FW v.11 is the last FW before SFE did away with the 16MHz HW version for the 8MHz HW version.</p>TimT on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleTimTurn:uuid:50977ad8-e91b-fde3-eed4-13f68913b3b82010-05-19T01:06:13-06:00<p>Thanks Bill, Had the same problem - your clear instructions worked like a charm - saved a lot of pain :)</p>Hellmaaf on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHellmaafurn:uuid:f905c8cd-7a14-dcac-99af-0613c9d157432010-05-18T15:04:08-06:00<p>Hello! I apologise if this has already been asked&hellip;but will a simple connection from the Tx of this board to the Rx on an Arduino Mega get me the serial data feed to the Mega?<br/>
Once I have updated the 9DOF with the code to process and output the sensor data I am hoping it will be compatible with the Arduino Mega.<br/>
Where can I find instructions on installing the code to the 9DOF? Do I need to read through the code to work out what the bytes received by the Arduino tell the Arduino about the orientation of the 9DOF or has someone written a manual?<br/>
Thanks in advance for your replies!<br/>
H</p>Ger on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleGerurn:uuid:5eec3884-1f1e-15e0-f73a-30eefdfbbd3b2010-05-17T05:36:08-06:00<p>Hi a beginner question. I see from the comments that the high pass filter is removed for AHRS compatibility. Indeed it is noted as optional in the datasheet, but what is the point in removing it? Do you loose something on non-AHRS usage of this sensor board?<br/>
I&rsquo;m willing to use this in a gaming experiment.<br/>
And BTW the schematic says that high pass filters are implemented around the gyros outputs. According to the comments and my humble beginner&rsquo;s analysis I believe it is not?</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:3e72444a-3faa-ce66-4ce3-77eb1b65de832010-05-12T14:24:07-06:00<p>So your magnetometer isn&rsquo;t giving any readings? This sounds more like a tech support issue. Email us directly at techsupport@sparkfun.com</p>tismoj on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletismojurn:uuid:570fe007-6c6e-6dc5-a205-7ea6d1732d442010-05-12T10:36:41-06:00<p>I&rsquo;ve just bought my 9DOF and had managed to solder a header and connected an FTDI 3.3V Breakout to it, and got the Menu showing. But I noticed that there are times when the Magnetometer Continuous Reading test (#2 in the Menu), would not change values even if I move the 9DOF around, but sometimes it works fine. And everytime, I choose the Self Test (#5 in the Menu), I always get a MAG: BAD. I tried loading in v16 of the FW from a v15, but both issues occurs on both versions. Have anybody else encountered these issues?<br/>
Here is a text capture of the 2nd issue:</p>
<h1>9DOF IMU Firmware v16 </h1>
<p>[1]Accelerometer: ADXL345<br/>
[2]Magnetometer: HMC5843<br/>
[3]Gyroscope: LPR530 and LY530<br/>
[4]Raw<br/>
[5]Self Test<br/>
[Ctrl+z]Toggle Autorun<br/>
[?]Help<br/>
MAG: BAD<br/>
ACCEL: GOOD<br/>
<em>must cycle power to perform another test</em></p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:759f21b7-8a2e-970f-bffe-c8c8b5d2afba2010-05-12T10:10:29-06:00<p>I think you might be right, my bad. It think we did away with the shunts though. I&rsquo;d have to look at the most recent build sheet. But in any event, we have done away with the filter.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:dd04954c-e4ea-3ea5-d5d5-66fed3e39baa2010-05-12T09:46:55-06:00<p>I think you&rsquo;ll find that the capacitor locations are occupied by shunts (zero ohm resistors) and that the resistor locations are unpopulated.</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:0857cbb0-531c-e177-74b3-62d2af8d0eb62010-05-11T16:27:09-06:00<p>The newest version (the current one we are selling) has these locations unpopulated. If you look at the most recent schematic listed, you will see these caps are gone.</p>RobertC. on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRobertC.urn:uuid:10987c87-d5c3-7d7b-38e8-42efd44e8b6b2010-05-11T16:20:27-06:00<p>We include the C files, but not PDE. You can use the C code in the Arduino IDE with some configuration (adding in the extra libraries). OR, you can use the AVRdude software directly.</p>starkes on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblestarkesurn:uuid:095e3b42-0bfb-7ebc-d1f5-38792bf55d0f2010-05-10T09:03:42-06:00<p>I&rsquo;m wondering if the filter removal tutorial at <a href="http://diydrones.com/profiles/blogs/razor-9dof-hp-filter-removal" rel="nofollow" >http://diydrones.com/profiles/blogs/razor-9dof-hp-filter-removal</a> is still valid for the current version of this board.<br/>
My board doesn&rsquo;t look exactly like the one pictured on the sparkfun page. It is missing the resistors marked X (on the filter removal page I linked to above), but it still has the capacitors (I think?) marked with J&rsquo;s.<br/>
Do I still have to modify my board to get the AHRS code working reliably? It seems to be working fine thus far&hellip; any ideas?</p>Benjammin on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBenjamminurn:uuid:9994d835-d893-bea3-09a2-8c6ecafd57622010-05-08T17:39:36-06:00<p>It seems like this does everything that the 6DOF Atomic IMU does and more.<br/>
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9184" rel="nofollow" >http://www.sparkfun.com/commerce/product_info.php?products_id=9184</a><br/>
I guess in terms of accelerometers this 9DOF samples at 100HZ and the 6DOF Atomic IMU samples at 150HZ.<br/>
Am I missing something? They are the same price, what advantage would there be to buying the 6DOF Atomic IMU.<br/>
Thanks</p>Silverdog on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleSilverdogurn:uuid:c4fa4f92-ff59-f7be-c0c4-9e6b05847b5a2010-05-06T20:43:49-06:00<p>Yup updating the bootloader fixed my issue</p>COMP on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleCOMPurn:uuid:feb694db-86ce-0b1c-ef1b-4a16d78398522010-05-02T11:42:46-06:00<p>Hi all,<br/>
I am quite new to the Sparkfun sensors etc. and I just received my Razor 9dof.<br/>
I have 2 questions:<br/>
- which *pde files do I have to use to have the original (the one which is on the chip when delivered) firmware version again? Is it SF9DOF_AHRS.pde?<br/>
- if I try to compile SF9DOF_AHRS.pde (also with SF9DOF_AHRS_1_0 and SF9DOF_AHRS_1_1) with the arduino18 software, I get the following message: &lsquo;Analog_Reference&rsquo; was not declared in this scope.<br/>
Any ideas how to solve it??? Any new versions available???<br/>
Thank u very much in advance,<br/>
regards,<br/>
Thomas</p>JesusR on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJesusRurn:uuid:a32b4e4b-b298-dfdb-2928-759ac7b34f472010-05-01T04:36:06-06:00<p>simple question: how would i connect this via serial to a seeeduino mega ( arduino mega clone). What pins on this board( is there anything special about the ftdi pins) and is there a users manual or guide of some sort.</p>BillUPenn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBillUPennurn:uuid:0e175aea-cc17-0f6f-b8d6-b4f6d6a5c6712010-04-30T18:03:11-06:00<p>Hey everyone,<br/>
So I was able to use the Razor as an IMU for a quadrotor and it was able to fly. Unfortunately, the fastest we were able to run the PID loop was 120Hz due to the Razor&rsquo;s slow calculation speed. SparkFun needs to upgrade the oscillator to 16MHz or even the max of the microcontroller of 20MHz. Check it out at wyvernupenn.blogspot.com , and thanks for your help in figuring out the bootloader issue!</p>giorgos on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblegiorgosurn:uuid:d769db09-a28a-85eb-a77d-8ec3ea2fc1b82010-04-10T08:05:08-06:00<p>has anyone used this as an inertial navigation system (to calculate speed / distance)???</p>iEng on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleiEngurn:uuid:ea7ebdb2-158d-1d7f-f486-194e016464142010-04-06T20:43:16-06:00<p>Hey have you tried updating the firmware? How did it go?<br/>
Thanks</p>Wolfpackdiver on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleWolfpackdiverurn:uuid:f40a777a-3e22-d5cd-cb32-e871db42637e2010-04-06T16:33:50-06:00<p>PICNIC problem. Problem-in-chair-not-in-circuit. Forgot to tie grounds together. Works great now. Thanks.</p>roycohen2013 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleroycohen2013urn:uuid:b721bf1e-2508-80bb-1064-b043054305dc2010-04-06T10:15:54-06:00<p>im designing an arduino sheild for a quad copter and i need the dimensions for this and im talking about hole placement and pin placement can anyone help</p>Wolfpackdiver on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleWolfpackdiverurn:uuid:36aad0d0-8b77-f5a9-baeb-5924b3b8c0092010-04-06T08:43:26-06:00<p>ah. Perhaps I need to drive the signals to +/-10v using a Max232?</p>Wolfpackdiver on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleWolfpackdiverurn:uuid:eaada194-35be-fc06-7dee-e49bf93be5172010-04-06T07:16:27-06:00<p>Hi Everyone,<br/>
Just received my Razor and am having some trouble getting serial comms to work. I have my Razor connected directly to a USB-Serial Cable with port Settings: 38400-8-N-1. Each time I reset the device, I get the same string of garbage characters. I&rsquo;ve tried different bauds (all the way from 2400 to 115200) and all different parities (Eve, Odd, None, Space, Mark), but still no luck. I&rsquo;ve tried on both Ubuntu Linux and WinXP and with two different USB-Serial cables and still get the same string of bad characters. Any suggestions? Thanks in advance.</p>BillUPenn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBillUPennurn:uuid:4341196f-c45d-cdd2-d79d-f99ff4ebd6d02010-04-02T19:55:07-06:00<p>The board schematic is located under &ldquo;Documents&rdquo; above (<a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-Razor-v14.pdf" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-Razor-v14.pdf</a>). Either do a continuity test or voltage test after giving the board power to determine which pins to connect to. I&rsquo;ve heard of people using the Diecimila to burn the bootloader by soldering on more pins. Not sure about using a Duemilanove. (Check out <a href="http://www.youtube.com/watch?v=iwRA8XwLIQI" rel="nofollow" >http://www.youtube.com/watch?v=iwRA8XwLIQI</a> regarding burning the bootloader without a programmer).</p>Karmakaze on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleKarmakazeurn:uuid:36001ce2-3a19-ee60-b02e-cf029f699ba92010-03-31T17:54:46-06:00<p>Hi all!<br/>
I just got this a few days back (I&rsquo;m in New Zealand), and I seem to be having the bootloader problem:<br/>
avrdude: stk500_getsync(): not in sync: resp=0x72<br/>
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x72<br/>
Got the 3.3v FTDI breakout and am using Arduino 0018.<br/>
My question is, what is the pinout for the ICSP on the 9DOF? I&rsquo;m a real noob to this sort of thing, and I think I&rsquo;ve found the pin 1 mark - a bar beside one of the pins closest to the 328.<br/>
Is that correct, and can I use another Arduino Duemilanove (5V) to program the bootloader using the Arduino IDE? Or do I need to buy a programmer?</p>roycohen2013 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleroycohen2013urn:uuid:3e498da3-c359-e259-3a4e-a39a489026c52010-03-31T14:40:45-06:00<p>hey does anyone know where i can find the eagle files for this because i need the exact footprint with the mounting holes</p>BillUPenn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBillUPennurn:uuid:d2000333-141d-296c-5177-76cceb26e16b2010-03-30T09:10:31-06:00<p>The Razor IMU actually uses the Arduino Bootloader. .PDE files can be opened and edited using the Arduino IDE (<a href="http://www.arduino.cc/en/Main/Software" rel="nofollow" >http://www.arduino.cc/en/Main/Software</a>). Once the source code is downloaded, open it up in the Arduino IDE, set your COM port (I&rsquo;m assuming you have the FTDI Breakout Board) and Arduino Board (many have found success using the &ldquo;Arduino Pro or Pro Mini (3.3V, 8MHz) w/ Atmega328&rdquo;), and click &ldquo;Upload&rdquo;. The AHRS code will compile and then upload to the board. After that, set your terminal to read from the board (the default Baud Rate is 57600) and you should see yaw, pitch, and roll values being displayed on the screen.</p>djaus on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibledjausurn:uuid:e94a7655-bce0-d138-c146-bac740e15aa12010-03-29T07:21:09-06:00<p>I&rsquo;ve just received my 9 Degrees of Freedom - Razor IMU - AHRS compatible today&hellip; So I&rsquo;m just getting started.<br/>
I hav much experience with micros but this is my first with Atmel. Please suggest any better ways of doing this, thanks.<br/>
I want to be able to build and use the altitude and heading system.<br/>
I downloaded and installed Atmel&rsquo;s AVR Studio 4 V 4.18<br/>
I downloaded the firmware source as linked to by Jimbo below (Thx).<br/>
<a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip</a><br/>
(Thx JimbO)<br/>
How do I set up the project AHRS for Sparkfun&rsquo;s &ldquo;9DOF Razor IMU&rdquo; at<br/>
<a href="http://code.google.com/p/sf9domahrs/" rel="nofollow" >http://code.google.com/p/sf9domahrs/</a> to build in AVR Studio? The files are .pde and there is no Makefile.<br/>
Thanks in advance.</p>BillUPenn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBillUPennurn:uuid:a3dd4a1a-6a9d-1e0b-1ab1-ea91947b35b62010-03-27T19:48:44-06:00<p>Re-Burning Bootloader: I didn&rsquo;t have an ISP programmer, but was able to use a AVR JTAGICE mkII that I found, the breakout squid cable and AVRstudio4. Connected the programmer to the computer via USB, connected the programmer to the board&rsquo;s 6-pin ISP/SPI connection. The cables were connected using the programmer&rsquo;s squid breakout cable (see atmel.com/dyn/resources/prod_documents/doc2562.pdf as well as the Razor 9DOF IMU schematic). In AVRstudio, click &ldquo;Tools&rdquo; and then &ldquo;Program AVR&rdquo;. In the &ldquo;Main&rdquo; tab, change the device to &ldquo;Atmega328p&rdquo;, the programming mode to &ldquo;ISP&rdquo;. In ISP settings, I used 500kHz since the board has a 8MHz clock. Click &ldquo;Read Signature&rdquo;. If you get a long hex string under the device name, you are getting data from the board. In the &ldquo;Program&rdquo; tab under &ldquo;Flash&rdquo;, find the bootloader (in the Arduino folder so for me it was hardware\arduino\bootloaders\atmega). I used the ATmegaBOOT_168_atmega328_pro_8MHz.hex. Click &ldquo;Program&rdquo;, and then &ldquo;Verify&rdquo;. After that, you shouldn&rsquo;t have any problems writing programs to the board from the ArduinoIDE</p>Silverdog on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleSilverdogurn:uuid:5303cdd5-5ee6-ef16-10e2-fb8d2df346bf2010-03-27T04:16:17-06:00<p>I had the same issue and went back and forth with sparkfun technical support this week. Some of the earlier batches of 9DOF were build using 168s when they switched back to 328s they think they may have still been loading the 168 bootloader onto the devices. If you have a programmer you can update yourself (I had ordered one a few hours before they figured out the issue - so I&rsquo;m going to try and fix it myself). Once I get the programmer and try loading the bootloader I will post my results (I don&rsquo;t expect to get the programmer for a few days).</p>BillUPenn on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleBillUPennurn:uuid:3370c812-ae99-12ed-dcc8-1d2f70a204062010-03-26T19:39:51-06:00<p>Just got the board yesterday and I&rsquo;m trying to get it to program with the Arduino IDE. Only getting the &ldquo;avrdude: stk500_getsync(): not in sync: resp=0x72<br/>
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x72&rdquo; error. Anybody know how to get around this? The board works (see output over serial from the sample program.) Does it need a external power source? Also tried editing the Arduino Board.txt file and adding a 9DOF with a higher (192000) baud rate.. Still nothing.<br/>
Thanks!</p>roamingstudio on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleroamingstudiourn:uuid:b9573267-308e-ac35-c82c-175a124c97c22010-03-26T04:28:39-06:00<p>Does anyone have code to output the data as quaternions?</p>USMCComm on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleUSMCCommurn:uuid:1666701f-2d75-ddea-8788-5b14efa668a22010-03-23T11:38:47-06:00<p>Help out a Jar Head :)<br/>
I just got the 9DOF and neglected to realize that the FTDI breakout that I have does not bring out any of the control lines. Can I still upload new sketches with only TX/RX/Gnd ?<br/>
I am able to interact with the demo code just fine and test the sensors, however when I use the Arduino IDE it fails to sync up with the board.<br/>
I read that I would need to reset the board and have tried hundreds of times, with no luck.<br/>
I was thinking that perhaps the software waits for the board to throw its DTR high or something. This is my first encounter with the Arduino, so go easy on me :)</p>Talvir on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleTalvirurn:uuid:af4eb6ca-28a6-b446-7c97-13e1a21256912010-03-18T12:06:24-06:00<p>Could anybody write a text file with raw gyros and accelerometers measurements for 1 hour duration when IMU attitude is fixed?</p>jacco on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejaccourn:uuid:f3f97496-f9bb-2c06-20e5-dad90d02bd072010-03-15T04:11:09-06:00<p>How can i program the razor?<br/>
- is it possible to use a simple serial cable?<br/>
- is it possible to use a stk500?</p>LeonHandreke on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleLeonHandrekeurn:uuid:88c8a420-dc12-2d23-489e-3cb8c9c674292010-03-11T12:53:28-07:00<p>I am using the thing only as and AHRS - you can&rsquo;t really use it as a flight computer, it just doesn&rsquo;t have the I/O connections for that. I find the sensors very accurate and most importantly, they don&rsquo;t drift - seriously, you can shake this thing around, it will keep its calibration.<br/>
I used the arduino environment to compile the code from <a href="http://code.google.com/p/sf9domahrs" rel="nofollow" >http://code.google.com/p/sf9domahrs</a> you can download it form arduino.cc<br/>
The 9DoF is non standard in terms of clock speed, so I inserted the following into my platform definition file. In the Linux version of arduino, it is at hardware/arduino/boards.txt in the arduino directory.<br/>
[my comment was too long for sparkfun, so I pasted this to pastebin] <a href="http://pastebin.com/KAEmPmD2" rel="nofollow" >http://pastebin.com/KAEmPmD2</a><br/>
Then, you have to open the AHRS code in the arduino environment and set the platform to the 9DoF. To upload the code, press the upload button and shortly after that, press the reset button on the board to activate the bootloader.<br/>
Hope that helped some folks!</p>nnico on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblennicourn:uuid:33680d34-f39c-455b-ba20-cb114ad0b0df2010-03-07T02:50:36-07:00<p>Hi<br/>
Impossible for me to flash the sample code to the device :<br/>
- I did a backup of the orginal flash in the device<br/>
- I try to program the device doing this :<br/>
1/ unpack the 16 MHz version code <a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip</a><br/>
2/ replace main.c by the 8 MHz version provided above<br/>
3/ make<br/>
4/ Program the device : avrdude -F -p m328p -P /dev/ttyUSB0 -c arduino -b 19200 -U flash:w:main.hex<br/>
Step 1/ and 2/ are needed because the complete source code of the 8MHz version is not provided but only the main.c (why ???)<br/>
&ndash;> After the device is not working anymore. I have tried to modified the code to only make the LED blinking and it works.<br/>
Function i2Cinit seems to lock the device<br/>
- When I flash back the orginal hex, the device works.<br/>
Any idea ?<br/>
Anyone succeed any re-compiling the provided source ?<br/>
Thanks<br/>
Nicolas</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:8d9898e8-a95a-6f36-48e9-412978d0f9cf2010-03-03T13:16:27-07:00<p>drawing 21.3mA from 5V supply while running the AHRS code at 16MHz</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:6c1e7ebc-6b2d-645d-952f-2dea7963aa7a2010-02-20T15:16:13-07:00<p>Forgot to set the lock bits again.<br/>
The avrpro at 8mhz is set to use 19200 baud.<br/>
After reflashing the bootloader with my dragon, I have to use:<br/>
avrdude -F -p m168 -P /dev/ttyUSB0 -c arduino -b 19200 -t</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:c1ca9b6b-f0de-c90e-034b-adf264f314cf2010-02-20T14:55:22-07:00<p>What is the bootloader on the 168 parts? I can&rsquo;t get avrdude to talk to it.</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:33126812-6d3b-f484-439b-b791d61110ef2010-02-20T14:52:24-07:00<p>You cannot switch from debugwire to anything else without high voltage programming mode, but you can set the fuses to enter the mode.<br/>
HV mode probably would require desoldering the chip anyway.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:8664cb0a-2220-a7ff-616f-ce8715341ea22010-02-18T11:12:56-07:00<p>Is it possible to use the AVR Dragon and debugWire protocol with this board via the ISP header?<br/>
If so, how would you switch back to ISP mode using AVR Studio?</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:b43d7990-4c79-5ce9-a5d7-8d4f2bd9eef12010-02-18T11:07:21-07:00<p>I just measured about 20mA idle with 5V input. Can&rsquo;t run an active test at the moment, but the datasheet shows an extra 4mA for processor active. I&rsquo;d guess you have some margin. Will post again when I have it running properly.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:17b2e1d1-b98f-b009-cebf-23b7b16495ca2010-02-18T10:57:40-07:00<p>You can program and upload it using the Arduino IDE; the 9DOF AHRS code is written for Arduino.<br/>
The 16MHz board seems to run the AHRS code correctly after removing the highpass filters (see previous comment).<br/>
You can lower the clock speed by adding the line:<br/>
clock_prescale_set(clock_div_2)<br/>
in the setup routine, but if it runs far enough to execute this line, it may not be necessary.<br/>
Can anyone comment on whether high or low temperatures might be a problem?</p>societyofrobots on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblesocietyofrobotsurn:uuid:e81a1057-ce0a-32e9-2d23-dee5a95d3fcf2010-02-17T02:44:51-07:00<p>What is the max and average current consumption?<br/>
I only got 77mA to use on my app.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:a7ca6fdc-368a-49f2-824c-63def3d1b8222010-02-15T21:08:50-07:00<p>Pictures and link to detailed explanation by Jordi Munoz are at <a href="http://diydrones.com/profile/MarkWhitehorn" rel="nofollow" >http://diydrones.com/profile/MarkWhitehorn</a></p>ledshine on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleledshineurn:uuid:e3cd42d3-0828-bcf6-ccff-057de5540b532010-02-15T12:28:49-07:00<p>sry ! its about the 16MHz version</p>ledshine on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleledshineurn:uuid:a7dcba73-69d6-3a5b-bd84-c19d5f971e9a2010-02-15T12:27:36-07:00<p>is the MHz version arduino compatible ?<br/>
how can i upload 9DOF AHRS Code on it ?<br/>
is there any modification required ?<br/>
should i bypass the hp filters ?<br/>
sry for a list of questions !</p>ledshine on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleledshineurn:uuid:be65444c-610d-4979-a52d-d599c85e5b3e2010-02-15T12:23:15-07:00<p>hey markaw, sure ! can u please upload the pics</p>RazorConcepts on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRazorConceptsurn:uuid:d6705294-e24f-1a7d-e027-1a542d6d3e572010-02-14T00:23:30-07:00<p>Can someone from SparkFun clear the issue of whether these will ship with 168 or 328?</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:a42cd31b-0540-2ced-a830-8f8f4fa21b322010-02-13T22:31:04-07:00<p>Quite true, but I thought we were talking about the preloaded firmware: <a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip</a><br/>
The latest version of 9DOF code fits quite easily on the 328 though.</p>Hmmm... on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleHmmm...urn:uuid:80350fdc-16fd-2d6a-57e2-8391772227fd2010-02-12T21:51:40-07:00<p>If you had read a little further, you would have understood that it&rsquo;s not raw sensor output.<br/>
The board can be loaded with the code mentioned in an earlier comment, as well as linked in the description which turns it into an AHRS which reports Pitch, Roll, Yaw angles over the serial interface. If you&rsquo;re curious, you can also have it report sensor readings along with Pitch, Roll, Yaw.<br/>
btw, the unit I received a week or so ago had a 168 @ 8MHz on it. Only consideration is that the AHRS code as written pretty much uses up all the code space on the chip.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:ddb177c8-52d5-7acb-06df-220601af91972010-02-11T22:05:41-07:00<p>see reply to ledshine below</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:a61f2080-2d83-d242-01c9-1b6f57f21ebf2010-02-11T22:03:09-07:00<p>Same mods as Jordi Munoz describes for the Razor 6DOF on his DIY Drones blog. Look for entry &ldquo;How to remove the High Pass Filter from your ArduIMU and Razor boards."<br/>
You&rsquo;ll need to use the 9DOF schematic and datasheets above to find the corresponding parts on this board.<br/>
Let me know if you&rsquo;d like a photo of my board with the mods.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:5179f51f-b0b8-0ca2-9364-0c8615bb91fa2010-02-11T21:13:31-07:00<p>If you read a little further you&rsquo;ll see &ldquo;firmware that tests the outputs of all the sensors.&rdquo; This means raw sensor output. Check out the ARDU-IMU code being developed on DIY Drones for more.</p>Abboud on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleAbboudurn:uuid:380a81cf-fec6-8bae-d77e-3f5aba0f5e7c2010-02-10T15:49:48-07:00<p>what is meant by &ldquo;The outputs of all sensors are processed by an on-board ATmega168 and output over a serial interface&rdquo; ? are the data filtered using kalman or other data? does it give ready to use heading, pitch and roll data or just raw readings from the sensor?</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:07397a18-a432-f67c-2466-4de54fe2e9be2010-02-09T17:21:59-07:00<p><a href="http://github.com/tz1/sparkfun" rel="nofollow" >http://github.com/tz1/sparkfun</a> has an i2cperiph directory that includes a program</p>ITPro on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleITProurn:uuid:12a258d3-6406-1740-7451-119530d5970c2010-02-08T21:28:05-07:00<p>The uploading advice above is outdated for the ATMega328. If you want to run the AHRS code you have to choose: Arduino Pro or Pro Mini(3.3 V, 8Mhz) with AtMega328 as the board to upload to in the arduino ide. Then it works great!</p>StandardRockets on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleStandardRocketsurn:uuid:e1350f0f-036e-1376-02f1-de2d32d928822010-02-05T09:05:47-07:00<p>to RazorConcepts:<br/>
I received my 9DOF a week ago and it has a 328 MCU on it.<br/>
Using the code from here it works great with the arduino-0018:<br/>
<a href="http://code.google.com/p/sf9domahrs/" rel="nofollow" >http://code.google.com/p/sf9domahrs/</a><br/>
It also works great with the supplied sparkfun code to do some basic verification and edumacation&hellip;</p>RazorConcepts on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleRazorConceptsurn:uuid:79597770-f9a3-a27b-c470-7786668d03d82010-02-04T13:47:11-07:00<p>When will the version with 328 be available? I will buy when it comes out.</p>markaw on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblemarkawurn:uuid:ba02f357-cb19-4360-a445-48078747dee52010-02-04T08:44:58-07:00<p>I have the 16MHz version of this board. Has anyone observed any problems at room temperature with this clock speed?</p>webstdave on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblewebstdaveurn:uuid:88351fa0-3075-2831-8007-ec0922ae72762010-01-27T11:29:08-07:00<p>Thank you so much for the quick response!</p>Jimb0 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJimb0urn:uuid:edea6e74-c854-7565-ec7a-d483d7d73a902010-01-27T08:55:42-07:00<p>Here&rsquo;s a link to the firmware for the 16MHz version: <a href="http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip" rel="nofollow" >http://www.sparkfun.com/datasheets/Sensors/IMU/9DOF-v11_firmware.zip</a>.<br/>
- techsupport at sparkfun.com</p>webstdave on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblewebstdaveurn:uuid:38f66128-1ebd-064a-46f2-88d813def89c2010-01-26T23:44:28-07:00<p>Does anyone have the sample code that sparkfun provided for the previous revision of this part with the 16mhz clock?</p>jhodge on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatiblejhodgeurn:uuid:f92d4aea-e25c-488d-c330-baac9ee5d3342010-01-25T15:08:24-07:00<p>I see the overclock has been removed for the ATMega328 @ 3.3v (now 8Mhz instead of 16Mhz) &hellip; Has the high-pass filter for the Gyros been removed as well for DCM compatibility?</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:a6ea3f89-88cf-ee22-ac19-9d08fac6e3182010-01-20T22:57:05-07:00<p>11DoF. There are two vias between the ADXL345 and the edge. The one toward the 6pin serial is SDA, the one toward the lipo connector is SCL. Scrape away the solder mask and add some 30 guage wire, and I can add the SCP1000-D11. (I&rsquo;m using the evaluation board and a component header as per my blogpost on harleyhacking.blogspot.com).<br/>
The only annoyance is that the newhaven displays don&rsquo;t like too much pullup so that won&rsquo;t work when attached.<br/>
Now to attach the uSD breakout to the ISP and another wire&hellip;</p>tz on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibletzurn:uuid:e96e9eaa-1416-12c9-7d54-9adf113e52a42010-01-20T21:01:34-07:00<p><a href="http://www.zdez.org/i2cperiph.zip" rel="nofollow" >http://www.zdez.org/i2cperiph.zip</a> now contains a program for 9dof - 2000000 baud though (I need to make it interrupt driven, but it reads all the hardware and outputs it - the ADXL only at 800Hz - my other versions do 3200Hz, but that is what requires interrupts).</p>ledshine on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleledshineurn:uuid:e95f805e-6da9-7828-bb6e-d360d59654ee2010-01-20T00:38:00-07:00<p>how do we convert the previous board to be AHRS compatible ???</p>Jwd270 on SEN-09623 - 9 Degrees of Freedom - Razor IMU - AHRS compatibleJwd270urn:uuid:161c9b23-0bd7-f2b6-60e6-e3263d4bf2202010-01-19T15:37:37-07:00<p>What did you change to make this AHRS compatible?</p>