2-axis tilt sensor


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322

    Default 2-axis tilt sensor

    Hi All!
    Anyone know of a simple 2-axis tilt sensor that will show the angle? Thanks, Ed

  2. #2
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    These are fun to play with and includes an extra axis but really small to work with: MMA8453Q

    Or skip the build and buy this guy: Digital level
    Louie

  3. #3
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    This might be an impractical suggestion in this context, but here's my 2 cents worth..

    I've been getting increasingly impressed with the hardware that goes into even the cheapest of Android phones (of your interest here, the accelerometers, orientation, gyroscope, even gps?) and the relative ease with which you can pull out that data and transmit it via bluetooth. Its getting to a point where the cheap lesser known brand phones (in my country costing less than 100 US), could be considered as black boxes for the basis of a number of dedicated applications, I think.

    Thanks again to Dave (M) and Dave (H) for pointing me towards B4A, BTW!

    Name:  Sensors.png
Views: 616
Size:  55.5 KB

    Check out the 5th line. Orientation values for all 3 axes.
    Last edited by ardhuru; - 27th May 2012 at 13:47. Reason: Added an image

  4. #4
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Thanks Guys!
    Both are great ideas! The intended purpose will be to display pitch and roll for my submarine using a on-screen display. Best, ed

  5. #5
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Here is a tilt solution for the MMA7260 3 axis accelerometer. It uses an Olimex PIC-LCD-3310 development board.

    Tilt project code: http://www.picbasic.co.uk/forum/cont...-axis-g-sensor

    Hardware used: http://www.olimex.com/dev/pic-lcd3310.html
    http://www.scalerobotics.com

  6. #6
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Interesting! What is your opinion / knowledge of the tilt sensors that output a square wave with a duration based upon angle?

  7. #7
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Hey Ardhuru,

    How did you display that sensor information on your android?? Is that an app?

    Or just a built in information page? I have the Motorola Droid2 and have never seen that info.

    thanks
    dwight
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  8. #8
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Quote Originally Posted by Heckler View Post
    How did you display that sensor information on your android?? Is that an app?
    There are apps that show you this info. Couple of them are called AndroSensor and Android System Information

  9. #9
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Yes, Jerson is right, of course, but this one came as a sample app created with B4A.

    http://www.basic4ppc.com/forum/basic...html#post38780

    The above screen-grab was an actual run on my LG Optimus.

    I could send you the compiled .apk if you are interested. Alternatively, you could download the source code on the above page and the trial version of B4A and compile it yourself.

    Anand
    Last edited by ardhuru; - 28th May 2012 at 06:52.

  10. #10
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: 2-axis tilt sensor

    Hi Guys!
    I was wondering if anyone has written code for the Memsic 2125 sensor? I looked at some code for Stamps and ended up with more questions than answers. Thanks, Ed

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts