JonT

Member Since: July 2, 2009

Country: United States

  • Tutorial - Beginning Embedded Electronics - 10 | about 3 years ago

    Mil is an abbreviation of “milli-inch” so there’s no contradiction here - “thou” is just a shorthand jargon. They’re all thousands of inches.

  • Product LCD-09351 | about 3 years ago

    This is fantastic code. Many thanks…works like a dream.

  • Product SEN-09570 | about 4 years ago

    Doh! Wrong command - should be 0x2E not 0x2D ! 24 hours wasted.
    If this was a really intelligent sensor, it would have known what I meant.

  • Product SEN-09570 | about 4 years ago

    I’m battling to cahgne the address of the sensor (I want to use two on the same bus). I have it hooked up to an Arduino Duodecimila, and I have Dave Eaton’s code working fine. I seem to be able to write to the EEPROM OK but the address does not change (even after a power down). Here is the code:
    // Now change address. First erase
    i2c_start_wait(dev+I2C_WRITE); //send start condition and write bit
    i2c_write(0x2D); //send command for device to return address
    i2c_write(0x00); // send low byte zero to erase
    i2c_write(0x00); //send high byte zero to erase
    i2c_write(0x6F); // send PEC
    i2c_stop(); //Release bus, end transaction
    delay(100); // then wait 10ms
    // Then write new address
    i2c_start_wait(dev+I2C_WRITE); //send start condition and write bit
    i2c_write(0x2D); //send command for device to return address
    i2c_write(0x50); // send low byte of address
    i2c_write(0x00); //send high byte of address
    i2c_write(0x63); // send PEC
    i2c_stop(); //Release bus, end transaction
    delay(100); // then wait 10ms
    Any suggestions?

  • Product SEN-09623 | about 4 years ago

    For Dummies! I got mine working. This is what I would have liked to be told:
    Download arduino programming environment from www.arduino.cc
    Plug in board via FTDI basic, make sure windows finds the serial to USB device
    Check com port assigned in Device Manager
    Use Arduino serial monitor to check device is working (push reset button on Razor!)
    Download Razor code and python code from
    http://code.google.com/p/sf9domahrs/
    Download Razor code using Arduino:
    Set correct board (Pro or Pro mini, 328)
    Set correct port
    Download Razor code
    Then DO NOT follow header instructions in python code as versions have changed
    First Install Python 2.7
    Install pywin for 2.7 from http://sourceforge.net/projects/pywin32/
    Install pyserial from http://sourceforge.net/projects/pyserial/files/
    Install Vphyton from http://vpython.org/contents/download_windows.html
    Then copy python IMU code into any appropriate directory and run!

No public wish lists :(