Announcement

Collapse
No announcement yet.

Is there any inclinometer sw out there?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there any inclinometer sw out there?

    Hi!

    Since I can't write a line of software I wonder if there is some kind of inclinometer ready to be run in windows or a front end?

    I have a 4x4 that I use a bit ofroad and it would be great if I had a full screen app that look something like this:


    It has to be more then just me that actually use my 4x4 for what it's made for??

    ..so if any one could point me in the right direction, both on sw and hw it would be GREAT!

    Best regards
    Tormod
    Norway
    96' SLK 230 Kompressor
    HR sprigs -> Done
    19' wheels -> Done
    Projector headlights -> Done
    Carpc -> 85%

  • #2
    No one??

    I have found mobile apps both on nokia and iphone, so some one use this..
    But no PC version?

    Link to a iphone app
    96' SLK 230 Kompressor
    HR sprigs -> Done
    19' wheels -> Done
    Projector headlights -> Done
    Carpc -> 85%

    Comment


    • #3
      You probably not going to get out of this cheaply if you purchase a commercial sensor. One way to consider is to use an inverted joystick as a pendulum and attach a Digital to Analog converter to each axis. I would use an Arduino controller (see http://www.arduino.cc ) with some code embedded on it to do the analog conversion uising its built in analog conversion and send the readings back to the PC via a serial port.

      You could also interface this chip http://www.vti.fi/en/products/inclinometers/
      to the Arduino which would give you the readings. Either way, you are going to have to learn how to cut some code...

      BTW, Inclinometers are a bit of a waste in my opinion. Eithe you are on 4 wheels or you aren't off road!
      RodW
      2007 Toyota Hilux with a CarPC..

      Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
      OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html

      Comment


      • #4
        You might be interested in this soution which is pretty easy and elegant:
        http://people.rit.edu/bts2637/accelerometer.html

        Build the hardware and attach it to the Arduino, use the Arduino program (sketch) on the link above and have the Arduino send the angles back over the USB serial port (which will also power the Arduino). Then you need a small application on the PC that monitors the serial port, reads the angles as they arrive and redraws the cars on the correct angle based on the data received. Who knows, I might even try this myself eventually but I still got a lot to do with the Arduino to get it in my car, Nearly finished the hardware I want to include.

        I have not done anything about rotating images in code, but the quick and dirty way woulld be to create a number of images (say in 2 degree increments) and display the right one based on the angle received.

        Edit:

        Should have looked for image rotation code. Here it is:
        http://www.ucancode.net/faq/Rotate-i...ile-VC-MFC.htm
        RodW
        2007 Toyota Hilux with a CarPC..

        Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
        OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html

        Comment


        • #5
          There is hardware out there that support your needs.

          For instance... (a quick google).
          http://www.singer-instruments.com/pr...TS360-USB.html roughly 350USD

          Comment


          • #6
            You's still have to do the same amount of coding for this hardware sensor for $350 or you could spend $15 for an Accelerometer (different brand to the one in my previous post, but you get the picture)

            http://www.sparkfun.com/commerce/pro...roducts_id=853

            And $30 for the Arduino and a handful of electronic components
            http://www.adafruit.com/index.php?ma...c2b5e111d8d45e

            All up cost les than $50
            RodW
            2007 Toyota Hilux with a CarPC..

            Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
            OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html

            Comment


            • #7
              A phidgets accelerometer will do the job. It's fairly inexpensive and there is a simple example VB program that is easy to understand and shows tilt.
              *******************************
              *******************************

              Comment


              • #8
                Just a bump since I'm looking for the same deal. I off-road with my Xterra and I don't want to mount a cheezy mechanical clinometer, especially since I have a 7" LCD where most would mount theirs

                Comment


                • #9
                  I see that this thread has been dead for a few years now.
                  I am still working on just such a project if anyone is interested. I am using a basic 3 axis accelerometer/gyro board with an arduino to send data to my car pc. That for me at least is the easy part. I've always been more into hardware than software. I have been trying to write a program in VB which can be used stand alone or embedded in Centrafuse. Once I have a good working prototype, I intend to sell the hardware and software as an easily install-able package. I can rather easily write a program that simply displays the angle data but I want to create a graphical display similar to what is shown on typical mechanical clinometers. I have all of the graphics done but I'm still having issues writing the software.

                  Comment


                  • #10
                    Originally posted by XSiveJeff
                    I am still working on just such a project if anyone is interested. I am using a basic 3 axis accelerometer/gyro board with an arduino to send data to my car pc. That for me at least is the easy part. I've always been more into hardware than software. I have been trying to write a program in VB which can be used stand alone or embedded in Centrafuse. Once I have a good working prototype, I intend to sell the hardware and software as an easily install-able package. I can rather easily write a program that simply displays the angle data but I want to create a graphical display similar to what is shown on typical mechanical clinometers. I have all of the graphics done but I'm still having issues writing the software.

                    Ya, I know the feeling, myself I'm a hardware guy with limited programming skills. Sad there's so many apps out there for smartphones but nothing out there for PC. I haven't been seriously looking into this since the CarPC's been down (LCD digitizer is no good and the motherboard is dead) and I haven't had the money to replace it. Obviously I'm subscribed to the thread, so post it up as you've got progress.

                    Comment


                    • #11
                      Yup.... there are TONS of apps for smartphones and tablets. If it can be done with a smartphone.... someone has probably made an app for it. They DO have the advantage of having the accelerometer and gyro built in and their output easily accessible. I've been reverse engineering a couple of little apps written for windows using java, vb, python or c+ that use basic accelerometer data to display an artificial horizon or attitude indicator for remote use with an rc aircraft. I've used them all but I'm not that proficient in any of them. The board I am using for prototyping is based on the MPU-6050 which is available on ebay for under $10. I have also been tinkering with a WII nunchuck and motion plus adapter. When I am done, I hope to have a small board that simply needs level mounting and a usb connection to the car pc, and of course an app to read and display the output. From there.... maybe an enhanced version with a magnetometer compass and atmospheric pressure sensor to offer compass heading and altitude as well.

                      The only thing I have really found pre-made so far is the Innovate RAD-1 Rollover Avoidance Device Inclinometer.
                      Click image for larger version

Name:	3805.jpg
Views:	1
Size:	9.7 KB
ID:	2285088

                      Comment


                      • #12
                        Sweet, well done so far! As long as it works in Windows and can use a picture of my truck, I'm definitely one to support your project! Well level mounting shouldn't be necessary if you have a centering feature that will use it's existing position as center. Getting a perfectly level mounting in a vehicle can be almost impossible. Awesome if you'd get atmospheric pressure too! I don't need a compass since my truck has one, but I would still use that feature, and I'm sure others would however. Since you'd be the first, there could be a market for such software+device.

                        I've seen the Rad-1 many years ago, but it's big and ugly for what it does. I want to use the CarPC since it's already there, and not have another piece of something mounted in the truck; keep it clean and simple, the less **** the better.

                        Comment


                        • #13
                          As far as "level mounting" goes..... maybe I should just say relatively level. Of course there will be a calibration routine that will define what is inherently level. The main unit should be smaller than a pack of cigarettes and would really only require proper front to rear orientation and be relatively stable. Velcro, adhesive pad or wire ties will probably suffice. The only needed connection will be USB for both power and data. With both a gyro and accelerometer being used, I could also implement other data sets such as acceleration, braking and lateral g forces as well as roll stability in turns. That would make it marketable to sports car enthusiasts as well as those trekking off road. I was rather shocked to see that no one had put something together for a car pc when there are so many apps that do something similar for tablets and smart phones. Maybe something like this could justify a grant or other assistance. My prototype will be done with an image of my own vehicle, a 2003 Mitsubishi Montero Sport of course but to further customize it for other vehicles, all I would need would be a decent rear and passenger side photograph of any vehicle. I have a diploma in graphic design from the Art Institute of Pittsburgh so photo manipulation is not an issue for me. I am still shocked that nothing like this is available for a car pc. I would be very curious as to what potential demand might be. Maybe I will post a couple of mock up screens to gauge a response.

                          Comment


                          • #14
                            cool thread

                            Comment


                            • #15
                              Originally posted by XSiveJeff
                              My prototype will be done with an image of my own vehicle, a 2003 Mitsubishi Montero Sport of course but to further customize it for other vehicles, all I would need would be a decent rear and passenger side photograph of any vehicle. I have a diploma in graphic design from the Art Institute of Pittsburgh so photo manipulation is not an issue for me..
                              I've done mine in Computer Engineering, but I've got some really good graphics experience doing stuff on the side. Wondering if it could be "skinable", where the user can edit a template for their own vehicle, or could even have a basic avaition style one for one where people don't want a pic of a vehicle at all.

                              I'm curious and anxious to see what you've come up with.

                              Comment

                              Working...
                              X